redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

chore(deps): update all non-major dependencies

Open renovate[bot] opened this issue 1 year ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/cli (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/core (source) ^7.25.8 -> ^7.25.9 age adoption passing confidence
@babel/eslint-parser (source) ^7.25.8 -> ^7.25.9 age adoption passing confidence
@babel/plugin-transform-runtime (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/preset-env (source) ^7.25.8 -> ^7.25.9 age adoption passing confidence
@babel/preset-react (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/preset-typescript (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/register (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@babel/runtime (source) ^7.25.7 -> ^7.25.9 age adoption passing confidence
@chakra-ui/react (source) ^2.10.2 -> ^2.10.3 age adoption passing confidence
@eslint/compat ^1.2.0 -> ^1.2.1 age adoption passing confidence
@reduxjs/toolkit (source) ^2.2.8 -> ^2.3.0 age adoption passing confidence
@rjsf/core ^5.21.2 -> ^5.22.1 age adoption passing confidence
@rjsf/utils ^5.21.2 -> ^5.22.1 age adoption passing confidence
@rjsf/validator-ajv8 ^5.21.2 -> ^5.22.1 age adoption passing confidence
@storybook/addon-essentials (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/addon-interactions (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/addon-links (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/addon-onboarding (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/blocks (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/react (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/react-webpack5 (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@storybook/test (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
@testing-library/jest-dom ^6.5.0 -> ^6.6.2 age adoption passing confidence
@types/chrome (source) ^0.0.278 -> ^0.0.279 age adoption passing confidence
@types/jest (source) ^29.5.13 -> ^29.5.14 age adoption passing confidence
@types/lodash (source) ^4.17.10 -> ^4.17.12 age adoption passing confidence
@types/node (source) ^20.16.11 -> ^20.17.0 age adoption passing confidence
@types/react (source) ^18.3.11 -> ^18.3.12 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) ^8.9.0 -> ^8.11.0 age adoption passing confidence
@typescript-eslint/parser (source) ^8.9.0 -> ^8.11.0 age adoption passing confidence
electron ^31.7.0 -> ^31.7.2 age adoption passing confidence
eslint-plugin-react ^7.37.1 -> ^7.37.2 age adoption passing confidence
framer-motion ^11.11.8 -> ^11.11.9 age adoption passing confidence
html-webpack-plugin ^5.6.0 -> ^5.6.3 age adoption passing confidence
pnpm (source) 9.12.1 -> 9.12.2 age adoption passing confidence
storybook (source) ^8.3.5 -> ^8.3.6 age adoption passing confidence
typescript-eslint (source) ^8.9.0 -> ^8.11.0 age adoption passing confidence

Release Notes

babel/babel (@​babel/cli)

v7.25.9

Compare Source

:bug: Bug Fix
:house: Internal
:running_woman: Performance
eslint/rewrite (@​eslint/compat)

v1.2.1

Compare Source

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.3.0

Compare Source

This feature release adds a new RTK Query upsertQueryEntries util to batch-upsert cache entries more efficiently, passes through additional values for use in prepareHeaders, and exports additional TS types around query options and selectors.

Changelog

upsertQueryEntries

RTK Query already had an upsertQueryData thunk that would upsert a single cache entry. However, some users wanted to upsert many cache entries (potentially hundreds or thousands), and found that upsertQueryData had poor performance in those cases. This is because upsertQueryData runs the full async request handling sequence, including dispatching both pending and fulfilled actions, each of which run the main reducer and update store subscribers. That means there's 2N store / UI updates per item, so upserting hundreds of items becomes extremely perf-intensive.

RTK Query now includes an api.util.upsertQueryEntries action that is meant to handle the batched upsert use case more efficiently. It's a single synchronous action that accepts an array of many {endpointName, arg, value} entries to upsert. This results in a single store update, making this vastly better for performance vs many individual upsertQueryData calls.

We see this as having two main use cases. The first is prefilling the cache with data retrieved from storage on app startup (and it's worth noting that upsertQueryEntries can accept entries for many different endpoints as part of the same array).

The second is to act as a "pseudo-normalization" tool. RTK Query is not a "normalized" cache. However, there are times when you may want to prefill other cache entries with the contents of another endpoint, such as taking the results of a getPosts list endpoint response and prefilling the individual getPost(id) endpoint cache entries, so that components that reference an individual item endpoint already have that data available.

Currently, you can implement the "pseudo-normalization" approach by dispatching upsertQueryEntries in an endpoint lifecycle, like this:

const api = createApi({
  endpoints: (build) => ({
    getPosts: build.query<Post[], void>({
      query: () => '/posts',
      async onQueryStarted(_, { dispatch, queryFulfilled }) {
        const res = await queryFulfilled
        const posts = res.data

        // Pre-fill the individual post entries with the results
        // from the list endpoint query
        dispatch(
          api.util.upsertQueryEntries(
            posts.map((post) => ({
              endpointName: 'getPost',
              arg: { id: post.id },
              value: post,
            })),
          ),
        )
      },
    }),
    getPost: build.query<Post, Pick<Post, 'id'>>({
      query: (post) => `post/${post.id}`,
    }),
  }),
})

Down the road we may add a new option to query endpoints that would let you provide the mapping function and have it automatically update the corresponding entries.

For additional comparisons between upsertQueryData and upsertQueryEntries, see the upsertQueryEntries API reference.

prepareHeaders Options

The prepareHeaders callback for fetchBaseQuery now receives two additional values in the api argument:

  • arg: the URL string or FetchArgs object that was passed in to fetchBaseQuery for this endpoint
  • extraOptions: any extra options that were provided to the base query
Additional TS Types

We've added a TypedQueryStateSelector type that can be used to pre-type selectors for use with selectFromResult:

const typedSelectFromResult: TypedQueryStateSelector<
  PostsApiResponse,
  QueryArgument,
  BaseQueryFunction,
  SelectedResult
> = (state) => ({ posts: state.data?.posts ?? EMPTY_ARRAY })

function PostsList() {
  const { posts } = useGetPostsQuery(undefined, {
    selectFromResult: typedSelectFromResult,
  })
}

We've also exported several additional TS types around base queries and tag definitions.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.8...v2.3.0

rjsf-team/react-jsonschema-form (@​rjsf/core)

v5.22.1: 5.22.1

Compare Source

@​rjsf/*
  • Bumped peer dependencies to 5.22.x due to updated type definition and API changes in @rjsf/utils

v5.22.0

Compare Source

@​rjsf/core

  • Updated MultiSchemaField to call the onChange handler after setting the new option, fixing #​3997 and #​4314

@​rjsf/utils

  • Added experimental_customMergeAllOf option to retrieveSchema() and getDefaultFormState() to allow custom merging of allOf schemas
  • Made fields with const property pre-filled and readonly, fixing #​2600
  • Added mergeDefaultsIntoFormData option to Experimental_DefaultFormStateBehavior type to control how to handle merging of defaults
  • Updated mergeDefaultsWithFormData() to add new optional defaultSupercedesUndefined that when true uses the defaults rather than undefined formData, fixing #​4322
  • Updated getDefaultFormState() to pass true to mergeDefaultsWithFormData for defaultSupercedesUndefined when mergeDefaultsIntoFormData has the value useDefaultIfFormDataUndefined, fixing #​4322
  • Updated getClosestMatchingOption() to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #​3997 and #​4314

Dev / docs / playground

  • Updated the form-props.md to add documentation for the new experimental_customMergeAllOf props and the experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData option
  • Updated the utility-functions.md to add documentation for the new optional defaultSupercedesUndefined parameter and the two missing optional fields on getDefaultFormState()
  • Updated the custom-templates.md to add a section header for wrapping BaseInputTemplate
  • Updated the playground to add controls for the new mergeDefaultsIntoFormData option
    • In the process, moved the Show Error List component over one column, making it inline radio buttons rather than a select
storybookjs/storybook (@​storybook/addon-essentials)

v8.3.6

Compare Source

storybookjs/storybook (@​storybook/addon-onboarding)

v8.3.6

Compare Source

8.3.6

testing-library/jest-dom (@​testing-library/jest-dom)

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

v6.6.0

Compare Source

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.11.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unnecessary-type-parameters] add suggestion fixer (#​10149)
  • eslint-plugin: [no-base-to-string] add support for catching toLocaleString (#​10138)
🩹 Fixes
  • eslint-plugin: [class-literal-property-style] don't report nodes with override keyword (#​10135)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.10.0

Compare Source

🚀 Features
❤️ Thank You
  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v8.11.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.10.0

Compare Source

🚀 Features
❤️ Thank You
  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

electron/electron (electron)

v31.7.2: electron v31.7.2

Compare Source

Release Notes for v31.7.2

Fixes

  • Fixed an issue where closing a window after printing on Linux triggered a crash. #​44283 (Also in 32, 33, 34)
  • Fixed calling setAlwaysOnTop on a hidden window which is then shown with showInactive on Linux under X11. #​44323 (Also in 32, 33, 34)

Other Changes

  • Security: backported fix for 3647780.
    • Security: backported fix for CVE-2024-9121.
    • Security: backported fix for CVE-2024-9122. #​44255
  • Security: backported fix for CVE-2024-7025.
    • Security: backported fix for CVE-2024-9369.
    • Security: backported fix for 3693745. #​44236
  • Security: backported fix for CVE-2024-7965.
    • Security: backported fix for CVE-2024-7966.
    • Security: backported fix for CVE-2024-7967.
    • Security: backported fix for CVE-2024-8198.
    • Security: backported fix for CVE-2024-8193.
    • Security: backported fix for CVE-2024-7969.
    • Security: backported fix for chromium:361717714.
    • Security: backported fix for CVE-2024-7970.
    • Security: backported fix for CVE-2024-8362.
    • Security: backported fix for chromium:350779647.
    • Security: backported fix for CVE-2024-8636.
    • Security: backported fix for CVE-2024-9123.
    • Security: backported fix for CVE-2024-9120. #​44355
  • Security: backported fix for chromium:367734947.
    • Security: backported fix for chromium:366635354. #​44356

v31.7.1: electron v31.7.1

Compare Source

Release Notes for v31.7.1

Fixes

  • Fixed an issue where the exit event could be emitted twice from the utilityProcess. #​44267
  • Fixed native addon compilation errors on macOS. #​44202 (Also in 32, 33)

Other Changes

  • Security: backported fix for CVE-2024-9602.
    • Security: backported fix for CVE-2024-9603. #​44232
jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.37.2

Compare Source

Fixed
  • [destructuring-assignment]: fix false negative when using typeof props.a (#​3835 @​golopot)
Changed
  • [Refactor] [destructuring-assignment]: use getParentStatelessComponent (#​3835 @​golopot)
framer/motion (framer-motion)

v11.11.9

Compare Source

Changed
  • will-change is now no longer automatically managed without useWillChange.
jantimon/html-webpack-plugin (html-webpack-plugin)

v5.6.3

Compare Source

v5.6.2

Compare Source

v5.6.1

Compare Source

pnpm/pnpm (pnpm)

v9.12.2: pnpm 9.12.2

Compare Source

Patch Changes

  • When checking whether a file in the store has executable permissions, the new approach checks if at least one of the executable bits (owner, group, and others) is set to 1. Previously, a file was incorrectly considered executable only when all the executable bits were set to 1. This fix ensures that files with any executable permission, regardless of the user class, are now correctly identified as executable #​8546.

Platinum Sponsors

Gold Sponsors


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Oct 15 '24 05:10 renovate[bot]

⚠️ No Changeset found

Latest commit: 6a32cb56bfa6401aa81f67a913e95aeaefe2c954

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 15 '24 05:10 changeset-bot[bot]

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] avatar Dec 06 '24 22:12 renovate[bot]