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

Bump @reduxjs/toolkit from 2.2.6 to 2.2.7 in /webapp #1110

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps @reduxjs/toolkit from 2.2.6 to 2.2.7.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.2.7

This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.

Changelog

TS Type Portability

We've had a slew of issues reported around "TS type portability" errors, such as:

The error messages are typically along the lines of:

Type error: The inferred type of 'configureStore' cannot be named without a reference to '@reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.

@​aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.

Arya put together a highly detailed writeup and set of fixes in [ #4467: Fix: TypeScript Type Portability Issues](#4467), and that appears to resolve all of those issues we've seen. Thank you!

Other Changes

Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.

We've exported additional types like UpdateDefinitions and RetryOptions, per request.

listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.2.6...v2.2.7

Commits

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.2.6 to 2.2.7.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.2.6...v2.2.7)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 12, 2024
@github-actions github-actions bot added the webapp Pull requests that update Typescript code label Aug 12, 2024
@glahaye glahaye added this pull request to the merge queue Aug 12, 2024
Merged via the queue into main with commit 9164896 Aug 12, 2024
5 checks passed
@glahaye glahaye deleted the dependabot/npm_and_yarn/webapp/reduxjs/toolkit-2.2.7 branch August 12, 2024 19:32
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.2.6 to 2.2.7.
<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.2.7</h2>
<p>This <strong>bugfix release</strong> fixes issues with &quot;TS type
portability&quot; errors, improves build artifact tree shaking behavior,
and exports some additional TS types.</p>
<h2>Changelog</h2>
<h3>TS Type Portability</h3>
<p>We've had a slew of issues reported around &quot;TS type
portability&quot; errors, such as:</p>
<ul>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/1806">#1806</a></li>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3962">#3962</a></li>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3983">#3983</a></li>
</ul>
<p>The error messages are typically along the lines of:</p>
<blockquote>
<p>Type error: The inferred type of <code>'configureStore'</code> cannot
be named without a reference to
<code>'@reduxjs/toolkit/node_modules/redux'</code>. This is likely not
portable. A type annotation is necessary.</p>
</blockquote>
<p><a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> did
some deep investigation and concluded these were due to a mixture of
using <code>interface</code> instead of <code>type</code> in most
places, not pre-bundling our TS typedefs, and not exporting some of the
unique symbols we use internally.</p>
<p>Arya put together a highly detailed writeup and set of fixes in [ <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4467">#4467</a>:
Fix: TypeScript Type Portability Issues](<a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4467">#4467</a>),
and that appears to resolve all of those issues we've seen. Thank
you!</p>
<h3>Other Changes</h3>
<p>Arya also did significant work to improve RTK's treeshaking, tweaking
internal definitions to let bundlers better separate out unused
code.</p>
<p>We've exported additional types like <code>UpdateDefinitions</code>
and <code>RetryOptions</code>, per request.</p>
<p><code>listenerMiddleware.withTypes()</code> methods now allow passing
in an <code>ExtraArgument</code> generic.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix: TypeScript Type Portability Issues by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4467">reduxjs/redux-toolkit#4467</a></li>
<li>Export UpdateDefinitions from toolkit/query by <a
href="https://github.com/joekrill"><code>@​joekrill</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4519">reduxjs/redux-toolkit#4519</a></li>
<li>feat: Adds ExtraArgument to withTypes for listenerMiddleware. by <a
href="https://github.com/antondalgren"><code>@​antondalgren</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4517">reduxjs/redux-toolkit#4517</a></li>
<li>Improve treeshakeability of build artifacts by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4435">reduxjs/redux-toolkit#4435</a></li>
<li>Export RetryOptions by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4529">reduxjs/redux-toolkit#4529</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7">https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/75b4f698e1c58efa6b19096abe5850da0a431da0"><code>75b4f69</code></a>
Release 2.2.7</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/dd3ef702e54c7c88ee7e37e001913d17b0f9d194"><code>dd3ef70</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4529">#4529</a>
from reduxjs/feature/2.3.0-types-exports</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/70f627d3f97134e775c5a5d7b4538763634b42fd"><code>70f627d</code></a>
Export RetryOptions</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/6a3de08d1eeb162b922632f8a6725388a0a3c533"><code>6a3de08</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4435">#4435</a>
from aryaemami59/improve-treeshakeability</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/8be6e5f794bcae566315b6d7e357ed3c42ec431c"><code>8be6e5f</code></a>
Merge branch 'master' of <a
href="https://github.com/reduxjs/redux-toolkit">https://github.com/reduxjs/redux-toolkit</a>
into improv...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/9e7e6f6fb7c967407b9ac33cff76c77bf9a549bd"><code>9e7e6f6</code></a>
Merge branch 'master' of <a
href="https://github.com/reduxjs/redux-toolkit">https://github.com/reduxjs/redux-toolkit</a>
into improv...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/ee51d7603e40689051a20b94fe2578cd283bae99"><code>ee51d76</code></a>
Bump <code>tsup</code> to version 8.2.3</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/ff6db42836f45c0ee8d25a316adf0914d8d6bc12"><code>ff6db42</code></a>
Bump <code>tsup</code> to version 8.2.2</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/20f579bce05b28354e563006abe3eb583ab2e44d"><code>20f579b</code></a>
Bump <code>tsup</code> to version 8.2.0</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/a1b4e8090c4f485d468e92288a111f1203775a30"><code>a1b4e80</code></a>
Bump <code>tsup</code> and <code>esbuild</code></li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7">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=2.2.6&new-version=2.2.7)](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] <[email protected]>
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.2.6 to 2.2.7.
<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.2.7</h2>
<p>This <strong>bugfix release</strong> fixes issues with &quot;TS type
portability&quot; errors, improves build artifact tree shaking behavior,
and exports some additional TS types.</p>
<h2>Changelog</h2>
<h3>TS Type Portability</h3>
<p>We've had a slew of issues reported around &quot;TS type
portability&quot; errors, such as:</p>
<ul>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/1806">#1806</a></li>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3962">#3962</a></li>
<li><a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3983">#3983</a></li>
</ul>
<p>The error messages are typically along the lines of:</p>
<blockquote>
<p>Type error: The inferred type of <code>'configureStore'</code> cannot
be named without a reference to
<code>'@reduxjs/toolkit/node_modules/redux'</code>. This is likely not
portable. A type annotation is necessary.</p>
</blockquote>
<p><a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> did
some deep investigation and concluded these were due to a mixture of
using <code>interface</code> instead of <code>type</code> in most
places, not pre-bundling our TS typedefs, and not exporting some of the
unique symbols we use internally.</p>
<p>Arya put together a highly detailed writeup and set of fixes in [ <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4467">#4467</a>:
Fix: TypeScript Type Portability Issues](<a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4467">#4467</a>),
and that appears to resolve all of those issues we've seen. Thank
you!</p>
<h3>Other Changes</h3>
<p>Arya also did significant work to improve RTK's treeshaking, tweaking
internal definitions to let bundlers better separate out unused
code.</p>
<p>We've exported additional types like <code>UpdateDefinitions</code>
and <code>RetryOptions</code>, per request.</p>
<p><code>listenerMiddleware.withTypes()</code> methods now allow passing
in an <code>ExtraArgument</code> generic.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix: TypeScript Type Portability Issues by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4467">reduxjs/redux-toolkit#4467</a></li>
<li>Export UpdateDefinitions from toolkit/query by <a
href="https://github.com/joekrill"><code>@​joekrill</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4519">reduxjs/redux-toolkit#4519</a></li>
<li>feat: Adds ExtraArgument to withTypes for listenerMiddleware. by <a
href="https://github.com/antondalgren"><code>@​antondalgren</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4517">reduxjs/redux-toolkit#4517</a></li>
<li>Improve treeshakeability of build artifacts by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4435">reduxjs/redux-toolkit#4435</a></li>
<li>Export RetryOptions by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4529">reduxjs/redux-toolkit#4529</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7">https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/75b4f698e1c58efa6b19096abe5850da0a431da0"><code>75b4f69</code></a>
Release 2.2.7</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/dd3ef702e54c7c88ee7e37e001913d17b0f9d194"><code>dd3ef70</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4529">#4529</a>
from reduxjs/feature/2.3.0-types-exports</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/70f627d3f97134e775c5a5d7b4538763634b42fd"><code>70f627d</code></a>
Export RetryOptions</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/6a3de08d1eeb162b922632f8a6725388a0a3c533"><code>6a3de08</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4435">#4435</a>
from aryaemami59/improve-treeshakeability</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/8be6e5f794bcae566315b6d7e357ed3c42ec431c"><code>8be6e5f</code></a>
Merge branch 'master' of <a
href="https://github.com/reduxjs/redux-toolkit">https://github.com/reduxjs/redux-toolkit</a>
into improv...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/9e7e6f6fb7c967407b9ac33cff76c77bf9a549bd"><code>9e7e6f6</code></a>
Merge branch 'master' of <a
href="https://github.com/reduxjs/redux-toolkit">https://github.com/reduxjs/redux-toolkit</a>
into improv...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/ee51d7603e40689051a20b94fe2578cd283bae99"><code>ee51d76</code></a>
Bump <code>tsup</code> to version 8.2.3</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/ff6db42836f45c0ee8d25a316adf0914d8d6bc12"><code>ff6db42</code></a>
Bump <code>tsup</code> to version 8.2.2</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/20f579bce05b28354e563006abe3eb583ab2e44d"><code>20f579b</code></a>
Bump <code>tsup</code> to version 8.2.0</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/a1b4e8090c4f485d468e92288a111f1203775a30"><code>a1b4e80</code></a>
Bump <code>tsup</code> and <code>esbuild</code></li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7">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=2.2.6&new-version=2.2.7)](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] <[email protected]>
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