Never miss a release that matters
AI-powered summaries of every GitHub release.
AI Summaries
Changelogs condensed into clear, actionable insights.
Always Free
Track up to 5 packages at no cost, forever.
Weekly Digest
A curated summary of every release, delivered weekly.
TL;DR
Redux Toolkit now includes learning resources (skills files) via TanStack Intent, helping developers quickly learn and adopt modern RTK practices.
New
- TanStack Intent Skills: Access interactive learning files directly within Redux Toolkit to improve your RTK knowledge. (TanStack Intent: AI-powered learning platform)
- RTK Query Hook Types: RTK Query hook options types are now exported for easier reuse in custom code.
Fixes Worth Knowing
- Infinite query
isSuccessflag is now handled correctly, preventing UI flashes. - Auto-batching now works reliably in background browser tabs with a timeout fallback.
TL;DR
RTK-Query OpenAPI Codegen now offers greater customization, allowing developers to override endpoint behavior, configure Prettier formatting, and handle default return schemas for more precise API integration (code generation).
New
- Enhanced Customization: Override endpoints and configure Prettier formatting during code generation.
- Default Schema Support: Handle default return schemas within your OpenAPI definitions.
Fixes Worth Knowing
- Fixed issues with optional types and parameter overrides during code generation.
- Improved error messages when running the codegen tool without TypeScript support (tool for building API clients).
- Resolved build issues and improved test reliability.
TL;DR
RTK-Query OpenAPI Codegen now generates more accurate TypeScript types from your OpenAPI specifications, including handling for read-only properties and duplicate parameter names.
Breaking
- Read-only properties now split types (may require updating your existing type references).
- Requires TypeScript 5.x (previously 4.1-4.5).
New
- Generate true TypeScript enums (instead of string unions) for improved type safety.
- Improved compatibility with recent OpenAPI specifications.
Fixes Worth Knowing
- Handles duplicate parameter names in queries and parameters by prefixing them.
- Addresses circular type generation issues with oazapfts.
TL;DR
Redux Toolkit 1.9 introduces an “auto-batching” store enhancer that can improve UI performance, particularly with RTK Query (a data fetching and caching tool), by delaying subscriber notifications for certain actions.
Breaking
serializeQueryArgsoption for RTK Query endpoints now accepts objects or numbers in addition to strings, changing how cache keys are generated.
New
- Auto-Batching Enhancer: A new store enhancer delays notifications for actions tagged with
action.meta[SHOULD_AUTOBATCH] = true, improving performance by reducing unnecessary re-renders. - Global
fetchBaseQueryOptions: You can now setresponseHandler,validateStatus, andtimeoutglobally for all RTK Query requests.
Fixes Worth Knowing
forceRefetchwith object cache keys in RTK Query now functions correctly.- RTK Query now correctly identifies missing middleware setup, preventing potential persistence issues.
Before You Upgrade
- If you are using
serializeQueryArgs, review its behavior as it now accepts more data types, potentially impacting your cache keys.
TL;DR
Redux Toolkit now requires a name field when using createSlice, and defaults to void payload types for createAction, improving type safety and preventing action type collisions.
Breaking
createSlicerequires anamefield (previously optionalslice).createActiondefaults tovoidpayload type; specify types explicitly (e.g.,createAction<string>).
New
createSlicenow exportscaseReducers, providing direct access to individual reducer functions.
Fixes Worth Knowing
- Resolved TypeScript issues affecting cross-version compatibility.
- Fixed a broken re-export of Redux types (
Action, etc.).
Before You Upgrade
- Update all
createSlicecalls to usenameinstead ofslice, and addnameif it was previously omitted. - Explicitly define payload types when using
createAction(e.g.,createAction<MyType>).
TL;DR
Redux Toolkit is undergoing a TypeScript rewrite, available as redux-starter-kit@ts-next for testing with TypeScript projects.
Before You Upgrade
If using TypeScript, test your application with redux-starter-kit@ts-next and report any issues encountered with the new TypeScript definitions.