nuqs

Type-safe search params state manager for Next.js - Like React.useState, but stored in the URL query string.

MIT License

Downloads
974.2K
Stars
1.7K

Bot releases are visible (Hide)

nuqs - v1.8.0-beta.13

Published by github-actions[bot] about 1 year ago

1.8.0-beta.13 (2023-09-14)

Bug Fixes

  • Add file extension to next/navigation imports (bcea00d), closes #352
nuqs - v1.8.0-beta.12

Published by github-actions[bot] about 1 year ago

1.8.0-beta.12 (2023-09-13)

Features

  • Spy on all query changes (b9a24cc)
nuqs - v1.8.0-beta.11

Published by github-actions[bot] about 1 year ago

1.8.0-beta.11 (2023-09-13)

Bug Fixes

Features

nuqs - v1.8.0-beta.10

Published by github-actions[bot] about 1 year ago

1.8.0-beta.10 (2023-09-12)

Bug Fixes

nuqs - v1.8.0-beta.9

Published by github-actions[bot] about 1 year ago

1.8.0-beta.9 (2023-09-11)

Features

  • Add server-side parser utility (e225975), closes #348
nuqs - v1.8.0-beta.8

Published by github-actions[bot] about 1 year ago

1.8.0-beta.8 (2023-09-11)

Bug Fixes

  • Pass through the unused title parameter (731bde4)

Features

  • Allow server-side parser access (29d4d86), closes #348
  • Cache returned promise until next flush (aa0619b)
  • Name patched functions for better stack traces (5b7c494)
nuqs - v1.8.0-beta.7

Published by github-actions[bot] about 1 year ago

1.8.0-beta.7 (2023-09-10)

Features

  • Single app/pages implementation (f4817f5)
nuqs - v1.8.0-beta.6

Published by github-actions[bot] about 1 year ago

1.8.0-beta.6 (2023-09-04)

Features

  • App router now uses history API (ba5e3e0)
nuqs - v1.8.0-beta.5

Published by github-actions[bot] about 1 year ago

1.8.0-beta.5 (2023-08-31)

Bug Fixes

  • Don't parse NaNs, but serialise them (4da7786)
  • empty arrays include NaN after navigation (8a50113)

Features

  • Add parser argument for JSON types (a2e7c3d)
nuqs - v1.8.0-beta.4

Published by github-actions[bot] about 1 year ago

1.8.0-beta.4 (2023-08-30)

Bug Fixes

  • Version .d.ts redirection files (e90b752)
nuqs - v1.8.0-beta.3

Published by github-actions[bot] about 1 year ago

1.8.0-beta.3 (2023-08-30)

Bug Fixes

  • Use re-exports rather than symlinks (7bde5a1)
nuqs - v1.8.0-beta.2

Published by github-actions[bot] about 1 year ago

1.8.0-beta.2 (2023-08-30)

Bug Fixes

  • ESM default export and typings files (1b164db)
nuqs - v1.8.0-beta.1

Published by github-actions[bot] about 1 year ago

1.8.0-beta.1 (2023-08-30)

Bug Fixes

  • Import useQueryState from src, and not from dist (1f65c20)

Features

  • Update to useRouter from next/navigation (a604351), closes #327
nuqs - v1.7.3

Published by github-actions[bot] over 1 year ago

1.7.3 (2023-06-05)

Bug Fixes

  • #329 Fix empty query returning an array of one empty string when using an array parser

New Contributors

Full Changelog: https://github.com/47ng/next-usequerystate/compare/v1.7.2...v1.7.3

nuqs - v1.7.2

Published by github-actions[bot] over 2 years ago

1.7.2 (2022-03-13)

Bug Fixes

  • Only filter out nullish values (aa96098), closes #294
nuqs - v1.7.1

Published by github-actions[bot] over 2 years ago

1.7.1 (2022-03-10)

Bug Fixes

  • Pass transition options to useQueryStates (f17d9a2)
  • Return serialised value (874486a), closes #293
  • Use location.pathname as asPath replacement (a141483), closes #282
nuqs - v1.7.1-beta.2

Published by github-actions[bot] over 2 years ago

1.7.1-beta.2 (2022-02-08)

Bug Fixes

  • Pass transition options to useQueryStates (05e06b8)
nuqs - v1.7.1-beta.1

Published by github-actions[bot] over 2 years ago

1.7.1-beta.1 (2022-02-08)

Bug Fixes

  • Use location.pathname as asPath replacement (aa5464a), closes #282
nuqs - v1.7.0

Published by github-actions[bot] over 2 years ago

1.7.0 (2022-02-04)

Bug Fixes

  • Don't reset query on undefined values (f69b0a0)
  • Maintain URL params for dynamic routes (dd927bb), closes #282
  • Pass empty string to parsers (1fb7dcf)
  • Pass the default value in the state updater function (3414d6e)
  • Re-render the state updater function only on asPath pathname changes (49daa92)

Features

  • Add array, JSON and enum query types (44f3fa7)
nuqs - v1.7.0-beta.1

Published by github-actions[bot] over 2 years ago

1.7.0-beta.1 (2022-02-04)

Bug Fixes

  • Don't reset query on undefined values (f69b0a0)
  • Maintain URL params for dynamic routes (dd927bb), closes #282
  • Pass empty string to parsers (1fb7dcf)
  • Pass the default value in the state updater function (3414d6e)
  • Re-render the state updater function only on asPath pathname changes (49daa92)

Features

  • Add array, JSON and enum query types (44f3fa7)