subconsciousnetwork / noosphere

Noosphere is a protocol for thought; let's discover it together!
Apache License 2.0
666 stars 40 forks source link

chore(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.1 in /typescript #831

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Bumps @reduxjs/toolkit from 1.9.7 to 2.2.1.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.2.0

This minor release:

  • Adds a second parameter to entityAdapter.getInitialState(additionalProps, entities) to allow prefilling state
    • Equivalent to entityAdapter.setAll(entityAdapter.getInitialState(additionalProps), entities)
    • First parameter can be undefined if no additional properties are desired
  • Allows initialising combineSlices with no static reducers
    • Previously const combinedReducer = combineSlices().withLazyLoadedSlices<LazyLoadedSlices>() would have thrown an error
    • Now returns a "no-op" reducer that just returns an empty object until first reducer injected
  • Allows a new 'throw' value for overrideExisting in injectEndpoints, which throws an error if a definition is injected with a name which is already used
  • Exports more type helpers for RTKQ hook and trigger types
  • Exports types related to overriding result types in enhanceEndpoints
  • Fixes state inference for injected slices when undeclared (i.e. not in LazyLoadedSlices)
  • Adds a action.meta.arg.isPrefetch value to query thunk actions when prefetched

What's Changed

New Contributors

... (truncated)

Commits
  • 20df6f0 2.2.1
  • 6f2d782 Merge pull request #4204 from reduxjs/typed-use-mutation-trigger
  • a131b32 fix imports and exports
  • 9a4cdaa remove alias
  • 65d5a64 rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated alias
  • d712ab3 Merge pull request #4202 from aryaemami59/bump-prettier
  • a181a5c Format all files
  • 0213df5 Remove overrides field in .prettierrc.json
  • f8683a6 Bump prettier for all packages
  • 34c3b5f Merge pull request #4191 from reduxjs/update-entityadapter-docs
  • 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

You can trigger a rebase of this PR 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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

github-actions[bot] commented 9 months ago

Test flake analysis

status platform features toolchain
🟢 windows-latest test-kubo,headers stable
🟡 macos-13 test-kubo,headers stable
🟢 macos-13 test-kubo,headers,rocksdb stable
🟢 ubuntu-latest test-kubo,headers,rocksdb stable
🟢 ubuntu-latest test-kubo,headers stable

Flake summary for macos-13, test-kubo,headers, stable

     Summary [ 167.449s] 177 tests run: 177 passed (1 slow, 2 flaky), 1 skipped
   FLAKY 2/5 [  78.869s] noosphere::distributed_stress latency::clients_can_sync_when_there_is_a_lot_of_content
   FLAKY 2/5 [  17.557s] noosphere::distributed_stress multiplayer::orb_can_render_peers_in_the_sphere_address_book
dependabot[bot] commented 8 months ago

Superseded by #872.