diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccb20d4..3a03281 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: permissions: contents: read id-token: write - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/browser-use-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 06d6df2..b7634f9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.0.2" + ".": "1.0.3" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 284fac7..86bb07f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 1.0.3 (2025-08-27) + +Full Changelog: [v1.0.2...v1.0.3](https://github.com/browser-use/browser-use-python/compare/v1.0.2...v1.0.3) + +### Bug Fixes + +* avoid newer type syntax ([f2414e8](https://github.com/browser-use/browser-use-python/commit/f2414e876f730a0246a05fb4b4b69a7bf679f9e0)) + + +### Chores + +* **internal:** change ci workflow machines ([70809e8](https://github.com/browser-use/browser-use-python/commit/70809e88085baa9d34a1a3d4c55ef82f6670f444)) +* **internal:** update pyright exclude list ([7764e77](https://github.com/browser-use/browser-use-python/commit/7764e77d21b6b03696b83434390c114bc18dfa3e)) + ## 1.0.2 (2025-08-22) Full Changelog: [v1.0.1...v1.0.2](https://github.com/browser-use/browser-use-python/compare/v1.0.1...v1.0.2) diff --git a/pyproject.toml b/pyproject.toml index cbc8b6a..cc9c63a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "browser-use-sdk" -version = "1.0.2" +version = "1.0.3" description = "The official Python library for the browser-use API" dynamic = ["readme"] license = "Apache-2.0" @@ -148,6 +148,7 @@ exclude = [ "_dev", ".venv", ".nox", + ".git", ] reportImplicitOverride = true diff --git a/src/browser_use_sdk/_models.py b/src/browser_use_sdk/_models.py index b8387ce..92f7c10 100644 --- a/src/browser_use_sdk/_models.py +++ b/src/browser_use_sdk/_models.py @@ -304,7 +304,7 @@ def model_dump( exclude_none=exclude_none, ) - return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped + return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped @override def model_dump_json( diff --git a/src/browser_use_sdk/_version.py b/src/browser_use_sdk/_version.py index dbca030..1983c8b 100644 --- a/src/browser_use_sdk/_version.py +++ b/src/browser_use_sdk/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "browser_use_sdk" -__version__ = "1.0.2" # x-release-please-version +__version__ = "1.0.3" # x-release-please-version