Releases: WJSoftware/svelte-router-core
Releases · WJSoftware/svelte-router-core
v1.0.0-beta.2
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
v1.0.0-beta.1
What's Changed
Full Changelog: v1.0.0-beta.0...v1.0.0-beta.1
v1.0.0-beta.0
What's Changed
- feat!: Rename package to @svelte-router/core by @webJose in #108
- feat!: Replace implicitMode with defaultHash by @webJose in #110
- feat!: Friendlier typing for the ActiveState.aria property by @webJose in #111
- feat: Apply aria-current: 'page' for active links as default aria- value by @webJose in #112
Full Changelog: v0.13.0...v1.0.0-beta.0
Deprecation Release
This release exists merely to update the README file to inform users about the new package names. No new features or bug fixes were added and is functionally identical to v0.13.0.
v0.13.0
What's Changed
- fix(Link): Make explicit replacement of empty string for current URL to support Sveltekit by @webJose in #99
- fix: Correct
activeBehaviorfor the cases of multiple CSS classes by @webJose in #100 - feat: Allow
RouterTraceto be styled and include test path in information by @webJose in #101 - fix: Use route params directly from router in children snippet by @webJose in #102
Full Changelog: v0.12.0...v0.13.0
v0.12.0
v0.11.0
What's Changed
- chore: Update packages by @webJose in #88
- fix: Pass style property to anchor element when not active by @webJose in #89
- feat: Add
isRouteActive()function by @webJose in #90 - refactor(Link): Use isRouteActive() and take style calculation to a s… by @webJose in #91
- fix: Make
ActiveState.keya required property by @webJose in #92 - feat(Link)!: Allow any aria- attribute in ActiveState by @webJose in #93
- feat(LinkContext)!: Add
activeStateproperty by @webJose in #94 - docs: Update README files by @webJose in #95
Full Changelog: v0.10.2...v0.11.0
v0.10.2
What's Changed
- fix: Ignore
preserveQueryoption inLocation.goto()for shallow routing by @webJose in #84 - refactor: Implement
preserveQueryInUrl()by calling the privatemergeQueryParams()function by @webJose in #85 - chore(ssr): Only render children if there are no conditions specified by @webJose in #86
Full Changelog: v0.10.1...v0.10.2