Skip to content

Commit

Permalink
Update dependency @reduxjs/toolkit to v1.6.2 (#818)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://togithub.com/reduxjs/redux-toolkit)) | [`1.6.1` -> `1.6.2`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/1.6.1/1.6.2) | [![age](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>reduxjs/redux-toolkit</summary>

### [`v1.6.2`](https://togithub.com/reduxjs/redux-toolkit/releases/v1.6.2)

[Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v1.6.1...v1.6.2)

This release fixes several small issues with RTK Query, as well as a regression in the `createAsyncThunk` types and an issue with sourcemap URLs.

#### Changelog

##### RTK Query Fixes

The `isLoading` flag should only ever be `true` on the first run of a hook, but would sometimes briefly flip to `true` on later calls. That should now stay the correct value.

`fetchBaseQuery` should now work properly when used in conjunction with `node-fetch`.

The `BaseQueryApi` object now correctly includes the `extra` argument that was provided when configuring the thunk middleware, if any.

##### Other Fixes

Sourcemap URLs should now be correct, especially for the CommonJS build artifacts.

`createAsyncThunk`'s types have been updated to correctly infer return values when working with enums.

Lots of assorted docs tweaks and updates!

#### What's Changed

-   Add extra to BaseQueryApi by [@&#8203;ricksanchez](https://togithub.com/ricksanchez) in [reduxjs/redux-toolkit#1378
-   fix: point sourceMappingURL to correct sourcemaps in build artifacts by [@&#8203;jawadsh123](https://togithub.com/jawadsh123) in [reduxjs/redux-toolkit#1459
-   fix: `createAsyncThunk` union return values fall back to allowing only single member by [@&#8203;phryneas](https://togithub.com/phryneas) in [reduxjs/redux-toolkit#1449
-   fix `fetchBaseQuery` for usage with `node-fetch` by [@&#8203;phryneas](https://togithub.com/phryneas) in [reduxjs/redux-toolkit#1473
-   fix "isLoading briefly flips back to `true`" [#&#8203;1519](https://togithub.com/reduxjs/redux-toolkit/issues/1519) by [@&#8203;phryneas](https://togithub.com/phryneas) in [reduxjs/redux-toolkit#1520

**Full Changelog**: reduxjs/redux-toolkit@v1.6.1...v1.6.2

</details>

---

### Configuration

📅 **Schedule**: 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/ttbud/ttbud).
  • Loading branch information
renovate-bot committed Oct 6, 2021
1 parent 64d6b86 commit 02b8f8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Expand Up @@ -9,7 +9,7 @@
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.60",
"@reduxjs/toolkit": "1.6.1",
"@reduxjs/toolkit": "1.6.2",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.2",
"@types/jest": "27.0.2",
Expand Down
12 changes: 6 additions & 6 deletions web/yarn.lock
Expand Up @@ -2273,12 +2273,12 @@
schema-utils "^2.6.5"
source-map "^0.7.3"

"@reduxjs/toolkit@1.6.1":
version "1.6.1"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.6.1.tgz#7bc83b47352a663bf28db01e79d17ba54b98ade9"
integrity sha512-pa3nqclCJaZPAyBhruQtiRwtTjottRrVJqziVZcWzI73i6L3miLTtUyWfauwv08HWtiXLx1xGyGt+yLFfW/d0A==
"@reduxjs/toolkit@1.6.2":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.6.2.tgz#2f2b5365df77dd6697da28fdf44f33501ed9ba37"
integrity sha512-HbfI/hOVrAcMGAYsMWxw3UJyIoAS9JTdwddsjlr5w3S50tXhWb+EMyhIw+IAvCVCLETkzdjgH91RjDSYZekVBA==
dependencies:
immer "^9.0.1"
immer "^9.0.6"
redux "^4.1.0"
redux-thunk "^2.3.0"
reselect "^4.0.0"
Expand Down Expand Up @@ -8485,7 +8485,7 @@ immer@8.0.1:
resolved "https://registry.yarnpkg.com/immer/-/immer-8.0.1.tgz#9c73db683e2b3975c424fb0572af5889877ae656"
integrity sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA==

immer@9.0.6, immer@^9.0.1:
immer@9.0.6, immer@^9.0.6:
version "9.0.6"
resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.6.tgz#7a96bf2674d06c8143e327cbf73539388ddf1a73"
integrity sha512-G95ivKpy+EvVAnAab4fVa4YGYn24J1SpEktnJX7JJ45Bd7xqME/SCplFzYFmTbrkwZbQ4xJK1xMTUYBkN6pWsQ==
Expand Down

0 comments on commit 02b8f8b

Please sign in to comment.