Skip to content

Releases: icd2k3/use-react-router-breadcrumbs

4.0.1

11 Oct 19:50
ca6934e
Compare
Choose a tag to compare
  • Fixes a type mismatch with the latest version of react-router-dom (#71)

4.0.0

09 Sep 21:05
d1ed86c
Compare
Choose a tag to compare
  • Migrates from a peer dependency on react-router to react-router-dom instead. (Fixes #59)

The original reason for requiring react-router is because it is compatible with both web and react-native, so this hook now (as of version 4.0.0) only supports web. If there is enough interest, we can spin up another hook specifically for react-native.

3.2.1

08 Apr 16:20
0b92635
Compare
Choose a tag to compare
  • Exports a new Route that extends react-router's for Typescript convenience when using dynamic routes. (#46) (thanks @MichaelDimmitt)

3.2.0

31 Mar 17:32
a5a3188
Compare
Choose a tag to compare

3.1.0

02 Feb 00:34
b8e386e
Compare
Choose a tag to compare
  • Adjusts the automatic breadcrumbs generator to replace - with . For example, a URL with "some-route" would now render a default breadcrumb of "Some route" instead of "Some-route" #42 (thanks @codytooker)
  • Adds an additional option defaultFormatter for users to provide their own function to generate default breadcrumbs (string) => string #42 (thanks @codytooker)

3.0.2

11 Jan 18:35
7d1d6e9
Compare
Choose a tag to compare

3.0.1

11 Nov 16:35
4fa09f5
Compare
Choose a tag to compare

3.0.0

09 Nov 16:26
53dacc0
Compare
Choose a tag to compare
  • Support for react-router 6. #31 (huge thanks to @Grapedge for the refactor)

Note

Version >=3 only supports react-router 6... if you are still using react-router 5 please continue to use v2.0.2

2.0.2

10 Jun 15:55
ee9c360
Compare
Choose a tag to compare
  • Fixes type definitions (#28)

2.0.1

09 Jun 17:12
d7f053e
Compare
Choose a tag to compare
  • Maintenance release: updates all dev dependencies, node target, and bundle size improvements