Skip to content

Commit 4679c6d

Browse files
authored
Merge branch 'main' into feat/warn-duplicate-plugins
2 parents 3ff8f76 + e88f146 commit 4679c6d

File tree

910 files changed

+41075
-70474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

910 files changed

+41075
-70474
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(@hey-api/client-fetch)**: fix: narrow `headers` to `Headers` in `ResolvedRequestOptions`

.changeset/mighty-toes-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(@hey-api/client-next)**: fix: narrow `headers` to `Headers` in `ResolvedRequestOptions`

.changeset/odd-plums-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(zod)**: support generating `z.input` and `z.output` types

.changeset/plenty-games-smash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(@hey-api/client-ky)**: fix: narrow `headers` to `Headers` in `ResolvedRequestOptions`

.changeset/shaggy-games-appear.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
"@hey-api/shared": patch
4+
---
5+
6+
**output**: fix: surface postprocess errors

.changeset/small-drinks-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(@hey-api/client-angular)**: fix: narrow `headers` to `Headers` in `ResolvedRequestOptions`

.changeset/tough-swans-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/openapi-ts": patch
3+
---
4+
5+
**plugin(@hey-api/client-ofetch)**: fix: narrow `headers` to `Headers` in `ResolvedRequestOptions`

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
include:
3737
# All Node versions on Ubuntu (fast, catches Node issues)
3838
- os: ubuntu-latest
39-
node-version: '20.19.0'
39+
node-version: '22.13.0'
4040
- os: ubuntu-latest
41-
node-version: '22.12.0'
41+
node-version: '24.14.0'
4242
- os: ubuntu-latest
4343
node-version: ${{ needs.setup.outputs.node-version }}
4444
is-primary: true # Primary runner for examples/previews

.github/workflows/release.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,47 @@ jobs:
4646
private-key: ${{ secrets.GIT_APP_PRIVATE_KEY }}
4747

4848
- name: Create Release Pull Request
49+
id: changesets
4950
uses: changesets/action@v1.7.0
5051
with:
5152
commit: 'ci: release'
53+
createGithubReleases: false
5254
publish: pnpm changeset publish
5355
title: 'ci: release'
54-
version: pnpm changeset version
56+
version: pnpm changelog:version
5557
env:
5658
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
5759
NPM_CONFIG_PROVENANCE: true
5860

61+
- name: Generate Release Tag
62+
if: steps.changesets.outputs.published == 'true'
63+
id: tag
64+
run: echo "tag=$(pnpm -s changelog:release:tag)" >> $GITHUB_OUTPUT
65+
66+
- name: Generate Release Notes
67+
if: steps.changesets.outputs.published == 'true'
68+
id: notes
69+
run: pnpm -s changelog:release:notes > release-notes.md
70+
env:
71+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
72+
73+
- name: Resolve Release Commit
74+
if: steps.changesets.outputs.published == 'true'
75+
id: release-commit
76+
run: |
77+
sha=$(git log --format=%H --grep='^ci: release$' -n 1)
78+
echo "sha=$sha" >> "$GITHUB_OUTPUT"
79+
80+
- name: Create GitHub Release
81+
if: steps.changesets.outputs.published == 'true'
82+
uses: softprops/action-gh-release@v3.0.0
83+
with:
84+
body_path: release-notes.md
85+
generate_release_notes: false
86+
tag_name: ${{ steps.tag.outputs.tag }}
87+
target_commitish: ${{ steps.release-commit.outputs.sha || github.sha }}
88+
token: ${{ steps.app-token.outputs.token }}
89+
5990
- name: Get current branch
6091
run: echo "CURRENT_BRANCH=$(git branch --show-current)" >> $GITHUB_ENV
6192

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ yarn-error.log*
1414
*.iml
1515
dist
1616
coverage
17+
.claude
1718
.env
1819
.venv
1920
.next
@@ -29,6 +30,7 @@ test/generated
2930

3031
# debug files
3132
openapi-ts-debug-*
33+
DEBUG_*
3234
# error files
3335
logs
3436
openapi-ts-error-*

0 commit comments

Comments
 (0)