diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ff8e652c..2cf44ba6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.17.11" + ".": "0.17.12" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 42ae4828..2e7808c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.17.12 (2026-03-06) + +Full Changelog: [v0.17.11...v0.17.12](https://github.com/openlayer-ai/openlayer-python/compare/v0.17.11...v0.17.12) + +### Chores + +* **test:** do not count install time for mock server timeout ([9ec48d7](https://github.com/openlayer-ai/openlayer-python/commit/9ec48d73e5e1957c46b9216e66388acabe69eae3)) + ## 0.17.11 (2026-03-05) Full Changelog: [v0.17.10...v0.17.11](https://github.com/openlayer-ai/openlayer-python/compare/v0.17.10...v0.17.11) diff --git a/pyproject.toml b/pyproject.toml index 1a6bad4b..5ed916d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openlayer" -version = "0.17.11" +version = "0.17.12" description = "The official Python library for the openlayer API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/scripts/mock b/scripts/mock index 0b28f6ea..bcf3b392 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,11 +21,22 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then + # Pre-install the package so the download doesn't eat into the startup timeout + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism --version + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & - # Wait for server to come online + # Wait for server to come online (max 30s) echo -n "Waiting for server" + attempts=0 while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do + attempts=$((attempts + 1)) + if [ "$attempts" -ge 300 ]; then + echo + echo "Timed out waiting for Prism server to start" + cat .prism.log + exit 1 + fi echo -n "." sleep 0.1 done diff --git a/src/openlayer/_version.py b/src/openlayer/_version.py index c6ed2854..ecca63ed 100644 --- a/src/openlayer/_version.py +++ b/src/openlayer/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "openlayer" -__version__ = "0.17.11" # x-release-please-version +__version__ = "0.17.12" # x-release-please-version