Skip to content
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

fix(deps): update all minor, or patch dependencies on npm #468

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 20, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.7.17 -> 3.13.1 age adoption passing confidence
@auth0/auth0-react 2.2.0 -> 2.3.0 age adoption passing confidence
@graphql-codegen/client-preset (source) 4.0.1 -> 4.6.3 age adoption passing confidence
@reduxjs/toolkit (source) 1.9.5 -> 1.9.7 age adoption passing confidence
@rtk-query/codegen-openapi (source) 1.0.0 -> 1.2.0 age adoption passing confidence
@sentry/nextjs (source) 7.60.0 -> 7.120.3 age adoption passing confidence
@testing-library/react 14.0.0 -> 14.3.1 age adoption passing confidence
@testing-library/user-event 14.4.3 -> 14.6.1 age adoption passing confidence
@types/actioncable (source) 5.2.7 -> 5.2.11 age adoption passing confidence
@​types/axios 0.14.0 -> 0.14.4 age adoption passing confidence
@types/jest (source) 29.5.3 -> 29.5.14 age adoption passing confidence
@types/linkifyjs (source) 2.1.4 -> 2.1.7 age adoption passing confidence
@types/node (source) 18.17.0 -> 18.19.76 age adoption passing confidence
@types/react (source) 18.2.15 -> 18.3.18 age adoption passing confidence
@types/react-dom (source) 18.2.7 -> 18.3.5 age adoption passing confidence
@types/react-gtm-module (source) 2.0.1 -> 2.0.4 age adoption passing confidence
@types/react-slick (source) 0.23.10 -> 0.23.13 age adoption passing confidence
@types/react-test-renderer (source) 18.0.0 -> 18.3.1 age adoption passing confidence
@types/styled-components (source) 5.1.26 -> 5.1.34 age adoption passing confidence
@types/video.js (source) 7.3.52 -> 7.3.58 age adoption passing confidence
axios (source) 1.4.0 -> 1.7.9 age adoption passing confidence
babel-preset-react-app (source, changelog) 10.0.1 -> 10.1.0 age adoption passing confidence
cross-fetch 3.1.8 -> 3.2.0 age adoption passing confidence
dayjs (source) 1.11.9 -> 1.11.13 age adoption passing confidence
eslint (source) 8.45.0 -> 8.57.1 age adoption passing confidence
eslint-config-prettier 8.8.0 -> 8.10.0 age adoption passing confidence
eslint-plugin-react 7.33.0 -> 7.37.4 age adoption passing confidence
eslint-plugin-react-hooks (source) 4.6.0 -> 4.6.2 age adoption passing confidence
graphql 16.7.1 -> 16.10.0 age adoption passing confidence
jest (source) 29.6.1 -> 29.7.0 age adoption passing confidence
jest-environment-jsdom (source) 29.6.1 -> 29.7.0 age adoption passing confidence
linkify-react (source) 4.1.1 -> 4.2.0 age adoption passing confidence
linkifyjs (source) 4.1.1 -> 4.2.0 age adoption passing confidence
msw (source) 1.2.3 -> 1.3.5 age adoption passing confidence
next (source) 13.4.12 -> 13.5.8 age adoption passing confidence
notistack (source) 3.0.1 -> 3.0.2 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-hook-form (source) 7.45.2 -> 7.54.2 age adoption passing confidence
react-redux 8.1.1 -> 8.1.3 age adoption passing confidence
react-router-dom (source) 6.14.2 -> 6.29.0 age adoption passing confidence
react-slick (source) ^0.29.0 -> ^0.30.0 age adoption passing confidence
react-test-renderer (source) 18.2.0 -> 18.3.1 age adoption passing confidence
ts-jest (source) 29.1.1 -> 29.2.5 age adoption passing confidence
ts-node (source) 10.9.1 -> 10.9.2 age adoption passing confidence
typescript (source) 5.1.6 -> 5.7.3 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client)

v3.13.1

Compare Source

Patch Changes

v3.13.0

Compare Source

Minor Changes
  • #​12066 c01da5d Thanks @​jerelmiller! - Adds a new useSuspenseFragment hook.

    useSuspenseFragment suspends until data is complete. It is a drop-in replacement for useFragment when you prefer to use Suspense to control the loading state of a fragment. See the documentation for more details.

  • #​12174 ba5cc33 Thanks @​jerelmiller! - Ensure errors thrown in the onCompleted callback from useMutation don't call onError.

  • #​12340 716d02e Thanks @​phryneas! - Deprecate the onCompleted and onError callbacks of useQuery and useLazyQuery.
    For more context, please see the related issue on GitHub.

  • #​12276 670f112 Thanks @​Cellule! - Provide a more type-safe option for the previous data value passed to observableQuery.updateQuery. Using it could result in crashes at runtime as this callback could be called with partial data even though its type reported the value as a complete result.

    The updateQuery callback function is now called with a new type-safe previousData property and a new complete property in the 2nd argument that determines whether previousData is a complete or partial result.

    As a result of this change, it is recommended to use the previousData property passed to the 2nd argument of the callback rather than using the previous data value from the first argument since that value is not type-safe. The first argument is now deprecated and will be removed in a future version of Apollo Client.

    observableQuery.updateQuery(
      (unsafePreviousData, { previousData, complete }) => {
        previousData;
        // ^? TData | DeepPartial<TData> | undefined
    
        if (complete) {
          previousData;
          // ^? TData
        } else {
          previousData;
          // ^? DeepPartial<TData> | undefined
        }
      }
    );
  • #​12174 ba5cc33 Thanks @​jerelmiller! - Reject the mutation promise if errors are thrown in the onCompleted callback of useMutation.

Patch Changes
  • #​12276 670f112 Thanks @​Cellule! - Fix the return type of the updateQuery function to allow for undefined. updateQuery had the ability to bail out of the update by returning a falsey value, but the return type enforced a query value.

    observableQuery.updateQuery(
      (unsafePreviousData, { previousData, complete }) => {
        if (!complete) {
          // Bail out of the update by returning early
          return;
        }
    
        // ...
      }
    );
  • #​12296 2422df2 Thanks @​Cellule! - Deprecate option ignoreResults in useMutation.
    Once this option is removed, existing code still using it might see increase in re-renders.
    If you don't want to synchronize your component state with the mutation, please use useApolloClient to get your ApolloClient instance and call client.mutate directly.

  • #​12338 67c16c9 Thanks @​phryneas! - In case of a multipart response (e.g. with @defer), query deduplication will
    now keep going until the final chunk has been received.

  • #​12276 670f112 Thanks @​Cellule! - Fix the type of the variables property passed as the 2nd argument to the subscribeToMore callback. This was previously reported as the variables type for the subscription itself, but is now properly typed as the query variables.

v3.12.11

Compare Source

Patch Changes
  • #​12351 3da908b Thanks @​jerelmiller! - Fixes an issue where the wrong networkStatus and loading value was emitted from observableQuery when calling fetchMore with a no-cache fetch policy. The networkStatus now properly reports as ready and loading as false after the result is returned.

  • #​12354 a24ef94 Thanks @​phryneas! - Fix missing main.d.cts file

v3.12.10

Compare Source

Patch Changes

v3.12.9

Compare Source

Patch Changes

v3.12.8

Compare Source

Patch Changes

v3.12.7

Compare Source

Patch Changes

v3.12.6

Compare Source

Patch Changes

v3.12.5

Compare Source

Patch Changes
  • #​12252 cb9cd4e Thanks @​jerelmiller! - Changes the default behavior of the MaybeMasked type to preserve types unless otherwise specified. This change makes it easier to upgrade from older versions of the client where types could have unexpectedly changed in the application due to the default of trying to unwrap types into unmasked types. This change also fixes the compilation performance regression experienced when simply upgrading the client since types are now preserved by default.

    A new mode option has now been introduced to allow for the old behavior. See the next section on migrating if you wish to maintain the old default behavior after upgrading to this version.

Migrating from <= v3.12.4

If you've adopted data masking and have opted in to using masked types by setting the enabled property to true, you can remove this configuration entirely:

-declare module "@&#8203;apollo/client" {
-  interface DataMasking {
-    mode: "unmask"
-  }
-}

If you prefer to specify the behavior explicitly, change the property from enabled: true, to mode: "preserveTypes":

declare module "@&#8203;apollo/client" {
  interface DataMasking {
-    enabled: true
+    mode: "preserveTypes"
  }
}

If you rely on the default behavior in 3.12.4 or below and would like to continue to use unmasked types by default, set the mode to unmask:

declare module "@&#8203;apollo/client" {
  interface DataMasking {
    mode: "unmask";
  }
}

v3.12.4

Compare Source

Patch Changes
  • #​12236 4334d30 Thanks @​charpeni! - Fix an issue with refetchQueries where comparing DocumentNodes internally by references could lead to an unknown query, even though the DocumentNode was indeed an active query—with a different reference.

v3.12.3

Compare Source

Patch Changes

v3.12.2

Compare Source

Patch Changes

v3.12.1

Compare Source

Patch Changes

v3.12.0

Compare Source

Minor Changes
Data masking 🎭
  • #​12042 1c0ecbf Thanks @​jerelmiller! - Introduces data masking in Apollo Client.

    Data masking enforces that only the fields requested by the query or


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 renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 9 times, most recently from 780628d to 8c57874 Compare October 26, 2023 23:00
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 8 times, most recently from 6742df2 to f88807f Compare November 2, 2023 19:21
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 12 times, most recently from 3ca1b27 to cb8ba35 Compare November 8, 2023 07:08
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 5 times, most recently from 2ba2e81 to 9092cc3 Compare January 13, 2025 09:15
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 5 times, most recently from 9a8547b to aed26a5 Compare January 19, 2025 08:14
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 4 times, most recently from 224b8e6 to 21562e1 Compare January 27, 2025 18:24
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 6 times, most recently from ffe537a to 7e574cd Compare February 4, 2025 00:42
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 4 times, most recently from dae1607 to c609fc6 Compare February 11, 2025 06:47
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch 4 times, most recently from 43459b8 to 8929fb5 Compare February 16, 2025 08:06
@renovate renovate bot force-pushed the renovate/all-minor-or-patch-dependencies-on-npm branch from 8929fb5 to 0664643 Compare February 19, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants