Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @reduxjs/toolkit from 1.8.5 to 1.9.1 #417

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps @reduxjs/toolkit from 1.8.5 to 1.9.1.

Release notes

Sourced from @​reduxjs/toolkit's releases.

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

Full Changelog: reduxjs/redux-toolkit@v1.9.0...v1.9.1

v1.9.0

This feature release adds several new options for RTK Query's createApi and fetchBaseQuery APIs, adds a new upsertQueryData util, rewrites RTKQ's internals for improved performance, adds a new autoBatchEnhancer, deprecates the "object" syntax for createReducer and createSlice.extraReducers, deprecates and removes broken utils for getting running query promises, improves TS inference, exports additional types, and fixes a number of reported issues.

npm i @reduxjs/toolkit@latest
yarn add @​reduxjs/toolkit@​latest
</tr></table>

... (truncated)

Commits
  • a87a1ba Release 1.9.1
  • a7ceaa2 Merge pull request #2965 from reduxjs/feature/1.9.1-more-fixes
  • eaf7d5e Pass additional metadata to merge
  • 90ff485 Treat thunk abort signal the same as a false condition result
  • 87bebec Merge pull request #2881 from kyletsang/fix-createslicebuilder-codemod
  • b319c41 Merge pull request #2888 from reduxjs/issues/2886
  • a56a194 Merge pull request #2964 from reduxjs/feature/1.9.1-ts-fixes
  • ce9e05d Expose endpoints.someEndpoint.name field
  • 90283e9 Ensure void action creators can't be passed as event handlers
  • 56ed8a4 Export TagDescription type
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 12, 2022
@nx-cloud
Copy link

nx-cloud bot commented Dec 12, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 27e4f2c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/reduxjs/toolkit-1.9.1 branch from 9008fb9 to 6666c4b Compare January 12, 2023 16:45
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/reduxjs/toolkit-1.9.1 branch from 6666c4b to 5811d05 Compare January 24, 2023 13:26
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2023

Codecov Report

Merging #417 (27e4f2c) into staging (72cb4eb) will decrease coverage by 0.07%.
The diff coverage is 42.30%.

@@             Coverage Diff             @@
##           staging     #417      +/-   ##
===========================================
- Coverage    54.02%   53.96%   -0.07%     
===========================================
  Files          330      330              
  Lines         6689     6714      +25     
  Branches      1503     1506       +3     
===========================================
+ Hits          3614     3623       +9     
- Misses        2573     2587      +14     
- Partials       502      504       +2     
Impacted Files Coverage Δ
.../application/src/lib/slices/application.actions.ts 0.00% <0.00%> (ø)
...omains/database/src/lib/slices/database.actions.ts 0.00% <0.00%> (ø)
...s/environment/src/lib/slices/environments.slice.ts 25.34% <0.00%> (ø)
...ture/page-general-feature/page-general-feature.tsx 76.00% <0.00%> (+1.92%) ⬆️
...ture/page-general-feature/page-general-feature.tsx 84.21% <40.00%> (-9.13%) ⬇️
...d/utils/src/lib/tools/status-actions-available.tsx 21.05% <66.66%> (-3.95%) ⬇️
...abase-buttons-actions/database-buttons-actions.tsx 64.44% <71.42%> (+0.34%) ⬆️
...on-buttons-actions/application-buttons-actions.tsx 54.79% <75.00%> (+4.04%) ⬆️
...ironments/src/lib/ui/page-general/page-general.tsx 60.00% <100.00%> (+12.00%) ⬆️
.../table-row-environments/table-row-environments.tsx 77.77% <100.00%> (+2.77%) ⬆️
... and 6 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/reduxjs/toolkit-1.9.1 branch from 5811d05 to 88a79e8 Compare January 24, 2023 14:57
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.8.5 to 1.9.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v1.8.5...v1.9.1)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/reduxjs/toolkit-1.9.1 branch from 88a79e8 to 27e4f2c Compare January 25, 2023 10:26
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2023

Superseded by #472.

@dependabot dependabot bot closed this Jan 30, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/reduxjs/toolkit-1.9.1 branch January 30, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant