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

Merged
merged 1 commit into from
May 24, 2022
Merged

Version Packages #2448

merged 1 commit into from
May 24, 2022

Conversation

urql-ci
Copy link
Contributor

@urql-ci urql-ci commented May 16, 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/[email protected]

Major Changes

  • Reimplement Svelte with functional-only API.
    We've gotten plenty of feedback and issues from the Svelte community about our prior
    Svelte bindings. These bindings favoured a Store singleton to read and write to,
    and a separate signal to start an operation.
    Svelte usually however calls for a lot more flexibility, so we're returning the
    API to a functional-only API again that serves to only create stores, which is more
    similar to the original implementation, by @jonathanstanley (See #2370)

Patch Changes

@urql/[email protected]

Minor Changes

  • Add Accept header to GraphQL HTTP requests. This complies to the specification but doesn't go as far as sending Content-Type which would throw a lot of APIs off. Instead, we'll now be sending an accept header for application/graphql+json, application/json to indicate that we comply with the GraphQL over HTTP protocol.
    This also fixes headers merging to allow overriding Accept and Content-Type regardless of the user options' casing, by @kitten (See #2457)

Patch Changes

  • Support aborting in withPromise cases, by @JoviDeCroock (See #2446)
  • Passthrough responses with content type of text/* as error messages, by @kitten (See #2456)

@urql/[email protected]

Patch Changes

  • Switch isFragmentHeuristicallyMatching() to always return true for writes, so that we give every fragment a chance to be applied and to write to the cache, by @kitten (See #2455)
  • ⚠️ Fix default storage persisting data after clear() was called on it, by @JoviDeCroock (See #2458)
  • Updated dependencies (See #2446, #2456, and #2457)

@urql-ci urql-ci force-pushed the changeset-release/main branch 6 times, most recently from f110e18 to 8760fb8 Compare May 24, 2022 18:08
@urql-ci urql-ci force-pushed the changeset-release/main branch from 8760fb8 to 998cd31 Compare May 24, 2022 18:13
@JoviDeCroock JoviDeCroock merged commit dbcc738 into main May 24, 2022
@JoviDeCroock JoviDeCroock deleted the changeset-release/main branch May 24, 2022 18:36
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.

3 participants