-
Notifications
You must be signed in to change notification settings - Fork 709
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 1.9.7 to 2.0.1 in /webapp #697
Merged
glahaye
merged 4 commits into
main
from
dependabot/npm_and_yarn/webapp/reduxjs/toolkit-2.0.1
Dec 20, 2023
Merged
Bump @reduxjs/toolkit from 1.9.7 to 2.0.1 in /webapp #697
glahaye
merged 4 commits into
main
from
dependabot/npm_and_yarn/webapp/reduxjs/toolkit-2.0.1
Dec 20, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.7 to 2.0.1. - [Release notes](https://github.com/reduxjs/redux-toolkit/releases) - [Commits](reduxjs/redux-toolkit@v1.9.7...v2.0.1) --- updated-dependencies: - dependency-name: "@reduxjs/toolkit" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
bot
added
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
labels
Dec 4, 2023
dehoward
previously approved these changes
Dec 8, 2023
glahaye
previously approved these changes
Dec 8, 2023
glahaye
approved these changes
Dec 20, 2023
glahaye
deleted the
dependabot/npm_and_yarn/webapp/reduxjs/toolkit-2.0.1
branch
December 20, 2023 22:00
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 1.9.7 to 2.0.1. <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.0.0</h2> <p>This <strong>major release</strong> :</p> <ul> <li>Removes the deprecated object syntax from <code>createSlice</code> and <code>createReducer</code></li> <li>Removes other deprecated options</li> <li>Updates the <code>middleware</code> and <code>enhancers</code> options of <code>configureStore</code> to require callbacks</li> <li>Updates the packaging for better ESM/CJS compatibility and modernizes the build output</li> <li>Includes all changes to <a href="https://github.com/reduxjs/redux/releases/tag/v5.0.0">Redux core 5.0</a>, <a href="https://github.com/reduxjs/reselect/releases/tag/v5.0.0">Reselect 5.0</a>, and <a href="https://github.com/reduxjs/redux-thunk/releases/tag/v3.0.0">Redux Thunk 3.0</a></li> <li>Updates RTKQ default subscription behavior</li> <li>Adds a new <code>combineSlices</code> method with support for lazy-loading slice reducers</li> <li>Adds a new "dynamic middleware" middleware with support for adding middleware at runtime</li> <li>Adds a new callback syntax to <code>createSlice.reducers</code>, with optional support for defining thunks inside of <code>createSlice</code></li> <li>Adds the <code>autoBatchEnhancer</code> to <code>configureStore</code> by default</li> <li>Has many additional TS tweaks and improvements</li> </ul> <p>This release has <strong>breaking changes</strong>. (Note: v2.0.1 was released with a couple hotfixes for Reselect and Redux Thunk right as this was being finalized.)</p> <p>This release is part of a wave of major versions of all the Redux packages: <strong>Redux Toolkit 2.0, Redux core 5.0, React-Redux 9.0, Reselect 5.0, and Redux Thunk 3.0</strong>.</p> <p>For full details on all of the breaking changes and other significant changes to all of those packages, see the <strong><a href="https://redux.js.org/usage/migrations/migrating-rtk-2">"Migrating to RTK 2.0 and Redux 5.0" migration guide</a></strong> in the Redux docs.</p> <blockquote> <p>[!NOTE] The Redux core, Reselect, and Redux Thunk packages are included as part of Redux Toolkit, and RTK users do not need to manually upgrade them - you'll get them as part of the upgrade to RTK 2.0. (If you're not using Redux Toolkit yet, <a href="https://redux.js.org/usage/migrating-to-modern-redux"><strong>please start migrating your existing legacy Redux code to use Redux Toolkit today!</strong></a>)</p> </blockquote> <pre lang="bash"><code># RTK npm install @reduxjs/toolkit yarn add @reduxjs/toolkit </code></pre> <h2>Changelog</h2> <h3>Object syntax for <code>createSlice.extraReducers</code> and <code>createReducer</code> removed</h3> <p>RTK's <code>createReducer</code> API was originally designed to accept a lookup table of action type strings to case reducers, like <code>{ "ADD_TODO": (state, action) => {} }</code>. We later added the "builder callback" form to allow more flexibility in adding "matchers" and a default handler, and did the same for <code>createSlice.extraReducers</code>.</p> <p>We have removed the "object" form for both <code>createReducer</code> and <code>createSlice.extraReducers</code> in RTK 2.0, as the builder callback form is effectively the same number of lines of code, and works much better with TypeScript.</p> <p>As an example, this:</p> <pre lang="ts"><code>const todoAdded = createAction('todos/todoAdded') <p>createReducer(initialState, { [todoAdded]: (state, action) => {}, })</p> <p>createSlice({ name, initialState, </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/cf29e624228e25500a545ae5e9cd5e5a540b31d4"><code>cf29e62</code></a> Release 2.0.1</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/6bcedea9a2f49f3da6df44a5aa80b8e730d42ab6"><code>6bcedea</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3944">#3944</a> from reduxjs/bugfix/2.0-hotfixes</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2dbb71cd49f3a6343e55263113dc635a33e2ddfe"><code>2dbb71c</code></a> Hotfix dep updates</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/ca2c99c51278cf256441f71c6dd41ecaff9345f4"><code>ca2c99c</code></a> Release 2.0.0</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/78f033dab95dd586a8dcd8dda14f35bb5d19a398"><code>78f033d</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3941">#3941</a> from reduxjs/feature/2.0-final-deps-update</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2472e03a0bd7e1bfb24949bf95a2cae68b8d366d"><code>2472e03</code></a> Final deps update</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/350e79f67effd16713da3120b9fb486104668926"><code>350e79f</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3089">#3089</a> from reduxjs/v2.0-integration</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/0fa46d4c29bd072dcd2160f5b182bafab9091450"><code>0fa46d4</code></a> Add missing docs paragraphs</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/7532c9b4eab944542f966188712abae604f4fc8a"><code>7532c9b</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3939">#3939</a> from reduxjs/docs/2.0-final-migration-polish</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/cf167c321c92ff01cf93cab3a0414e5fed8cf191"><code>cf167c3</code></a> Final migration tweaks</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.0.1">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.9.7&new-version=2.0.1)](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> Co-authored-by: Desmond Howard <dehoward@microsoft.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 1.9.7 to 2.0.1. <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.0.0</h2> <p>This <strong>major release</strong> :</p> <ul> <li>Removes the deprecated object syntax from <code>createSlice</code> and <code>createReducer</code></li> <li>Removes other deprecated options</li> <li>Updates the <code>middleware</code> and <code>enhancers</code> options of <code>configureStore</code> to require callbacks</li> <li>Updates the packaging for better ESM/CJS compatibility and modernizes the build output</li> <li>Includes all changes to <a href="https://github.com/reduxjs/redux/releases/tag/v5.0.0">Redux core 5.0</a>, <a href="https://github.com/reduxjs/reselect/releases/tag/v5.0.0">Reselect 5.0</a>, and <a href="https://github.com/reduxjs/redux-thunk/releases/tag/v3.0.0">Redux Thunk 3.0</a></li> <li>Updates RTKQ default subscription behavior</li> <li>Adds a new <code>combineSlices</code> method with support for lazy-loading slice reducers</li> <li>Adds a new "dynamic middleware" middleware with support for adding middleware at runtime</li> <li>Adds a new callback syntax to <code>createSlice.reducers</code>, with optional support for defining thunks inside of <code>createSlice</code></li> <li>Adds the <code>autoBatchEnhancer</code> to <code>configureStore</code> by default</li> <li>Has many additional TS tweaks and improvements</li> </ul> <p>This release has <strong>breaking changes</strong>. (Note: v2.0.1 was released with a couple hotfixes for Reselect and Redux Thunk right as this was being finalized.)</p> <p>This release is part of a wave of major versions of all the Redux packages: <strong>Redux Toolkit 2.0, Redux core 5.0, React-Redux 9.0, Reselect 5.0, and Redux Thunk 3.0</strong>.</p> <p>For full details on all of the breaking changes and other significant changes to all of those packages, see the <strong><a href="https://redux.js.org/usage/migrations/migrating-rtk-2">"Migrating to RTK 2.0 and Redux 5.0" migration guide</a></strong> in the Redux docs.</p> <blockquote> <p>[!NOTE] The Redux core, Reselect, and Redux Thunk packages are included as part of Redux Toolkit, and RTK users do not need to manually upgrade them - you'll get them as part of the upgrade to RTK 2.0. (If you're not using Redux Toolkit yet, <a href="https://redux.js.org/usage/migrating-to-modern-redux"><strong>please start migrating your existing legacy Redux code to use Redux Toolkit today!</strong></a>)</p> </blockquote> <pre lang="bash"><code># RTK npm install @reduxjs/toolkit yarn add @reduxjs/toolkit </code></pre> <h2>Changelog</h2> <h3>Object syntax for <code>createSlice.extraReducers</code> and <code>createReducer</code> removed</h3> <p>RTK's <code>createReducer</code> API was originally designed to accept a lookup table of action type strings to case reducers, like <code>{ "ADD_TODO": (state, action) => {} }</code>. We later added the "builder callback" form to allow more flexibility in adding "matchers" and a default handler, and did the same for <code>createSlice.extraReducers</code>.</p> <p>We have removed the "object" form for both <code>createReducer</code> and <code>createSlice.extraReducers</code> in RTK 2.0, as the builder callback form is effectively the same number of lines of code, and works much better with TypeScript.</p> <p>As an example, this:</p> <pre lang="ts"><code>const todoAdded = createAction('todos/todoAdded') <p>createReducer(initialState, { [todoAdded]: (state, action) => {}, })</p> <p>createSlice({ name, initialState, </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/cf29e624228e25500a545ae5e9cd5e5a540b31d4"><code>cf29e62</code></a> Release 2.0.1</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/6bcedea9a2f49f3da6df44a5aa80b8e730d42ab6"><code>6bcedea</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3944">#3944</a> from reduxjs/bugfix/2.0-hotfixes</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2dbb71cd49f3a6343e55263113dc635a33e2ddfe"><code>2dbb71c</code></a> Hotfix dep updates</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/ca2c99c51278cf256441f71c6dd41ecaff9345f4"><code>ca2c99c</code></a> Release 2.0.0</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/78f033dab95dd586a8dcd8dda14f35bb5d19a398"><code>78f033d</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3941">#3941</a> from reduxjs/feature/2.0-final-deps-update</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2472e03a0bd7e1bfb24949bf95a2cae68b8d366d"><code>2472e03</code></a> Final deps update</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/350e79f67effd16713da3120b9fb486104668926"><code>350e79f</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3089">#3089</a> from reduxjs/v2.0-integration</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/0fa46d4c29bd072dcd2160f5b182bafab9091450"><code>0fa46d4</code></a> Add missing docs paragraphs</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/7532c9b4eab944542f966188712abae604f4fc8a"><code>7532c9b</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/3939">#3939</a> from reduxjs/docs/2.0-final-migration-polish</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/cf167c321c92ff01cf93cab3a0414e5fed8cf191"><code>cf167c3</code></a> Final migration tweaks</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.0.1">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.9.7&new-version=2.0.1)](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> Co-authored-by: Desmond Howard <dehoward@microsoft.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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps @reduxjs/toolkit from 1.9.7 to 2.0.1.
Release notes
Sourced from
@reduxjs/toolkit
's releases.... (truncated)
Commits
cf29e62
Release 2.0.16bcedea
Merge pull request #3944 from reduxjs/bugfix/2.0-hotfixes2dbb71c
Hotfix dep updatesca2c99c
Release 2.0.078f033d
Merge pull request #3941 from reduxjs/feature/2.0-final-deps-update2472e03
Final deps update350e79f
Merge pull request #3089 from reduxjs/v2.0-integration0fa46d4
Add missing docs paragraphs7532c9b
Merge pull request #3939 from reduxjs/docs/2.0-final-migration-polishcf167c3
Final migration tweaksDependabot 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)