Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

Bumps @reduxjs/toolkit from 2.0.1 to 2.1.0.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.1.0

This minor release:

  • adds withTypes methods to listenerMiddleware and createDraftSafeSelector
  • adds a skipPollingIfUnfocused option to RTK Query
  • adds the ability to customise the createSelector instance used by RTK Query
  • reworks slice selector logic to avoid depending on this value
  • fixes the order and inference of create.asyncThunk type parameters
  • fixes requirements for meta fields returned from queryFns
  • marks promises that will never reject as safe, in preparation for typescript-eslint/typescript-eslint#7008

What's Changed

New Contributors

... (truncated)

Commits
  • f5b07fe bump RTK to 2.1.0
  • bb28db3 Merge pull request #4055 from riqts/Pause-Polling-When-Unfocused
  • 8cbf2a1 skipPollOnFocused lost to skipPollingIfUnfocused and yarn format
  • 4ae5a9b Polling skipPollOnFocusLost behavior changed to skip if any subscription has ...
  • e676ee8 Removed redundant createListenerMiddleware from tests
  • b9d37c3 changed polling test name to represent actual behaviour
  • 65b448f Update skipPollOnFocusLost to use listenerMiddleware
  • 823c3b7 Format skipPollOnFocusLost test
  • 65a6ae3 Added mockClear() to mockBaseQuery in failing test
  • e7fce61 Add tests for 'skipPollOnFocusLost' option
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by phryneas, a new releaser for @​reduxjs/toolkit since your current version.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.0.1...v2.1.0)

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 12, 2024
@github-actions github-actions bot added the webapp Pull requests that update Typescript code label Feb 12, 2024
@glahaye glahaye added this pull request to the merge queue Feb 12, 2024
Merged via the queue into main with commit 5f1b093 Feb 12, 2024
@glahaye glahaye deleted the dependabot/npm_and_yarn/webapp/reduxjs/toolkit-2.1.0 branch February 12, 2024 18:33
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from
2.0.1 to 2.1.0.
<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>v2.1.0</h2>
<p>This <em>minor release</em>:</p>
<ul>
<li>adds withTypes methods to <code>listenerMiddleware</code> and
<code>createDraftSafeSelector</code></li>
<li>adds a <code>skipPollingIfUnfocused</code> option to RTK Query</li>
<li>adds the ability to customise the <code>createSelector</code>
instance used by RTK Query</li>
<li>reworks slice selector logic to avoid depending on <code>this</code>
value</li>
<li>fixes the order and inference of <code>create.asyncThunk</code> type
parameters</li>
<li>fixes requirements for meta fields returned from
<code>queryFn</code>s</li>
<li>marks promises that will never reject as safe, in preparation for <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7008">typescript-eslint/typescript-eslint#7008</a></li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Update docs to avoid circular type by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3948">reduxjs/redux-toolkit#3948</a></li>
<li>Copy &quot;Migrating to Modern Redux&quot; and &quot;RTK is
Redux&quot; docs from core site by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3956">reduxjs/redux-toolkit#3956</a></li>
<li>Fix store path rtk-query pokemon api tutorial by <a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li>tweak RTKQ without hooks section, and add note regarding memoization
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3963">reduxjs/redux-toolkit#3963</a></li>
<li>Add section regarding overriding deps by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3968">reduxjs/redux-toolkit#3968</a></li>
<li>Add section re: RR custom context typing change by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3995">reduxjs/redux-toolkit#3995</a></li>
<li>Add Expo demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3985">reduxjs/redux-toolkit#3985</a></li>
<li>docs: fix a typo in queries markdown file by <a
href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li>Preserve nullable store state type by avoiding intersection with {}
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4011">reduxjs/redux-toolkit#4011</a></li>
<li>Upgrade version of &quot;graphql-request&quot; by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4026">reduxjs/redux-toolkit#4026</a></li>
<li>[graphql-request-base-query] update RTK peerDependency by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4027">reduxjs/redux-toolkit#4027</a></li>
<li>fix: improve selectFromResult memoization by <a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
<li>Rename &quot;createSliceWithThunks&quot; and
&quot;createThunkSlice&quot; to &quot;createAppSlice&quot; by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4035">reduxjs/redux-toolkit#4035</a></li>
<li>Bump Vitest to latest version by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4047">reduxjs/redux-toolkit#4047</a></li>
<li>fix inference and order of async thunk generics by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4061">reduxjs/redux-toolkit#4061</a></li>
<li>Fix markdown links on Next.js page by <a
href="https://github.com/DmitryScaletta"><code>@​DmitryScaletta</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4069">reduxjs/redux-toolkit#4069</a></li>
<li>Introduce pre-typed listener middleware via
<code>listenerMiddleware.withTypes&lt;RootState,
AppDispatch&gt;()</code> method by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4049">reduxjs/redux-toolkit#4049</a></li>
<li>Add <code>.withTypes</code> to <code>createDraftSafeSelector</code>
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4080">reduxjs/redux-toolkit#4080</a></li>
<li>Task/remove all settled by <a
href="https://github.com/bever1337"><code>@​bever1337</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3917">reduxjs/redux-toolkit#3917</a></li>
<li>Allow customising createSelector instance used by RTKQ by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4048">reduxjs/redux-toolkit#4048</a></li>
<li>cacheLifecycle fix for fixedCacheKey in mutationThunk by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4082">reduxjs/redux-toolkit#4082</a></li>
<li>avoid relying on <code>this</code> in createSlice by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4071">reduxjs/redux-toolkit#4071</a></li>
<li>documentation: fix grammar in redux and redux toolkit comparison by
<a href="https://github.com/untilhamza"><code>@​untilhamza</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4086">reduxjs/redux-toolkit#4086</a></li>
<li>Update <code>tsconfig.typetests.json</code> to include all TS files
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4091">reduxjs/redux-toolkit#4091</a></li>
<li>Remove abort event listner for AbortController by <a
href="https://github.com/Fonger"><code>@​Fonger</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3951">reduxjs/redux-toolkit#3951</a></li>
<li>Docs: unused value 'isRejected' in code snippet by <a
href="https://github.com/alphonsotran"><code>@​alphonsotran</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3301">reduxjs/redux-toolkit#3301</a></li>
<li>fix/kitchen-sink-isAuthenticated: fixed isAuthenticated state change
on login fullfilled by <a
href="https://github.com/shrijan00003"><code>@​shrijan00003</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3588">reduxjs/redux-toolkit#3588</a></li>
<li>Fix <code>composeWithDevTools</code> spy by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4093">reduxjs/redux-toolkit#4093</a></li>
<li>require queryFn meta to match base query by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4098">reduxjs/redux-toolkit#4098</a></li>
<li>Added 'SafePromise' branded Promises for createAsyncThunk by <a
href="https://github.com/JoshuaKGoldberg"><code>@​JoshuaKGoldberg</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4102">reduxjs/redux-toolkit#4102</a></li>
<li>Add React Native demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3984">reduxjs/redux-toolkit#3984</a></li>
<li>Modernize unit test setup by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4114">reduxjs/redux-toolkit#4114</a></li>
<li>Add missing reducer field to ConfigureStoreOptions docs by <a
href="https://github.com/nickgirardo"><code>@​nickgirardo</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4116">reduxjs/redux-toolkit#4116</a></li>
<li>Option for queries to pause polling when unfocused by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4055">reduxjs/redux-toolkit#4055</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li><a href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li><a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f5b07fee734bb75288c64e1a4b8c14d005fa22a4"><code>f5b07fe</code></a>
bump RTK to 2.1.0</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/bb28db36835df7128cddb1baff23cd9ccabddd69"><code>bb28db3</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4055">#4055</a>
from riqts/Pause-Polling-When-Unfocused</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/8cbf2a1c9fbe50037a00f376a2cd274b83f3b27f"><code>8cbf2a1</code></a>
skipPollOnFocused lost to skipPollingIfUnfocused and yarn format</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/4ae5a9bbdfe4e7f941b6b156ad07f130eca52269"><code>4ae5a9b</code></a>
Polling skipPollOnFocusLost behavior changed to skip if any subscription
has ...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e676ee8d28c1929e5963558c9740491d5e0de3cf"><code>e676ee8</code></a>
Removed redundant createListenerMiddleware from tests</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/b9d37c3d56157b9b99daaff4fae3ce4e59c54491"><code>b9d37c3</code></a>
changed polling test name to represent actual behaviour</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65b448f9099a378d3db9ba48fb000b0fa2cc8647"><code>65b448f</code></a>
Update skipPollOnFocusLost to use listenerMiddleware</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/823c3b70b907a6ee5e2e2676011960cca641c6e6"><code>823c3b7</code></a>
Format skipPollOnFocusLost test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65a6ae32a21223527a81bff8b46bbdadd4e3fe20"><code>65a6ae3</code></a>
Added mockClear() to mockBaseQuery in failing test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e7fce612d6f0be73ebc08862dc7905ec794b6d5b"><code>e7fce61</code></a>
Add tests for 'skipPollOnFocusLost' option</li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.0.1...v2.1.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~phryneas">phryneas</a>, a new releaser for
<code>@​reduxjs/toolkit</code> since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@reduxjs/toolkit&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.1.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from
2.0.1 to 2.1.0.
<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>v2.1.0</h2>
<p>This <em>minor release</em>:</p>
<ul>
<li>adds withTypes methods to <code>listenerMiddleware</code> and
<code>createDraftSafeSelector</code></li>
<li>adds a <code>skipPollingIfUnfocused</code> option to RTK Query</li>
<li>adds the ability to customise the <code>createSelector</code>
instance used by RTK Query</li>
<li>reworks slice selector logic to avoid depending on <code>this</code>
value</li>
<li>fixes the order and inference of <code>create.asyncThunk</code> type
parameters</li>
<li>fixes requirements for meta fields returned from
<code>queryFn</code>s</li>
<li>marks promises that will never reject as safe, in preparation for <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7008">typescript-eslint/typescript-eslint#7008</a></li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Update docs to avoid circular type by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3948">reduxjs/redux-toolkit#3948</a></li>
<li>Copy &quot;Migrating to Modern Redux&quot; and &quot;RTK is
Redux&quot; docs from core site by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3956">reduxjs/redux-toolkit#3956</a></li>
<li>Fix store path rtk-query pokemon api tutorial by <a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li>tweak RTKQ without hooks section, and add note regarding memoization
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3963">reduxjs/redux-toolkit#3963</a></li>
<li>Add section regarding overriding deps by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3968">reduxjs/redux-toolkit#3968</a></li>
<li>Add section re: RR custom context typing change by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3995">reduxjs/redux-toolkit#3995</a></li>
<li>Add Expo demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3985">reduxjs/redux-toolkit#3985</a></li>
<li>docs: fix a typo in queries markdown file by <a
href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li>Preserve nullable store state type by avoiding intersection with {}
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4011">reduxjs/redux-toolkit#4011</a></li>
<li>Upgrade version of &quot;graphql-request&quot; by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4026">reduxjs/redux-toolkit#4026</a></li>
<li>[graphql-request-base-query] update RTK peerDependency by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4027">reduxjs/redux-toolkit#4027</a></li>
<li>fix: improve selectFromResult memoization by <a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
<li>Rename &quot;createSliceWithThunks&quot; and
&quot;createThunkSlice&quot; to &quot;createAppSlice&quot; by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4035">reduxjs/redux-toolkit#4035</a></li>
<li>Bump Vitest to latest version by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4047">reduxjs/redux-toolkit#4047</a></li>
<li>fix inference and order of async thunk generics by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4061">reduxjs/redux-toolkit#4061</a></li>
<li>Fix markdown links on Next.js page by <a
href="https://github.com/DmitryScaletta"><code>@​DmitryScaletta</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4069">reduxjs/redux-toolkit#4069</a></li>
<li>Introduce pre-typed listener middleware via
<code>listenerMiddleware.withTypes&lt;RootState,
AppDispatch&gt;()</code> method by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4049">reduxjs/redux-toolkit#4049</a></li>
<li>Add <code>.withTypes</code> to <code>createDraftSafeSelector</code>
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4080">reduxjs/redux-toolkit#4080</a></li>
<li>Task/remove all settled by <a
href="https://github.com/bever1337"><code>@​bever1337</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3917">reduxjs/redux-toolkit#3917</a></li>
<li>Allow customising createSelector instance used by RTKQ by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4048">reduxjs/redux-toolkit#4048</a></li>
<li>cacheLifecycle fix for fixedCacheKey in mutationThunk by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4082">reduxjs/redux-toolkit#4082</a></li>
<li>avoid relying on <code>this</code> in createSlice by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4071">reduxjs/redux-toolkit#4071</a></li>
<li>documentation: fix grammar in redux and redux toolkit comparison by
<a href="https://github.com/untilhamza"><code>@​untilhamza</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4086">reduxjs/redux-toolkit#4086</a></li>
<li>Update <code>tsconfig.typetests.json</code> to include all TS files
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4091">reduxjs/redux-toolkit#4091</a></li>
<li>Remove abort event listner for AbortController by <a
href="https://github.com/Fonger"><code>@​Fonger</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3951">reduxjs/redux-toolkit#3951</a></li>
<li>Docs: unused value 'isRejected' in code snippet by <a
href="https://github.com/alphonsotran"><code>@​alphonsotran</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3301">reduxjs/redux-toolkit#3301</a></li>
<li>fix/kitchen-sink-isAuthenticated: fixed isAuthenticated state change
on login fullfilled by <a
href="https://github.com/shrijan00003"><code>@​shrijan00003</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3588">reduxjs/redux-toolkit#3588</a></li>
<li>Fix <code>composeWithDevTools</code> spy by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4093">reduxjs/redux-toolkit#4093</a></li>
<li>require queryFn meta to match base query by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4098">reduxjs/redux-toolkit#4098</a></li>
<li>Added 'SafePromise' branded Promises for createAsyncThunk by <a
href="https://github.com/JoshuaKGoldberg"><code>@​JoshuaKGoldberg</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4102">reduxjs/redux-toolkit#4102</a></li>
<li>Add React Native demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3984">reduxjs/redux-toolkit#3984</a></li>
<li>Modernize unit test setup by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4114">reduxjs/redux-toolkit#4114</a></li>
<li>Add missing reducer field to ConfigureStoreOptions docs by <a
href="https://github.com/nickgirardo"><code>@​nickgirardo</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4116">reduxjs/redux-toolkit#4116</a></li>
<li>Option for queries to pause polling when unfocused by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4055">reduxjs/redux-toolkit#4055</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li><a href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li><a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f5b07fee734bb75288c64e1a4b8c14d005fa22a4"><code>f5b07fe</code></a>
bump RTK to 2.1.0</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/bb28db36835df7128cddb1baff23cd9ccabddd69"><code>bb28db3</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4055">#4055</a>
from riqts/Pause-Polling-When-Unfocused</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/8cbf2a1c9fbe50037a00f376a2cd274b83f3b27f"><code>8cbf2a1</code></a>
skipPollOnFocused lost to skipPollingIfUnfocused and yarn format</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/4ae5a9bbdfe4e7f941b6b156ad07f130eca52269"><code>4ae5a9b</code></a>
Polling skipPollOnFocusLost behavior changed to skip if any subscription
has ...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e676ee8d28c1929e5963558c9740491d5e0de3cf"><code>e676ee8</code></a>
Removed redundant createListenerMiddleware from tests</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/b9d37c3d56157b9b99daaff4fae3ce4e59c54491"><code>b9d37c3</code></a>
changed polling test name to represent actual behaviour</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65b448f9099a378d3db9ba48fb000b0fa2cc8647"><code>65b448f</code></a>
Update skipPollOnFocusLost to use listenerMiddleware</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/823c3b70b907a6ee5e2e2676011960cca641c6e6"><code>823c3b7</code></a>
Format skipPollOnFocusLost test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65a6ae32a21223527a81bff8b46bbdadd4e3fe20"><code>65a6ae3</code></a>
Added mockClear() to mockBaseQuery in failing test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e7fce612d6f0be73ebc08862dc7905ec794b6d5b"><code>e7fce61</code></a>
Add tests for 'skipPollOnFocusLost' option</li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.0.1...v2.1.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~phryneas">phryneas</a>, a new releaser for
<code>@​reduxjs/toolkit</code> since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@reduxjs/toolkit&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.1.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 javascript Pull requests that update Javascript code webapp Pull requests that update Typescript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant