Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-yoga/node 2.13.7 -> 2.13.8 age adoption passing confidence
@reduxjs/toolkit (source) 1.8.4 -> 1.8.5 age adoption passing confidence
@types/lodash 4.14.183 -> 4.14.184 age adoption passing confidence
@types/node 16.11.49 -> 16.11.51 age adoption passing confidence
flow-bin (changelog) 0.185.0 -> 0.185.1 age adoption passing confidence
flow-parser (source) 0.185.0 -> 0.185.1 age adoption passing confidence

Release Notes

dotansimha/graphql-yoga

v2.13.8

Compare Source

Patch Changes
reduxjs/redux-toolkit

v1.8.5

Compare Source

This bugfix releas fixes an issue with large keepUnusedDataFor values overflowing JS timers, exports the types for the Redux DevTools Extension option, and and improves behavior of URL string generation.

Changelog

keepUnusedDataFor Timer Fix

keepUnusedDataFor accepts a value in seconds. When there are no more active subscriptions for a piece of data, RTKQ will set a timer using setTimeout, and keepUnusedDataFor * 1000 as the timer value.

We've been advising users that if they want to keep data in the cache forever that they should use a very large value for keepUnusedDataFor, such as 10 years in seconds.

However, it turns out that JS engines use a 32-bit signed int for timers, and 32-bits in milliseconds is only 24.8 days. If a timer is given a value larger than that, it triggers immediately.

We've updated the internal logic to clamp the keepUnusedDataFor value to be between 0 and THIRTY_TWO_BIT_MAX_TIMER_SECONDS - 1.

Note that in RTK 1.9 (coming soon), RTKQ will also accept Infinity as a special keepUnusedDataFor value to indicate cached data should never be expired.

Other Changes

RTK inlines the TS types for the Redux DevTools Extension options to avoid an extra dependency, but the TS type for the options object wasn't exported publicly. We now export the DevToolsEnhancerOptions type.

The logic for generating a final URL has been updated to avoid adding an extra trailing /.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v1.8.4...v1.8.5

flowtype/flow-bin

v0.185.1

Compare Source

facebook/flow

v0.185.1

Compare Source

Misc:

  • Improve the experimental mode to rank autoimport suggestions by how often they're imported (autoimports_ranked_by_usage=true)

Configuration

📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

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

@changeset-bot
Copy link

changeset-bot bot commented Aug 19, 2022

⚠️ No Changeset found

Latest commit: a77be21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Aug 19, 2022

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

Name Status Preview Updated
graphql-code-generator ✅ Ready (Inspect) Visit Preview Aug 20, 2022 at 5:06AM (UTC)

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 9e677ce to a77be21 Compare August 20, 2022 05:01
@renovate renovate bot merged commit ea16207 into master Aug 20, 2022
@renovate renovate bot deleted the renovate/all-minor-patch branch August 20, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants