Releases: icd2k3/react-router-breadcrumbs-hoc
Releases · icd2k3/react-router-breadcrumbs-hoc
3.0.0
Breaking Change
withBreadcrumbs
now returns an array of Object
s instead of Component
s:
- breadcrumbs.map(breadcrumb)
+ breadcrumbs.map({ breadcrumb })
Within this object, other props like match
, location
, and pass-through props are also returned:
- breadcrumbs.map((breadcrumb) => {})
+ breadcrumbs.map(({ breadcrumb, match, location, someCustomProp }) => {})
You can read more about this change here
Other
- Maintains dependencies
- Updates docs to match the changes above
2.3.2
- (fix) fixes a console warning that can occur when using react-router config. #59
- (chore) upgrades some development dependencies
2.3.1
- Fix #48 Adds functionality to optionally pass through other props to each breadcrumb (thanks @taschetto)
2.2.0
- Updating dev dependencies. Functionality should be the same, but there were a couple major upgrades, so this version bump represents that.
2.1.5
- Improves TypeScript types. Fixes #42
2.1.4
- Fixes a duplicate key warning when using optional route params (see #37)
2.1.3
- Adds better TypeScript defs & tests (Thanks @9renpoto)
- Chore: adds compiled build tests
- Chore: keep dev dependencies up to date
- Chore: Switch from babel-preset-stage-1 to babel-preset-stage-3 (we weren't using any stage 1/2 features anyways)
2.1.1
- Keeps our dependencies up to date. No changes to end-functionality are anticipated.
2.1.0
- Adds an option to completely disable default breadcrumb generation
disableDefaults
(outlined in the readme)