Releases: remix-run/react-router
v4.0.0-beta.5
Changes
- Remove basename from
<StaticRouter>
locations - Add ES build to react-router and react-router-dom (#4432 by @billyjanitsch)
- NavLink exact & strict tests (#4454 by @pshrmn)
- Use boolean strings for cache keys (#4448 by @pshrmn)
- Fix scripts on windows (#4447 by @pshrmn)
- Use peer deps for react-native
- Warn when
<Router>
is given >1 children (#4450 by @jackfranklin) - Only nullify empty children array (#4475 by @pshrmn)
v4.0.0-beta.4
Changes
- Fix NavLink location variable (#4403 by @inuscript)
- NavLink tests (#4421 by @pshrmn)
- Preact support (#4423 by @kwelch)
- Allow initialIndex, initialIndex in NativeRouter (#4415 by @iljadaderko)
- Add
<NavLink strict>
and<NavLink exact>
- invariant dependency was missing
v4.0.0-beta.3
v4.0.0-beta.2
Changes
- No end-user changes
v4.0.0-beta.1
This is a pretty big change from the alpha versions, so the diff isn't super helpful.
This release breaks things into a monorepo format, with several sub-packages for different ways of using the router. Think react-dom vs. react-native.
v3.0.2
v3.0.1
Changes
- Pass transition hook's arguments correctly (#4123 by @arkist)
- Fix index routes inside async pathless routes (#4147 by @taurose)
- 'to' maybe undefined (#4216 by @panzj)
- Fix withRouter error when used without a Router (#4295 by @dropfen)
- Adding support for escaped parentheses in Route Paths (#4202 by @sebastiandeutsch)
v4.0.0-alpha.6
This release fixes problems with the last release for users of npm 2.x and yarn. If you're having trouble with alpha 5, this version should give you less trouble.
Skipping the changelog on this one, as @ryanflorence has a heavily refactored version coming in the next day or two. Please wait for that release before upgrading if you're not blocked by the previous release's packaging issues.
v3.0.0
🎉 The 100th release of React Router! 🎉
This release removes all the deprecation warnings from v2.x
along with some bugfixes.
While the focus of this project is shifting towards the component-based v4
, this branch will be maintained indefinitely!
Bug fixes will continue to be accepted. We are not going to leave anyone hanging and want to assure you that v3
development will be alive and well.
Changes
Oct 24, 2016
- Removed
- Bugfix: Cancel pending enter/change hooks on location change (#4063)
v4.0.0-alpha.5
Changes
- URL decode all parameters (@tyrsius in #3991)
- Fix ambiguous Miss component not rendering (@TimothyKrell in #3980)
- Don't include a trailing slash if the basename is not empty (@jochenberger in #4000! 😮 )
- Match exactly takes parent into account (@alisd23 in #4001)
- Fix non-exact match of pattern with trailing slash (@aaugustin in #3923)
- Add and (@aaugustin in #3912)
- Limit size of matcher cache (@alisd23 in #4004)
- Re-enable proptypes warnings (@mjackson in 5f4b649)
- Fix build scripts on windows (@alisd23 in #4088)
- Fix hashType prop on HashRouter (@herrkris in #4024)
- Remove react-history dep (@ryanflorence in d041434)
- Links apathetic to active state don't subscribe (@pshrmn in #3986)
- blockTransitions returns teardown function (@maxdeviant in #4058)