Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

fix(deps): update dependency @reduxjs/toolkit to v1.9.3#565

Merged
KaneFreeman merged 1 commit intomainfrom
renovate/reduxjs-toolkit-1.x
Feb 21, 2023
Merged

fix(deps): update dependency @reduxjs/toolkit to v1.9.3#565
KaneFreeman merged 1 commit intomainfrom
renovate/reduxjs-toolkit-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@reduxjs/toolkit (source) 1.9.2 -> 1.9.3 age adoption passing confidence

Release Notes

reduxjs/redux-toolkit

v1.9.3

Compare Source

This release fixes a couple issues with the skip/skipToken options for query hooks, and makes a small perf tweak to serializing query args.

Changelog

Skip Behavior

We made a change in v1.9.0 that tried to make some skip behavior more consistent, including clearing out the cached data. However, we had overlooked that our own docs actually said "skipping a query will keep the cached data", and several users pointed this out as they'd been relying on that behavior.

We've reverted that change. Now, setting {skip: true} or skipToken for a query with existing results will keep the data value (reflecting the last successful query), but currentData will be undefined (reflecting the current settings).

We also identified and fixed an issue that could cause subscription entries to leak under a specific combination of timing and settings changes.

Query Arg Serialization Perf

RTKQ relies on serializing query arguments to serve as the cache keys, with the default using JSON.stringify() + some logic for sorting keys. There was a report that in some apps, large query arg objects could take a while to stringify and this was being done repeatedly. We've added a WeakMap-based cache for query args to avoid re-serializing existing arg values.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v1.9.2...v1.9.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

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


  • If you want to rebase/retry this PR, check this box

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

@netlify
Copy link

netlify bot commented Feb 21, 2023

Deploy Preview for staticjscms ready!

Name Link
🔨 Latest commit 1c96e98
🔍 Latest deploy log https://app.netlify.com/sites/staticjscms/deploys/63f45c279fbb650008550c00
😎 Deploy Preview https://deploy-preview-565--staticjscms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Feb 21, 2023

Deploy Preview for demo-staticjscms ready!

Name Link
🔨 Latest commit 1c96e98
🔍 Latest deploy log https://app.netlify.com/sites/demo-staticjscms/deploys/63f45c278853d90008640568
😎 Deploy Preview https://deploy-preview-565--demo-staticjscms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov-commenter
Copy link

Codecov Report

Merging #565 (1c96e98) into main (481621e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #565   +/-   ##
=======================================
  Coverage   39.70%   39.70%           
=======================================
  Files         122      122           
  Lines        6294     6294           
  Branches     1541     1541           
=======================================
  Hits         2499     2499           
  Misses       3483     3483           
  Partials      312      312           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@KaneFreeman KaneFreeman merged commit 6c843bc into main Feb 21, 2023
@KaneFreeman KaneFreeman deleted the renovate/reduxjs-toolkit-1.x branch February 21, 2023 12:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants