graphql-typed-document-node icon indicating copy to clipboard operation
graphql-typed-document-node copied to clipboard

Update graphqlcodegenerator monorepo

Open renovate[bot] opened this issue 4 years ago • 0 comments
trafficstars

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/cli 2.3.0 -> 2.9.1 age adoption passing confidence
@graphql-codegen/typed-document-node 2.2.0 -> 2.3.2 age adoption passing confidence
@graphql-codegen/typescript 2.4.0 -> 2.7.2 age adoption passing confidence
@graphql-codegen/typescript-operations 2.2.0 -> 2.5.2 age adoption passing confidence

Release Notes

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

v2.9.1

Compare Source

Patch Changes
  • e2cfc5c: fix(cli): prevent duplicated error messages on fail (without watcher)

v2.9.0

Compare Source

Minor Changes
  • 2cbcbb3: 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
  • 32c1560: getPluginByName fails unexpectedly when plugin is not prefixed with @​graphq-codegen in ESM context

    MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist. ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.

  • Updated dependencies [2cbcbb3]

v2.8.1

Compare Source

Patch Changes

v2.8.0

Compare Source

Minor Changes
  • d84afec: Add bin CLI command for running graphql-code-generator in ESM mode. You can now use graphql-codegen-esm instead of graphql-codegen.

    GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.

  • d84afec: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").

    More information on the TypeScript Release Notes.

  • 8e44df5: Add new config option to not exit with non-zero exit code when there are no documents.

    You can use this option in your config:

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

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --ignore-no-documents
    
Patch Changes
  • e7870ac: Fix security vulnerability by removing latest-version dependency.

  • dce40ed: Allow to disable watch mode from CLI to overwrite the config. Now you can do:

    $ graphql-codegen --watch=false
    
  • 2e86ecb: ### Summary

    • Migrate to listr2
    • Remove custom renderer for listr
    • Remove unused dependencies
Why

listr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.

Dev notes

Big change for us is how errors were collected. In listr errors were thrown and were caught in the end function of our custom listr Renderer but with listr2 we don't really get Error in end function always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished.

v2.7.0

Compare Source

Minor Changes
  • e050230: Remove unnecessary browser check
Patch Changes

v2.6.4

Compare Source

Patch Changes
  • 92f7142: Revert "Upgrade latest version"

v2.6.3

Compare Source

Patch Changes
  • c1fe775: Remove unused deps
  • 52b41e9: bump latest-version to patch vuln

v2.6.2

Compare Source

Patch Changes

v2.6.1

Compare Source

Patch Changes

v2.6.0

Compare Source

Minor Changes
  • 35566a0: Use os.cpus to calculate concurrency limit
  • acc62e5: fix(deps): remove unnecessary dotenv main dependency
  • 35566a0: Async File System

v2.5.0

Compare Source

Minor Changes
  • 754a337: Performance Profiler --profile
Patch Changes

v2.4.0

Compare Source

Minor Changes
  • 4c42e2a: Performance optimizations in schema and documents loading (shared promises)

v2.3.1

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/typed-document-node)

v2.3.2

Compare Source

Patch Changes

v2.3.1

Compare Source

Patch Changes

v2.3.0

Compare Source

Minor Changes
  • b029240: Add additionalDI config for add custom dependency injections
Patch Changes

v2.2.14

Compare Source

Patch Changes

v2.2.13

Compare Source

Patch Changes

v2.2.12

Compare Source

Patch Changes

v2.2.11

Compare Source

Patch Changes

v2.2.10

Compare Source

Patch Changes

v2.2.9

Compare Source

Patch Changes

v2.2.8

Compare Source

Patch Changes

v2.2.7

Compare Source

Patch Changes

v2.2.6

Compare Source

Patch Changes

v2.2.5

Compare Source

Patch Changes

v2.2.4

Compare Source

Patch Changes

v2.2.3

Compare Source

Patch Changes

v2.2.2

Compare Source

Patch Changes

v2.2.1

Compare Source

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

v2.7.2

Compare Source

Patch Changes

v2.7.1

Compare Source

Patch Changes

v2.7.0

Compare Source

Minor Changes
Patch Changes

v2.6.0

Compare Source

Minor Changes
Patch Changes

v2.5.1

Compare Source

Patch Changes

v2.5.0

Compare Source

Minor Changes
  • c3d7b72: support the @oneOf directive on input types.
Patch Changes

v2.4.11

Compare Source

Patch Changes

v2.4.10

Compare Source

Patch Changes

v2.4.9

Compare Source

Patch Changes

v2.4.8

Compare Source

Patch Changes

v2.4.7

Compare Source

Patch Changes

v2.4.6

Compare Source

Patch Changes

v2.4.5

Compare Source

Patch Changes

v2.4.4

Compare Source

Patch Changes

v2.4.3

Compare Source

Patch Changes

v2.4.2

Compare Source

Patch Changes

v2.4.1

Compare Source

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

v2.5.2

Compare Source

Patch Changes

v2.5.1

Compare Source

Patch Changes

v2.5.0

Compare Source

Minor Changes
Patch Changes

v2.4.3

Compare Source

Patch Changes

v2.4.2

Compare Source

Patch Changes

v2.4.1

Compare Source

Patch Changes

v2.4.0

Compare Source

Minor Changes
  • f1fb77b: feat: Add option to squash exactly similar fragment types
Patch Changes

v2.3.7

Compare Source

Patch Changes

v2.3.6

Compare Source

Patch Changes

v2.3.5

Compare Source

Patch Changes

v2.3.4

Compare Source

Patch Changes

v2.3.3

Compare Source

Patch Changes

v2.3.2

Compare Source

Patch Changes

v2.3.1

Compare Source

Patch Changes

v2.3.0

Compare Source

Minor Changes
  • 4d413b1: feat: Support including fragments when using flattenGeneratedTypes in typescript-operations

v2.2.4

Compare Source

Patch Changes

v2.2.3

Compare Source

Patch Changes
  • 7649201: Remove redundant mandatory 'undefined' on avoidOptionals=true

v2.2.2

Compare Source

Patch Changes

v2.2.1

[Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/[email protected]...@graphql-codegen/[email protected]


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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Nov 17 '21 13:11 renovate[bot]