EtherealEngine / Blockchain-in-a-Box

A batteries-included ethereum blockchain for bootstrapping the Metaverse.πŸš€πŸš€πŸš€
MIT License
61 stars 36 forks source link

Update dependency @reduxjs/toolkit to v1.8.3 #839

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@reduxjs/toolkit (source) 1.8.2 -> 1.8.3 age adoption passing confidence
@reduxjs/toolkit (source) 1.8.2 -> 1.8.3 age adoption passing confidence

Release Notes

reduxjs/redux-toolkit ### [`v1.8.3`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v1.8.3) [Compare Source](https://togithub.com/reduxjs/redux-toolkit/compare/v1.8.2...1.8.3) This bugfix release fixes a few minor issues and bits of behavior, including updating the React-Redux peer dep to `^8.0.2` final, stable sorting in `createEntityAdapter.updateMany` and some initial state handling in `createSlice`. #### Changelog ##### React-Redux Peer Dep We'd previously published an RTK build that accepted React-Redux v8 beta as a peer dep (for use with RTK Query). Since React-Redux v8 is out now, we've updated the peer dep to `^8.0.2`. ##### Entity Adapter Updates Previously, applying updates via `createEntityAdapter.updateMany` caused sorting order to change. Entities that had the same sorting result *should* have stayed in the same order relative to each other, but if one of those items had any updates, it would sort to the back of that group. This was due to items being removed from the lookup table and re-added, and since JS engines iterate keys in insertion order, the updated item would now end up compared later than before. We've reworked the implementation of `updateMany` to avoid that. This also ended up fixing another issue where multiple update entries targeting the same item ID would only have the first applied. #### `createSlice` Initial State `createSlice` now logs an error if `initialState` is `undefined`. This is most commonly seen when users misspell `initialState`. It also has better handling for values that can't be frozen by Immer such as primitives. ##### RTK Query Several assorted improvements, including TS types for `BaseQuery` and checking if the body can actually be safely stringified. #### What's Changed - Add Missing Else to enhanceEndpoints Function by [@​kinson](https://togithub.com/kinson) in [https://github.com/reduxjs/redux-toolkit/pull/2386](https://togithub.com/reduxjs/redux-toolkit/pull/2386) - Check initial state is draftable before using immer to freeze it. by [@​EskiMojo14](https://togithub.com/EskiMojo14) in [https://github.com/reduxjs/redux-toolkit/pull/2378](https://togithub.com/reduxjs/redux-toolkit/pull/2378) - Check that body isJsonifiable before stringify by [@​ShaunDychko](https://togithub.com/ShaunDychko) in [https://github.com/reduxjs/redux-toolkit/pull/2330](https://togithub.com/reduxjs/redux-toolkit/pull/2330) - Respect BaseQuery meta types when enhancing by [@​TamasSzigeti](https://togithub.com/TamasSzigeti) in [https://github.com/reduxjs/redux-toolkit/pull/2225](https://togithub.com/reduxjs/redux-toolkit/pull/2225) - Throw new error when initial state is undefined by [@​dannielss](https://togithub.com/dannielss) in [https://github.com/reduxjs/redux-toolkit/pull/2461](https://togithub.com/reduxjs/redux-toolkit/pull/2461) - Rewrite `updateMany` to ensure stable sorting order by [@​markerikson](https://togithub.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/2464](https://togithub.com/reduxjs/redux-toolkit/pull/2464) - Bump React-Redux peer dep by [@​markerikson](https://togithub.com/markerikson) in https://github.com/reduxjs/redux-toolkit/commit/3033a33c3dd2ad743f02a44603bc77174599eebc #### New Contributors **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v1.8.2...1.8.3

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 2 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

β™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: packages/api/console/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@0.0.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.4
npm ERR! node_modules/@material-ui/core
npm ERR!   @material-ui/core@"4.12.4" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-07-11T20_57_21_421Z-debug-0.log