v1.0.0-beta.2
Pre-release
Pre-release
What's Changed
- feat!: Add Redirector by @webJose in #118
- feat: Add runtime check that validates the defaultHash/hashMode combo by @webJose in #119
- fix: Snapshot state data when normalized to get rid of proxies by @webJose in #120
- refactor: Move Redirector and others outside kernel by @webJose in #124
- chore: Truncate README by @webJose in #125
- feat(Redirector): Add constructor overload for easy use of options by @webJose in #126
Other Changes
- chore(test): Add $test alias for easier code organization by @webJose in #115
- chore(tests): Add implicit MHR universe to unit testing by @webJose in #116
- chore(tests): Move src/testing to src/lib to avoid unwanted .d.ts files by @webJose in #117
- chore(demo): Update demo by @webJose in #121
- chore(demo): More demo updates by @webJose in #122
- chore: Update packages by @webJose in #123
New Feature: Redirection
This release's most prominent addition is the Redirector class, which has triggered the moving-around of a lot of code plus two new function: buildHref and calculateMultiHashFragment. It has also introduced breaking changes:
RouterEngine.path: Deleted. This is now better placed atlocation.path.joinPaths: It is now imported from@svelte-router/core.
Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2