Skip to content

chore(deps): bump urql from 2.0.4 to 2.2.2#583

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/urql-2.2.2
Closed

chore(deps): bump urql from 2.0.4 to 2.2.2#583
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/urql-2.2.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 10, 2022

Bumps urql from 2.0.4 to 2.2.2.

Release notes

Sourced from urql's releases.

urql@2.2.2

Patch Changes

  • ⚠️ Fix Node.js ESM re-export detection for @urql/core in urql package and CommonJS output for all other CommonJS-first packages. This ensures that Node.js' cjs-module-lexer can correctly identify re-exports and report them properly. Otherwise, this will lead to a runtime error, by @​kitten (See #2485)

urql@2.2.1

Patch Changes

  • ⚠️ Fix issue where a paused subscription would execute with stale variables, by @​JoviDeCroock (See #2463)

@​urql/core@​2.2.0

Minor Changes

  • Add a staleWhileRevalidate option to the ssrExchange, which allows the client to immediately refetch a new result on hydration, which may be used for cached / stale SSR or SSG pages. This is different from using cache-and-network by default (which isn't recommended) as the ssrExchange typically acts like a "replacement fetch request", by @​kitten (See #1852)

Patch Changes

  • ⚠️ Fix prevent mangling embedded strings in queries sent using the GET method, by @​JoviDeCroock (See #1851)
  • The single-source behavior previously wasn't effective for implementations like React, where the issue presents itself when the state of an operation is first polled. This led to the operation being torn down erroneously. We now ensure that operations started at the same time still use a shared single-source, by @​JoviDeCroock (See #1850)

urql@2.2.0

Minor Changes

  • Revert to the previous useQuery implementation, use-sync-external-store seems to be causing some unexpected timing issues, by @​JoviDeCroock (See #2308)

Patch Changes

  • Updated dependencies (See #2295)

@​urql/core@​2.1.6

Patch Changes

@​urql/core@​2.1.5

Patch Changes

  • Prevent ssrExchange().restoreData() from adding results to the exchange that have already been invalidated. This may happen when restoreData() is called repeatedly, e.g. per page. When a prior run has already invalidated an SSR result then the result is 'migrated' to the user's cacheExchange, which means that restoreData() should never attempt to re-add it again, by @​kitten (See #1776)
  • ⚠️ Fix accidental change in passive stale: true, where a cache-first operation issued by Graphcache wouldn't yield an affected query and update its result to reflect the loading state with stale: true. This is a regression from v2.1.0 and mostly becomes unexpected when cache.invalidate(...) is used, by @​kitten (See #1755)

@​urql/core@​2.1.4

Patch Changes

  • Prevent stale results from being emitted by promisified query sources, e.g. client.query(...).toPromise() yielding a partial result with stale: true set. Instead, .toPromise() will now filter out stale results, by @​kitten (See #1709)

@​urql/core@​2.1.3

Patch Changes

... (truncated)

Changelog

Sourced from urql's changelog.

2.2.2

Patch Changes

  • ⚠️ Fix Node.js ESM re-export detection for @urql/core in urql package and CommonJS output for all other CommonJS-first packages. This ensures that Node.js' cjs-module-lexer can correctly identify re-exports and report them properly. Otherwise, this will lead to a runtime error, by @​kitten (See #2485)

2.2.1

Patch Changes

  • ⚠️ Fix issue where a paused subscription would execute with stale variables, by @​JoviDeCroock (See #2463)

2.2.0

Minor Changes

  • Revert to the previous useQuery implementation, use-sync-external-store seems to be causing some unexpected timing issues, by @​JoviDeCroock (See #2308)

Patch Changes

  • Updated dependencies (See #2295)

2.1.3

Patch Changes

  • ⚠️ fix diff data correctly for the next state computing, this avoids having UI-flashes due to undefined data, by @​JoviDeCroock (See #2238)
  • ⚠️ fix issue where the cache infinitely loops, by @​JoviDeCroock (See #2237)

2.1.2

Patch Changes

  • Update useQuery implementation to avoid an aborted render on initial mount. We abort a render-on-update once when the state needs to be updated according to the OperationResult source we need to listen to and execute. However, we can avoid this on the initial mount as we've done in a prior version. This fix does not change any of the current behaviour, but simply avoids the confusing state transition on mount, by @​kitten (See #2227)
  • Updated dependencies (See #2228)

2.1.1

Patch Changes

2.1.0

Minor Changes

  • Leverage the new use-sync-external-store package and useSyncExternalStore hook in useQuery implementation to bring the state synchronisation in React in line with React v18. While the current implementation works already with React Suspense and React Concurrent this will reduce the maintenance burden of our implementation and ensure certain guarantees so that React doesn't break us, by @​JoviDeCroock (See #2164)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by npm-urql, a new releaser for urql since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [urql](https://github.com/FormidableLabs/urql/tree/HEAD/packages/react-urql) from 2.0.4 to 2.2.2.
- [Release notes](https://github.com/FormidableLabs/urql/releases)
- [Changelog](https://github.com/FormidableLabs/urql/blob/main/packages/react-urql/CHANGELOG.md)
- [Commits](https://github.com/FormidableLabs/urql/commits/urql@2.2.2/packages/react-urql)

---
updated-dependencies:
- dependency-name: urql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added topic: dependencies Upgrades & changes to dependencies type: maintenance Some chores, dependencies, documentations labels Jun 10, 2022
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 10, 2022

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

Name Status Preview Updated
web ✅ Ready (Inspect) Visit Preview Jun 10, 2022 at 3:36AM (UTC)

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #583 (59e5ce0) into main (049d270) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #583   +/-   ##
=====================================
  Coverage   0.29%   0.29%           
=====================================
  Files         80      80           
  Lines       1720    1720           
  Branches     543     554   +11     
=====================================
  Hits           5       5           
+ Misses      1715    1710    -5     
- Partials       0       5    +5     
Impacted Files Coverage Δ
components/Layout.tsx 0.00% <0.00%> (ø)
components/search/SearchFilters.tsx 0.00% <0.00%> (ø)
components/search/SearchComponent.tsx 0.00% <0.00%> (ø)
components/search/UserSearchResults.tsx 0.00% <0.00%> (ø)
components/search/BlockSearchResults.tsx 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 049d270...59e5ce0. Read the comment docs.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jul 25, 2022

Superseded by #599.

@dependabot dependabot Bot closed this Jul 25, 2022
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/urql-2.2.2 branch July 25, 2022 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: dependencies Upgrades & changes to dependencies type: maintenance Some chores, dependencies, documentations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant