diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b55c11f0..9c6a481f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.1" + ".": "1.1.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ad615c9c..052a03b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.1.2 (2024-08-09) + +Full Changelog: [v1.1.1...v1.1.2](https://github.com/Finch-API/finch-api-python/compare/v1.1.1...v1.1.2) + +### Chores + +* **ci:** bump prism mock server version ([#469](https://github.com/Finch-API/finch-api-python/issues/469)) ([70acca0](https://github.com/Finch-API/finch-api-python/commit/70acca07ca015392a2dfd5c4edca59abdadf9eb7)) +* **internal:** ensure package is importable in lint cmd ([#471](https://github.com/Finch-API/finch-api-python/issues/471)) ([0a64b8c](https://github.com/Finch-API/finch-api-python/commit/0a64b8c354224c82a92ed75ff98ffe72d9ea7556)) + ## 1.1.1 (2024-08-08) Full Changelog: [v1.1.0...v1.1.1](https://github.com/Finch-API/finch-api-python/compare/v1.1.0...v1.1.1) diff --git a/pyproject.toml b/pyproject.toml index 97d6f4a4..8285cf65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-api" -version = "1.1.1" +version = "1.1.2" description = "The official Python library for the Finch API" dynamic = ["readme"] license = "Apache-2.0" @@ -76,10 +76,13 @@ format = { chain = [ "lint" = { chain = [ "check:ruff", "typecheck", + "check:importable", ]} "check:ruff" = "ruff check ." "fix:ruff" = "ruff check --fix ." +"check:importable" = "python -c 'import finch'" + typecheck = { chain = [ "typecheck:pyright", "typecheck:mypy" diff --git a/scripts/mock b/scripts/mock index f5861576..d2814ae6 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.8.4 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stainless-api/prism-cli@5.8.4 -- prism mock "$URL" + npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" fi diff --git a/src/finch/_version.py b/src/finch/_version.py index fc6bd24d..f0997501 100644 --- a/src/finch/_version.py +++ b/src/finch/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "finch" -__version__ = "1.1.1" # x-release-please-version +__version__ = "1.1.2" # x-release-please-version