Skip to content

Commit f23749c

Browse files
release: 1.0.0 (#51)
* chore(client): minor internal fixes * chore(perf): faster base64 decoding * chore(ci): add timeout thresholds for CI jobs * chore(internal): codegen related update * chore(ci): only use depot for staging repos * chore(internal): refactor utils * docs(readme): fix typo * chore(internal): codegen related update * chore(internal): share typescript helpers * feat(client): add withOptions helper * chore(client): drop support for EOL node versions * docs: add examples to tsdocs * feat(api): api update * fix(client): always overwrite when merging headers * chore(package): remove engines * feat(api): api update * codegen metadata * release: 1.0.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent a6b6a81 commit f23749c

31 files changed

Lines changed: 553 additions & 571 deletions

.devcontainer/devcontainer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"postCreateCommand": "yarn install",
1010
"customizations": {
1111
"vscode": {
12-
"extensions": [
13-
"esbenp.prettier-vscode"
14-
]
12+
"extensions": ["esbenp.prettier-vscode"]
1513
}
1614
}
1715
}

.github/workflows/ci.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
6-
pull_request:
7-
branches:
8-
- main
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
14-
runs-on: ubuntu-latest
15+
runs-on: ${{ github.repository == 'stainless-sdks/spreadsheet-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1516
steps:
1617
- uses: actions/checkout@v4
1718

1819
- name: Set up Node
1920
uses: actions/setup-node@v4
2021
with:
21-
node-version: '18'
22+
node-version: '20'
2223

2324
- name: Bootstrap
2425
run: ./scripts/bootstrap
@@ -27,8 +28,9 @@ jobs:
2728
run: ./scripts/lint
2829

2930
build:
31+
timeout-minutes: 5
3032
name: build
31-
runs-on: ubuntu-latest
33+
runs-on: ${{ github.repository == 'stainless-sdks/spreadsheet-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3234
permissions:
3335
contents: read
3436
id-token: write
@@ -38,7 +40,7 @@ jobs:
3840
- name: Set up Node
3941
uses: actions/setup-node@v4
4042
with:
41-
node-version: '18'
43+
node-version: '20'
4244

4345
- name: Bootstrap
4446
run: ./scripts/bootstrap
@@ -61,15 +63,16 @@ jobs:
6163
SHA: ${{ github.sha }}
6264
run: ./scripts/utils/upload-artifact.sh
6365
test:
66+
timeout-minutes: 10
6467
name: test
65-
runs-on: ubuntu-latest
68+
runs-on: ${{ github.repository == 'stainless-sdks/spreadsheet-api-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
6669
steps:
6770
- uses: actions/checkout@v4
6871

6972
- name: Set up Node
7073
uses: actions/setup-node@v4
7174
with:
72-
node-version: '18'
75+
node-version: '20'
7376

7477
- name: Bootstrap
7578
run: ./scripts/bootstrap

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18'
22+
node-version: '20'
2323

2424
- name: Install dependencies
2525
run: |

.github/workflows/release-doctor.yml

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

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/grid%2Fspreadsheet-api-81154a75608f9e6eee6e73e9565f7c062e2277a812021713cf1fe70b0516189c.yml
3-
openapi_spec_hash: a84243958fdcbc1d229f8c8b73815908
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/grid%2Fspreadsheet-api-8f089189d87fe061afe62a54cdce6752e1b9597de7fdaa4154412ce2115c7ed4.yml
3+
openapi_spec_hash: 2bff1feefeadafaa3c714059c1ebf682
44
config_hash: 3e61a9566953ce5dbd4bcea7ceb568a3

CHANGELOG.md

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

3+
## 1.0.0 (2025-05-13)
4+
5+
Full Changelog: [v1.0.0-rc.9...v1.0.0](https://github.com/GRID-is/api-sdk-ts/compare/v1.0.0-rc.9...v1.0.0)
6+
7+
### Features
8+
9+
* **api:** api update ([d834425](https://github.com/GRID-is/api-sdk-ts/commit/d834425570e026346310267dd03bab3a6e44f997))
10+
* **api:** api update ([8b73fb6](https://github.com/GRID-is/api-sdk-ts/commit/8b73fb643ac2b279da2ab74ed8453e3d7f706135))
11+
* **client:** add withOptions helper ([826d290](https://github.com/GRID-is/api-sdk-ts/commit/826d290d1c8d2471fdcaa3e8d0b4b42c13727283))
12+
13+
14+
### Bug Fixes
15+
16+
* **client:** always overwrite when merging headers ([7a631e4](https://github.com/GRID-is/api-sdk-ts/commit/7a631e4d9623f4aa003f6f24609078bc1103442c))
17+
18+
19+
### Chores
20+
21+
* **ci:** add timeout thresholds for CI jobs ([d8fc1a4](https://github.com/GRID-is/api-sdk-ts/commit/d8fc1a4cf641d6626357ba9c5141d42d3e52d2e0))
22+
* **ci:** only use depot for staging repos ([a4c649c](https://github.com/GRID-is/api-sdk-ts/commit/a4c649c874ea9130eff6556afce0fe89a87cc22a))
23+
* **client:** drop support for EOL node versions ([a509ad2](https://github.com/GRID-is/api-sdk-ts/commit/a509ad2438b2b2319895a3ed235424ebf9e2c820))
24+
* **client:** minor internal fixes ([2e47260](https://github.com/GRID-is/api-sdk-ts/commit/2e47260d9d3e4e556daec6f623a7fa2490b0f880))
25+
* **internal:** codegen related update ([485efff](https://github.com/GRID-is/api-sdk-ts/commit/485efff03ee7213cb0d2a653e605c3129d0ebbb1))
26+
* **internal:** codegen related update ([7747be3](https://github.com/GRID-is/api-sdk-ts/commit/7747be3b3564af6aa4fce340f6760cd28fe8557a))
27+
* **internal:** refactor utils ([ec57d21](https://github.com/GRID-is/api-sdk-ts/commit/ec57d2112fc5f63c3ed8283194864ee0fd38f0d1))
28+
* **internal:** share typescript helpers ([e21900d](https://github.com/GRID-is/api-sdk-ts/commit/e21900da0bef0e07cd867c6ee706a3e84b86f60a))
29+
* **package:** remove engines ([7dc1db5](https://github.com/GRID-is/api-sdk-ts/commit/7dc1db518861b3cda7682639d81c127366fabb3e))
30+
* **perf:** faster base64 decoding ([76ee06a](https://github.com/GRID-is/api-sdk-ts/commit/76ee06a4d5780e8b7974f90aff9726e06e1a7240))
31+
32+
33+
### Documentation
34+
35+
* add examples to tsdocs ([258efc0](https://github.com/GRID-is/api-sdk-ts/commit/258efc07237dc9af8836358b27a26d9676bffe96))
36+
* **readme:** fix typo ([ff6cb96](https://github.com/GRID-is/api-sdk-ts/commit/ff6cb967df9f929940c619252a56e56a637d347a))
37+
338
## 1.0.0-rc.9 (2025-04-11)
439

540
Full Changelog: [v1.0.0-rc.8...v1.0.0-rc.9](https://github.com/GRID-is/api-sdk-ts/compare/v1.0.0-rc.8...v1.0.0-rc.9)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async function main() {
112112
main();
113113
```
114114

115-
Error codes are as followed:
115+
Error codes are as follows:
116116

117117
| Status Code | Error Type |
118118
| ----------- | -------------------------- |
@@ -440,7 +440,7 @@ TypeScript >= 4.9 is supported.
440440
The following runtimes are supported:
441441

442442
- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
443-
- Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
443+
- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
444444
- Deno v1.28.0 or higher.
445445
- Bun 1.0 or later.
446446
- Cloudflare Workers.

package.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grid-is/api",
3-
"version": "1.0.0-rc.9",
3+
"version": "1.0.0",
44
"description": "The official TypeScript library for the Grid API",
55
"author": "Grid <info@grid.is>",
66
"types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
1717
"test": "./scripts/test",
1818
"build": "./scripts/build",
1919
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
20-
"format": "prettier --write --cache --cache-strategy metadata . !dist",
20+
"format": "./scripts/format",
2121
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
2222
"tsn": "ts-node -r tsconfig-paths/register",
2323
"lint": "./scripts/lint",
@@ -30,9 +30,9 @@
3030
"@swc/jest": "^0.2.29",
3131
"@types/jest": "^29.4.0",
3232
"@types/node": "^20.17.6",
33-
"typescript-eslint": "^8.24.0",
34-
"@typescript-eslint/eslint-plugin": "^8.24.0",
35-
"@typescript-eslint/parser": "^8.24.0",
33+
"typescript-eslint": "8.31.1",
34+
"@typescript-eslint/eslint-plugin": "8.31.1",
35+
"@typescript-eslint/parser": "8.31.1",
3636
"eslint": "^9.20.1",
3737
"eslint-plugin-prettier": "^5.2.3",
3838
"eslint-plugin-unused-imports": "^4.1.4",
@@ -42,17 +42,13 @@
4242
"publint": "^0.2.12",
4343
"ts-jest": "^29.1.0",
4444
"ts-node": "^10.5.0",
45-
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.3/tsc-multi.tgz",
45+
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.4/tsc-multi-1.1.4.tgz",
4646
"tsconfig-paths": "^4.0.0",
47-
"typescript": "^4.8.2"
47+
"typescript": "5.8.3"
4848
},
4949
"resolutions": {
5050
"synckit": "0.8.8"
5151
},
52-
"browser": {
53-
"./internal/shims/getBuiltinModule.mjs": "./internal/shims/nullGetBuiltinModule.mjs",
54-
"./internal/shims/getBuiltinModule.js": "./internal/shims/nullGetBuiltinModule.js"
55-
},
5652
"imports": {
5753
"@grid-is/api": ".",
5854
"@grid-is/api/*": "./src/*"

release-please-config.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,5 @@
6060
}
6161
],
6262
"release-type": "node",
63-
"extra-files": [
64-
"src/version.ts",
65-
"README.md"
66-
]
63+
"extra-files": ["src/version.ts", "README.md"]
6764
}

0 commit comments

Comments
 (0)