Update all dependencies #37

Merged
kjuulh merged 1 commits from renovate/all into main 2022-12-01 22:49:45 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
@reduxjs/toolkit (source) dependencies patch 1.9.0 -> 1.9.1
postcss-import devDependencies patch 15.0.0 -> 15.0.1

Release Notes

reduxjs/redux-toolkit

v1.9.1

Compare Source

This bugfix release fixes assorted issues that were reported with RTK 1.9.0, and adds a few additional requested tweaks and improvements.

Changelog

Fixes

The createAsyncThunk.withTypes function was fully broken (it type-checked correctly, but pointed to the wrong function due to a name shadowing issue). That now works correctly.

The maxRetries option for RTKQ was inadvertently filtering out 0 values, and those are now accepted.

fulfillWithValue had incorrect types that made it appear as if the data was nested an additional level deeper. The types are now correct.

The ActionCreatorWithoutPayload type was tweaked to force an error when an action creator is accidentally called with an argument, which happens in cases like onClick={todoAdded}. This avoids accidentally passing values like React event objects as the payload.

Timer handling for batchActions and autoBatchEnhancer now works in more JS runtime environments.

Other Changes

The TagDescription type is now exported from RTKQ.

API endpoints now have a .name field containing the endpoint name, such as "getPokemon".

Calling promise.abort() on a createAsyncThunk promise before an async condition resolves will now be treated as if the condition itself returned false, bailing out and not dispatching anything.

The merge option now receives a third argument containing {arg, baseQueryMeta, fulfilledTimeStamp, requestId}, in case that info is useful in deciding how to merge.

The @reduxjs/rtk-codemods package has been updated to fix cases where the createSliceBuilder codemod didn't preserve fields with function variable arguments, like [todoAdded]: adapter.addOne. That package has been updated to v0.0.3.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.9.0...v1.9.1

postcss/postcss-import

v15.0.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://github.com/reduxjs/redux-toolkit)) | dependencies | patch | [`1.9.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/1.9.0/1.9.1) | | [postcss-import](https://github.com/postcss/postcss-import) | devDependencies | patch | [`15.0.0` -> `15.0.1`](https://renovatebot.com/diffs/npm/postcss-import/15.0.0/15.0.1) | --- ### Release Notes <details> <summary>reduxjs/redux-toolkit</summary> ### [`v1.9.1`](https://github.com/reduxjs/redux-toolkit/releases/tag/v1.9.1) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/v1.9.0...v1.9.1) This bugfix release fixes assorted issues that were reported with RTK 1.9.0, and adds a few additional requested tweaks and improvements. #### Changelog ##### Fixes The `createAsyncThunk.withTypes` function was fully broken (it type-checked correctly, but pointed to the wrong function due to a name shadowing issue). That now works correctly. The `maxRetries` option for RTKQ was inadvertently filtering out `0` values, and those are now accepted. `fulfillWithValue` had incorrect types that made it appear as if the data was nested an additional level deeper. The types are now correct. The `ActionCreatorWithoutPayload` type was tweaked to force an error when an action creator is accidentally called with an argument, which happens in cases like `onClick={todoAdded}`. This avoids accidentally passing values like React event objects as the payload. Timer handling for `batchActions` and `autoBatchEnhancer` now works in more JS runtime environments. ##### Other Changes The `TagDescription` type is now exported from RTKQ. API endpoints now have a `.name` field containing the endpoint name, such as `"getPokemon"`. Calling `promise.abort()` on a `createAsyncThunk` promise before an async `condition` resolves will now be treated as if the `condition` itself returned `false`, bailing out and not dispatching anything. The `merge` option now receives a third argument containing `{arg, baseQueryMeta, fulfilledTimeStamp, requestId}`, in case that info is useful in deciding how to merge. The `@reduxjs/rtk-codemods` package has been updated to fix cases where the `createSliceBuilder` codemod didn't preserve fields with function variable arguments, like `[todoAdded]: adapter.addOne`. That package has been updated to v0.0.3. #### What's Changed - fix createAsyncThunk.withTypes by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/2885 - Update timer polyfills to work in more environments by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/2887 - Retry now checks whether potential retry counts are undefined, rather than boolean, in order to avoid filtering out 0's by [@&#8203;OliverRadini](https://github.com/OliverRadini) in https://github.com/reduxjs/redux-toolkit/pull/2958 - Fix multiple small issues with 1.9 by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/2964 - fulfillWithValue should infer return value by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/2888 - Fix Identifier/MemberExpression values in createSliceBuilder codemod by [@&#8203;kyletsang](https://github.com/kyletsang) in https://github.com/reduxjs/redux-toolkit/pull/2881 - Additional 1.9.1 fixes by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/2965 **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v1.9.0...v1.9.1 </details> <details> <summary>postcss/postcss-import</summary> ### [`v15.0.1`](https://github.com/postcss/postcss-import/blob/HEAD/CHANGELOG.md#&#8203;1501--2022-12-01) [Compare Source](https://github.com/postcss/postcss-import/compare/15.0.0...15.0.1) - Preserve layer in ignored `@import`s ([#&#8203;510](https://github.com/postcss/postcss-import/issues/510), [#&#8203;511](https://github.com/postcss/postcss-import/pull/511)) - Join media queries in the correct order ([#&#8203;512](https://github.com/postcss/postcss-import/issues/512), [#&#8203;513](https://github.com/postcss/postcss-import/pull/513)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
kjuulh force-pushed renovate/all from ed02ed3dfc to febada14b3 2022-12-01 22:33:28 +01:00 Compare
kjuulh changed title from Update dependency @reduxjs/toolkit to v1.9.1 to Update all dependencies 2022-12-01 22:33:28 +01:00
kjuulh merged commit febada14b3 into main 2022-12-01 22:49:45 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/todo#37
No description provided.