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
withRouterprops signature for route components by only passing inmatchandrouter(#230) - Breaking: Revamp
<Link>API (#241)- Rename
Componentprop toas - Remove
childPropsprop - Support render function child
- Rename
- Breaking: Pass down
routerandmatchwith our own context rather than with Redux store (#307) - Breaking: Remove no-longer-necessary
createWithRouterandcreateConnectedLink(#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
useRouterHook (#307) - Feature: Add
RouterContextContext object (#307) - Feature: Support empty children in JSX route configurations (#357)
- Bugfix: Stop using
instanceofchecks for error types (#266) - Bugfix: Correctly handle
_selftarget on<Link>s (#321) - Refactor: Migrate to new React lifecycle methods (#308)
- Chore: Upgrade to Babel 7 (#274)