这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.84.0

22 Sep 00:58
5d94ef7

Choose a tag to compare

Minor Changes

  • feat: Symbol API

Symbol API

This release improves the Symbol API, which adds the capability to place symbols in arbitrary files. We preserved the previous output structure for all plugins except Angular.

You can preserve the previous Angular output by writing your own placement function.

Removed output plugin option

Due to the Symbol API release, this option has been removed from the Plugin API. (#2664) (e1ede9c) by @mrlubos

Patch Changes

  • fix(plugin): every plugin extends Plugin.Hooks interface (#2664) (e1ede9c) by @mrlubos

  • fix(renderer): group and sort imported modules

TypeScript renderer

We ship a dedicated TypeScript renderer for .ts files. This release improves the renderer's ability to group and sort imported modules, resulting in a more polished output. (#2664) (e1ede9c) by @mrlubos

@hey-api/codegen-core@0.2.0

22 Sep 00:58
5d94ef7

Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.83.1

10 Sep 16:35
91bc2d0

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.83.0

10 Sep 11:55
91b916c

Choose a tag to compare

Minor Changes

  • feat: Symbol API

Symbol API

This release adds the Symbol API, which significantly reduces the risk of naming collisions. While the generated output should only include formatting changes, this feature introduces breaking changes to the Plugin API that affect custom plugins.

We will update the custom plugin guide once the Plugin API becomes more stable. (#2582) (10aea89) by @mrlubos

  • feat(pinia-colada): remove groupByTag option

Removed groupByTag Pinia Colada option

This option has been removed to provide a more consistent API across plugins. We plan to bring it back in a future release. (#2582) (10aea89) by @mrlubos

Patch Changes

Updated Dependencies:

  • @hey-api/codegen-core@0.1.0

@hey-api/codegen-core@0.1.0

10 Sep 11:55
91b916c

Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.82.5

07 Sep 15:45
a17130e

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.82.4

05 Sep 11:48
ec26321

Choose a tag to compare

Patch Changes

@hey-api/nuxt@0.2.1

01 Sep 14:59
a312623

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.82.1

30 Aug 00:30
0bf88fe

Choose a tag to compare

Patch Changes

  • #2541 ad3c633 Thanks @ixnas! - feat(typescript): add typescript-const to enums.mode for generating TypeScript enums as constants

  • #2556 74c16f2 Thanks @carson2222! - fix(parser): prune required array after removing properties

  • #2559 5012a72 Thanks @jgoz! - fix(output): avoid appending .gen to file names multiple times when output.clean is false

@hey-api/openapi-ts@0.82.0

28 Aug 18:30
61e0956

Choose a tag to compare

Minor Changes

  • #2505 97c57f6 Thanks @SebastiaanWouters! - feat(parser): add Hooks API

    Added Hooks API

    This release adds the Hooks API, giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.

    export default {
      input: 'hey-api/backend', // sign up at app.heyapi.dev
      output: 'src/client',
      parser: {
        hooks: {
          operations: {
            isQuery: (op) => (op.method === 'post' ? true : undefined),
          },
        },
      },
    };

Patch Changes