iamstarkov / topics-manager

Serverless App to manage GitHub repos' topics
https://topics-manager.now.sh
6 stars 0 forks source link

Update dependency urql to v1.6.1 #135

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change
urql (source) dependencies minor 1.4.0 -> 1.6.1

Release Notes

FormidableLabs/urql ### [`v1.6.1`](https://togithub.com/FormidableLabs/urql/blob/master/CHANGELOG.md#v161httpsgithubcomFormidableLabsurqlcomparev160v161) [Compare Source](https://togithub.com/FormidableLabs/urql/compare/v1.6.0...v1.6.1) - Fix hook updates not being propagated to potential context providers (see [#​451](https://togithub.com/FormidableLabs/urql/pull/451)) ### [`v1.6.0`](https://togithub.com/FormidableLabs/urql/blob/master/CHANGELOG.md#v161httpsgithubcomFormidableLabsurqlcomparev160v161) [Compare Source](https://togithub.com/FormidableLabs/urql/compare/v1.5.1...v1.6.0) - Fix hook updates not being propagated to potential context providers (see [#​451](https://togithub.com/FormidableLabs/urql/pull/451)) ### [`v1.5.1`](https://togithub.com/FormidableLabs/urql/blob/master/CHANGELOG.md#v160httpsgithubcomFormidableLabsurqlcomparev151v160) [Compare Source](https://togithub.com/FormidableLabs/urql/compare/v1.5.0...v1.5.1) This release comes with stability improvements for the `useQuery` and `useSubscription` hooks when using suspense and concurrent mode. They should behave the same as before under normal circumstances and continue to deliver the correct state on initial mount and updates. The `useQuery` hook may however now trigger suspense updates when its inputs are changing, as it should, instead of erroneously throwing a promise in `useEffect`. The added `stale: boolean` flag on the hooks indicates whether a result is "stale". `useQuery` will expose `stale: true` on results that are cached but will be updated due to the use of `cache-and-network`. We've also made some changes so that `client.query()` won't throw a promise, when suspense mode is activated. - ✨ Add `stale` flag to `OperationResult` and hook results (see [#​449](https://togithub.com/FormidableLabs/urql/pull/449)) - Replace `useImmeditateEffect` and `useImmediateState` with `react-wonka` derived state and effect (see [#​447](https://togithub.com/FormidableLabs/urql/pull/447)) - Add (internal) `suspense` flag to `OperationContext` ### [`v1.5.0`](https://togithub.com/FormidableLabs/urql/blob/master/CHANGELOG.md#v151httpsgithubcomFormidableLabsurqlcomparev150v151) [Compare Source](https://togithub.com/FormidableLabs/urql/compare/v1.4.1...v1.5.0) - Replace `fast-json-stable-stringify` with embedded code (see [#​426](https://togithub.com/FormidableLabs/urql/pull/426)) - ⚠ Prevent caching `null` data (see [#​437](https://togithub.com/FormidableLabs/urql/pull/437)) ### [`v1.4.1`](https://togithub.com/FormidableLabs/urql/blob/master/CHANGELOG.md#v150httpsgithubcomFormidableLabsurqlcomparev141v150) [Compare Source](https://togithub.com/FormidableLabs/urql/compare/v1.4.0...v1.4.1) This release finally adds shortcuts to imperatively make queries and mutations. They make it easier to quickly use the client programmatically, either with a Wonka source-based or Promise-based call. ```js // Call .query or .mutation which return Source const source = client.query(doc, vars); const source = client.mutation(doc, vars); // Call .toPromise() on the source to get Promise const promise = client.query(doc, vars).toPromise(); const promise = client.mutation(doc, vars).toPromise(); ``` This version also adds a `useClient` hook as a shortcut for `useContext(Context)`. We provide a default client that makes requests to `/graphql`. Since that has confused users before, we now log a warning, when it's used. - ✨ Implement `client.query()` and `client.mutation()` (see [#​405](https://togithub.com/FormidableLabs/urql/pull/405)) - Fix `useImmediateEffect` for concurrent mode (see [#​418](https://togithub.com/FormidableLabs/urql/pull/418)) - Deconstruct `Wonka.pipe` using a Babel transform (see [#​419](https://togithub.com/FormidableLabs/urql/pull/419)) - ⚠ Add `useClient` hook and warning when default client is used (see [#​420](https://togithub.com/FormidableLabs/urql/pull/420))

Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.

vercel[bot] commented 5 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/iamstarkov/topics-manager/gqx5rq3gq 🌍 Preview: https://topics-manager-git-renovate-urql-1x.iamstarkov.now.sh