Skip to content

Latest commit

 

History

History
547 lines (294 loc) · 27.9 KB

CHANGELOG.md

File metadata and controls

547 lines (294 loc) · 27.9 KB

4.1.8 (2024-12-10)

Bug Fixes

  • fix bug with state out of sync with useHistory: true (072712f)

4.1.7 (2024-11-28)

Bug Fixes

4.1.6 (2024-11-26)

Bug Fixes

  • update description, bump (be080bf)

4.1.5 (2024-11-24)

Bug Fixes

4.1.4 (2024-11-24)

Bug Fixes

  • minor fixes, works for react-router@7 as well (2993f9a)

4.1.3 (2024-11-21)

Bug Fixes

  • use esbuild instead of terser (59226b0)

4.1.2 (2024-11-20)

Bug Fixes

  • fix history pushState/replaceState rate limits (35d1398)

4.1.1 (2024-11-18)

Bug Fixes

4.1.0 (2024-11-15)

Features

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

4.0.9 (2024-11-14)

Bug Fixes

  • fix setUrl options as second argument (2347850)

4.0.8 (2024-11-13)

Performance Improvements

  • minor performance improvements, regex in replaceAll (b89406d)

4.0.7 (2024-11-10)

Bug Fixes

  • fix single quote encoding (8e768b6)

4.0.6 (2024-11-10)

Bug Fixes

  • use first argument for defaultState and second as object with other options (b896d5f)

4.0.5 (2024-11-09)

Bug Fixes

  • return urlState as normal type, not readonly (a0aa6dd)

4.0.4 (2024-11-07)

Bug Fixes

4.0.3 (2024-11-06)

Bug Fixes

4.0.2 (2024-11-03)

Bug Fixes

  • update tags and description (56c634c)

4.0.1 (2024-11-02)

Bug Fixes

4.0.0 (2024-11-02)

Features

  • useHistory option to use native window.history instead of Next.js router, true by default (6cb1a41)

BREAKING CHANGES

  • For Next.js, useUrlState hook will use window.history for navigation by default, to opt out pass useUrlState({ useHistory: false })

3.1.0 (2024-11-02)

Features

  • rename APIs, keep old ones for backward compatibility (a4be099)

Performance Improvements

  • way faster URL updates, can use updateUrl by default (1920de8)

3.0.7 (2024-10-29)

Bug Fixes

3.0.6 (2024-10-27)

Bug Fixes

3.0.5 (2024-10-22)

Bug Fixes

3.0.4 (2024-10-16)

Bug Fixes

  • update sitemap and description (c68d45e)

3.0.3 (2024-10-12)

Bug Fixes

3.0.1 (2024-10-01)

Bug Fixes

3.0.0 (2024-09-30)

Code Refactoring

  • useurlstate: remove deprecated things (87c8c7c)

Features

  • useurlstate: useUrlState hook for react-router@6 (1c7cd02)

BREAKING CHANGES

  • useurlstate: 1. useUrlState for Next.js now accept only object, eg. useUrlState({ defaultState: {}})
  1. urls encoded with versions prior to v2.3.0 could stop working

2.6.0 (2024-09-19)

Bug Fixes

Features

2.5.2 (2024-09-09)

Bug Fixes

2.5.1 (2024-09-09)

Bug Fixes

  • semantic-release config (659e605)

2.5.1 (2024-09-09)

Bug Fixes

  • semantic-release config (659e605)

2.5.1 (2024-09-09)

Bug Fixes

  • semantic-release config (659e605)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.4.1 (2024-09-08)

Features

  • improve encoder algo, smaller URI strings and less complexity (193e8c7)
  • provenance test (111e096)
  • semantic release (235b422)
  • test release (8c56246)

2.4.0 (2024-09-08)

Features

  • improve encoder algo, smaller URI strings and less complexity (193e8c7)
  • semantic release (235b422)
  • test release (8c56246)

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • ci: semantic-release config 7aa63ab
  • refactor: refactor common components 17ca72f
  • ci: release-it 84165ba

6 September 2024

  • refactor: refactor components, styles and test #9
  • build(deps): bump micromatch and lint-staged #8
  • style: next page optimization 9ec0bf9
  • chore: bot detection 8281d85
  • feat: improve encoder algo, smaller URI strings and less complexity 193e8c7

21 August 2024

18 August 2024

  • refactor(useurlstatebase): use getInitialState as proper dependency injection 38444e6
  • chore(release): 2.2.4 ecdd628
  • docs: Update README.md 9a67bfc

15 August 2024

  • docs: rename github to docs in JSDoc comments 6f78f6d
  • chore(release): 2.2.3 37164ff

15 August 2024

  • fix: fix nested Date serialization e5451d5
  • chore: remove unused package 40f8465
  • docs: attempt to fix vercel error aafbfd4

12 August 2024

9 August 2024

  • feat(useurlstate): replace=true by default, object args b531063
  • chore: update test utils c022d7f
  • docs: note about onBlur 14f4e7c

6 August 2024

  • test: separate stateShape obj instance for each test 9684408
  • style: url box and some style fixes 7baaab4
  • refactor: minor refactor 2742e0b

3 August 2024

  • test: exports test 1503aeb
  • feat: allow to use partial value for updateState/updateUrl 1e0ede3
  • test: upgrade playwright f659243

1 August 2024

  • docs: update README translations e159666
  • fix(useurlstate): ignore/preserve sp not defined in stateShape 502c4e3
  • test: minor test refactor d97d03b

1 August 2024

31 July 2024

  • feat: Integrations with nextJS, subpatch exports #7
  • refactor: useUrlStateBase hook 72afbda
  • test: tests for useUrlState with few components 868cfca
  • docs: update docs 78c64ba

25 July 2024

23 July 2024

  • feat: useSharedState hook for Next.js/React #6
  • chore: fix html import 5c105f4
  • chore: empty react+ts vite example cab1531
  • chore: render React SPA under /react route 672fc25

20 July 2024

  • test: split test and skip hydrations errors for now 4e8ac57
  • fix: fix value getting for SSR b1996a1
  • style: style improvement 96c667a

17 July 2024

  • docs: kO and CN tranlation of main Readme #5
  • style: landing improvements fcf9746
  • style: openGraph meta tags 9a0435b
  • chore: some SEO stuff 39bbfdd

14 July 2024

13 July 2024

  • Docs #4
  • docs: markdown documentation for all exported functions 723c584
  • style: udpate eslint plugin and fix linting 0a250ac
  • test: remount component test f751f8e

12 July 2024

11 July 2024

  • refactor: move eventLIsterner logic to state.ts de6a348
  • docs: improve README e685cc3
  • chore: bump example e9cd152

10 July 2024

  • fix: fix history navigation, add more tests f54d893
  • build: add playwright watch script 853a1ad
  • refactor: minor clean up 38748ec

9 July 2024

9 July 2024

  • fix: fix import, no type module, and cjs bundle too ccb428b
  • fix: updateState on updateUrl and fix types 59c8250
  • chore(release): 0.2.2 6f67a39

8 July 2024

  • docs: Create CODE_OF_CONDUCT.md c1f75db
  • docs: Update issue templates e356927
  • chore: vercel analytics ba65f49

8 July 2024

  • feat: observer pattern to communicate between useUrlState hooks, stateShape parameter required f8d8db1
  • ci: disable github-pages deploy 5d23c91
  • docs: improve readme bfa059c

5 July 2024

  • feat: use fallback for invalid/incomplet URL string 7690030
  • docs: import types definitions 8427fad
  • docs: explicit types in nextjs example 921a160

3 July 2024

  • feat: use fallback for invalid/incomplet URL string f6558ce
  • docs: import types definitions 9a9e879
  • docs: explicit types in nextjs example a8677f7

2 July 2024

2 July 2024

  • feat: encodeState and decodeState functions abc4dcb
  • chore(release): 0.1.4 e3e802b
  • chore: fix tsconfig/eslint e336827

1 July 2024

  • fix: keep scroll for router.push, add option for router.replace 6e9646e
  • ci: bump lib in example cafcdee
  • chore(release): 0.1.3 1c57e02

1 July 2024

  • style: redesign of demo page 935b68f
  • ci: change nextjs directory 20fefe0
  • ci: gh-pages another action c6fc97f

v0.1.1

30 June 2024