Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.43.1

05 May 08:34
1c04100
Compare
Choose a tag to compare

Patch Changes

  • fix: use optional chaining in bin catch block (#528)

  • fix: broken encoding (#532)

  • fix(parser): handle type array (#533)

@hey-api/openapi-ts@0.43.0

02 May 10:19
5574bd4
Compare
Choose a tag to compare

Minor Changes

  • feat: remove enum postfix, use typescript enums in types when generated, export enums from types.gen.ts (#498)

Patch Changes

  • fix: negative numbers in numeric enums (#470)

  • fix: escape keys in schemas starting with digit but containing non-digit characters (#502)

  • fix: issue causing code to not generate (t.filter is not a function) (#507)

  • fix: handle additional properties union (#499)

  • fix: do not export inline enums (#508)

  • fix: prefix parameter type exports to avoid conflicts (#501)

  • fix: export operation data and response types (#500)

  • fix: handle cases where packages are installed globally (#471)

  • fix: handle cases where package.json does not exist (#471)

@hey-api/openapi-ts@0.42.1

22 Apr 01:21
93fd1a0
Compare
Choose a tag to compare

Patch Changes

  • fix: properly set formData and body when using options (#461)

@hey-api/openapi-ts@0.42.0

21 Apr 12:52
5c166dd
Compare
Choose a tag to compare

Minor Changes

  • change: config option lint: true has changed to lint: 'eslint' (#455)

  • change: disable formatting with prettier by default (#457)

  • feat: add support for biomejs as a formatter (#455)

  • feat: move operationId config option to services object (#441)

  • feat: add operation error type mappings (#442)

  • feat: add support for biomejs as a linter (#455)

  • change: config option format: true has changed to format: 'prettier' (#455)

Patch Changes

  • fix: do not destructure data when using use options (#450)

  • feat: automatically handle dates in query string (#443)

  • fix: only remove core directory when export core is true (#449)

  • fix: add jsdoc comments with use options (#439)

@hey-api/openapi-ts@0.41.0

19 Apr 03:12
7ace2ec
Compare
Choose a tag to compare

Minor Changes

  • feat: add form type option for schemas (#433)

  • feat: replace useDateType with option in types object (#435)

  • feat: replace serviceResponse with option in services object (#434)

  • feat: replace postfixServices with configuration object (#430)

Patch Changes

  • fix: properly escape backticks in template literals (#431)

  • fix: transform names of referenced types (#422)

  • fix: use config interceptors passed to constructor when using named client (#432)

  • fix: properly escape expressions in template literals (#431)

  • fix: do not export common properties as schemas (#424)

@hey-api/openapi-ts@0.40.2

18 Apr 11:19
ad0a615
Compare
Choose a tag to compare

Patch Changes

  • fix: unhandled SyntaxKind unknown when specification has numeric enums (#417)

@hey-api/openapi-ts@0.40.1

18 Apr 03:44
fa40f51
Compare
Choose a tag to compare

Patch Changes

  • fix: revert to generating commonjs for esm and commonjs support (#409)

@hey-api/openapi-ts@0.40.0

17 Apr 02:29
167bb75
Compare
Choose a tag to compare

Minor Changes

  • feat: allow choosing naming convention for types (#402)

Patch Changes

  • fix: rename exportModels to types (#402)

  • fix: rename models.gen.ts to types.gen.ts (#399)

  • fix: export enums from index.ts (#399)

@hey-api/openapi-ts@0.39.0

16 Apr 05:46
d0cc1a3
Compare
Choose a tag to compare

Minor Changes

  • feat: rename generated files (#363)

  • feat: add JSON-LD to content parsing (#390)

  • fix: generate enums into their own file (#358)

Patch Changes

  • fix: remove file if no contents to write to it (#373)

  • fix: eslint properly fixes output (#375)

  • fix: invalid typescript Record generated with circular dependencies (#374)

  • fix: prefer unknown type over any (#392)

  • fix: only delete generated files instead of whole output directory (#362)

  • fix: handle decoding models with % in description (#360)

  • fix: throw error when typescript is missing (#366)

@hey-api/openapi-ts@0.38.1

11 Apr 13:30
c96c3ec
Compare
Choose a tag to compare

Patch Changes

  • fix: inconsistent indentation in models file when not using format: true (#349)

  • fix: output path no longer required to be within cwd (#353)