Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

build(deps): bump the minor-and-patch group across 1 directory with 10 updates #686

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Bumps the minor-and-patch group with 10 updates in the / directory:

Package From To
@reduxjs/toolkit 2.2.7 2.3.0
@sentry/react 8.23.0 8.34.0
@vitejs/plugin-react 4.3.1 4.3.2
axios 1.7.3 1.7.7
dayjs 1.11.12 1.11.13
react-datepicker 7.3.0 7.4.0
react-dropzone 14.2.3 14.2.9
react-router-dom 6.26.0 6.27.0
vite 5.3.5 5.4.9
web-vitals 4.2.2 4.2.3

Updates @reduxjs/toolkit from 2.2.7 to 2.3.0

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.3.0

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) =&gt; ({
          endpointName: 'getPost',
          arg: { id: post.id },
          value: post,
        })),
      ),
    )
  },
}),
getPost: build.query&lt;Post, Pick&lt;Post, 'id'&gt;&gt;({
  query: (post) =&gt; `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.

... (truncated)

Commits
  • 77fb33d Release 2.3.0
  • fa0906e Merge pull request #4291 from reduxjs/pr/fetchBaseQuery-extraOptions
  • 896e4df Drop generic and make extraOptions unknown
  • 41487fd Fix arguments type
  • 1918f13 fix bad inference with an overload?
  • 6ef362f fixup test
  • 3e77381 fetchBaseQuery: expose extraOptions to prepareHeaders
  • 7b50a61 Merge pull request #4561 from reduxjs/feature/4106-rtkq-normalization
  • 3358c13 Fix Parameters headers
  • d38ff98 Merge pull request #4638 from kyletsang/prepareheaders-args
  • Additional commits viewable in compare view

Updates @sentry/react from 8.23.0 to 8.34.0

Release notes

Sourced from @​sentry/react's releases.

8.34.0

Important Changes

  • ref(nextjs): Remove dead code (#13828)

Relevant for users of the @sentry/nextjs package: If you have previously configured a SENTRY_IGNORE_API_RESOLUTION_ERROR environment variable, it is now safe to unset it.

Other Changes

  • feat(cdn): Export getReplay in replay CDN bundles (#13881)
  • feat(replay): Clear fallback buffer when switching buffers (#13914)
  • feat(replay): Upgrade rrweb packages to 2.28.0 (#13732)
  • fix(docs): Correct supported browsers due to globalThis (#13788)
  • fix(nextjs): Adjust path to requestAsyncStorageShim.js template file (#13928)
  • fix(nextjs): Detect new locations for request async storage to support Next.js v15.0.0-canary.180 and higher (#13920)
  • fix(nextjs): Drop _not-found spans for all HTTP methods (#13906)
  • fix(nextjs): Fix resolution of request storage shim fallback (#13929)
  • fix(node): Ensure graphql options are correct when preloading (#13769)
  • fix(node): Local variables handle error (#13827)
  • fix(node): Remove dataloader instrumentation from default integrations (#13873)
  • fix(nuxt): Create declaration files for Nuxt module (#13909)
  • fix(replay): Ensure replay_id is removed from frozen DSC when stopped (#13893)
  • fix(replay): Try/catch sendBufferedReplayOrFlush to prevent cycles (#13900)
  • fix(sveltekit): Ensure trace meta tags are always injected (#13231)
  • fix(sveltekit): Update wrapServerRouteWithSentry to respect ParamMatchers (#13390)
  • fix(wasm): Integration wasm uncaught WebAssembly.Exception (#13787) (#13854)
  • ref(nextjs): Ignore sentry spans based on query param attribute (#13905)
  • ref(utils): Move vercelWaitUntil to utils (#13891)

Work in this release was contributed by @​trzeciak, @​gurpreetatwal, @​ykzts and @​lizhiyao. Thank you for your contributions!

Bundle size 📦

... (truncated)

Changelog

Sourced from @​sentry/react's changelog.

8.34.0

Important Changes

  • ref(nextjs): Remove dead code (#13828)

Relevant for users of the @sentry/nextjs package: If you have previously configured a SENTRY_IGNORE_API_RESOLUTION_ERROR environment variable, it is now safe to unset it.

Other Changes

  • feat(cdn): Export getReplay in replay CDN bundles (#13881)
  • feat(replay): Clear fallback buffer when switching buffers (#13914)
  • feat(replay): Upgrade rrweb packages to 2.28.0 (#13732)
  • fix(docs): Correct supported browsers due to globalThis (#13788)
  • fix(nextjs): Adjust path to requestAsyncStorageShim.js template file (#13928)
  • fix(nextjs): Detect new locations for request async storage to support Next.js v15.0.0-canary.180 and higher (#13920)
  • fix(nextjs): Drop _not-found spans for all HTTP methods (#13906)
  • fix(nextjs): Fix resolution of request storage shim fallback (#13929)
  • fix(node): Ensure graphql options are correct when preloading (#13769)
  • fix(node): Local variables handle error (#13827)
  • fix(node): Remove dataloader instrumentation from default integrations (#13873)
  • fix(nuxt): Create declaration files for Nuxt module (#13909)
  • fix(replay): Ensure replay_id is removed from frozen DSC when stopped (#13893)
  • fix(replay): Try/catch sendBufferedReplayOrFlush to prevent cycles (#13900)
  • fix(sveltekit): Ensure trace meta tags are always injected (#13231)
  • fix(sveltekit): Update wrapServerRouteWithSentry to respect ParamMatchers (#13390)
  • fix(wasm): Integration wasm uncaught WebAssembly.Exception (#13787) (#13854)
  • ref(nextjs): Ignore sentry spans based on query param attribute (#13905)
  • ref(utils): Move vercelWaitUntil to utils (#13891)

Work in this release was contributed by @​trzeciak, @​gurpreetatwal, @​ykzts and @​lizhiyao. Thank you for your contributions!

... (truncated)

Commits
  • d7749ae release: 8.34.0
  • 2a1dd9a Merge pull request #13941 from getsentry/prepare-release/8.34.0
  • 20914b0 meta(changelog): Update changelog for 8.34.0
  • 86c626e fix(nextjs): Fix resolution of request storage shim fallback (#13929)
  • fcc3d2b meta(ci): Don't fail CI run when codecov fails to upload (#13930)
  • 0b00605 ci(deps): bump peter-evans/create-pull-request from 6.1.0 to 7.0.5 (#13844)
  • 6b4401f fix(nextjs): Detect new locations for request async storage to support Next.j...
  • 0be3137 fix(nextjs): Adjust path to requestAsynStorageShim.js template file (#13928)
  • d7c33a2 feat(replay): Upgrade rrweb packages to 2.28.0 (#13732)
  • 37b45c1 feat(replay): Clear fallback buffer when switching buffers (#13914)
  • Additional commits viewable in compare view

Updates @vitejs/plugin-react from 4.3.1 to 4.3.2

Release notes

Sourced from @​vitejs/plugin-react's releases.

v4.3.2

Ignore directive sourcemap error #369

Changelog

Sourced from @​vitejs/plugin-react's changelog.

4.3.2 (2024-09-29)

Ignore directive sourcemap error #369

Commits

Updates axios from 1.7.3 to 1.7.7

Release notes

Sourced from axios's releases.

Release v1.7.7

Release notes:

Bug Fixes

  • fetch: fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; (#6584) (d198085)
  • http: fixed support for IPv6 literal strings in url (#5731) (364993f)

Contributors to this release

Release v1.7.6

Release notes:

Bug Fixes

  • fetch: fix content length calculation for FormData payload; (#6524) (085f568)
  • fetch: optimize signals composing logic; (#6582) (df9889b)

Contributors to this release

Release v1.7.5

Release notes:

Bug Fixes

  • adapter: fix undefined reference to hasBrowserEnv (#6572) (7004707)
  • core: add the missed implementation of AxiosError#status property; (#6573) (6700a8a)
  • core: fix ReferenceError: navigator is not defined for custom environments; (#6567) (fed1a4b)
  • fetch: fix credentials handling in Cloudflare workers (#6533) (550d885)

Contributors to this release

Release v1.7.4

Release notes:

Bug Fixes

Contributors to this release

... (truncated)

Changelog

Sourced from axios's changelog.

1.7.7 (2024-08-31)

Bug Fixes

  • fetch: fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; (#6584) (d198085)
  • http: fixed support for IPv6 literal strings in url (#5731) (364993f)

Contributors to this release

1.7.6 (2024-08-30)

Bug Fixes

  • fetch: fix content length calculation for FormData payload; (#6524) (085f568)
  • fetch: optimize signals composing logic; (#6582) (df9889b)

Contributors to this release

1.7.5 (2024-08-23)

Bug Fixes

  • adapter: fix undefined reference to hasBrowserEnv (#6572) (7004707)
  • core: add the missed implementation of AxiosError#status property; (#6573) (6700a8a)
  • core: fix ReferenceError: navigator is not defined for custom environments; (#6567) (fed1a4b)
  • fetch: fix credentials handling in Cloudflare workers (#6533) (550d885)

Contributors to this release

1.7.4 (2024-08-13)

Bug Fixes

... (truncated)

Commits
  • 5b8a826 chore(release): v1.7.7 (#6585)
  • 364993f fix(http): fixed support for IPv6 literal strings in url (#5731)
  • d198085 fix(fetch): fix stream handling in Safari by fallback to using a stream reade...
  • d584fcf chore(release): v1.7.6 (#6583)
  • bc03c6c chore(examples): fix module import (#6575)
  • df9889b fix(fetch): optimize signals composing logic; (#6582)
  • ee208cf chore(sponsor): update sponsor block (#6576)
  • 085f568 fix(fetch): fix content length calculation for FormData payload; (#6524)
  • 59cd6b0 chore(release): v1.7.5 (#6574)
  • 6700a8a fix(core): add the missed implementation of AxiosError#status property; (#6573)
  • Additional commits viewable in compare view

Updates dayjs from 1.11.12 to 1.11.13

Release notes

Sourced from dayjs's releases.

v1.11.13

1.11.13 (2024-08-20)

Bug Fixes

  • customParseFormat supports Q quter / w ww weekOfYear (#2705) (8ca74f1)
Changelog

Sourced from dayjs's changelog.

1.11.13 (2024-08-20)

Bug Fixes

  • customParseFormat supports Q quter / w ww weekOfYear (#2705) (8ca74f1)
Commits

Updates react-datepicker from 7.3.0 to 7.4.0

Release notes

Sourced from react-datepicker's releases.

7.4.0

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.3.0...v7.4.0

Commits
  • ac5f224 7.4.0
  • 6903813 Merge pull request #5093 from Hacker0x01/dependabot/npm_and_yarn/lint-staged-...
  • 1a24832 Merge pull request #5094 from Hacker0x01/dependabot/npm_and_yarn/typescript-e...
  • becab92 Merge pull request #5095 from Hacker0x01/dependabot/npm_and_yarn/types/jest-2...
  • 8619218 Merge pull request #5098 from Hacker0x01/dependabot/npm_and_yarn/docs-site/sa...
  • 3e28fca Merge pull request #5100 from Qubitza/main
  • 342d370 fix: improved code readability
  • 017183d test: shows custom time caption
  • 2771fe4 test: hides time caption
  • aea8f6d feat: hide time caption
  • Additional commits viewable in compare view

Updates react-dropzone from 14.2.3 to 14.2.9

Release notes

Sourced from react-dropzone's releases.

v14.2.9

14.2.9 (2024-10-03)

Bug Fixes

  • disable file access API by default (c0255d5)

v14.2.8

14.2.8 (2024-10-03)

Bug Fixes

  • revert min node version to 10.13 (d1ae54d)

v14.2.7

14.2.7 (2024-10-03)

Bug Fixes

v14.2.6

14.2.6 (2024-10-02)

Bug Fixes

  • ensure package works as a module (2471dd9)

v14.2.5

14.2.5 (2024-10-02)

Bug Fixes

  • ensure proper readonly arrays for types (d7799eb)

v14.2.4

14.2.4 (2024-10-02)

Bug Fixes

  • add path to acceptedFiles and fileRejections (960c6d3)
Commits
  • c0255d5 fix: disable file access API by default
  • 842b0cc ci: run tests on node 18 as well
  • d1ae54d fix: revert min node version to 10.13
  • 68a8a78 fix: ensure typings can be resolved and close #1371
  • f2233ca docs: fix hook missing dep warning in preview example
  • 2471dd9 fix: ensure package works as a module
  • d7799eb fix: ensure proper readonly arrays for types
  • db97f3e docs: fix tests badge
  • c350579 build: bump nvm node version to 20
  • 821fd6a ci: use node 20 to release
  • Additional commits viewable in compare view

Updates react-router-dom from 6.26.0 to 6.27.0

Release notes

Sourced from react-router-dom's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

... (truncated)

Changelog

Sourced from react-router-dom's changelog.

6.27.0

Minor Changes

  • Stabilize unstable_patchRoutesOnNavigation (#11973)
    • Add new PatchRoutesOnNavigationFunctionArgs type for convenience (#11967)
  • Stabilize unstable_dataStrategy (#11974)
  • Stabilize the unstable_flushSync option for navigations and fetchers (#11989)
  • Stabilize the unstable_viewTransition option for navigations and the corresponding unstable_useViewTransitionState hook (#11989)

Patch Changes

  • Fix bug when submitting to the current contextual route (parent route with an index child) when an ?index param already exists from a prior submission (#12003)

  • Fix useFormAction bug - when removing ?index param it would not keep other non-Remix index params (#12003)

  • Fix types for RouteObject within PatchRoutesOnNavigationFunction's patch method so it doesn't expect agnostic route objects passed to patch (#11967)

  • Updated dependencies:

6.26.2

Patch Changes

6.26.1

Patch Changes

Commits

Updates vite from 5.3.5 to 5.4.9

Release notes

Sourced from vite's releases.

[email protected]

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

5.4.9 (2024-10-14)

5.4.8 (2024-09-25)

5.4.7 (2024-09-20)

5.4.6 (2024-09-16)

5.4.5 (2024-09-13)

5.4.4 (2024-09-11)

5.4.3 (2024-09-03)

... (truncated)

Com...

Description has been truncated

…0 updates

Bumps the minor-and-patch group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) | `2.2.7` | `2.3.0` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `8.23.0` | `8.34.0` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.3.1` | `4.3.2` |
| [axios](https://github.com/axios/axios) | `1.7.3` | `1.7.7` |
| [dayjs](https://github.com/iamkun/dayjs) | `1.11.12` | `1.11.13` |
| [react-datepicker](https://github.com/Hacker0x01/react-datepicker) | `7.3.0` | `7.4.0` |
| [react-dropzone](https://github.com/react-dropzone/react-dropzone) | `14.2.3` | `14.2.9` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `6.26.0` | `6.27.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.5` | `5.4.9` |
| [web-vitals](https://github.com/GoogleChrome/web-vitals) | `4.2.2` | `4.2.3` |



Updates `@reduxjs/toolkit` from 2.2.7 to 2.3.0
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.2.7...v2.3.0)

Updates `@sentry/react` from 8.23.0 to 8.34.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@8.23.0...8.34.0)

Updates `@vitejs/plugin-react` from 4.3.1 to 4.3.2
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.2/packages/plugin-react)

Updates `axios` from 1.7.3 to 1.7.7
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.3...v1.7.7)

Updates `dayjs` from 1.11.12 to 1.11.13
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.13/CHANGELOG.md)
- [Commits](iamkun/dayjs@v1.11.12...v1.11.13)

Updates `react-datepicker` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](Hacker0x01/react-datepicker@v7.3.0...v7.4.0)

Updates `react-dropzone` from 14.2.3 to 14.2.9
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](react-dropzone/react-dropzone@v14.2.3...v14.2.9)

Updates `react-router-dom` from 6.26.0 to 6.27.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/[email protected]/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

Updates `vite` from 5.3.5 to 5.4.9
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.9/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.9/packages/vite)

Updates `web-vitals` from 4.2.2 to 4.2.3
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](GoogleChrome/web-vitals@v4.2.2...v4.2.3)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-datepicker
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: react-dropzone
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 14, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2024

Superseded by #687.

@dependabot dependabot bot closed this Oct 21, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/recette/minor-and-patch-50a2ad2b26 branch October 21, 2024 22:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants