Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update dependency nuqs to v2 #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nuqs (source) 1.20.0 -> 2.3.1 age adoption passing confidence

Release Notes

47ng/nuqs (nuqs)

v2.3.1

Compare Source

Bug Fixes
Performance Improvements

v2.3.0

Compare Source

Features

Bug Fixes

Other changes

New Contributors

Full Changelog: 47ng/nuqs@v2.2.3...v2.3.0

v2.2.3

Compare Source

Bug Fixes

v2.2.2

Compare Source

Bug Fixes

v2.2.1

Compare Source

Bug Fixes

v2.2.0

Compare Source

Features
Bug Fixes

v2.1.2

Compare Source

Bug Fixes

v2.1.1

Compare Source

Bug Fixes

v2.1.0

Compare Source

Bug Fixes
Features

v2.0.4

Compare Source

Bug Fixes

v2.0.3

Compare Source

Bug Fixes

v2.0.2

Compare Source

Bug Fixes

v2.0.1

Compare Source

Bug Fixes

v2.0.0

Compare Source

Bug Fixes
  • parseAsJson now requires a runtime validation function (53a37d4)
chore
Features
  • Add adapter for One (a56aa11)
  • Add custom adapters API (unstable) (3ef698f)
  • Add React Router adapter (cb30a20)
  • Add Remix adapter (4ae6c81)
  • Add vanilla React adapter sandbox (e603a4d)
  • Introducing adapters for other frameworks (a101370), closes #​603 #​620
  • Provide specialised adapters for both Next.js routers (ac95384)
  • Render pretty URLs in other adapters (6618f45)
BREAKING CHANGES
  • Pass in a validation function like a Zod schema parse function
    to validate at runtime and infer the type of the returned data.
  • UseQueryStatesOptions is now generic over the key map
    (the object containing parser definitions you pass to useQueryStates),
    and is now a type rather than an interface.
  • When using Next.js, nuqs v2 requires next@>=14.2.0.
  • nuqs now requires wrapping your app
    with a NuqsAdapter, which is a context provider connecting
    your framework APIs to the hooks' internals.
  • The startTransition option no longer
    automatically sets shallow: false. The Options type
    is no longer generic.
  • The "use client" directive was not included
    in the client import (import {} from 'nuqs'). It has now been added,
    meaning that server-side code needs to import from nuqs/server
    to avoid errors like:
Error: Attempted to call withDefault() from the server but withDefault is on
the client. It's not possible to invoke a client function from the server, it can
only be rendered as a Component or passed to props of a Client
Component.

Due to a bug in the implementation of shallow routing (WHS),
14.0.3 required a special case for syncing
against external navigation.

In [email protected], we're cleaning this up and requiring
a version of Next.js with bug-free support for
shallow routing (with or without experimental WHS
in 14.0.4, and with stabilised WHS in 14.0.5 onwards).

  • export path has been renamed. Contents are identical.

Since the /parsers export contained the server cache,
this name makes better sense and helps outline the client/server
nature of features in nuqs.

  • package is now only updating on the nuqs name.

The debugging printouts no longer check for next-usequerystate, only nuqs.

  • the following deprecated APIs have been removed:
  • queryTypes bag of parsers -> use individual parseAsXYZ parsers
    for better tree-shakeability.
  • subscribeToQueryUpdates helper -> since Next.js 14.0.5,
    useSearchParams is reactive to shallow search params updates
  • drop CJS support.

Since Next has ESM support since v12, it should not really be a breaking change for most.

Big thanks to @​andreisocaciu, @​tordans, @​prasannamestha, @​Talent30, @​neefrehman, @​chbg, @​dopry, @​weisisheng, @​hugotiger, @​iuriizaporozhets, @​rikbrown, @​mateogianolio, @​timheerwagen, @​psdmsft, and @​psdewar for helping !


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Oct 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
interval.so ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 6:23pm

@renovate renovate bot force-pushed the renovate/nuqs-2.x branch 4 times, most recently from 05ad9df to 330ec64 Compare October 24, 2024 09:46
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from 330ec64 to b4ff5e8 Compare October 30, 2024 16:20
Copy link

vercel bot commented Oct 30, 2024

Deployment failed with the following error:

Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from b4ff5e8 to ba67a73 Compare October 31, 2024 13:23
Copy link

vercel bot commented Oct 31, 2024

Deployment failed with the following error:

Resource is limited - try again in 42 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/nuqs-2.x branch 4 times, most recently from a0eecd3 to 1b3dfa2 Compare November 14, 2024 17:32
Copy link

vercel bot commented Nov 14, 2024

Deployment failed with the following error:

Resource is limited - try again in 7 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/nuqs-2.x branch 2 times, most recently from b42aad0 to baa2dc6 Compare November 20, 2024 21:07
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from baa2dc6 to 24956a5 Compare November 23, 2024 16:26
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from 24956a5 to d93048a Compare December 4, 2024 08:05
Copy link

vercel bot commented Dec 4, 2024

Deployment failed with the following error:

Resource is limited - try again in 2 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot changed the title build(deps): update dependency nuqs to v2 build(deps): update dependency nuqs to v2 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/nuqs-2.x branch December 8, 2024 18:29
@renovate renovate bot changed the title build(deps): update dependency nuqs to v2 - autoclosed build(deps): update dependency nuqs to v2 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from 3410117 to d93048a Compare December 8, 2024 21:07
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from d93048a to bf654fe Compare January 1, 2025 22:16
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from bf654fe to c3b880d Compare January 14, 2025 18:23
@renovate renovate bot force-pushed the renovate/nuqs-2.x branch from c3b880d to 6da870f Compare January 16, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants