Skip to content

Releases: Code-Hex/graphql-codegen-typescript-validation-schema

v0.16.0

13 Jul 13:54
ab864aa
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency @antfu/eslint-config to v2.21.1 by @renovate in #684
  • fix(deps): update dependency graphql to v16.8.2 by @renovate in #686
  • maintenance: refactor tests for yup and myzod by @MH4GF in #685
  • chore(deps): update dependency eslint to v9.5.0 by @renovate in #688
  • chore(deps): update dependency valibot to v0.32.0 by @renovate in #689
  • fixes 687 by @Code-Hex in #690
  • chore(deps): update dependency ts-jest to v29.1.5 by @renovate in #691
  • chore(deps): update pnpm to v9.4.0 by @renovate in #692
  • chore(deps): update dependency @types/node to v20.14.3 by @renovate in #693
  • chore(deps): update dependency @types/node to v20.14.4 by @renovate in #694
  • chore(deps): update dependency @types/node to v20.14.5 by @renovate in #695
  • chore(deps): update dependency valibot to v0.33.0 by @renovate in #696
  • chore(deps): update dependency valibot to v0.33.1 by @renovate in #697
  • chore(deps): update dependency valibot to v0.33.2 by @renovate in #698
  • chore(deps): update dependency @types/node to v20.14.6 by @renovate in #699
  • chore(deps): update dependency valibot to v0.33.3 by @renovate in #700
  • chore(deps): update dependency typescript to v5.5.2 by @renovate in #701
  • chore(deps): update dependency @types/node to v20.14.7 by @renovate in #702
  • fix(deps): update dependency graphql to v16.9.0 by @renovate in #703
  • chore(deps): update dependency @types/node to v20.14.8 by @renovate in #704
  • chore(deps): update dependency valibot to v0.34.0 by @renovate in #705
  • chore(deps): update dependency valibot to v0.35.0 by @renovate in #706
  • chore(deps): update dependency @types/node to v20.14.9 by @renovate in #707
  • chore(deps): update graphqlcodegenerator monorepo by @renovate in #708
  • chore(deps): update dependency @antfu/eslint-config to v2.21.2 by @renovate in #709
  • chore(deps): update dependency eslint to v9.6.0 by @renovate in #710
  • chore(deps): update dependency @tsconfig/recommended to v1.0.7 by @renovate in #711
  • fix(deps): update dependency @graphql-codegen/schema-ast to v4.1.0 by @renovate in #712
  • fix(deps): update dependency @graphql-tools/utils to v10.2.3 by @renovate in #713
  • chore(deps): update dependency typescript to v5.5.3 by @renovate in #714
  • chore(deps): update graphqlcodegenerator monorepo by @renovate in #715
  • chore(deps): update dependency npm-run-all2 to v6.2.1 by @renovate in #716
  • chore(deps): update dependency npm-run-all2 to v6.2.2 by @renovate in #717
  • fix(deps): update dependency @graphql-tools/utils to v10.3.0 by @renovate in #718
  • chore(deps): update dependency valibot to v0.36.0 by @renovate in #719
  • fix(deps): update dependency @graphql-tools/utils to v10.3.1 by @renovate in #720
  • chore(deps): update dependency @types/node to v20.14.10 by @renovate in #721
  • chore(deps): update dependency @antfu/eslint-config to v2.21.3 by @renovate in #722
  • Moist feat/enum type as default value by @Code-Hex in #723
  • chore(deps): update pnpm to v9.5.0 by @renovate in #724
  • fixed graphql-codegen-esm Cannot use import statement outside a module by @Code-Hex in #725
  • chore(deps): update dependency vitest to v2 by @renovate in #726
  • chore(deps): update dependency vitest to v2.0.1 by @renovate in #727
  • chore(deps): update dependency ts-jest to v29.2.0 by @renovate in #728
  • chore(deps): update dependency @antfu/eslint-config to v2.22.0 by @renovate in #729
  • chore(deps): update dependency ts-jest to v29.2.1 by @renovate in #730
  • chore(deps): update dependency vitest to v2.0.2 by @renovate in #731
  • chore(deps): update dependency ts-jest to v29.2.2 by @renovate in #732
  • chore(deps): update dependency eslint to v9.7.0 by @renovate in #733
  • chore(deps): update dependency @antfu/eslint-config to v2.22.2 by @renovate in #734

Full Changelog: v0.15.0...v0.16.0

valibot support

11 Jun 14:42
15e6f39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.1...v0.15.0

v0.14.1

07 Apr 05:53
70e956a
Compare
Choose a tag to compare

What's Changed

  • added support for URI format in directive config by @Code-Hex in #612

Full Changelog: v0.14.0...v0.14.1

v0.14.0

06 Apr 16:54
190056d
Compare
Choose a tag to compare

Supported interface generation! Thanks @simonljus

What's Changed

Full Changelog: v0.13.0...v0.14.0

v0.13.0

06 Apr 10:52
1c1a379
Compare
Choose a tag to compare

What's Changed

Read more

v0.12.1

09 Dec 11:58
90830bb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.12.1

v0.12.0

13 Aug 16:13
9b9c6a0
Compare
Choose a tag to compare

Supported to generate validation schema for variables 😄

What's Changed

Full Changelog: v0.11.1...v0.12.0

v0.11.1

10 Jun 05:55
5f5c589
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

09 Jun 16:34
623a5bd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

27 May 06:26
f67ff70
Compare
Choose a tag to compare

Required your action for non-this version

If you do not use this version, downgrade to "@graphql-codegen/typescript":"^3.0.0" using yarn or npm.

Required your action for this version

For those who have been using this plugin, the following adjustments will be required with this version.

Before

    config:
      # You can put the config for typescript plugin here
      # see: https://www.graphql-code-generator.com/plugins/typescript
      strictScalars: true
      # You can also write the config for this plugin together
      schema: yup # or zod

After

    config:
      # You can put the config for typescript plugin here
      # see: https://www.graphql-code-generator.com/plugins/typescript
      strictScalars: true
      # Overrides built-in ID scalar to both input and output types as string.
      # see: https://the-guild.dev/graphql/codegen/plugins/typescript/typescript#scalars
      scalars:
        ID: string
      # You can also write the config for this plugin together
      schema: yup # or zod

By doing this, the built-in type ID will use the string type for both input and output, just as it did before.

In this plugin, if a union such as string | number is specified in the scalar, it will generate a validation schema equivalent to validating any type.

See also: #373

What's Changed

Full Changelog: v0.9.0...v0.10.0