Skip to content

Commit 503706e

Browse files
committed
release v0.33.0
1 parent e4f3446 commit 503706e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Diff for: CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## 0.33.0
4+
- Possibly breaking changes to callbacks:
5+
- `onNavigation` and `onBeforeNavigation` is now called on all routers.
6+
- This fixes [#95](https://github.com/STRML/react-router-component/issues/95)
7+
- Arity change in callbacks: now `(path, navigation, match)` from `(path, navigation)`.
8+
- The trailing `match` parameter was added to better track subrouter matches.
9+
- `navigation` will no longer contain a `match` attribute, which was a singleton and thus
10+
could not be unique when using multiple routers.
11+
312
## 0.32.2
413
- Hotfix: Accidental 'const', we're not using Babel
514

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-component",
3-
"version": "0.32.2",
3+
"version": "0.33.0",
44
"description": "Declarative router component for React",
55
"main": "index.js",
66
"dependencies": {

0 commit comments

Comments
 (0)