The latest version of routing is available. And has some additional features
(up till now it’s mostly been bug fixes)
You can find docs here:
https://routing-docs.anvil.works/
v0.4.0 (10/07/25)
What’s Changed
Features
- feat: add client code prelude to import router module #79
- feat: add configurable routes module for designer navigation support and automatic route import #78
- feat: add sitemap.txt and robots.txt generation options, expose
router.sorted_routes#63 - feat:
@hooks.before_loaddecorator for composable before_load hooks #74 - feat: allow before_load to return partial nav_context dictionary #73
Bug Fixes
- fix: decode URL paths before creating segments to handle already encoded urls #77
- fix: used cached_context when opening a cached form #70
- fix: pass keyword arguments and use super() in Route.init_subclass #69
Documentation
- docs: add meta method documentation for dynamic route meta tags #75
- docs: add use_data API reference for shared route data access #72
- Fix docs use of
loader_argsinload_data#66
Contributors
Thanks to all our contributors!
@racersmith
Full Changelog: Comparing v0.3.5...v0.4.0 · anvil-works/routing · GitHub