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
29 changes: 0 additions & 29 deletions .changeset/eighty-suns-fly.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/every-vans-sleep.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/fine-flies-sink.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-client-axios-ts2578.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-snails-strive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-kiwis-travel-2.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-kiwis-travel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-kiwis-call-3.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-things-leave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-beds-travel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-numbers-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-islands-happen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-lions-swim.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/openapi-python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @hey-api/openapi-python

## 0.0.14

### Patch Changes

### Updated Dependencies:

- @hey-api/shared@0.3.0

## 0.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hey-api/openapi-python",
"version": "0.0.13",
"version": "0.0.14",
"private": true,
"description": "🐍 OpenAPI to Python codegen.",
"keywords": [
Expand Down
86 changes: 86 additions & 0 deletions packages/openapi-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,91 @@
# @hey-api/openapi-ts

## 0.95.0

### Minor Changes

- **plugin(valibot)**: remove request data schema ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

### Validator request schemas

Valibot plugin no longer exports composite request `Data` schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with `shouldExtract`:

```js
export default {
input: "hey-api/backend", // sign up at app.heyapi.dev
output: "src/client",
plugins: [
// ...other plugins
{
name: "sdk",
validator: "valibot",
},
{
name: "valibot",
requests: {
shouldExtract: true,
},
},
],
};
```

- **internal**: remove `plugin.getSymbol()` function ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

### Removed `plugin.getSymbol()` function

This function has been removed. You can use `plugin.querySymbol()` instead. It accepts the same arguments and returns the same result.

- **plugin(zod)**: remove request data schema ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

### Validator request schemas

Zod plugin no longer exports composite request `Data` schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with `shouldExtract`:

```js
export default {
input: "hey-api/backend", // sign up at app.heyapi.dev
output: "src/client",
plugins: [
// ...other plugins
{
name: "sdk",
validator: "zod",
},
{
name: "zod",
requests: {
shouldExtract: true,
},
},
],
};
```

### Patch Changes

- **plugin(@hey-api/client-axios)**: fix: improve `beforeRequest` typing ([#3660](https://github.com/hey-api/openapi-ts/pull/3660)) ([`f3f887e`](https://github.com/hey-api/openapi-ts/commit/f3f887e41931f11757ab9f1b90c4d04e0b023b6a)) by [@tomvdv](https://github.com/tomvdv)

- **plugin(zod)**: export request body, path, query, and headers schemas ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

- **plugin(@hey-api/client-ky)**: fix: improve `beforeRequest` typing ([#3660](https://github.com/hey-api/openapi-ts/pull/3660)) ([`d65b5c7`](https://github.com/hey-api/openapi-ts/commit/d65b5c72335592244c833d1b6b95003de60428fe)) by [@tomvdv](https://github.com/tomvdv)

- **plugin(@hey-api/client-next)**: fix: improve `beforeRequest` typing ([#3660](https://github.com/hey-api/openapi-ts/pull/3660)) ([`a4b13d4`](https://github.com/hey-api/openapi-ts/commit/a4b13d456ae5d2b6c66a9ddca84a25a60bc3cc6e)) by [@tomvdv](https://github.com/tomvdv)

- **plugin(@hey-api/client-angular)**: fix: improve `beforeRequest` typing ([#3660](https://github.com/hey-api/openapi-ts/pull/3660)) ([`9ecc562`](https://github.com/hey-api/openapi-ts/commit/9ecc56250de985b372704c5ea80889342ddc4659)) by [@tomvdv](https://github.com/tomvdv)

- **plugin(orpc)**: fix: adjust input shape ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

- **plugin(@hey-api/client-fetch)**: fix: improve `beforeRequest` typing ([#3660](https://github.com/hey-api/openapi-ts/pull/3660)) ([`11be579`](https://github.com/hey-api/openapi-ts/commit/11be579c46d5add69ed733f1f8a33f31794ec6c5)) by [@tomvdv](https://github.com/tomvdv)

- **plugin(valibot)**: export request body, path, query, and headers schemas ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

- **plugin(@hey-api/sdk)**: improve types for SSE events ([#3466](https://github.com/hey-api/openapi-ts/pull/3466)) ([`51ff11a`](https://github.com/hey-api/openapi-ts/commit/51ff11ace8719085868aede8bc45cbf3356ad327)) by [@bilby91](https://github.com/bilby91)

### Updated Dependencies:

- @hey-api/shared@0.3.0

## 0.94.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion 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.94.5",
"version": "0.95.0",
"description": "🌀 OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.",
"keywords": [
"angular",
Expand Down
14 changes: 14 additions & 0 deletions packages/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @hey-api/shared

## 0.3.0

### Minor Changes

- **internal**: remove `plugin.getSymbol()` function ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

### Removed `plugin.getSymbol()` function

This function has been removed. You can use `plugin.querySymbol()` instead. It accepts the same arguments and returns the same result.

### Patch Changes

- **plugins**: add request validator helpers ([#3671](https://github.com/hey-api/openapi-ts/pull/3671)) ([`96f60ad`](https://github.com/hey-api/openapi-ts/commit/96f60adb6af144e39133884e97e74a6693b6c059)) by [@mrlubos](https://github.com/mrlubos)

## 0.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hey-api/shared",
"version": "0.2.6",
"version": "0.3.0",
"description": "Temporary home for cross-package utilities. Contents will migrate to proper packages as architecture stabilizes.",
"homepage": "https://heyapi.dev/",
"bugs": {
Expand Down