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 #1511

Merged
merged 1 commit into from
May 7, 2021
Merged

Version Packages #1511

merged 1 commit into from
May 7, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 3, 2021

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/[email protected]

Minor Changes

  • Add cache.link(...) method to Graphcache. This method may be used in updaters to update links in the cache. It is hence the writing-equivalent of cache.resolve(), which previously didn't have any equivalent as such, which meant that only cache.updateQuery or cache.writeFragment could be used, even to update simple relations, by @JoviDeCroock (See #1551)
  • Add on a generic to cacheExchange and offlineExchange for future, experimental type-generation support, by @JoviDeCroock (See #1562)

Patch Changes

  • ⚠️ Fix up internal types in Graphcache to improve their accuracy for catching more edge cases in its implementation. This only affects you if you previously imported any type related to ScalarObject from Graphcache which now is a more opaque type. We've also adjusted the NullArray types to be potentially nested, since lists in GraphQL can be nested arbitarily, which we were covering but didn't reflect in our types, by @kitten (See #1591)
  • Remove closure-compiler from the build step (See #1570)
  • ⚠️ Fix list items being returned as null even for non-nullable lists, when the entities are missing in the cache. This could happen when a resolver was added returning entities or their keys. This behaviour is now (correctly) only applied to partial results with schema awareness, by @JoviDeCroock (See #1566)
  • Allow for the schema subscription and mutationType to be null, by @JoviDeCroock (See #1530)
  • Updated dependencies (See #1570, #1509, #1600, and #1515)

@urql/[email protected]

Minor Changes

  • With the "single-source behavior" the Client will now also avoid executing an operation if it's already active, has a previous result available, and is either run with the cache-first or cache-only request policies. This is similar to a "short circuiting" behavior, where unnecessary work is avoided by not issuing more operations into the exchange pipeline than expected, by @kitten (See #1600)
  • Add consistent "single-source behavior" which makes the Client more forgiving when duplicate
    sources are used, which previously made it difficult to use the same operation across an app
    together with cache-and-network; This was a rare use-case, and it isn't recommended to overfetch
    data across an app, however, the new Client implementation of shared sources ensures that when an
    operation is active that the Client distributes the last known result for the active operation to
    any new usages of it (which is called “replaying stale results”) (See #1515)

Patch Changes

  • Remove closure-compiler from the build step (See #1570)
  • ⚠️ Fix inconsistency in generating keys for DocumentNodes, especially when using GraphQL Code Generator, which could cause SSR serialization to fail, by @zenflow (See #1509)

@urql/[email protected]

Minor Changes

  • Add options to @urql/introspection's minifyIntrospectionQuery allowing the inclusion of more
    information into the minified schema as needed, namely includeScalars, includeEnums,
    includeInputs, and includeDirectives, by @kitten (See #1578)

Patch Changes

  • Remove closure-compiler from the build step (See #1570)

[email protected]

Minor Changes

Patch Changes

  • Remove closure-compiler from the build step (See #1570)

@urql/[email protected]

Minor Changes

  • A useClientHandle() function has been added. This creates a handle on which all use* hooks can be called, like await handle.useQuery(...) or await handle.useSubscription(...) which is useful for sequentially chaining hook calls in an async setup() function or preserve the right instance of a Client across lifecycle hooks, by @kitten (See #1599)

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

[email protected]

Patch Changes

@urql/[email protected]

Patch Changes

  • Remove closure-compiler from the build step (See #1570)

@urql/[email protected]

Patch Changes

JoviDeCroock
JoviDeCroock previously approved these changes Apr 6, 2021
@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from 6849478 to 5a51add Compare April 14, 2021 18:12
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 747a2e7 to e2178b7 Compare April 21, 2021 16:37
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 71bc0d0 to f4c9320 Compare April 22, 2021 09:01
@github-actions github-actions bot force-pushed the changeset-release/main branch 15 times, most recently from d2d801b to 4847729 Compare April 28, 2021 12:28
@kitten kitten dismissed JoviDeCroock’s stale review April 28, 2021 12:34

Release batch isn't ready.

@github-actions github-actions bot force-pushed the changeset-release/main branch 14 times, most recently from ffd06c3 to c3b8645 Compare May 5, 2021 07:22
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from 5c8e984 to a970730 Compare May 7, 2021 11:28
@kitten kitten requested a review from JoviDeCroock May 7, 2021 14:01
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from d0a67da to e9c8d59 Compare May 7, 2021 16:07
@kitten kitten force-pushed the changeset-release/main branch from e9c8d59 to f465971 Compare May 7, 2021 16:10
@kitten kitten merged commit 7d74097 into main May 7, 2021
@kitten kitten deleted the changeset-release/main branch May 7, 2021 17:16
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