Skip to content

Commit e5f1133

Browse files
release: 2.3.2-rc.2 (#235)
* chore: do not install brew dependencies in ./scripts/bootstrap by default * perf: faster formatting * chore(internal): remove deprecated `compilerOptions.baseUrl` from tsconfig.json This allows sdks to be built using tsgo - see microsoft/typescript-go#474 * chore(internal): fix incremental formatting in some cases * chore(internal): codegen related update * chore(internal): ignore .eslintcache * docs(api): updates to API spec * chore: configure new SDK language * feat(api): manual updates * feat(api): manual updates * release: 2.3.2-rc.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 824654f commit e5f1133

File tree

93 files changed

+12001
-79
lines changed

Some content is hidden

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

93 files changed

+12001
-79
lines changed

.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/home/tempuser-2eudnk/run/codegen-output/writerai/writer-typescript/src/resources/tools/comprehend.ts":"1","/home/tempuser-2eudnk/run/codegen-output/writerai/writer-typescript/src/resources/tools/tools.ts":"2","/home/tempuser-2eudnk/run/codegen-output/writerai/writer-typescript/src/resources/translation.ts":"3"},{"size":2779,"mtime":1759270331968},{"size":9476,"mtime":1759270331968},{"size":5973,"mtime":1759270331968}]

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
27+
node-version: '22'
2828

2929
- name: Bootstrap
3030
run: ./scripts/bootstrap
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: '20'
49+
node-version: '22'
5050

5151
- name: Bootstrap
5252
run: ./scripts/bootstrap
@@ -68,6 +68,15 @@ jobs:
6868
AUTH: ${{ steps.github-oidc.outputs.github_token }}
6969
SHA: ${{ github.sha }}
7070
run: ./scripts/utils/upload-artifact.sh
71+
72+
- name: Upload MCP Server tarball
73+
if: github.repository == 'stainless-sdks/writer-typescript'
74+
env:
75+
URL: https://pkg.stainless.com/s?subpackage=mcp-server
76+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
77+
SHA: ${{ github.sha }}
78+
BASE_PATH: packages/mcp-server
79+
run: ./scripts/utils/upload-artifact.sh
7180
test:
7281
timeout-minutes: 10
7382
name: test
@@ -79,10 +88,13 @@ jobs:
7988
- name: Set up Node
8089
uses: actions/setup-node@v4
8190
with:
82-
node-version: '20'
91+
node-version: '22'
8392

8493
- name: Bootstrap
8594
run: ./scripts/bootstrap
8695

96+
- name: Build
97+
run: ./scripts/build
98+
8799
- name: Run tests
88100
run: ./scripts/test

.github/workflows/publish-npm.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
name: Publish NPM
55
on:
66
workflow_dispatch:
7+
inputs:
8+
path:
9+
description: The path to run the release in, e.g. '.' or 'packages/mcp-server'
10+
required: true
711

812
release:
913
types: [published]
@@ -12,6 +16,8 @@ jobs:
1216
publish:
1317
name: publish
1418
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1521

1622
steps:
1723
- uses: actions/checkout@v4
@@ -27,6 +33,18 @@ jobs:
2733
2834
- name: Publish to NPM
2935
run: |
30-
bash ./bin/publish-npm
36+
if [ -n "${{ github.event.inputs.path }}" ]; then
37+
PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]'
38+
else
39+
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
40+
fi
41+
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
3142
env:
3243
NPM_TOKEN: ${{ secrets.WRITER_NPM_TOKEN || secrets.NPM_TOKEN }}
44+
45+
- name: Upload MCP Server DXT GitHub release asset
46+
run: |
47+
gh release upload ${{ github.event.release.tag_name }} \
48+
packages/mcp-server/writer_sdk_api.mcpb
49+
env:
50+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
bash ./bin/check-release-environment
2020
env:
2121
NPM_TOKEN: ${{ secrets.WRITER_NPM_TOKEN || secrets.NPM_TOKEN }}
22+

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10-
10+
.eslintcache
11+
dist-bundle
12+
*.mcpb

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ CHANGELOG.md
44
/deno
55

66
# don't format tsc output, will break source maps
7-
/dist
7+
dist

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.3.2-rc.1"
2+
".": "2.3.2-rc.2"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 33
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-3f87c8deb39e443022f2e04252994a6c9d25473872503edf9eec00d874576b2d.yml
3-
openapi_spec_hash: 5de52bf1d78e00b13a04f6e9ce2f2fb5
4-
config_hash: 7a38bab086b53b43d2a719cb4d883264
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-4ec783072dd7f57c6e021a746df7650fb8d7a164d8ec25c7d5cab06c33bc114f.yml
3+
openapi_spec_hash: ceab065d515f3681b0c33137da308968
4+
config_hash: 089fd5502b9cf91247887b19117f1ca2

CHANGELOG.md

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

3+
## 2.3.2-rc.2 (2025-09-30)
4+
5+
Full Changelog: [v2.3.2-rc.1...v2.3.2-rc.2](https://github.com/writer/writer-node/compare/v2.3.2-rc.1...v2.3.2-rc.2)
6+
7+
### Features
8+
9+
* **api:** manual updates ([be9e40e](https://github.com/writer/writer-node/commit/be9e40e52bf06f0d81c1dde980588eac1938c917))
10+
* **api:** manual updates ([05fefe8](https://github.com/writer/writer-node/commit/05fefe89735eecc1526fa5e222f4cba4526dbd4d))
11+
12+
13+
### Performance Improvements
14+
15+
* faster formatting ([06ae198](https://github.com/writer/writer-node/commit/06ae1987f9a90fa7a0750ec6c8a421fdc1770cd3))
16+
17+
18+
### Chores
19+
20+
* configure new SDK language ([5776514](https://github.com/writer/writer-node/commit/577651468e314de2353490793ff33af711f05d12))
21+
* do not install brew dependencies in ./scripts/bootstrap by default ([b35ef28](https://github.com/writer/writer-node/commit/b35ef28899f8352ed1abc51d8e3e5ee49c2bdc20))
22+
* **internal:** codegen related update ([8a14d99](https://github.com/writer/writer-node/commit/8a14d9927ae79f0d2c863270018fffde73c5ce56))
23+
* **internal:** fix incremental formatting in some cases ([fb5aa47](https://github.com/writer/writer-node/commit/fb5aa47f5cce43a7f850287af5a2f12c4cc275dc))
24+
* **internal:** ignore .eslintcache ([670ff6e](https://github.com/writer/writer-node/commit/670ff6eac2689185a5d39a93e7a3acf0dd06ea6b))
25+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([8c0e44e](https://github.com/writer/writer-node/commit/8c0e44e4d94566b42482c018ad5e1b9507f6ad36))
26+
27+
28+
### Documentation
29+
30+
* **api:** updates to API spec ([de1f80a](https://github.com/writer/writer-node/commit/de1f80acd01ebe31d4c88eb68c307e6ea64374fa))
31+
332
## 2.3.2-rc.1 (2025-09-11)
433

534
Full Changelog: [v2.3.1...v2.3.2-rc.1](https://github.com/writer/writer-node/compare/v2.3.1...v2.3.2-rc.1)

bin/cli

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ const commands = {
88
fn: () => {
99
const result = spawnSync(
1010
'npx',
11-
[
12-
'-y',
13-
'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
14-
'--migrationConfig',
15-
require.resolve('./migration-config.json'),
16-
...process.argv.slice(3),
17-
],
11+
['-y', 'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz', '--migrationConfig', require.resolve('./migration-config.json'), ...process.argv.slice(3)],
1812
{ stdio: 'inherit' },
1913
);
2014
if (result.status !== 0) {
2115
process.exit(result.status);
2216
}
23-
},
24-
},
25-
};
17+
}
18+
}
19+
}
2620

2721
function exitWithHelp() {
2822
console.log(`Usage: writer-sdk <subcommand>`);

0 commit comments

Comments
 (0)