Skip to content

Releases: icd2k3/react-router-breadcrumbs-hoc

3.0.0

10 Mar 22:07
8719550
Compare
Choose a tag to compare

Breaking Change

withBreadcrumbs now returns an array of Objects instead of Components:

-  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

12 Feb 03:07
0e1cb44
Compare
Choose a tag to compare
  • (fix) fixes a console warning that can occur when using react-router config. #59
  • (chore) upgrades some development dependencies

2.3.1

21 Dec 04:55
Compare
Choose a tag to compare
  • Fix #48 Adds functionality to optionally pass through other props to each breadcrumb (thanks @taschetto)

2.2.0

21 Dec 04:52
Compare
Choose a tag to compare
  • Updating dev dependencies. Functionality should be the same, but there were a couple major upgrades, so this version bump represents that.

2.1.5

18 Sep 21:47
792c243
Compare
Choose a tag to compare
  • Improves TypeScript types. Fixes #42

2.1.4

16 Jun 05:04
9acb124
Compare
Choose a tag to compare
  • Fixes a duplicate key warning when using optional route params (see #37)

2.1.3

30 May 02:05
df8c9cc
Compare
Choose a tag to compare
  • 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.2

23 May 05:02
e0ee7bb
Compare
Choose a tag to compare

2.1.1

16 May 02:39
386c95a
Compare
Choose a tag to compare
  • Keeps our dependencies up to date. No changes to end-functionality are anticipated.

2.1.0

17 Mar 19:19
046fc74
Compare
Choose a tag to compare
  • Adds an option to completely disable default breadcrumb generation disableDefaults (outlined in the readme)