[PR #165] [MERGED] Bump @reduxjs/toolkit from 1.5.1 to 1.6.2 in /ui #229

Closed
opened 2026-03-02 05:19:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynqmon/pull/165
Author: @dependabot[bot]
Created: 10/6/2021
Status: Merged
Merged: 10/14/2021
Merged by: @hibiken

Base: masterHead: dependabot/npm_and_yarn/ui/reduxjs/toolkit-1.6.2


📝 Commits (2)

  • b5aea2c Bump @reduxjs/toolkit from 1.5.1 to 1.6.2 in /ui
  • 2799653 Merge branch 'master' into dependabot/npm_and_yarn/ui/reduxjs/toolkit-1.6.2

📊 Changes

2 files changed (+14 additions, -14 deletions)

View changed files

📝 ui/package.json (+1 -1)
📝 ui/yarn.lock (+13 -13)

📄 Description

Bumps @reduxjs/toolkit from 1.5.1 to 1.6.2.

Release notes

Sourced from @​reduxjs/toolkit's releases.

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

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.6.1...v1.6.2

v1.6.1

This release improves several edge cases in RTK Query behavior and implementation, deprecates a lesser-used API, and reverts an internal compatability change from 1.6.

Changelog

RTK Query Tweaks

We've made several small tweaks to the RTK Query implementation:

  • fetchBaseQuery now provides a more meaningful error if the response can't be parsed successfully
  • fetchBaseQuery has been tweaked to always read fetch from the global scope, rather than closing over it at creation time. This improves usage with test tools that mock or override fetch at the system level, such as Mirage.
  • The skipToken symbol is now created using Symbol.for(), to get a consistent reference
  • API slices now warn if you try to add more than one reducer with the same reducerPath name
  • An internal hook usage was tweaked to avoid the "don't call useLayoutEffect on the server" warning being printed in SSR

Also, mutations no longer track the originalArgs value in the store. That value is needed to re-run queries, but since mutations are not re-run, it wasn't needed. This change resolves cases where users were passing a non-serializable value as the mutation argument and then seeing warnings about it being put into the store.

... (truncated)

Commits
  • 57316ca correctly handle console logs in tests (#1567)
  • b4d940e fix(useLazyQuery): added docs for preferCache option (#1541)
  • 38a9316 fix "isLoading briefly flips back to true" #1519 (#1520)
  • 97319a3 Merge pull request #1525 from Shrugsy/docs/expand-on-manual-cache-updates
  • 02808ab Merge pull request #1561 from jomarquez21/update-createApi-documentation
  • 9b64119 Docs: Add extraOptions property in createApi
  • 390dcb3 Merge pull request #1560 from jomarquez21/update-rtk-query-documentation
  • b4a5aed Add reducerPath property in creation of api
  • 4fbd29f Merge pull request #1543 from 3b7ameed/patch-1
  • 7c5b005 Fix error in createAsyncThunk.mdx
  • 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynqmon/pull/165 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/6/2021 **Status:** ✅ Merged **Merged:** 10/14/2021 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/ui/reduxjs/toolkit-1.6.2` --- ### 📝 Commits (2) - [`b5aea2c`](https://github.com/hibiken/asynqmon/commit/b5aea2ced66d8f0499a1d9faa966066fb5978b2b) Bump @reduxjs/toolkit from 1.5.1 to 1.6.2 in /ui - [`2799653`](https://github.com/hibiken/asynqmon/commit/27996537bc4394212003d160bb42c97cd85328d7) Merge branch 'master' into dependabot/npm_and_yarn/ui/reduxjs/toolkit-1.6.2 ### 📊 Changes **2 files changed** (+14 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `ui/package.json` (+1 -1) 📝 `ui/yarn.lock` (+13 -13) </details> ### 📄 Description Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.5.1 to 1.6.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/reduxjs/redux-toolkit/releases"><code>@​reduxjs/toolkit</code>'s releases</a>.</em></p> <blockquote> <h2>v1.6.2</h2> <p>This release fixes several small issues with RTK Query, as well as a regression in the <code>createAsyncThunk</code> types and an issue with sourcemap URLs.</p> <h2>Changelog</h2> <h3>RTK Query Fixes</h3> <p>The <code>isLoading</code> flag should only ever be <code>true</code> on the first run of a hook, but would sometimes briefly flip to <code>true</code> on later calls. That should now stay the correct value.</p> <p><code>fetchBaseQuery</code> should now work properly when used in conjunction with <code>node-fetch</code>.</p> <p>The <code>BaseQueryApi</code> object now correctly includes the <code>extra</code> argument that was provided when configuring the thunk middleware, if any.</p> <h3>Other Fixes</h3> <p>Sourcemap URLs should now be correct, especially for the CommonJS build artifacts.</p> <p><code>createAsyncThunk</code>'s types have been updated to correctly infer return values when working with enums.</p> <p>Lots of assorted docs tweaks and updates!</p> <h2>What's Changed</h2> <ul> <li>Add extra to BaseQueryApi by <a href="https://github.com/ricksanchez"><code>@​ricksanchez</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/1378">reduxjs/redux-toolkit#1378</a></li> <li>fix: point sourceMappingURL to correct sourcemaps in build artifacts by <a href="https://github.com/jawadsh123"><code>@​jawadsh123</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/1459">reduxjs/redux-toolkit#1459</a></li> <li>fix: <code>createAsyncThunk</code> union return values fall back to allowing only single member by <a href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/1449">reduxjs/redux-toolkit#1449</a></li> <li>fix <code>fetchBaseQuery</code> for usage with <code>node-fetch</code> by <a href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/1473">reduxjs/redux-toolkit#1473</a></li> <li>fix &quot;isLoading briefly flips back to <code>true</code>&quot; <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1519">#1519</a> by <a href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/1520">reduxjs/redux-toolkit#1520</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.6.1...v1.6.2">https://github.com/reduxjs/redux-toolkit/compare/v1.6.1...v1.6.2</a></p> <h2>v1.6.1</h2> <p>This release improves several edge cases in RTK Query behavior and implementation, deprecates a lesser-used API, and reverts an internal compatability change from 1.6.</p> <h2>Changelog</h2> <h3>RTK Query Tweaks</h3> <p>We've made several small tweaks to the RTK Query implementation:</p> <ul> <li><code>fetchBaseQuery</code> now provides a more meaningful error if the response can't be parsed successfully</li> <li><code>fetchBaseQuery</code> has been tweaked to always read <code>fetch</code> from the global scope, rather than closing over it at creation time. This improves usage with test tools that mock or override <code>fetch</code> at the system level, such as Mirage.</li> <li>The <code>skipToken</code> symbol is now created using <code>Symbol.for()</code>, to get a consistent reference</li> <li>API slices now warn if you try to add more than one reducer with the same <code>reducerPath</code> name</li> <li>An internal hook usage was tweaked to avoid the &quot;don't call <code>useLayoutEffect</code> on the server&quot; warning being printed in SSR</li> </ul> <p>Also, mutations no longer track the <code>originalArgs</code> value in the store. That value is needed to re-run queries, but since mutations are not re-run, it wasn't needed. This change resolves cases where users were passing a non-serializable value as the mutation argument and then seeing warnings about it being put into the store.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/57316cad2f3b950299c5517edde81ea1b0239da4"><code>57316ca</code></a> correctly handle console logs in tests (<a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1567">#1567</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/b4d940eb889fec8b6e2282d11fb0e949a1d96eac"><code>b4d940e</code></a> fix(useLazyQuery): added docs for preferCache option (<a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1541">#1541</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/38a93162165ce8f9936423f6ad0234cbdd7f5670"><code>38a9316</code></a> fix &quot;isLoading briefly flips back to <code>true</code>&quot; <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1519">#1519</a> (<a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1520">#1520</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/97319a317d0429a7d4570bbcce0ffe91386d818e"><code>97319a3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1525">#1525</a> from Shrugsy/docs/expand-on-manual-cache-updates</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/02808aba22447ec213425421c2c5e2eb498618f5"><code>02808ab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1561">#1561</a> from jomarquez21/update-createApi-documentation</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/9b6411970e417e8e2a3febe7512b21e435d2f4aa"><code>9b64119</code></a> Docs: Add <code>extraOptions</code> property in <code>createApi</code></li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/390dcb30a0246b8130a9b7c5ac68715919591949"><code>390dcb3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1560">#1560</a> from jomarquez21/update-rtk-query-documentation</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/b4a5aed0328d4cb7ce14e58bcb69a356a26b2c39"><code>b4a5aed</code></a> Add <code>reducerPath</code> property in creation of api</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/4fbd29f0032f1ebb9e2e621ab48bbff5266e312c"><code>4fbd29f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/1543">#1543</a> from 3b7ameed/patch-1</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/7c5b0059968727f14a64b49aace01bb4ae937e05"><code>7c5b005</code></a> Fix error in createAsyncThunk.mdx</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.5.1...v1.6.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@reduxjs/toolkit&package-manager=npm_and_yarn&previous-version=1.5.1&new-version=1.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:19:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/asynqmon#229
No description provided.