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

build(deps-dev): bump @graphql-codegen/client-preset from 2.0.0 to 3.0.0 #32

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 4, 2023

Bumps @graphql-codegen/client-preset from 2.0.0 to 3.0.0.

Release notes

Sourced from @​graphql-codegen/client-preset'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/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

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --emit-legacy-common-js-imports

Patch Changes

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

@​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

... (truncated)

Changelog

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

3.0.0

Major Changes

  • #9137 2256c8b5d Thanks @​beerose! - Add TypedDocumentNode string alternative that doesn't require GraphQL AST on the client. This change requires @graphql-typed-document-node/core in version 3.2.0 or higher.

Patch Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #8893 a118c307a Thanks @​n1ru4l! - It is no longer mandatory to declare an empty plugins array when using a preset

  • #8723 a3309e63e Thanks @​kazekyo! - Introduce a new feature called DocumentTransform.

    DocumentTransform is a functionality that allows you to modify documents before they are processed by plugins. You can use functions passed to the documentTransforms option to make changes to GraphQL documents.

    To use this feature, you can write documentTransforms as follows:

    import type { CodegenConfig } from '@graphql-codegen/cli';
    const config: CodegenConfig = {
    schema: 'https://localhost:4000/graphql',
    documents: ['src/**/*.tsx'],
    generates: {

... (truncated)

Commits
  • 6e3fd38 chore(release): update monorepo packages versions (#9132)
  • 2256c8b Add TypedDocumentNode string alternative (#9137)
  • b257a05 Add a test case to ensure deduplicated fragments (#9123)
  • 9a65d17 chore(release): update monorepo packages versions (#9054)
  • 9430c38 fix(deps): update dependency @​graphql-typed-document-node/core to v3.1.2 (#9049)
  • a1edaee Upcoming Release Changes (#8909)
  • a3309e6 transform documents hooks (#8723)
  • 6fb5297 feat: Add SWC plugin for optimizing client-preset (#8759)
  • fe2e9c7 fix: use gqlTagName in the autogenerated example (#8995)
  • 6b6fe3c fix: always inline and deduplicate fragment definitions (#8971)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/presets/client)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/client-preset"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 4, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 24, 2023

Superseded by #40.

@dependabot dependabot bot closed this Apr 24, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/graphql-codegen/client-preset-3.0.0 branch April 24, 2023 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants