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

chore(deps): update all non-major dependencies #451

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@apollo/client (source) 3.10.5 -> 3.12.6 age adoption passing confidence devDependencies minor
@changesets/cli (source) 2.27.5 -> 2.27.11 age adoption passing confidence devDependencies patch
@graphql-codegen/cli (source) 5.0.2 -> 5.0.3 age adoption passing confidence devDependencies patch
@graphql-codegen/client-preset (source) 4.3.0 -> 4.5.1 age adoption passing confidence devDependencies minor
@types/jest (source) 29.5.12 -> 29.5.14 age adoption passing confidence devDependencies patch
@types/node (source) 16.18.98 -> 16.18.124 age adoption passing confidence devDependencies patch
@types/node-fetch (source) 2.6.11 -> 2.6.12 age adoption passing confidence devDependencies patch
eslint (source) 8.57.0 -> 8.57.1 age adoption passing confidence devDependencies patch
graphql 16.8.2 -> 16.10.0 age adoption passing confidence devDependencies minor
loglevel 1.9.1 -> 1.9.2 age adoption passing confidence devDependencies patch
node (source) 20.14.0 -> 20.18.2 age adoption passing confidence volta minor
npm (source) 10.8.1 -> 10.9.2 age adoption passing confidence volta minor
prettier (source) 3.3.2 -> 3.4.2 age adoption passing confidence devDependencies minor
ts-jest (source) 29.1.5 -> 29.2.5 age adoption passing confidence devDependencies minor
typescript (source) 5.4.5 -> 5.7.3 age adoption passing confidence devDependencies minor
undici (source) 5.28.4 -> 5.28.5 age adoption passing confidence devDependencies patch
winston 3.13.0 -> 3.17.0 age adoption passing confidence devDependencies minor
winston-transport 4.7.0 -> 4.9.0 age adoption passing confidence devDependencies minor

Release Notes

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

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 fragment is available to that component. Data masking is best paired with colocated fragments.

    To enable data masking in Apollo Client, set the dataMasking option to true.

    new ApolloClient({
      dataMasking: true,
      // ... other options
    });

    For detailed information on data masking, including how to incrementally adopt it in an existing applications, see the data masking documentation.

  • #​12131 21c3f08 Thanks @​jerelmiller! - Allow null as a valid from value in useFragment.

More Patch Changes

v3.11.10

Compare Source

Patch Changes
  • #​12093 1765668 Thanks @​mgmolisani! - Fixed a bug when evaluating the devtools flag with the new syntax devtools.enabled that could result to true when explicitly set to false.

v3.11.9

Compare Source

Patch Changes
  • #​12110 a3f95c6 Thanks @​jerelmiller! - Fix an issue where errors returned from a fetchMore call from a Suspense hook would cause a Suspense boundary to be shown indefinitely.

v3.11.8

Compare Source

Patch Changes

v3.11.7

Compare Source

Patch Changes
  • #​12052 e471cef Thanks @​jerelmiller! - Fixes a regression from where passing an invalid identifier to from in useFragment would result in the warning TypeError: Cannot read properties of undefined (reading '__typename').

v3.11.6

Compare Source

Patch Changes

v3.11.5

Compare Source

Patch Changes

v3.11.4

Compare Source

Patch Changes
  • #​11994 41b17e5 Thanks @​jerelmiller! - Update the Modifier function type to allow cache.modify to return deeply partial data.

  • #​11989 e609156 Thanks @​phryneas! - Fix a potential crash when calling clearStore while a query was running.

    Previously, calling client.clearStore() while a query was running had one of these results:

    • useQuery would stay in a loading: true state.
    • useLazyQuery would stay in a loading: true state, but also crash with a "Cannot read property 'data' of undefined" error.

    Now, in both cases, the hook will enter an error state with a networkError, and the promise returned by the useLazyQuery execute function will return a result in an error state.

  • #​11994 41b17e5 Thanks @​jerelmiller! - Prevent accidental distribution on cache.modify field modifiers when a field is a union type array.

v3.11.3

Compare Source

Patch Changes
Potentially disruptive change

When calling fetchMore with a query that has a no-cache fetch policy, fetchMore will now throw if an updateQuery function is not provided. This provides a mechanism to merge the results from the fetchMore call with the query's previous result.

v3.11.2

Compare Source

Patch Changes

v3.11.1

Compare Source

Patch Changes
  • #​11969 061cab6 Thanks @​jerelmiller! - Remove check for window.__APOLLO_CLIENT__ when determining whether to connect to Apollo Client Devtools when connectToDevtools or devtools.enabled is not specified. This now simply checks to see if the application is in development mode.

  • #​11971 ecf77f6 Thanks @​jerelmiller! - Prevent the setTimeout for suggesting devtools from running in non-browser environments.

v3.11.0

Compare Source

Potentially Breaking Fixes
  • #​11789 5793301 Thanks @​phryneas! - Changes usages of the GraphQLError type to GraphQLFormattedError.

    This was a type bug - these errors were never GraphQLError instances
    to begin with, and the GraphQLError class has additional properties that can
    never be correctly rehydrated from a GraphQL result.
    The correct type to use here is GraphQLFormattedError.

    Similarly, please ensure to use the type FormattedExecutionResult
    instead of ExecutionResult - the non-"Formatted" versions of these types
    are for use on the server only, but don't get transported over the network.

  • #​11626 228429a Thanks @​phryneas! - Call nextFetchPolicy with "variables-changed" even if there is a fetchPolicy specified.

    Previously this would only be called when the current fetchPolicy was equal to the fetchPolicy option or the option was not specified. If you use nextFetchPolicy as a function, expect to see this function called more often.

    Due to this bug, this also meant that the fetchPolicy might be reset to the initial fetchPolicy, even when you specified a nextFetchPolicy function. If you previously relied on this behavior, you will need to update your nextFetchPolicy callback function to implement this resetting behavior.

    As an example, if your code looked like the following:

    useQuery(QUERY, {
      nextFetchPolicy(currentFetchPolicy, info) {
        // your logic here
      }
    );

    Update your function to the following to reimplement the resetting behavior:

    useQuery(QUERY, {
      nextFetchPolicy(currentFetchPolicy, info) {
        if (info.reason === 'variables-changed') {
          return info.initialFetchPolicy;
        }
        // your logic here
      }
    );
Minor Changes
Patch Changes

v3.10.8

Compare Source

Patch Changes

v3.10.7

Compare Source

Patch Changes

v3.10.6

Compare Source

Patch Changes
changesets/changesets (@​changesets/cli)

v2.27.11

Compare Source

Patch Changes

v2.27.10

Compare Source

v2.27.9

Compare Source

Patch Changes

v2.27.8

Compare Source

v2.27.7

Compare Source

Patch Changes

v2.27.6

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/cli)

v5.0.3

Compare Source

Patch Changes

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 is behind base branch, 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 requested a review from a team as a code owner June 21, 2024 18:32
Copy link

changeset-bot bot commented Jun 21, 2024

⚠️ No Changeset found

Latest commit: 5489606

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

Copy link

codesandbox-ci bot commented Jun 21, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 08fc129 to e8806bd Compare July 1, 2024 10:26
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 4ba69c8 to d5a57fe Compare July 8, 2024 19:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 237ecb7 to 0d6d8cb Compare July 16, 2024 23:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from b8d122f to da0808e Compare July 24, 2024 13:30
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 8fcd1c9 to 30c0f20 Compare August 2, 2024 19:35
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from be87c5f to e90e7ec Compare November 11, 2024 22:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from c01fe09 to bea7ce8 Compare November 26, 2024 13:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 72d6173 to 8be4f4b Compare December 5, 2024 02:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 0863918 to bad8509 Compare December 11, 2024 10:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 4a70b7a to 563924d Compare December 18, 2024 07:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 563924d to 1fd34fc Compare December 19, 2024 23:25
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from f13c590 to cb91929 Compare January 2, 2025 18:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 9e98bfe to 0400da6 Compare January 14, 2025 20:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 9d56e8a to ff47c66 Compare January 16, 2025 12:52
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ff47c66 to 5489606 Compare January 21, 2025 17:20
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