Skip to content

release: 0.13.0 #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 58 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3345b62
feat(api): api update
stainless-app[bot] Jan 23, 2025
fd5d0a9
chore(internal): codegen related update
stainless-app[bot] Jan 24, 2025
ca17307
chore(internal): codegen related update
stainless-app[bot] Jan 24, 2025
1016df6
chore(internal): codegen related update
stainless-app[bot] Jan 29, 2025
333edef
feat(client): send `X-Stainless-Timeout` header
stainless-app[bot] Feb 5, 2025
ac3dffc
fix(client): fix export map for index exports
stainless-app[bot] Feb 14, 2025
6a459de
chore(internal): fix devcontainers setup
stainless-app[bot] Feb 22, 2025
3a31790
chore(internal): version bump
stainless-app[bot] Feb 27, 2025
e56ef04
docs: update URLs from stainlessapi.com to stainless.com
stainless-app[bot] Feb 28, 2025
59a7cb4
chore(internal): fix workflows
Mar 14, 2025
9ac3180
chore(exports): cleaner resource index imports (#113)
stainless-app[bot] Mar 20, 2025
fdcd6e2
chore(exports): stop using path fallbacks (#114)
stainless-app[bot] Mar 20, 2025
701091f
fix: avoid type error in certain environments (#115)
stainless-app[bot] Mar 22, 2025
e08046b
codegen metadata
stainless-app[bot] Mar 27, 2025
2349019
fix(internal): work around https://github.com/vercel/next.js/issues/7…
stainless-app[bot] Mar 28, 2025
b8469f3
fix(client): send `X-Stainless-Timeout` in seconds (#117)
stainless-app[bot] Apr 3, 2025
da4702c
chore(internal): add aliases for Record and Array (#118)
stainless-app[bot] Apr 3, 2025
669c259
fix(api): improve type resolution when importing as a package (#119)
stainless-app[bot] Apr 4, 2025
9d9ab9b
fix(mcp): remove unused tools.ts (#120)
stainless-app[bot] Apr 5, 2025
f3a00ab
chore(tests): improve enum examples (#121)
stainless-app[bot] Apr 9, 2025
5d8ec66
chore(internal): upload builds and expand CI branch coverage
stainless-app[bot] Apr 10, 2025
71998ef
chore(internal): reduce CI branch coverage
stainless-app[bot] Apr 10, 2025
344120f
chore(client): minor internal fixes
stainless-app[bot] Apr 15, 2025
28f4085
feat(api): api update
stainless-app[bot] Apr 18, 2025
e5e8414
codegen metadata
stainless-app[bot] Apr 18, 2025
b7cc1b1
feat(api): add test creation endpoint
stainless-app[bot] Apr 21, 2025
64632ad
chore(ci): add timeout thresholds for CI jobs
stainless-app[bot] Apr 23, 2025
1128c8f
chore(internal): codegen related update
stainless-app[bot] Apr 24, 2025
9c8f4b9
chore(ci): only use depot for staging repos
stainless-app[bot] Apr 24, 2025
e1f8989
codegen metadata
stainless-app[bot] Apr 24, 2025
039040a
codegen metadata
stainless-app[bot] Apr 24, 2025
821a692
feat(api): api update
stainless-app[bot] Apr 24, 2025
f3fd3fc
feat(api): expose test retrieval endpoint
stainless-app[bot] Apr 24, 2025
2e0a6e1
feat(api): api update
stainless-app[bot] Apr 24, 2025
55a6bae
codegen metadata
stainless-app[bot] Apr 24, 2025
da2b9fb
feat(api): expose test retrieval endpoint
stainless-app[bot] Apr 24, 2025
8e2a339
feat(api): api update
stainless-app[bot] Apr 25, 2025
785d3b4
feat(api): expose test update endpoint
stainless-app[bot] Apr 25, 2025
372b228
feat(api): api update
stainless-app[bot] Apr 25, 2025
5cdece0
codegen metadata
stainless-app[bot] Apr 25, 2025
3461fd6
docs(readme): fix typo
stainless-app[bot] May 1, 2025
e1c6120
chore(internal): codegen related update
stainless-app[bot] May 2, 2025
fc5eda1
chore(ci): bump node version for release workflows
stainless-app[bot] May 7, 2025
8b8c71e
docs: add examples to tsdocs
stainless-app[bot] May 7, 2025
08863b8
chore(internal): codegen related update
stainless-app[bot] May 9, 2025
1f62b55
chore(docs): grammar improvements
stainless-app[bot] May 22, 2025
baabb5f
chore: improve publish-npm script --latest tag logic
stainless-app[bot] May 28, 2025
a0bfc1a
chore(docs): use top-level-await in example snippets
stainless-app[bot] Jun 4, 2025
2cbaaa0
fix: publish script — handle NPM errors correctly
stainless-app[bot] Jun 14, 2025
53aa0dc
chore(internal): make base APIResource abstract
stainless-app[bot] Jun 14, 2025
6738a63
feat(client): add support for endpoint-specific base URLs
stainless-app[bot] Jun 17, 2025
4f54573
chore(ci): enable for pull requests
stainless-app[bot] Jun 17, 2025
678eaa3
refactor(types): replace Record with mapped types
stainless-app[bot] Jun 24, 2025
d176ef5
fix(ci): release-doctor — report correct token name
stainless-app[bot] Jun 27, 2025
057c965
chore(ci): only run for pushes and fork pull requests
stainless-app[bot] Jun 28, 2025
44c94cb
chore: mention unit type in timeout docs
stainless-app[bot] Jul 3, 2025
d96149f
fix(client): don't send `Content-Type` for bodyless methods
stainless-app[bot] Jul 3, 2025
b1027b8
release: 0.13.0
stainless-app[bot] Jul 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .devcontainer/Dockerfile

This file was deleted.

27 changes: 12 additions & 15 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian",
"build": {
"dockerfile": "Dockerfile"
"name": "Development",
"image": "mcr.microsoft.com/devcontainers/typescript-node:latest",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode"
]
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
44 changes: 33 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: CI
on:
push:
branches:
- main
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches:
- main
- next
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ubuntu-latest


runs-on: ${{ github.repository == 'stainless-sdks/openlayer-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

Expand All @@ -29,10 +33,13 @@ jobs:
run: ./scripts/lint

build:
timeout-minutes: 5
name: build
runs-on: ubuntu-latest


runs-on: ${{ github.repository == 'stainless-sdks/openlayer-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -46,3 +53,18 @@ jobs:

- name: Check build
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/openlayer-node'
id: github-oidc
uses: actions/github-script@v6
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/openlayer-node'
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.12.0"
".": "0.13.0"
}
4 changes: 3 additions & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
configured_endpoints: 15
configured_endpoints: 18
openapi_spec_hash: 20f058101a252f7500803d66aff58eb3
config_hash: 30422a4611d93ca69e4f1aff60b9ddb5
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
# Changelog

## 0.13.0 (2025-07-03)

Full Changelog: [v0.12.0...v0.13.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.12.0...v0.13.0)

### Features

* **api:** add test creation endpoint ([b7cc1b1](https://github.com/openlayer-ai/openlayer-ts/commit/b7cc1b1ee12af1275addac7057d735fb02a43af1))
* **api:** api update ([372b228](https://github.com/openlayer-ai/openlayer-ts/commit/372b228b95947b7ccb8d6acc9a35eb7a20a31ef6))
* **api:** api update ([8e2a339](https://github.com/openlayer-ai/openlayer-ts/commit/8e2a33931654d6802087b6435a4beb2c6ed6d7e1))
* **api:** api update ([2e0a6e1](https://github.com/openlayer-ai/openlayer-ts/commit/2e0a6e1b6a5b3296a3ec905dfa11b5a8501e4583))
* **api:** api update ([821a692](https://github.com/openlayer-ai/openlayer-ts/commit/821a6926192dad0532029ea9c2b22a4d24f5e1c6))
* **api:** api update ([28f4085](https://github.com/openlayer-ai/openlayer-ts/commit/28f40851950cfa354930fc8dfab69b4a39f3d13e))
* **api:** api update ([3345b62](https://github.com/openlayer-ai/openlayer-ts/commit/3345b629c1904bfb2c2f9e05c86312c6c7b88b48))
* **api:** expose test retrieval endpoint ([da2b9fb](https://github.com/openlayer-ai/openlayer-ts/commit/da2b9fb62bd0eeaebe1325abaee6e4854d2f987f))
* **api:** expose test retrieval endpoint ([f3fd3fc](https://github.com/openlayer-ai/openlayer-ts/commit/f3fd3fc296af8982eeb965c3427b89abdb7a4a6f))
* **api:** expose test update endpoint ([785d3b4](https://github.com/openlayer-ai/openlayer-ts/commit/785d3b4ba67f487b49c190d546ae4a7dc7eb333b))
* **client:** add support for endpoint-specific base URLs ([6738a63](https://github.com/openlayer-ai/openlayer-ts/commit/6738a6324eb5b4bb15db942a8b6de7cf267df1ac))
* **client:** send `X-Stainless-Timeout` header ([333edef](https://github.com/openlayer-ai/openlayer-ts/commit/333edef002f95acecdb29d3e6a698343c3361937))


### Bug Fixes

* **api:** improve type resolution when importing as a package ([#119](https://github.com/openlayer-ai/openlayer-ts/issues/119)) ([669c259](https://github.com/openlayer-ai/openlayer-ts/commit/669c259b9fa3ba40ace9901ba24fa80dbc205105))
* avoid type error in certain environments ([#115](https://github.com/openlayer-ai/openlayer-ts/issues/115)) ([701091f](https://github.com/openlayer-ai/openlayer-ts/commit/701091ff829ca7b7f6ee3bf66af961b660eb3371))
* **ci:** release-doctor — report correct token name ([d176ef5](https://github.com/openlayer-ai/openlayer-ts/commit/d176ef5f74d7955bbc2a58b4d3f70739e0050962))
* **client:** don't send `Content-Type` for bodyless methods ([d96149f](https://github.com/openlayer-ai/openlayer-ts/commit/d96149ff67a4d0cce9ba465c6888a10335df235d))
* **client:** fix export map for index exports ([ac3dffc](https://github.com/openlayer-ai/openlayer-ts/commit/ac3dffce4624d350d5cf73e3020067cb2f71ab59))
* **client:** send `X-Stainless-Timeout` in seconds ([#117](https://github.com/openlayer-ai/openlayer-ts/issues/117)) ([b8469f3](https://github.com/openlayer-ai/openlayer-ts/commit/b8469f3c2fc46916d994fb20b6ff4550a1c2bed3))
* **internal:** work around https://github.com/vercel/next.js/issues/76881 ([#116](https://github.com/openlayer-ai/openlayer-ts/issues/116)) ([2349019](https://github.com/openlayer-ai/openlayer-ts/commit/2349019081867529df94ff1143716ce865a30007))
* **mcp:** remove unused tools.ts ([#120](https://github.com/openlayer-ai/openlayer-ts/issues/120)) ([9d9ab9b](https://github.com/openlayer-ai/openlayer-ts/commit/9d9ab9bd791a42fc4269ad0fcd1dbb57f8616e67))
* publish script — handle NPM errors correctly ([2cbaaa0](https://github.com/openlayer-ai/openlayer-ts/commit/2cbaaa0a255b0a39ddb4a1d7908a7998a89c8247))


### Chores

* **ci:** add timeout thresholds for CI jobs ([64632ad](https://github.com/openlayer-ai/openlayer-ts/commit/64632ad55c30e27a0ca063c28b410d6b83b245b4))
* **ci:** bump node version for release workflows ([fc5eda1](https://github.com/openlayer-ai/openlayer-ts/commit/fc5eda10a988522c2304c3f7a8f1890db0f42a23))
* **ci:** enable for pull requests ([4f54573](https://github.com/openlayer-ai/openlayer-ts/commit/4f545736a41460e289815a842018a5dc1993e47e))
* **ci:** only run for pushes and fork pull requests ([057c965](https://github.com/openlayer-ai/openlayer-ts/commit/057c96531b52e2fa19ece0c6affdae4d5982f79d))
* **ci:** only use depot for staging repos ([9c8f4b9](https://github.com/openlayer-ai/openlayer-ts/commit/9c8f4b9181f636898c5ff8365596b47c591575f1))
* **client:** minor internal fixes ([344120f](https://github.com/openlayer-ai/openlayer-ts/commit/344120f8eb82ea1e374aafadf6c7e90edec2cbce))
* **docs:** grammar improvements ([1f62b55](https://github.com/openlayer-ai/openlayer-ts/commit/1f62b551d8afd5b4fa17595b13df6765c8cc5c94))
* **docs:** use top-level-await in example snippets ([a0bfc1a](https://github.com/openlayer-ai/openlayer-ts/commit/a0bfc1ac34aa7b3f929470cbcfe00fbdd2428566))
* **exports:** cleaner resource index imports ([#113](https://github.com/openlayer-ai/openlayer-ts/issues/113)) ([9ac3180](https://github.com/openlayer-ai/openlayer-ts/commit/9ac318013fd2128e7f0a98db699534569c8e18a3))
* **exports:** stop using path fallbacks ([#114](https://github.com/openlayer-ai/openlayer-ts/issues/114)) ([fdcd6e2](https://github.com/openlayer-ai/openlayer-ts/commit/fdcd6e2effcd89201604c545e0c3b8f0f0800032))
* improve publish-npm script --latest tag logic ([baabb5f](https://github.com/openlayer-ai/openlayer-ts/commit/baabb5fbba3cf1f689dbadafc6cc027030603460))
* **internal:** add aliases for Record and Array ([#118](https://github.com/openlayer-ai/openlayer-ts/issues/118)) ([da4702c](https://github.com/openlayer-ai/openlayer-ts/commit/da4702cab36298cc7278a3f0a797742c5e23a002))
* **internal:** codegen related update ([08863b8](https://github.com/openlayer-ai/openlayer-ts/commit/08863b80cb9f578fada7d596b0013f76f9d80f4e))
* **internal:** codegen related update ([e1c6120](https://github.com/openlayer-ai/openlayer-ts/commit/e1c612061c9dceffc20cb78c03bcdea4e466c559))
* **internal:** codegen related update ([1128c8f](https://github.com/openlayer-ai/openlayer-ts/commit/1128c8f19942ebfecc014626f859dfdadc5725d1))
* **internal:** codegen related update ([1016df6](https://github.com/openlayer-ai/openlayer-ts/commit/1016df6f549fd3312c26f6ecfd15b3aac58c5d65))
* **internal:** codegen related update ([ca17307](https://github.com/openlayer-ai/openlayer-ts/commit/ca173073bc522424d9d6a35b5a2af14ccd7b8c88))
* **internal:** codegen related update ([fd5d0a9](https://github.com/openlayer-ai/openlayer-ts/commit/fd5d0a9808b2abf8d1b88d3becf2350d9b25887e))
* **internal:** fix devcontainers setup ([6a459de](https://github.com/openlayer-ai/openlayer-ts/commit/6a459de24ebec36ba38b751b6ab7143b3b9e16fd))
* **internal:** fix workflows ([59a7cb4](https://github.com/openlayer-ai/openlayer-ts/commit/59a7cb4439a344c0ed6b4adb9e6b113dbed0f940))
* **internal:** make base APIResource abstract ([53aa0dc](https://github.com/openlayer-ai/openlayer-ts/commit/53aa0dc14e5163e2b69430cd3b46ee2f5f8cb725))
* **internal:** reduce CI branch coverage ([71998ef](https://github.com/openlayer-ai/openlayer-ts/commit/71998ef9132f29569e40aa1310cf2b3611096865))
* **internal:** upload builds and expand CI branch coverage ([5d8ec66](https://github.com/openlayer-ai/openlayer-ts/commit/5d8ec66ad5ca7ba34da7b56b5f2aa1e9638107cd))
* **internal:** version bump ([3a31790](https://github.com/openlayer-ai/openlayer-ts/commit/3a317902d8bf523f3f54398cdb077a11a18d9995))
* mention unit type in timeout docs ([44c94cb](https://github.com/openlayer-ai/openlayer-ts/commit/44c94cb55dc3d3df305a31e3c28d66b37730eb9d))
* **tests:** improve enum examples ([#121](https://github.com/openlayer-ai/openlayer-ts/issues/121)) ([f3a00ab](https://github.com/openlayer-ai/openlayer-ts/commit/f3a00ab15a42239fc71459feb324bd835f5d79e9))


### Documentation

* add examples to tsdocs ([8b8c71e](https://github.com/openlayer-ai/openlayer-ts/commit/8b8c71e6186135f9ecef0fcb00518946b05ddf71))
* **readme:** fix typo ([3461fd6](https://github.com/openlayer-ai/openlayer-ts/commit/3461fd6e7a989064ef94b9e1d0c8d26374116aa4))
* update URLs from stainlessapi.com to stainless.com ([e56ef04](https://github.com/openlayer-ai/openlayer-ts/commit/e56ef04346aa002b8481a8018ad540c678a9a21e))


### Refactors

* **types:** replace Record with mapped types ([678eaa3](https://github.com/openlayer-ai/openlayer-ts/commit/678eaa32437204655c81d34894038e4037026f05))

## 0.12.0 (2025-03-14)

Full Changelog: [v0.11.0...v0.12.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.11.0...v0.12.0)
Expand Down
Loading