PackageTrack

npm · #3899 most downloaded on npm

@graphql-codegen/typescript-operations

6.1.6dotansimha/graphql-code-generator

GraphQL Code Generator plugin for generating TypeScript types for GraphQL queries, mutations, subscriptions and fragments

Release timeline

6537 releases since 2019
20192026

One column per quarter.

Releases

  1. 2.5.11-alpha-20221227201903-17dfbd52827 Dec 2022pre-release

    Nothing published for this version

  2. 2.5.11-alpha-20221227201316-79dba5cb527 Dec 2022pre-release

    Nothing published for this version

  3. 2.5.11-alpha-20221227200823-4fbf1d37727 Dec 2022pre-release

    Nothing published for this version

  4. 2.5.11-alpha-20221227031429-9dfce52de27 Dec 2022pre-release

    Nothing published for this version

  5. 2.5.11-alpha-20221227011142-1cb8a1b2b27 Dec 2022pre-release

    Nothing published for this version

  6. 2.5.11-alpha-20221227010607-d9a0f4d1b27 Dec 2022pre-release

    Nothing published for this version

  7. 2.5.11-alpha-20221227010124-54167362d27 Dec 2022pre-release

    Nothing published for this version

  8. 2.5.11-alpha-20221227001207-7c4324d9c27 Dec 2022pre-release

    Nothing published for this version

  9. 2.5.107 Dec 2022

    Nothing published for this version

  10. 2.5.97 Dec 2022

    Nothing published for this version

  11. 2.5.9-alpha-20221207043812-945e92b017 Dec 2022pre-release

    Nothing published for this version

  12. 2.5.9-alpha-20221207042830-c4b2354fa7 Dec 2022pre-release

    Nothing published for this version

  13. 2.5.9-alpha-20221207042805-8586841997 Dec 2022pre-release

    Nothing published for this version

  14. 2.5.9-alpha-20221207031847-2e87bf7127 Dec 2022pre-release

    Nothing published for this version

  15. 2.5.9-alpha-20221207003532-fd160ed137 Dec 2022pre-release

    Nothing published for this version

  16. 2.5.9-alpha-20221207003525-0685cee6c7 Dec 2022pre-release

    Nothing published for this version

  17. 2.5.9-alpha-20221205220310-cb669ee3d5 Dec 2022pre-release

    Nothing published for this version

  18. 2.5.9-alpha-20221205220247-4e43bbe095 Dec 2022pre-release

    Nothing published for this version

  19. 2.5.9-alpha-20221204000620-a4fab3d3e4 Dec 2022pre-release

    Nothing published for this version

  20. 2.5.9-alpha-20221204000037-6780f0d164 Dec 2022pre-release

    Nothing published for this version

  21. 2.5.9-alpha-20221203221800-40280293a3 Dec 2022pre-release

    Nothing published for this version

  22. 2.5.9-alpha-20221203221720-3bf3c02453 Dec 2022pre-release

    Nothing published for this version

  23. 2.5.9-alpha-20221202232356-840a6f8512 Dec 2022pre-release

    Nothing published for this version

  24. 2.5.81 Dec 2022

    Nothing published for this version

  25. 2.5.715 Nov 2022

    Nothing published for this version

  26. 2.5.61 Nov 2022

    Nothing published for this version

  27. 2.5.6-alpha-20221101110911-a036e7a251 Nov 2022pre-release

    Nothing published for this version

  28. 2.5.6-alpha-20221101104628-80a7100781 Nov 2022pre-release

    Nothing published for this version

  29. 2.5.6-alpha-20221101104558-48d03d7591 Nov 2022pre-release

    Nothing published for this version

  30. 2.5.6-alpha-20221025134913-ec8a36be225 Oct 2022pre-release

    Nothing published for this version

  31. 2.5.6-alpha-20221025131227-aee11a77825 Oct 2022pre-release

    Nothing published for this version

  32. 2.5.520 Oct 2022

    Nothing published for this version

  33. 2.5.5-alpha-20221020101909-1bab1ec3620 Oct 2022pre-release

    Nothing published for this version

  34. 2.5.5-alpha-20221020101303-caea2dc0c20 Oct 2022pre-release

    Nothing published for this version

  35. 2.5.5-alpha-20221018182659-28f8f031b18 Oct 2022pre-release

    Nothing published for this version

  36. 2.5.5-alpha-20221018142557-c954cbbca18 Oct 2022pre-release

    Nothing published for this version

  37. 2.5.5-alpha-20221018132841-d56743e0a18 Oct 2022pre-release

    Nothing published for this version

  38. 2.5.5-alpha-20221018131409-d56743e0a18 Oct 2022pre-release

    Nothing published for this version

  39. 2.5.5-alpha-20221018130723-fc929d4ee18 Oct 2022pre-release

    Nothing published for this version

  40. 2.5.5-alpha-20221018125038-b7cdb92d318 Oct 2022pre-release

    Nothing published for this version

  41. 2.5.5-alpha-20221018123033-99bc320fe18 Oct 2022pre-release

    Nothing published for this version

  42. 2.5.5-alpha-20221018122157-1afce255518 Oct 2022pre-release

    Nothing published for this version

  43. 2.5.411 Oct 2022

    Nothing published for this version

  44. 2.5.4-alpha-20220926231710-4ae61638826 Sept 2022pre-release

    Nothing published for this version

  45. 2.5.38 Aug 2022

    Nothing published for this version

  46. 2.5.3-alpha-d8d060f00.027 Jul 2022pre-release

    Nothing published for this version

  47. 2.5.3-alpha-b4880d326.027 Jul 2022pre-release

    Nothing published for this version

  48. 2.5.3-alpha-ab1d4bbb7.027 Jul 2022pre-release

    Nothing published for this version

  49. 2.5.3-alpha-7e47fba48.027 Jul 2022pre-release

    Nothing published for this version

  50. 2.5.3-alpha-4bdc5953e.027 Jul 2022pre-release

    Nothing published for this version

  51. 2.5.3-alpha-20220805095358-8b7e687d15 Aug 2022pre-release

    Nothing published for this version

  52. 2.5.3-alpha-0814e49cc.027 Jul 2022pre-release

    Nothing published for this version

  53. 2.5.219 Jul 2022
    Release notes

    Patch Changes

    Open source →
  54. 2.5.2-alpha-892ec97e0.014 Jul 2022pre-release

    Nothing published for this version

  55. 2.5.2-alpha-78f7f741b.011 Jul 2022pre-release

    Nothing published for this version

  56. 2.5.2-alpha-33d33bf6b.011 Jul 2022pre-release

    Nothing published for this version

  57. 2.5.2-alpha-1761e9d45.011 Jul 2022pre-release

    Nothing published for this version

  58. 2.5.19 Jul 2022
    Release notes

    Patch Changes

    Open source →
  59. 2.5.1-alpha-ffbef2e95.08 Jul 2022pre-release

    Nothing published for this version

  60. 2.5.08 Jul 2022
    Release notes

    Minor Changes

    • 1b0b00be3: fix(generic-sdk): fix Requester type when rawQuery is true
    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    Open source →
    Additional notes

    Minor Changes

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

      More information on the TypeScript Release Notes.

    • 8e44df58b: 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

    • a4fe5006b: Fix TS type error on strictNullChecks: true

      Fix the compiler error:

      node_modules/@graphql-codegen/plugin-helpers/oldVisit.d.ts:5:75 - error TS2339: Property 'enter' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
      
      5     enter?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['enter']>>;
                                                                                  ~~~~~~~
      
      node_modules/@graphql-codegen/plugin-helpers/oldVisit.d.ts:6:75 - error TS2339: Property 'leave' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
      
      6     leave?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['leave']>>;
                                                                                  ~~~~~~~
      

    Found 2 errors in the same file, starting at: node_modules/@graphql-codegen/plugin-helpers/oldVisit.d.ts:5

    
    Only happens when TS compiler options `strictNullChecks: true` and `skipLibCheck: false`.
    
    `Partial<T>` includes `{}`, therefore `NewVisitor[keyof NewVisitor]` includes `undefined`, and indexing `undefined` is error.
    Eliminate `undefined` by wrapping it inside `NonNullable<...>`.
    
    Related #7519
    
    ## 2.4.2
    
    ### Patch Changes
    
    - a521216d6: broken links within documentation
    
    ## 2.4.1
    
    ### Patch Changes
    
    - cb9adeb96: Cache validation of documents
    
    ## 2.4.0
    
    ### Minor Changes
    
    - 754a33715: Performance Profiler --profile
    
    ## 2.3.2
    
    ### Patch Changes
    
    - 6002feb3d: Fix exports in package.json files for react-native projects
    
    ## 2.3.1
    
    ### Patch Changes
    
    - bcc5636fc: fix wrong dependency version range
    
    ## 2.3.0
    
    ### Minor Changes
    
    - 97ddb487a: feat: GraphQL v16 compatibility
    
    ## 2.2.0
    
    ### Minor Changes
    
    - 7c60e5acc: feat(core): ability to skip some specific validation rules with skipDocumentsValidation option
    
    ## 2.1.1
    
    ### Patch Changes
    
    - 6470e6cc9: fix(plugin-helpers): remove unnecessary import
    - 35199dedf: Fix module not found bug in resolveExternalModuleAndFn
    
    ## 2.1.0
    
    ### Minor Changes
    
    - 39773f59b: enhance(plugins): use getDocumentNodeFromSchema and other utilities from @graphql-tools/utils
    - 440172cfe: support ESM
    
    ### Patch Changes
    
    - 24185985a: bump graphql-tools package versions
    
    ## 2.0.0
    
    ### Major Changes
    
    - b0cb13df4: Update to latest `graphql-tools` and `graphql-config` version.
    
    ‼️ ‼️ ‼️ Please note ‼️ ‼️ ‼️:
    
    This is a breaking change since Node 10 is no longer supported in `graphql-tools`, and also no longer supported for Codegen packages.
    
    ## 1.18.8
    
    ### Patch Changes
    
    - 470336a1: don't require plugins for for config if preset provides plugin. Instead the preset should throw if no plugins were provided.
    
    ## 1.18.7
    
    ### Patch Changes
    
    - dfd25caf: chore(deps): bump graphql-tools versions
    
    ## 1.18.6
    
    ### Patch Changes
    
    - 637338cb: fix: make lifecycle hooks definition a partial
    
    ## 1.18.5
    
    ### Patch Changes
    
    - d9212aa0: fix(visitor-plugin-common): guard for a runtime type error
    
    ## 1.18.4
    
    ### Patch Changes
    
    - 23862e7e: fix(naming-convention): revert and pin change-case-all dependency for workaround #3256
    
    ## 1.18.3
    
    ### Patch Changes
    
    - 29b75b1e: enhance(namingConvention): use change-case-all instead of individual packages for naming convention
    
    ## 1.18.2
    
    ### Patch Changes
    
    - 1183d173: Bump all packages to resolve issues with shared dependencies
    
    ## 1.18.1
    
    ### Patch Changes
    
    - eaf45d1f: fix issue with inline fragment without typeCondition
    
    ## 1.18.0
    
    ### Minor Changes
    
    - 857c603c: Adds the --errors-only flag to the cli to print errors only.
    
    ## 1.17.9
    
    ### Patch Changes
    
    - da8bdd17: Allow hooks to be defined as partial object
    
    ## 1.17.8
    
    ### Patch Changes
    
    - 1d7c6432: Bump all packages to allow "^" in deps and fix compatibility issues
    - 1d7c6432: Bump versions of @graphql-tools/ packages to fix issues with loading schemas and SDL comments
    
    
    Open source →