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

fix(deps): update dependency @urql/core to v5 #430

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@urql/core (source) ^4.0.6 -> ^5.0.0 age adoption passing confidence
@urql/core (source) ^4.0.0 -> ^5.0.0 age adoption passing confidence

Release Notes

urql-graphql/urql (@​urql/core)

v5.1.0

Compare Source

Minor Changes
  • Remove addMetadata transform where we'd strip out metadata for production environments, this particularly affects OperationResult.context.metadata.cacheOutcome
    Submitted by @​alpavlove (See #​3714)

v5.0.8

Compare Source

Patch Changes

v5.0.7

Compare Source

Patch Changes
  • Remove for-of syntax from @urql/core helpers for JSC memory reduction
    Submitted by @​kitten (See #​3690)

v5.0.6

Compare Source

Patch Changes

v5.0.5

Compare Source

Patch Changes

v5.0.4

Compare Source

Patch Changes
  • Change how we calculate the OperationKey to take files into account, before we
    would encode them to null resulting in every mutation with the same variables
    (excluding the files) to have the same key. This resulted in mutations that upload
    different files at the same time to share a result in GraphCache
    Submitted by @​JoviDeCroock (See #​3601)

v5.0.3

Compare Source

Patch Changes
  • Use documentId from persisted documents for document keys, when it's available
    Submitted by @​kitten (See #​3575)

v5.0.2

Compare Source

Patch Changes
  • ⚠️ Fix issue where a reexecute on an in-flight operation would lead to multiple network-requests.
    For example, this issue presents itself when Graphcache is concurrently updating multiple, inter-dependent queries with shared entities. One query completing while others are still in-flight may lead to duplicate operations being issued
    Submitted by @​JoviDeCroock (See #​3573)

v5.0.1

Compare Source

Patch Changes
  • ⚠️ Fix @ts-ignore on TypeScript peer dependency import in typings not being applied due to a leading ! character
    Submitted by @​kitten (See #​3567)

v5.0.0

Compare Source

Major Changes
Patch Changes

v4.3.0

Compare Source

Minor Changes
  • Support Apollo Federation's format for subscription results in multipart/mixed responses (result properties essentially are namespaced on a payload key)
    Submitted by @​JoviDeCroock (See #​3499)
  • Add support for sending persisted documents. Any DocumentNode with no/empty definitions and a documentId property is considered a persisted document. When this is detected a documentId parameter rather than a query string is sent to the GraphQL API, similar to Automatic Persisted Queries (APQs). However, APQs are only supported via @urql/exchange-persisted, while support for documentId is now built-in
    Submitted by @​kitten (See #​3515)
Patch Changes
  • Allow url to be a plain, non-URL pathname (i.e. /api/graphql) to be used with preferGetMethod
    Submitted by @​akrantz01 (See #​3514)
  • Correctly support the Headers class being used in fetchOptions
    Submitted by @​JoviDeCroock (See #​3505)

v4.2.3

Compare Source

Patch Changes
  • Add back our cache-outcome on the document-cache, this was behind a development flag however in our normalized cache we always add it already
    Submitted by @​JoviDeCroock (See #​3464)

v4.2.2

Compare Source

Patch Changes
  • ⚠️ Fix the default cacheExchange crashing on cache-only request policies with cache misses due to undefined results
    Submitted by @​JoviDeCroock (See #​3459)

v4.2.1

Compare Source

Patch Changes
  • ⚠️ Fix incorrect JSON stringification of objects from different JS contexts. This could lead to invalid variables being generated in the Vercel Edge runtime specifically
    Submitted by @​SoraKumo001 (See #​3453)

v4.2.0

Compare Source

Minor Changes
  • Try to parse text/plain content-type as JSON before bailing out with an error
    Submitted by @​JoviDeCroock (See #​3430)

v4.1.4

Compare Source

Patch Changes
  • Implement new @defer / @stream transport protocol spec changes
    Submitted by @​JoviDeCroock (See #​3389)
  • Support non spec-compliant error bodies, i.e. the Shopify API does return errors but as an object. Adding
    a check whether we are really dealing with an Array of errors enables this
    Submitted by @​JoviDeCroock (See #​3395)
  • ⚠️ Fix preferGetMethod: 'force' | 'within-url-limit' not being applied correctly by the Client
    Submitted by @​Burbenog (See #​3403)

v4.1.3

Compare Source

Patch Changes
  • ⚠️ Fix missing teardown operation handling in the ssrExchange. This could lead to duplicate network operations being executed
    Submitted by @​kitten (See #​3386)

v4.1.2

Compare Source

Patch Changes
  • Explicitly unblock client.reexecuteOperation calls to allow stalled operations from continuing and re-executing. Previously, this could cause @urql/exchange-graphcache to stall if an optimistic mutation led to a cache miss
    Submitted by @​kitten (See #​3363)

v4.1.1

Compare Source

Patch Changes
  • Add case for subscriptionExchange to handle GraphQLError[] received in the error observer callback.
    Note: This doesn't strictly check for the GraphQLError shape and only checks for arrays and receiving errors in the ExecutionResult on the next observer callback is preferred and recommended for transports
    Submitted by @​kitten (See #​3346)

v4.1.0

Compare Source

Minor Changes
  • Update formatDocument to output FormattedNode type mapping. The formatter will now annotate added __typename fields with _generated: true, place selection nodes' directives onto a _directives dictionary, and will filter directives to not include "_" underscore prefixed directives in the final query. This prepares us for a feature that allows enhanced client-side directives in Graphcache
    Submitted by @​kitten (See #​3317)
Patch Changes
  • Add OperationContext.optimistic flag as an internal indication on whether a mutation triggered an optimistic update in @urql/exchange-graphcache's cacheExchange
    Submitted by @​kitten (See #​3308)

v4.0.11

Compare Source

Patch Changes
  • Re-order maskTypename to apply masking earlier in the chain
    Submitted by @​kitten (See #​3298)
  • ⚠️ Fix ssrExchange not formatting query documents using formatDocument. Without this call we'd run the risk of not having __typename available on the client-side when rehydrating
    Submitted by @​kitten (See #​3288)
  • Add deprecation notice for maskTypename option.
    Masking typenames in a result is no longer recommended. It’s only
    useful when multiple pre-conditions are applied and inferior to
    mapping to an input object manually
    Submitted by @​kitten (See #​3299)

v4.0.10

Compare Source

Patch Changes
  • Add missing fetchSubscriptions entry to OperationContext. The Client’s fetchSubscriptions now works properly and can be used to execute subscriptions as multipart/event-stream requests
    Submitted by @​kitten (See #​3244)
  • ⚠️ Fix fetchSource not working for subscriptions since hasNext isn’t necessarily set
    Submitted by @​kitten (See #​3244)

v4.0.9

Compare Source

Patch Changes
  • Return AbortController invocation to previous behaviour where it used to be more forceful. It will now properly abort outside of when our generator yields results, and hence now also cancels requests again that have already delivered headers but are currently awaiting a response body
    Submitted by @​kitten (See #​3239)

v4.0.8

Compare Source

Patch Changes
  • Respect additionalTypenames on subscriptions and re-execute queries for them as well, as one would intuitively expect
    Submitted by @​kitten (See #​3230)
  • Update build process to generate correct source maps
    Submitted by @​kitten (See #​3201)
  • Don't allow isSubscriptionOperation option in subscriptionExchange to include teardown operations, to avoid confusion
    Submitted by @​kitten (See #​3206)

v4.0.7

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), 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 these updates 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 Dec 23, 2024

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

Name Status Preview Comments Updated (UTC)
nacelle-next-reference-store ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 2:15am
nacelle-next-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 2:15am
nacelle-nuxt-reference-store ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 2:15am
nacelle-nuxt-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 2:15am
nextjs-preview ❌ Failed (Inspect) Dec 23, 2024 2:15am

Copy link

changeset-bot bot commented Dec 23, 2024

⚠️ No Changeset found

Latest commit: a3c576a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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