Skip to content

Releases: WJSoftware/svelte-router-core

v1.0.0-beta.2

25 Nov 01:42

Choose a tag to compare

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

Online Documentation

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 at location.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

12 Nov 14:45

Choose a tag to compare

v1.0.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.0.0-beta.0...v1.0.0-beta.1

v1.0.0-beta.0

12 Nov 00:12

Choose a tag to compare

v1.0.0-beta.0 Pre-release
Pre-release

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

11 Nov 19:12

Choose a tag to compare

Deprecation Release Pre-release
Pre-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

21 Oct 17:36

Choose a tag to compare

v0.13.0 Pre-release
Pre-release

What's Changed

  • fix(Link): Make explicit replacement of empty string for current URL to support Sveltekit by @webJose in #99
  • fix: Correct activeBehavior for the cases of multiple CSS classes by @webJose in #100
  • feat: Allow RouterTrace to 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

01 Oct 20:09

Choose a tag to compare

v0.12.0 Pre-release
Pre-release

What's Changed

  • feat: Add the activeBehavior() attachment factory by @webJose in #97

Other Changes

Full Changelog: v0.11.0...v0.12.0

v0.11.0

01 Oct 06:52

Choose a tag to compare

v0.11.0 Pre-release
Pre-release

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.key a required property by @webJose in #92
  • feat(Link)!: Allow any aria- attribute in ActiveState by @webJose in #93
  • feat(LinkContext)!: Add activeState property by @webJose in #94
  • docs: Update README files by @webJose in #95

Full Changelog: v0.10.2...v0.11.0

v0.10.2

29 Sep 17:46

Choose a tag to compare

v0.10.2 Pre-release
Pre-release

What's Changed

  • fix: Ignore preserveQuery option in Location.goto() for shallow routing by @webJose in #84
  • refactor: Implement preserveQueryInUrl() by calling the private mergeQueryParams() 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

v0.10.1

28 Sep 01:54

Choose a tag to compare

v0.10.1 Pre-release
Pre-release

What's Changed

  • fix: Allow undefined for hash parameter in calculateState() by @webJose in #83

Full Changelog: v0.10.0...v0.10.1

v0.10.0

27 Sep 22:21

Choose a tag to compare

v0.10.0 Pre-release
Pre-release

What's Changed

  • feat: Export preserveQueryInUrl() for consumption by extension packages by @webJose in #81
  • feat: Respect disallowed route modes in Location.navigate() by @webJose in #82

Full Changelog: v0.9.0...v0.10.0