Skip to content

Commit b31b1d7

Browse files
authored
Merge pull request #3748 from hey-api/ci/fix-release-notes-contributors
ci: remove app contributors
2 parents 663e270 + 0028041 commit b31b1d7

5 files changed

Lines changed: 309 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,21 @@ jobs:
7070
env:
7171
GH_TOKEN: ${{ steps.app-token.outputs.token }}
7272

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+
7380
- name: Create GitHub Release
7481
if: steps.changesets.outputs.published == 'true'
7582
uses: softprops/action-gh-release@v3.0.0
7683
with:
7784
body_path: release-notes.md
7885
generate_release_notes: false
7986
tag_name: ${{ steps.tag.outputs.tag }}
87+
target_commitish: ${{ steps.release-commit.outputs.sha || github.sha }}
8088
env:
8189
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8290

CHANGELOG.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,128 @@
11
# Changelog
22

3+
# 2026-04-13
4+
5+
## @hey-api/openapi-ts 0.96.0
6+
7+
### ⚠️ Breaking
8+
9+
This release has 1 breaking change. Please review the release notes carefully before upgrading.
10+
11+
### Updates
12+
13+
- **⚠️ Breaking:** This release bumps the minimum required Node version to 22.13. ([#3694](https://github.com/hey-api/openapi-ts/pull/3694))
14+
- cli: improve error message on invalid input ([#3679](https://github.com/hey-api/openapi-ts/pull/3679))
15+
- parser: keep orphans when explicitly included in filters ([#3714](https://github.com/hey-api/openapi-ts/pull/3714))
16+
- parser: process enum metadata ([#3727](https://github.com/hey-api/openapi-ts/pull/3727))
17+
18+
### Plugins
19+
20+
#### @angular/common
21+
22+
- requests and resources broken default configuration ([#3678](https://github.com/hey-api/openapi-ts/pull/3678))
23+
24+
#### @hey-api/client-angular
25+
26+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
27+
28+
#### @hey-api/client-axios
29+
30+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
31+
32+
#### @hey-api/client-fetch
33+
34+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
35+
36+
#### @hey-api/client-ky
37+
38+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
39+
40+
#### @hey-api/client-next
41+
42+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
43+
44+
#### @hey-api/client-nuxt
45+
46+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
47+
48+
#### @hey-api/client-ofetch
49+
50+
- simplify SSE line endings normalization ([#3686](https://github.com/hey-api/openapi-ts/pull/3686))
51+
52+
#### @hey-api/transformers
53+
54+
- return value for primitive array entries ([#3733](https://github.com/hey-api/openapi-ts/pull/3733))
55+
56+
---
57+
58+
## @hey-api/codegen-core 0.8.0
59+
60+
### ⚠️ Breaking
61+
62+
This release has 1 breaking change. Please review the release notes carefully before upgrading.
63+
64+
### Updates
65+
66+
- **⚠️ Breaking:** This release bumps the minimum required Node version to 22.13. ([#3694](https://github.com/hey-api/openapi-ts/pull/3694))
67+
68+
---
69+
70+
## @hey-api/json-schema-ref-parser 1.4.0
71+
72+
### ⚠️ Breaking
73+
74+
This release has 1 breaking change. Please review the release notes carefully before upgrading.
75+
76+
### Updates
77+
78+
- **⚠️ Breaking:** This release bumps the minimum required Node version to 22.13. ([#3694](https://github.com/hey-api/openapi-ts/pull/3694))
79+
- internal: export errors ([#3679](https://github.com/hey-api/openapi-ts/pull/3679))
80+
81+
---
82+
83+
## @hey-api/shared 0.4.0
84+
85+
### ⚠️ Breaking
86+
87+
This release has 1 breaking change. Please review the release notes carefully before upgrading.
88+
89+
### Updates
90+
91+
- **⚠️ Breaking:** This release bumps the minimum required Node version to 22.13. ([#3694](https://github.com/hey-api/openapi-ts/pull/3694))
92+
- parser: keep orphans when explicitly included in filters ([#3714](https://github.com/hey-api/openapi-ts/pull/3714))
93+
- parser: process enum metadata ([#3727](https://github.com/hey-api/openapi-ts/pull/3727))
94+
- error: handle InputError ([#3679](https://github.com/hey-api/openapi-ts/pull/3679))
95+
96+
---
97+
98+
## @hey-api/spec-types 0.2.0
99+
100+
### ⚠️ Breaking
101+
102+
This release has 2 breaking changes. Please review the release notes carefully before upgrading.
103+
104+
### Updates
105+
106+
- **⚠️ Breaking:** remove OpenAPI types from JSON Schema documents ([#3715](https://github.com/hey-api/openapi-ts/pull/3715))
107+
- **⚠️ Breaking:** rename `OpenAPIExtensions` to `SpecExtensions` ([#3715](https://github.com/hey-api/openapi-ts/pull/3715))
108+
- types: add `WithSpecExtensions` type ([#3734](https://github.com/hey-api/openapi-ts/pull/3734))
109+
- openapi: stricter 2.0 version type ([#3715](https://github.com/hey-api/openapi-ts/pull/3715))
110+
- types: use mutable arrays ([#3715](https://github.com/hey-api/openapi-ts/pull/3715))
111+
112+
---
113+
114+
## @hey-api/vite-plugin 0.3.0
115+
116+
### ⚠️ Breaking
117+
118+
This release has 1 breaking change. Please review the release notes carefully before upgrading.
119+
120+
### Updates
121+
122+
- **⚠️ Breaking:** This package is now ESM-only. ([#3688](https://github.com/hey-api/openapi-ts/pull/3688))
123+
124+
---
125+
3126
# 2026-04-02
4127

5128
## @hey-api/openapi-ts 0.95.0

scripts/changelog/contributors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export async function getContributorsFromPullRequests(
2828
if (
2929
github &&
3030
!github.includes('[bot]') &&
31+
!github.startsWith('app/') &&
3132
!AGENT_USERS.has(github) &&
3233
!maintainers.has(github)
3334
) {

scripts/changelog/release-notes.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ function formatReleaseNotes(release: Release, contributors: Array<Contributor>):
4040
const sponsorsBlock = getSponsorsBlock();
4141
if (sponsorsBlock) lines.push(sponsorsBlock);
4242

43+
lines.push('## Contributors', '');
4344
if (contributors.length) {
4445
const sortedContributors = contributors.sort((a, b) => a.github.localeCompare(b.github));
45-
lines.push('## Contributors', '');
4646
const names = sortedContributors.map((c) => `@${c.github}`);
4747
if (names.length === 1) {
4848
lines.push(`Built with contributions from ${names[0]}.`, '');
@@ -52,6 +52,11 @@ function formatReleaseNotes(release: Release, contributors: Array<Contributor>):
5252
const last = names.pop();
5353
lines.push(`Built with contributions from ${names.join(', ')}, and ${last}.`, '');
5454
}
55+
} else {
56+
lines.push(
57+
`Be the first to contribute to the next release! [Browse open issues →](https://github.com/${repo}/issues)`,
58+
'',
59+
);
5560
}
5661

5762
lines.push(`[View full changelog →](https://github.com/${repo}/blob/main/CHANGELOG.md)`, '');

0 commit comments

Comments
 (0)