Skip to content

Commit 8428682

Browse files
release: 1.11.0 (#749)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent c2958c5 commit 8428682

7 files changed

Lines changed: 45 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,18 @@ jobs:
5858
run: uv build
5959

6060
- name: Get GitHub OIDC Token
61-
if: github.repository == 'stainless-sdks/runloop-python'
61+
if: |-
62+
github.repository == 'stainless-sdks/runloop-python' &&
63+
!startsWith(github.ref, 'refs/heads/stl/')
6264
id: github-oidc
6365
uses: actions/github-script@v8
6466
with:
6567
script: core.setOutput('github_token', await core.getIDToken());
6668

6769
- name: Upload tarball
68-
if: github.repository == 'stainless-sdks/runloop-python'
70+
if: |-
71+
github.repository == 'stainless-sdks/runloop-python' &&
72+
!startsWith(github.ref, 'refs/heads/stl/')
6973
env:
7074
URL: https://pkg.stainless.com/s
7175
AUTH: ${{ steps.github-oidc.outputs.github_token }}

.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.10.3"
2+
".": "1.11.0"
33
}

CHANGELOG.md

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

3+
## 1.11.0 (2026-03-10)
4+
5+
Full Changelog: [v1.10.3...v1.11.0](https://github.com/runloopai/api-client-python/compare/v1.10.3...v1.11.0)
6+
7+
### Features
8+
9+
* add snapshots example ([#753](https://github.com/runloopai/api-client-python/issues/753)) ([f13916a](https://github.com/runloopai/api-client-python/commit/f13916a570fe708aef56c6fbfd5c06b9e0dc158e))
10+
* **documentation:** added llms.txt, examples and referenced these artifacts via README ([#748](https://github.com/runloopai/api-client-python/issues/748)) ([bceb953](https://github.com/runloopai/api-client-python/commit/bceb953c8486bec6bbe5bca1276ed54d625eda5d))
11+
12+
13+
### Bug Fixes
14+
15+
* add logs to devboxes, smoke tests & examples ([#755](https://github.com/runloopai/api-client-python/issues/755)) ([da5faa4](https://github.com/runloopai/api-client-python/commit/da5faa4e69348dd6f034a538046ab9ff2ff4831b))
16+
17+
18+
### Chores
19+
20+
* **ci:** skip uploading artifacts on stainless-internal branches ([6874252](https://github.com/runloopai/api-client-python/commit/6874252fe355ac8a44be6bc57cd6bb15a3f035be))
21+
* **documentation:** correct exec advice ([#752](https://github.com/runloopai/api-client-python/issues/752)) ([fa16c1d](https://github.com/runloopai/api-client-python/commit/fa16c1d602ec301200e82a48fe23c2218ae82a08))
22+
* **test:** do not count install time for mock server timeout ([f6fde05](https://github.com/runloopai/api-client-python/commit/f6fde050a5f4b985c01003cd7593c1619ede028f))
23+
* update placeholder string ([5dfcd93](https://github.com/runloopai/api-client-python/commit/5dfcd93bb05cda783901377ee7fc03a6acffe0ae))
24+
325
## 1.10.3 (2026-02-27)
426

527
Full Changelog: [v1.10.2...v1.10.3](https://github.com/runloopai/api-client-python/compare/v1.10.2...v1.10.3)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "runloop_api_client"
3-
version = "1.10.3"
3+
version = "1.11.0"
44
description = "The official Python library for the runloop API"
55
dynamic = ["readme"]
66
license = "MIT"

scripts/mock

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,22 @@ echo "==> Starting mock server with URL ${URL}"
2121

2222
# Run prism mock on the given spec
2323
if [ "$1" == "--daemon" ]; then
24+
# Pre-install the package so the download doesn't eat into the startup timeout
25+
npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism --version
26+
2427
npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log &
2528

26-
# Wait for server to come online
29+
# Wait for server to come online (max 30s)
2730
echo -n "Waiting for server"
31+
attempts=0
2832
while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do
33+
attempts=$((attempts + 1))
34+
if [ "$attempts" -ge 300 ]; then
35+
echo
36+
echo "Timed out waiting for Prism server to start"
37+
cat .prism.log
38+
exit 1
39+
fi
2940
echo -n "."
3041
sleep 0.1
3142
done

src/runloop_api_client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "runloop_api_client"
4-
__version__ = "1.10.3" # x-release-please-version
4+
__version__ = "1.11.0" # x-release-please-version

tests/api_resources/test_devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ def test_method_upload_file_with_all_params(self, client: Runloop) -> None:
10871087
devbox = client.devboxes.upload_file(
10881088
id="id",
10891089
path="path",
1090-
file=b"raw file contents",
1090+
file=b"Example data",
10911091
)
10921092
assert_matches_type(object, devbox, path=["response"])
10931093

@@ -2755,7 +2755,7 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncRunlo
27552755
devbox = await async_client.devboxes.upload_file(
27562756
id="id",
27572757
path="path",
2758-
file=b"raw file contents",
2758+
file=b"Example data",
27592759
)
27602760
assert_matches_type(object, devbox, path=["response"])
27612761

0 commit comments

Comments
 (0)