v0.4.0
This is the same code as v0.4.0-alpha.17. These release notes cover all changes since v0.3.21.
- Breaking: Do not match stem routes (#217)
- Breaking: Use React Redux v6.x (#218)
- Breaking: Match
withRouter
props signature for route components by only passing inmatch
androuter
(#230) - Breaking: Revamp
<Link>
API (#241)- Rename
Component
prop toas
- Remove
childProps
prop - Support render function child
- Rename
- Breaking: Pass down
router
andmatch
with our own context rather than with Redux store (#307) - Breaking: Remove no-longer-necessary
createWithRouter
andcreateConnectedLink
(#307) - Breaking: Throw on nodes other than valid elements in JSX route configs (#326)
- Feature: Allow render methods to return a function (#268, #269)
- Feature: Add
useRouter
Hook (#307) - Feature: Add
RouterContext
Context object (#307) - Feature: Support empty children in JSX route configurations (#357)
- Bugfix: Stop using
instanceof
checks for error types (#266) - Bugfix: Correctly handle
_self
target on<Link>
s (#321) - Refactor: Migrate to new React lifecycle methods (#308)
- Chore: Upgrade to Babel 7 (#274)