Releases: reactive-python/reactpy-router
Releases · reactive-python/reactpy-router
2.0.0
Added
- Support for custom routers.
Changed
- Set maximum ReactPy version to
<2.0.0. - Set minimum ReactPy version to
1.1.0. linkelement now calculates URL changes using the client.- Refactoring related to
reactpy>=1.1.0changes. - Changed ReactPy-Router's method of waiting for the initial URL to be deterministic.
- Rename
StarletteResolvertoReactPyResolver.
Removed
StarletteResolveris removed in favor ofReactPyResolver.
Fixed
- Fixed bug where
linkelement sometimes would sometimes not retrieve the correcthrefattribute.
1.0.3
Fixed
- Fix behavior where the page would be rendered twice on initial load
1.0.2
Fixed
- Fix python
wheelmissingbundle.jsfile.
1.0.1
1.0.0
Changed
- Rename
use_querytouse_search_params. - Rename
simple.routertobrowser_router. - Rename
SimpleResolvertoStarletteResolver. - Rename
CONVERSION_TYPEStoCONVERTERS. - Change "Match Any" syntax from a star
*to{name:any}. - Rewrite
reactpy_router.linkto be a server-side component. - Simplified top-level exports that are available within
reactpy_router.*.
Added
- Add debug log message for when there are no router matches.
- Add slug as a supported type.
- Add
reactpy_router.navigatecomponent that will force the client to navigate to a new URL (when rendered). - New error for ReactPy router elements being used outside router context.
- Configurable/inheritable
Resolverbase class.
Fixed
- Fix bug where changing routes could cause render failure due to key identity.
- Fix bug where "Match Any" pattern wouldn't work when used in complex or nested paths.
- Fix bug where
linkelements could not have@componenttype children. - Fix bug where the ReactPy would not detect the current URL after a reconnection.
- Fix bug where
ctrl+clickon alinkelement would not open in a new tab. - Fix test suite on Windows machines.
v0.1.1
0.1.0
0.0.1
What's Changed
- add robust lint/testing + upgrade idom + more robust routing with Starlette by @rmorshea in #3
- rename configure to create_router by @rmorshea in #4
- initial work on router compiler by @rmorshea in #6
- rename to reactpy-router by @rmorshea in #15
New Contributors
Full Changelog: v0.0.1...v0.1.0