Skip to content

Releases: asmyshlyaev177/state-in-url

v4.1.0

15 Nov 20:05
Compare
Choose a tag to compare

What's Changed

Features

  • return reset cb from useUrlState, it can reset state and URL to default 68fc693

Bug Fixes

  • fix setUrl options as second argument (2347850)
  • fix single quote encoding (8e768b6)

Performance Improvements

  • minor performance improvements, regex in .replace (b89406d)

Other

  • use first argument for defaultState and second as object with other options (b896d5f)
  • return urlState as normal type, not readonly (a0aa6dd)

Full Changelog: v4.0.0...v4.1.0

v4.0.0

02 Nov 15:30
Compare
Choose a tag to compare

Way faster URL updates, using native window.history by default for Next.js, to avoid _rsc requests and keep performance.

Full Changelog: v3.1.0...v4.0.0

v3.0.0

30 Sep 20:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.6.0...v3.0.0

v2.5.0

09 Sep 06:27
Compare
Choose a tag to compare

2.5.0 (2024-09-09)

Features