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

Bump the graphql-codegen group with 7 updates #615

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2023

Bumps the graphql-codegen group with 7 updates:

Package From To
@graphql-codegen/add 3.1.1 5.0.0
@graphql-codegen/cli 2.6.2 5.0.0
@graphql-codegen/introspection 2.1.1 4.0.0
@graphql-codegen/typescript 2.4.11 4.0.1
@graphql-codegen/typescript-graphql-files-modules 2.1.1 3.0.0
@graphql-codegen/typescript-operations 2.4.0 4.0.1
@graphql-codegen/typescript-react-query 3.5.12 5.0.0

Updates @graphql-codegen/add from 3.1.1 to 5.0.0

Release notes

Sourced from @​graphql-codegen/add's releases.

Release 2022-08-04T13:12:01.667Z

@​graphql-codegen/graphql-modules-preset@​2.5.0

Minor Changes

Release 2022-08-04T13:05:23.977Z

No release notes provided.

Release 2022-08-04T13:02:57.827Z

No release notes provided.

@​graphql-codegen/typescript-react-query@​4.0.0

Major Changes

  • 5c7592b4d: Introduces breaking changes to support [email protected]:

    • react query package is now @tanstack/react-query -> import changes
    • introduced a legacyMode flag (false by default)

    /!\ If you are using the 'react-query' package or react-query < 4, please set the legacyMode option to true. /!\

@​graphql-codegen/typescript-urql@​3.6.3

Patch Changes

  • ab66ba104: Add useQuery argument generic type

@​graphql-codegen/typescript-react-query@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-urql@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-vue-apollo@​3.3.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0
Changelog

Sourced from @​graphql-codegen/add's changelog.

5.0.0

Major Changes

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

Patch Changes

3.2.3

Patch Changes

3.2.2

Patch Changes

3.2.1

Patch Changes

... (truncated)

Commits

Updates @graphql-codegen/cli from 2.6.2 to 5.0.0

Release notes

Sourced from @​graphql-codegen/cli's releases.

@​graphql-codegen/cli@​2.11.3

Patch Changes

  • b75ca4b48: Prevent cli from early returning when run init command.

@​graphql-codegen/cli@​2.11.2

Patch Changes

  • 8cd1526c4: chore(deps): update @whatwg-node/fetch to fix vulnerability

@​graphql-codegen/cli@​2.11.1

Patch Changes

  • 20bf4b225: support for path containing "&" characters

@​graphql-codegen/cli@​2.11.0

Minor Changes

  • fd6be805b: feat(cli): add a dry-run mode with --check cli flag

Patch Changes

  • 6a2e328e6: feat(cli): --verbose and --debug flags
  • Updated dependencies [6a2e328e6]
    • @​graphql-codegen/plugin-helpers@​2.6.1

@​graphql-codegen/cli@​2.10.0

Minor Changes

  • 273ad602f: Replace cross-undici-fetch with @​whatwg-node/fetch to fix security vulnerability from undici

Patch Changes

  • cc18923d3: feat(hooks): forward hooks logs to debug logs

@​graphql-codegen/cli@​2.9.1

Patch Changes

  • e2cfc5c36: fix(cli): prevent duplicated error messages on fail (without watcher)
Changelog

Sourced from @​graphql-codegen/cli's changelog.

5.0.0

Major Changes

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

Patch Changes

... (truncated)

Commits

Updates @graphql-codegen/introspection from 2.1.1 to 4.0.0

Release notes

Sourced from @​graphql-codegen/introspection's releases.

@​graphql-codegen/typescript-react-query@​4.0.0

Major Changes

  • 5c7592b4d: Introduces breaking changes to support [email protected]:

    • react query package is now @tanstack/react-query -> import changes
    • introduced a legacyMode flag (false by default)

    /!\ If you are using the 'react-query' package or react-query < 4, please set the legacyMode option to true. /!\

@​graphql-codegen/typescript-urql@​3.6.3

Patch Changes

  • ab66ba104: Add useQuery argument generic type

@​graphql-codegen/typescript-react-query@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-urql@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-vue-apollo@​3.3.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/visitor-plugin-common@​2.12.0

Minor Changes

  • 2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

... (truncated)

Changelog

Sourced from @​graphql-codegen/introspection's changelog.

4.0.0

Major Changes

Patch Changes

3.0.1

Patch Changes

3.0.0

Major Changes

Patch Changes

  • Updated dependencies [fc79b65d4, fd0b0c813]:
    • @​graphql-codegen/visitor-plugin-common@​3.0.0
    • @​graphql-codegen/plugin-helpers@​4.0.0

2.2.3

Patch Changes

2.2.2

Patch Changes

... (truncated)

Commits

Updates @graphql-codegen/typescript from 2.4.11 to 4.0.1

Release notes

Sourced from @​graphql-codegen/typescript's releases.

@​graphql-codegen/typescript-react-query@​4.0.0

Major Changes

  • 5c7592b4d: Introduces breaking changes to support [email protected]:

    • react query package is now @tanstack/react-query -> import changes
    • introduced a legacyMode flag (false by default)

    /!\ If you are using the 'react-query' package or react-query < 4, please set the legacyMode option to true. /!\

@​graphql-codegen/typescript-urql@​3.6.3

Patch Changes

  • ab66ba104: Add useQuery argument generic type

@​graphql-codegen/typescript-react-query@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-urql@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-vue-apollo@​3.3.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-resolvers@​2.7.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0
    • @​graphql-codegen/typescript@​2.7.2

@​graphql-codegen/typescript@​2.7.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

... (truncated)

Changelog

Sourced from @​graphql-codegen/typescript's changelog.

4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @​eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @​graphql-codegen/visitor-plugin-common@​4.0.1

4.0.0

Major Changes

  • #9375 ba84a3a27 Thanks @​eddeee888! - Implement Scalars with input/output types

    In GraphQL, Scalar types can be different for client and server. For example, given the native GraphQL ID:

    • A client may send string or number in the input
    • A client receives string in its selection set (i.e output)
    • A server receives string in the resolver (GraphQL parses string or number received from the client to string)
    • A server may return string or number (GraphQL serializes the value to string before sending it to the client )

    Currently, we represent every Scalar with only one type. This is what codegen generates as base type:

    export type Scalars = {
      ID: string;
    };

    Then, this is used in both input and output type e.g.

    export type Book = {
      __typename?: 'Book';
      id: Scalars['ID']; // Output's ID can be `string` 👍
    };
    export type QueryBookArgs = {
    id: Scalars['ID']; // Input's ID can be string or number. However, the type is only string here 👎
    };

    This PR extends each Scalar to have input and output:

    export type Scalars = {
      ID: {

... (truncated)

Commits
  • a509268 Upcoming Release Changes (#9501)
  • 2276708 Revert default ID scalar input type to string (#9497)
  • 5c7b3b3 Upcoming Release Changes (#9355)
  • e1dc75f Added support for enumSuffix (#9304)
  • 9e8bd9d Fix scalar input/output object bug when given external file or module pattern...
  • ba84a3a Update typescript, typescript-operations and typescript-resolvers plugins Sca...
  • c56724e docs: fix inputMaybeValue config typo (#9386)
  • 3848a2b Add @defer directive support (#9196)
  • 21050ae chore(release): update monorepo packages versions (#9269)
  • 6e3fd38 chore(release): update monorepo packages versions (#9132)
  • Additional commits viewable in compare view

Updates @graphql-codegen/typescript-graphql-files-modules from 2.1.1 to 3.0.0

Changelog

Sourced from @​graphql-codegen/typescript-graphql-files-modules's changelog.

3.0.0

Major Changes

Patch Changes

2.2.1

Patch Changes

  • #8189 b408f8238 Thanks @​n1ru4l! - Fix CommonJS TypeScript resolution with moduleResolution node16 or nodenext

  • Updated dependencies [b408f8238]:

    • @​graphql-codegen/plugin-helpers@​2.6.2

2.2.0

Minor Changes

Patch Changes

  • Updated dependencies [d84afec09]
  • Updated dependencies [a4fe5006b]
  • Updated dependencies [8e44df58b]
    • @​graphql-codegen/plugin-helpers@​2.5.0
Commits

Updates @graphql-codegen/typescript-operations from 2.4.0 to 4.0.1

Release notes

Sourced from @​graphql-codegen/typescript-operations's releases.

@​graphql-codegen/typescript-react-query@​4.0.0

Major Changes

  • 5c7592b4d: Introduces breaking changes to support [email protected]:

    • react query package is now @tanstack/react-query -> import changes
    • introduced a legacyMode flag (false by default)

    /!\ If you are using the 'react-query' package or react-query < 4, please set the legacyMode option to true. /!\

@​graphql-codegen/typescript-urql@​3.6.3

Patch Changes

  • ab66ba104: Add useQuery argument generic type

@​graphql-codegen/typescript-react-query@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-urql@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-vue-apollo@​3.3.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/visitor-plugin-common@​2.12.0

Minor Changes

  • 2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

... (truncated)

Changelog

Sourced from @​graphql-codegen/typescript-operations's changelog.

4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @​eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @​graphql-codegen/visitor-plugin-common@​4.0.1
    • @​graphql-codegen/typescript@​4.0.1

4.0.0

Major Changes

  • #9375 ba84a3a27 Thanks @​eddeee888! - Implement Scalars with input/output types

    In GraphQL, Scalar types can be different for client and server. For example, given the native GraphQL ID:

    • A client may send string or number in the input
    • A client receives string in its selection set (i.e output)
    • A server receives string in the resolver (GraphQL parses string or number received from the client to string)
    • A server may return string or number (GraphQL serializes the value to string before sending it to the client )

    Currently, we represent every Scalar with only one type. This is what codegen generates as base type:

    export type Scalars = {
      ID: string;
    };

    Then, this is used in both input and output type e.g.

    export type Book = {
      __typename?: 'Book';
      id: Scalars['ID']; // Output's ID can be `string` 👍
    };
    export type QueryBookArgs = {
    id: Scalars['ID']; // Input's ID can be string or number. However, the type is only string here 👎
    };

    This PR extends each Scalar to have input and output:

    export type Scalars = {

... (truncated)

Commits

Updates @graphql-codegen/typescript-react-query from 3.5.12 to 5.0.0

Changelog

Sourced from @​graphql-codegen/typescript-react-query's changelog.

5.0.0

Major Changes

Minor Changes

Patch Changes

4.1.0

Minor Changes

  • #25 a70964409 Thanks @​EandrewJones! - Reverts problematic part of PR #8497. That PR fixed an issue with infinite query generated hooks not utilizing pageParamKeys for custom fetchers but in the process introduced a type error. This removes the cause of the type error.

4.0.6

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> ...

Description has been truncated

@dependabot dependabot bot added the dependencies Updating dependencies label Oct 20, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/graphql-codegen-db519f0587 branch 3 times, most recently from 5a45215 to 544131b Compare October 20, 2023 13:02
Bumps the graphql-codegen group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@graphql-codegen/add](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/add) | `3.1.1` | `5.0.0` |
| [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) | `2.6.2` | `5.0.0` |
| [@graphql-codegen/introspection](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/introspection) | `2.1.1` | `4.0.0` |
| [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript) | `2.4.11` | `4.0.1` |
| [@graphql-codegen/typescript-graphql-files-modules](https://github.com/dotansimha/graphql-code-generator-community/tree/HEAD/packages/plugins/typescript/graphql-files-modules) | `2.1.1` | `3.0.0` |
| [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations) | `2.4.0` | `4.0.1` |
| [@graphql-codegen/typescript-react-query](https://github.com/dotansimha/graphql-code-generator-community/tree/HEAD/packages/plugins/typescript/react-query) | `3.5.12` | `5.0.0` |


Updates `@graphql-codegen/add` from 3.1.1 to 5.0.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/other/add/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/other/add)

Updates `@graphql-codegen/cli` from 2.6.2 to 5.0.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/graphql-codegen-cli)

Updates `@graphql-codegen/introspection` from 2.1.1 to 4.0.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/other/introspection/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/other/introspection)

Updates `@graphql-codegen/typescript` from 2.4.11 to 4.0.1
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/typescript/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/typescript)

Updates `@graphql-codegen/typescript-graphql-files-modules` from 2.1.1 to 3.0.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator-community/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator-community/blob/main/packages/plugins/typescript/graphql-files-modules/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator-community/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/graphql-files-modules)

Updates `@graphql-codegen/typescript-operations` from 2.4.0 to 4.0.1
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/operations/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/operations)

Updates `@graphql-codegen/typescript-react-query` from 3.5.12 to 5.0.0
- [Release notes](https://github.com/dotansimha/graphql-code-generator-community/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator-community/blob/main/packages/plugins/typescript/react-query/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator-community/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/react-query)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/add"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/introspection"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/typescript"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/typescript-graphql-files-modules"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/typescript-operations"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
- dependency-name: "@graphql-codegen/typescript-react-query"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: graphql-codegen
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/graphql-codegen-db519f0587 branch from 544131b to db4a4b2 Compare October 20, 2023 13:25
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 27, 2023

Superseded by #638.

@dependabot dependabot bot closed this Oct 27, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/graphql-codegen-db519f0587 branch October 27, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updating dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants