Skip to content

Releases: hey-api/openapi-ts

@hey-api/codegen-core@0.5.1

04 Jan 01:36
720c012

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.90.0

02 Jan 18:18
50c0421

Choose a tag to compare

Minor Changes

The Resolvers API has been simplified and expanded to provide a more consistent behavior across plugins. You can view a few common examples on the Resolvers page.

Structure API

The SDK plugin now implements the Structure API, enabling more complex structures and fixing several known issues.

Some Structure APIs are incompatible with the previous configuration, most notably the methodNameBuilder function, which accepted the operation object as an argument. You can read the SDK Output section to familiarize yourself with the Structure API.

Please open an issue if you're unable to migrate your configuration to the new syntax.

The Resolvers API has been simplified and expanded to provide a more consistent behavior across plugins. You can view a few common examples on the Resolvers page.

Structure API

The Angular plugin now implements the Structure API, enabling more complex structures and fixing several known issues.

Some Structure APIs are incompatible with the previous configuration, most notably the methodNameBuilder function, which accepted the operation object as an argument. You can read the SDK Output section to familiarize yourself with the Structure API.

Please open an issue if you're unable to migrate your configuration to the new syntax.

Patch Changes

Updated Dependencies:

  • @hey-api/codegen-core@0.5.0

@hey-api/codegen-core@0.5.0

02 Jan 18:18
50c0421

Choose a tag to compare

Minor Changes

Patch Changes

@hey-api/openapi-ts@0.89.2

19 Dec 21:06
0c09e6c

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.89.1

18 Dec 23:42
cb32156

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.89.0

11 Dec 12:15
e552086

Choose a tag to compare

Minor Changes

Prefer named exports

This release changes the default for index.ts to prefer named exports. Named exports may lead to better IDE and bundler performance compared to asterisk (*) as your tooling doesn't have to inspect the underlying module to discover exports.

While this change is merely cosmetic, you can set output.preferExportAll to true if you prefer to use the asterisk.

export default {
  input: 'hey-api/backend', // sign up at app.heyapi.dev
  output: {
    path: 'src/client',
    preferExportAll: true,
  },
};

Removed symbol:setValue:* events

These events have been removed in favor of node:set:* events.

Patch Changes

@hey-api/codegen-core@0.4.0

11 Dec 12:15
e552086

Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.88.2

10 Dec 01:50
bde3c66

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.88.1

07 Dec 23:51
f5ffe10

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.88.0

19 Nov 21:48
ac3c026

Choose a tag to compare

Minor Changes

Removed compiler and tsc exports

This release removes the compiler utility functions. Instead, it introduces a new TypeScript DSL exposed under the $ symbol. All plugins now use this interface, so you may notice slight changes in the generated output.