这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-rocks-remain.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/eleven-beans-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-zod-union-deduplication.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-spiders-build.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/healthy-experts-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-kangaroos-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/selfish-hornets-beg.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/two-buses-dance.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/codegen-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @hey-api/codegen-core

## 0.2.0

### Minor Changes

- feat: Symbol API ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/codegen-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hey-api/codegen-core",
"version": "0.1.0",
"version": "0.2.0",
"description": "🧱 TypeScript framework for generating structured, multi-file source code from abstract syntax trees.",
"homepage": "https://heyapi.dev/",
"repository": {
Expand Down
66 changes: 65 additions & 1 deletion packages/openapi-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
# @hey-api/openapi-ts

## 0.84.0

### 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](https://heyapi.dev/openapi-ts/configuration/parser#hooks-symbols).

### Removed `output` plugin option

Due to the Symbol API release, this option has been removed from the Plugin API. ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)

### Patch Changes

- fix(plugin): every plugin extends Plugin.Hooks interface ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/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](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)

- fix(parser): expand schema deduplication by including validation constraints in type ID ([#2650](https://github.com/hey-api/openapi-ts/pull/2650)) ([`31b3933`](https://github.com/hey-api/openapi-ts/commit/31b3933b2caa1085dbead1ef94695bca4b83d6ac)) by [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)

- fix(parser): bump support for OpenAPI 3.1.2 ([#2667](https://github.com/hey-api/openapi-ts/pull/2667)) ([`3511fb8`](https://github.com/hey-api/openapi-ts/commit/3511fb88cbe6b767b631af16336cb6c0722c3ff8)) by [@mrlubos](https://github.com/mrlubos)

- fix(config): add `output.fileName` option

## File Name

You can customize the naming and casing pattern for files using the `fileName` option.

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

By default, we append every file name with a `.gen` suffix to highlight it's automatically generated. You can customize or disable this suffix using the `fileName.suffix` option.

````js
export default {
input: 'hey-api/backend', // sign up at app.heyapi.dev
output: {
fileName: {
suffix: '.gen',
},
path: 'src/client',
},
};
``` ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)

- fix(axios): remove duplicate `baseURL` when using relative values ([#2624](https://github.com/hey-api/openapi-ts/pull/2624)) ([`8ffceec`](https://github.com/hey-api/openapi-ts/commit/8ffceec89fe471d4e14df17a172f3d5a254eb819)) by [@Ben-Pfirsich](https://github.com/Ben-Pfirsich)
### Updated Dependencies:
- @hey-api/codegen-core@0.2.0

## 0.83.1

### Patch Changes
Expand Down Expand Up @@ -104,7 +168,7 @@ This option has been removed to provide a more consistent API across plugins. We
},
},
};
```
````

### Patch Changes

Expand Down
4 changes: 2 additions & 2 deletions packages/openapi-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hey-api/openapi-ts",
"version": "0.83.1",
"version": "0.84.0",
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
"homepage": "https://heyapi.dev/",
"repository": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"node": "^18.18.0 || ^20.9.0 || >=22.10.0"
},
"dependencies": {
"@hey-api/codegen-core": "workspace:^0.1.0",
"@hey-api/codegen-core": "workspace:^0.2.0",
"@hey-api/json-schema-ref-parser": "1.1.0",
"ansi-colors": "4.1.3",
"c12": "2.0.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.