4.1.8 (2024-12-10)
- fix bug with state out of sync with useHistory: true (072712f)
4.1.7 (2024-11-28)
- bump version (c0bc971)
4.1.6 (2024-11-26)
- update description, bump (be080bf)
4.1.5 (2024-11-24)
- fix JSDoc tooltips (5fd9675)
4.1.4 (2024-11-24)
- minor fixes, works for react-router@7 as well (2993f9a)
4.1.3 (2024-11-21)
- use esbuild instead of terser (59226b0)
4.1.2 (2024-11-20)
- fix history pushState/replaceState rate limits (35d1398)
4.1.1 (2024-11-18)
- bump after refactor (1aca296)
4.1.0 (2024-11-15)
- useurlstate: return
reset
cb fromuseUrlState
, it can reset state and URL to default (68fc693)
4.0.9 (2024-11-14)
- fix
setUrl
options as second argument (2347850)
4.0.8 (2024-11-13)
- minor performance improvements, regex in replaceAll (b89406d)
4.0.7 (2024-11-10)
- fix single quote encoding (8e768b6)
4.0.6 (2024-11-10)
- use first argument for
defaultState
and second as object with other options (b896d5f)
4.0.5 (2024-11-09)
- return urlState as normal type, not readonly (a0aa6dd)
4.0.4 (2024-11-07)
- minor refactor (7a10939)
4.0.3 (2024-11-06)
- readme: typo (d4b0eed)
4.0.2 (2024-11-03)
- update tags and description (56c634c)
4.0.1 (2024-11-02)
- fix JSDoc (621c436)
4.0.0 (2024-11-02)
useHistory
option to use native window.history instead of Next.js router, true by default (6cb1a41)
- For Next.js,
useUrlState
hook will usewindow.history
for navigation by default, to opt out passuseUrlState({ useHistory: false })
3.1.0 (2024-11-02)
- rename APIs, keep old ones for backward compatibility (a4be099)
- way faster URL updates, can use
updateUrl
by default (1920de8)
3.0.7 (2024-10-29)
- update vercel domain (2f4e0fc)
3.0.6 (2024-10-27)
- minor fix (2978d82)
3.0.5 (2024-10-22)
- update description (9aaefdb)
3.0.4 (2024-10-16)
- update sitemap and description (c68d45e)
3.0.3 (2024-10-12)
- test release (404d942)
3.0.1 (2024-10-01)
- fix ts types (e07340c)
3.0.0 (2024-09-30)
- useurlstate: remove deprecated things (87c8c7c)
- useurlstate: useUrlState hook for react-router@6 (1c7cd02)
- useurlstate: 1.
useUrlState
for Next.js now accept only object, eg.useUrlState({ defaultState: {}})
- urls encoded with versions prior to v2.3.0 could stop working
2.6.0 (2024-09-19)
- fix gh action (0f0962f)
- keywords update (4d5db66)
2.5.2 (2024-09-09)
- trigger release (db2eea1)
2.5.1 (2024-09-09)
- semantic-release config (659e605)
2.5.1 (2024-09-09)
- semantic-release config (659e605)
2.5.1 (2024-09-09)
- semantic-release config (659e605)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.1 (2024-09-08)
- 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)
- improve encoder algo, smaller URI strings and less complexity (193e8c7)
- semantic release (235b422)
- test release (8c56246)
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
- style: new logo and favicon
b80a4f9
- refactor: simplify code
03c3fdc
- chore: noopener for links
70197b8
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
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
- ci: fix vercel build
cdc4949
- docs: code blocks in next page
3d41d23
- build: clean up old deps
afdff10
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
- feat: fix updateUrl, add more tests
411c018
- chore(release): 0.2.3
f8a9830
- chore: bump example
6bb8a64
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 requiredf8d8db1
- 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
anddecodeState
functionsabc4dcb
- 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
30 June 2024