note: la sintesi e le note di rilascio sono in inglese
note: nessuna sintesi per questa release digest
Le release digest sono elencate senza una sintesi. Le note di rilascio originali di questa versione sono qui sotto.
release-notesgithub.com/reduxjs/redux-toolkit · 17 righe
- This **bugfix release** updates the `AbortSignal` handling to fall back if `DOMException` isn't available (such as RN environments), and updates the `TypedUseInfiniteQueryHookResult` type to correctly include `fetchNextPage/fetchPreviousPage` fields.
- ## Changelog
- ### Bugfixes
- The `AbortSignal` changes in 2.11.1 used `DOMException` in a couple places to match the expected behavior of `AbortSignal`, but turns out that's not available in environments like React Native. We've updated the logic to fall back to a plain `Error` if `DOMException` isn't available.
- The `TypedUseInfiniteQueryHookResult` type wasn't correctly including the `fetchNextPage/fetchPreviousPage` fields, and now it does.
- ## What's Changed
- * fix: use a normal Error when DOMException isn't available by @EskiMojo14 in https://github.com/reduxjs/redux-toolkit/pull/5161
- * Include page functions in `TypedUseInfiniteQueryHookResult` by @markerikson in https://github.com/reduxjs/redux-toolkit/pull/5165
- **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.11.1...v2.11.2