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

Version Packages #2808

Merged
merged 2 commits into from
Dec 8, 2022
Merged

Version Packages #2808

merged 2 commits into from
Dec 8, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 14, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@urql/exchange-execute@2.1.0

Minor Changes

  • The context option, which may be set to a context value or a function returning a context, can now return a Promise and will be correctly resolved and awaited, by @YutaUra (See #2806)

Patch Changes

  • End iterator when teardown functions runs, previously it waited for one extra call to next, then ended the iterator, by @danielkaxis (See #2803)
  • Updated dependencies (See #2843, #2847, #2850, and #2846)
    • @urql/core@3.1.0

@urql/core@3.1.0

Minor Changes

  • Implement mapExchange, which replaces errorExchange, allowing onOperation and onResult to be called to either react to or replace operations and results. For backwards compatibility, this exchange is also exported as errorExchange and supports onError, by @kitten (See #2846)

Patch Changes

  • Move remaining Variables generics over from object default to Variables extends AnyVariables = AnyVariables. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the object default is incompatible with AnyVariables, by @kitten (See #2843)
  • Reuse output of stringifyDocument in place of repeated print. This will mean that we now prevent calling print repeatedly for identical operations and are instead only reusing the result once.
    This change has a subtle consequence of our internals. Operation keys will change due to this
    refactor and we will no longer sanitise strip newlines from queries that @urql/core has printed, by @kitten (See #2847)
  • Update to wonka@^6.1.2 to fix memory leak in fetch caused in Node.js by a lack of clean up after initiating a request, by @kitten (See #2850)

@urql/exchange-graphcache@5.0.6

Patch Changes

  • Solve issue where partial data could cause loops between related queries, by @JoviDeCroock (See #2831)
  • Add skipping of garbage collection runs when the cache is waiting for optimistic, deferred or other results in layers. This means that we only take an opportunity to run garbage collection after results have settled and are hence decreasing the chance of hogging the event loop when a run isn't needed, by @kitten (See #2862)
  • ⚠️ Fix a deadlock condition in Graphcache's layers, which is caused by subscriptions (or other deferred layers) starting before one-off mutation layers. This causes the mutation to not be completed, which keeps its data preferred above the deferred layer. That in turn means that layers stop squashing, which causes new results to be missing indefinitely, when they overlap, by @kitten (See #2861)
  • Updated dependencies (See #2843, #2847, #2850, and #2846)
    • @urql/core@3.1.0

next-urql@4.0.1

Patch Changes

  • Change import for createClient to @urql/core, which helps Next not depend on urql and hence not cause createContext to be called when the import is treeshaken away, by @SleeplessOne1917 (See #2833)

@urql/svelte@3.0.2

Patch Changes

  • Move remaining Variables generics over from object default to Variables extends AnyVariables = AnyVariables. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the object default is incompatible with AnyVariables, by @kitten (See #2843)
  • Updated dependencies (See #2843, #2847, #2850, and #2846)
    • @urql/core@3.1.0

@urql/vue@1.0.3

Patch Changes

  • Move remaining Variables generics over from object default to Variables extends AnyVariables = AnyVariables. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the object default is incompatible with AnyVariables, by @kitten (See #2843)
  • Updated dependencies (See #2843, #2847, #2850, and #2846)
    • @urql/core@3.1.0

@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 10b400b to 3544aca Compare November 22, 2022 16:17
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from f5c0c20 to d1ad0c6 Compare December 1, 2022 07:03
@github-actions github-actions bot force-pushed the changeset-release/main branch 12 times, most recently from 6fc645c to a44b0a1 Compare December 7, 2022 12:52
@kitten kitten force-pushed the changeset-release/main branch 2 times, most recently from a1f9b4d to 5c6ef59 Compare December 8, 2022 16:55
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5c6ef59 to f4e6511 Compare December 8, 2022 17:02
@kitten kitten merged commit 99e4ca9 into main Dec 8, 2022
@kitten kitten deleted the changeset-release/main branch December 8, 2022 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants