the-coder-o / a-bd.me

My personal website made with Next.js 14 (App Router). Features blog posts, gear list, dark theme and more. Tailwind CSS, Radix, Framer Motion, and Vercel.
https://www.a-bd.me
MIT License
8 stars 0 forks source link

Update dependency @reduxjs/toolkit to v2.2.7 #110

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

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

Release Notes

reduxjs/redux-toolkit (@​reduxjs/toolkit) ### [`v2.2.7`](https://redirect.github.com/reduxjs/redux-toolkit/releases/tag/v2.2.7) [Compare Source](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7) This **bugfix release** fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types. #### Changelog ##### TS Type Portability We've had a slew of issues reported around "TS type portability" errors, such as: - [#​1806](https://redirect.github.com/reduxjs/redux-toolkit/issues/1806) - [#​3962](https://redirect.github.com/reduxjs/redux-toolkit/issues/3962) - [#​3983](https://redirect.github.com/reduxjs/redux-toolkit/issues/3983) The error messages are typically along the lines of: > Type error: The inferred type of `'configureStore'` cannot be named without a reference to `'@​reduxjs/toolkit/node_modules/redux'`. This is likely not portable. A type annotation is necessary. [@​aryaemami59](https://redirect.github.com/aryaemami59) did some deep investigation and concluded these were due to a mixture of using `interface` instead of `type` in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally. Arya put together a highly detailed writeup and set of fixes in [ #​4467: Fix: TypeScript Type Portability Issues](#​4467), and that appears to resolve all of those issues we've seen. Thank you! ##### Other Changes Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code. We've exported additional types like `UpdateDefinitions` and `RetryOptions`, per request. `listenerMiddleware.withTypes()` methods now allow passing in an `ExtraArgument` generic. #### What's Changed - Fix: TypeScript Type Portability Issues by [@​aryaemami59](https://redirect.github.com/aryaemami59) in [https://github.com/reduxjs/redux-toolkit/pull/4467](https://redirect.github.com/reduxjs/redux-toolkit/pull/4467) - Export UpdateDefinitions from toolkit/query by [@​joekrill](https://redirect.github.com/joekrill) in [https://github.com/reduxjs/redux-toolkit/pull/4519](https://redirect.github.com/reduxjs/redux-toolkit/pull/4519) - feat: Adds ExtraArgument to withTypes for listenerMiddleware. by [@​antondalgren](https://redirect.github.com/antondalgren) in [https://github.com/reduxjs/redux-toolkit/pull/4517](https://redirect.github.com/reduxjs/redux-toolkit/pull/4517) - Improve treeshakeability of build artifacts by [@​aryaemami59](https://redirect.github.com/aryaemami59) in [https://github.com/reduxjs/redux-toolkit/pull/4435](https://redirect.github.com/reduxjs/redux-toolkit/pull/4435) - Export RetryOptions by [@​markerikson](https://redirect.github.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/4529](https://redirect.github.com/reduxjs/redux-toolkit/pull/4529) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7 ### [`v2.2.6`](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.5...a9362fbcec6cb66bdb3e6dc52bbf3d69ea6f2b22) [Compare Source](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6) ### [`v2.2.5`](https://redirect.github.com/reduxjs/redux-toolkit/releases/tag/v2.2.5) [Compare Source](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.4...v2.2.5) This **bugfix release** fixes an issue in the recent `createEntityAdapter` sorting perf improvements that could (in specific cases) cause Immer to throw an error when trying to read a plain JS value instead of a proxy-wrapped value. #### What's Changed - Fix missed spot where use of `current` may fail if the value is not a draft by [@​markerikson](https://redirect.github.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/4412](https://redirect.github.com/reduxjs/redux-toolkit/pull/4412) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.4...v2.2.5 ### [`v2.2.4`](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.3...72b3ac65a2adc510280f19ec6689aebbf2bf1df4) [Compare Source](https://redirect.github.com/reduxjs/redux-toolkit/compare/v2.2.3...v2.2.4)

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.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
a-bd-me ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2024 7:01pm