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

chore(deps): update graphqlcodegenerator monorepo #22

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/cli (source) 5.0.0 -> 5.0.2 age adoption passing confidence
@graphql-codegen/client-preset (source) 4.1.0 -> 4.3.0 age adoption passing confidence

Release Notes

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

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

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

v4.3.0

Compare Source

Minor Changes
  • #​10001 1be6e65 Thanks @​n1ru4l! - Support discriminating null and undefined within the useFragment function.

    function MyComponent(props: FragmentType<typeof MyFragment> | null) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | null`
    }
    
    function MyComponent(props: FragmentType<typeof MyFragment> | undefined) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | undefined`
    }

    Before, the returned type from useFragment was always TType | null | undefined.

  • #​9804 5e594ef Thanks @​rachel-church! - Preserving Array<T> or ReadonlyArray<T> in useFragment() return type.

Patch Changes
  • #​9996 99f449c Thanks @​nahn20! - Added configuration to allow for custom hash functions for persisted documents in the client preset
Example
import { type CodegenConfig } from '@&#8203;graphql-codegen/cli';

const config: CodegenConfig = {
  schema: 'schema.graphql',
  documents: ['src/**/*.tsx'],
  generates: {
    './src/gql/': {
      preset: 'client',
      presetConfig: {
        persistedDocuments: {
          hashAlgorithm: operation => {
            const shasum = crypto.createHash('sha512');
            shasum.update(operation);
            return shasum.digest('hex');
          },
        },
      },
    },
  },
};

v4.2.6

Compare Source

Patch Changes

v4.2.5

Compare Source

Patch Changes

v4.2.4

Compare Source

Patch Changes

v4.2.3

Compare Source

Patch Changes

v4.2.2

Compare Source

Patch Changes

v4.2.1

Compare Source

Patch Changes

v4.2.0

Compare Source

Minor Changes
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 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 2 times, most recently from e65a13e to 1829b10 Compare February 22, 2024 19:46
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 1829b10 to 1c5837a Compare March 27, 2024 11:17
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 1c5837a to f2d5db7 Compare May 17, 2024 11:55
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from f2d5db7 to e90d4dd Compare June 13, 2024 12:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants