Skip to content

Commit 7f3334b

Browse files
stainless-app[bot]dgelloweasyCZ
authored
release: 0.7.0 (#73)
* chore(client): refactor imports * feat(client): add support for endpoint-specific base URLs * chore(ci): enable for pull requests * chore(readme): update badges * chore(readme): use better example snippet for undocumented params * fix(client): explicitly copy fetch in withOptions * refactor(types): replace Record with mapped types * fix(ci): release-doctor — report correct token name * fix(client): get fetchOptions type more reliably * chore(ci): only run for pushes and fork pull requests * chore(client): improve path param validation * chore: add docs to RequestOptions type * chore: make some internal functions async * chore(ts): reorder package.json imports * chore(internal): remove redundant imports config * chore(internal): move publish config * chore: update @stainless-api/prism-cli to v5.15.0 * chore(internal): update comment in script * feat(api): gitpod -> ona * codegen metadata * chore: ci build action * fix: coerce nullable values to undefined * codegen metadata * 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 * chore(jsdoc): fix @link annotations to refer only to parts of the package‘s public interface * chore(internal): use npm pack for build uploads * chore(client): fix logger property type * chore(internal): upgrade eslint * fix(mcp): return correct lines on typescript errors * npm: publish with trusted publisher * chore(internal): codegen related update * fix(mcp): correct code tool API endpoint * chore(internal): codegen related update * release: 0.7.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Sam El-Borai <[email protected]> Co-authored-by: Milan Pavlik <[email protected]>
1 parent 9108950 commit 7f3334b

Some content is hidden

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

67 files changed

+751
-335
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77
- 'integrated/**'
88
- 'stl-preview-head/**'
99
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
1014

1115
jobs:
1216
lint:
1317
timeout-minutes: 10
1418
name: lint
1519
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
1621
steps:
1722
- uses: actions/checkout@v4
1823

@@ -31,6 +36,7 @@ jobs:
3136
timeout-minutes: 5
3237
name: build
3338
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3440
permissions:
3541
contents: read
3642
id-token: write
@@ -66,6 +72,7 @@ jobs:
6672
timeout-minutes: 10
6773
name: test
6874
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
75+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
6976
steps:
7077
- uses: actions/checkout@v4
7178

.github/workflows/publish-npm.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@ jobs:
1212
publish:
1313
name: publish
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
id-token: write
1518

1619
steps:
1720
- uses: actions/checkout@v4
1821

1922
- name: Set up Node
20-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2124
with:
2225
node-version: '20'
26+
registry-url: 'https://registry.npmjs.org'
2327

2428
- name: Install dependencies
2529
run: |
@@ -28,5 +32,3 @@ jobs:
2832
- name: Publish to NPM
2933
run: |
3034
bash ./bin/publish-npm
31-
env:
32-
NPM_TOKEN: ${{ secrets.GITPOD_NPM_TOKEN || secrets.NPM_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.GITPOD_NPM_TOKEN || secrets.NPM_TOKEN }}
22+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.eslintcache
1011

.release-please-manifest.json

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

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 119
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ca9a49ac7fbb63f55611fd7cd48a22a3ff8b38a797125c8513e891d9b7345550.yml
33
openapi_spec_hash: fd6ffbdfaefcc555e61ca1c565e05214
4-
config_hash: bb9d0a0bdadbee0985dd7c1e4f0e9e8a
4+
config_hash: 7fb76543ceafd4a116473f647f8d63b1

CHANGELOG.md

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

3+
## 0.7.0 (2025-12-09)
4+
5+
Full Changelog: [v0.6.1...v0.7.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.6.1...v0.7.0)
6+
7+
### Features
8+
9+
* **api:** gitpod -&gt; ona ([7dd2c73](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/7dd2c736dca78fd6e3ae53f7e0f4c38c1d3e8d51))
10+
* **client:** add support for endpoint-specific base URLs ([58af560](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/58af5608bf0d0d76c9dd265a490d783d030c8a1b))
11+
12+
13+
### Bug Fixes
14+
15+
* **ci:** release-doctor — report correct token name ([79e4102](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/79e410295dc2458cd03350be63599471fc824b9d))
16+
* **client:** explicitly copy fetch in withOptions ([a1b72c1](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/a1b72c1c69aa05aa06e044a90a44d7916b680561))
17+
* **client:** get fetchOptions type more reliably ([ba531a3](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/ba531a3e666c9d4537b81ec68de4075d12f13d01))
18+
* coerce nullable values to undefined ([ffdccb0](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/ffdccb0e49830a82590c56a6d7f3a6bacbd8fa3f))
19+
* **mcp:** correct code tool API endpoint ([3241e0a](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/3241e0a1f56ba7df24cb526bd98351bf176c9b88))
20+
* **mcp:** return correct lines on typescript errors ([4b60eca](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/4b60eca50967c00d9f338a11d692dc6ebffd6b01))
21+
22+
23+
### Performance Improvements
24+
25+
* faster formatting ([0bcf5a5](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/0bcf5a56589d7394d44fd36616b3849f7d775404))
26+
27+
28+
### Chores
29+
30+
* add docs to RequestOptions type ([8c480ed](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/8c480ede43e6e1a6cc37ab844e4934831478a5e0))
31+
* ci build action ([f6572f1](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/f6572f1fc89db0e5e02d271e49cff571cf6b3c60))
32+
* **ci:** enable for pull requests ([eac032a](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/eac032a15b4c7a929096cea573bf3c8290021f84))
33+
* **ci:** only run for pushes and fork pull requests ([94a8575](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/94a857551f39d1e2828c253e250b0fb95effa5bb))
34+
* **client:** fix logger property type ([71b844a](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/71b844a4b2b13df332b3e2ce9ddc6c825abeb22e))
35+
* **client:** improve path param validation ([79ac088](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/79ac088c67fd2c9d476f0ce0f279985d6df25f4e))
36+
* **client:** refactor imports ([44c7836](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/44c7836e0e2cd7f4ec4ae8ac9d34342c5c66a4bd))
37+
* do not install brew dependencies in ./scripts/bootstrap by default ([d12db33](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/d12db33eb3a4911c3bb45233590005b21efb7e1c))
38+
* **internal:** codegen related update ([3f4e8d1](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/3f4e8d16cb0818903865e6d40605f6982110a20f))
39+
* **internal:** codegen related update ([57886a7](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/57886a747a3af50684003d2e40184ffc0de3c65e))
40+
* **internal:** codegen related update ([e888600](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/e88860061aee55c5e978ace2556a36fd97ef0258))
41+
* **internal:** fix incremental formatting in some cases ([0a51f9f](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/0a51f9f3dba744cf5282eba4b188047b03b391f5))
42+
* **internal:** ignore .eslintcache ([cf1696e](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/cf1696e737f8896647f8dd9fad70a78988958672))
43+
* **internal:** move publish config ([f8c49d7](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/f8c49d7ed61411de581e4dba05eba8456eb72f6c))
44+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([602b768](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/602b7681eaa94ea1672ebd58852478dab56f883c))
45+
* **internal:** remove redundant imports config ([de89cb7](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/de89cb791929375079082c1bd13cc13620ed8aae))
46+
* **internal:** update comment in script ([adcc1e0](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/adcc1e04378865df15272dcc788b96f2d8781a8a))
47+
* **internal:** upgrade eslint ([878386a](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/878386aebf1c8c9287f8362e0a3f697e16cd857a))
48+
* **internal:** use npm pack for build uploads ([0febcc8](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/0febcc870974caef358d1b67c992a4fb408e692d))
49+
* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([8ed65d8](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/8ed65d8b6ea2757ce26cdcc509be12c6a18fa37a))
50+
* make some internal functions async ([ac410b3](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/ac410b310603548f18d46976224a69fb9eabf5a3))
51+
* **readme:** update badges ([5a69575](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/5a695752d9af858bb04f9e774ddf76f8a22544bb))
52+
* **readme:** use better example snippet for undocumented params ([75e8a63](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/75e8a63ec1307838671b24cda3bb3cbeb4ea9dbf))
53+
* **ts:** reorder package.json imports ([a896a22](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/a896a228b3ab8950f9a7c016bc445bfe43a88240))
54+
* update @stainless-api/prism-cli to v5.15.0 ([fe746f4](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/fe746f463f825425f80e70dca69edd18032872db))
55+
56+
57+
### Refactors
58+
59+
* **types:** replace Record with mapped types ([2b43824](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/2b43824896e47429c4eeb102bae2fb0ca820528f))
60+
361
## 0.6.1 (2025-06-14)
462

563
Full Changelog: [v0.6.0...v0.6.1](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.6.0...v0.6.1)

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Gitpod TypeScript API Library
22

3-
[![NPM version](https://img.shields.io/npm/v/@gitpod/sdk.svg)](https://npmjs.org/package/@gitpod/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@gitpod/sdk)
3+
[![NPM version](<https://img.shields.io/npm/v/@gitpod/sdk.svg?label=npm%20(stable)>)](https://npmjs.org/package/@gitpod/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@gitpod/sdk)
44

55
This library provides convenient access to the Gitpod REST API from server-side TypeScript or JavaScript.
66

7-
The REST API documentation can be found on [docs.gitpod.io](https://docs.gitpod.io). The full API of this library can be found in [api.md](api.md).
7+
The REST API documentation can be found on [docs.ona.com](https://docs.ona.com). The full API of this library can be found in [api.md](api.md).
88

99
It is generated with [Stainless](https://www.stainless.com/).
1010

@@ -254,9 +254,8 @@ parameter. This library doesn't validate at runtime that the request matches the
254254
send will be sent as-is.
255255

256256
```ts
257-
client.foo.create({
258-
foo: 'my_param',
259-
bar: 12,
257+
client.identity.getAuthenticatedIdentity({
258+
// ...
260259
// @ts-expect-error baz is not yet public
261260
baz: 'undocumented option',
262261
});

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ or products provided by Gitpod, please follow the respective company's security
2020

2121
### Gitpod Terms and Policies
2222

23-
Please contact dev-feedback@gitpod.com for any questions or concerns regarding the security of our services.
23+
Please contact dev-feedback@ona.com for any questions or concerns regarding the security of our services.
2424

2525
---
2626

bin/check-release-environment

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
errors=()
44

5-
if [ -z "${NPM_TOKEN}" ]; then
6-
errors+=("The GITPOD_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
7-
fi
5+
# Note: unnecessary for npm trusted publishers (i.e. OIDC)
6+
#
7+
# if [ -z "${NPM_TOKEN}" ]; then
8+
# errors+=("The GITPOD_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
9+
# fi
810

911
lenErrors=${#errors[@]}
1012

0 commit comments

Comments
 (0)