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 graphqlcodegenerator monorepo #474

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/client-preset (source) 4.2.2 -> 4.3.2 age adoption passing confidence
@graphql-codegen/introspection (source) 4.0.2 -> 4.0.3 age adoption passing confidence
@graphql-codegen/typescript (source) 4.0.4 -> 4.0.9 age adoption passing confidence
@graphql-codegen/typescript-operations (source) 4.1.2 -> 4.2.3 age adoption passing confidence

Release Notes

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

v4.3.2

Compare Source

Patch Changes

v4.3.1

Compare Source

Patch Changes

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
dotansimha/graphql-code-generator (@​graphql-codegen/introspection)

v4.0.3

Compare Source

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

v4.0.9

Compare Source

Patch Changes

v4.0.8

Compare Source

Patch Changes

v4.0.7

Compare Source

Patch Changes

v4.0.6

Compare Source

Patch Changes

v4.0.5

Compare Source

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

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

v4.1.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 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/graphqlcodegenerator-monorepo branch 3 times, most recently from cc4ac2c to 3c5c8fb Compare July 15, 2024 15:34
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 12 times, most recently from 545da04 to 0a78754 Compare July 24, 2024 11:41
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch 3 times, most recently from 28c0301 to 5bfe568 Compare July 24, 2024 15:50
* chore(main): release 0.15.0

* chore: Bump version to 0.15.0
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 5bfe568 to 49804d4 Compare July 24, 2024 15:59
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from 49804d4 to d1b7a44 Compare July 24, 2024 16:10
@folex folex force-pushed the main branch 2 times, most recently from 742150d to c661a2e Compare July 24, 2024 16:51
@renovate renovate bot force-pushed the renovate/graphqlcodegenerator-monorepo branch from d1b7a44 to aa173b7 Compare July 24, 2024 16:52
@folex folex closed this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants