From 20019d1ec80d3c75dfb7ca54131b66e9dc0dd542 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 20:15:38 +0000 Subject: [PATCH 1/3] chore: update SDK settings --- .github/workflows/publish-pypi.yml | 31 +++++++++ .github/workflows/release-doctor.yml | 21 ++++++ .release-please-manifest.json | 3 + .stats.yml | 2 +- CONTRIBUTING.md | 4 +- README.md | 14 ++-- bin/check-release-environment | 21 ++++++ pyproject.toml | 6 +- release-please-config.json | 66 +++++++++++++++++++ src/browser_use/_version.py | 2 +- src/browser_use/resources/agent_profiles.py | 8 +-- src/browser_use/resources/browser_profiles.py | 8 +-- .../resources/sessions/public_share.py | 8 +-- .../resources/sessions/sessions.py | 8 +-- src/browser_use/resources/tasks.py | 8 +-- 15 files changed, 176 insertions(+), 34 deletions(-) create mode 100644 .github/workflows/publish-pypi.yml create mode 100644 .github/workflows/release-doctor.yml create mode 100644 .release-please-manifest.json create mode 100644 bin/check-release-environment create mode 100644 release-please-config.json diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 0000000..d917646 --- /dev/null +++ b/.github/workflows/publish-pypi.yml @@ -0,0 +1,31 @@ +# This workflow is triggered when a GitHub release is created. +# It can also be run manually to re-publish to PyPI in case it failed for some reason. +# You can run this workflow by navigating to https://www.github.com/browser-use/browser-use-python/actions/workflows/publish-pypi.yml +name: Publish PyPI +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rye + run: | + curl -sSf https://rye.astral.sh/get | bash + echo "$HOME/.rye/shims" >> $GITHUB_PATH + env: + RYE_VERSION: '0.44.0' + RYE_INSTALL_OPTION: '--yes' + + - name: Publish to PyPI + run: | + bash ./bin/publish-pypi + env: + PYPI_TOKEN: ${{ secrets.BROWSER_USE_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml new file mode 100644 index 0000000..8d69a5b --- /dev/null +++ b/.github/workflows/release-doctor.yml @@ -0,0 +1,21 @@ +name: Release Doctor +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + release_doctor: + name: release doctor + runs-on: ubuntu-latest + if: github.repository == 'browser-use/browser-use-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + + steps: + - uses: actions/checkout@v4 + + - name: Check release environment + run: | + bash ./bin/check-release-environment + env: + PYPI_TOKEN: ${{ secrets.BROWSER_USE_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..1332969 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.1" +} \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 24617d6..83910d4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-86040fd18419e7b4e0947660d9c0ff1abe21550528d2d2a549736cd16f85a92d.yml openapi_spec_hash: 7c5de9d0f633db35fd9e250fcc834d1f -config_hash: dc75baa00369cd029594734d872f6927 +config_hash: 135af8e6e2a908ec20f32539e1efabf5 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bb50222..673519a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ If you’d like to use the repository from source, you can either install from g To install via git: ```sh -$ pip install git+ssh://git@github.com/stainless-sdks/browser-use-python.git +$ pip install git+ssh://git@github.com/browser-use/browser-use-python.git ``` Alternatively, you can build from source and install the wheel file: @@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel ### Publish with a GitHub workflow -You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/browser-use-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. +You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/browser-use/browser-use-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. ### Publish manually diff --git a/README.md b/README.md index 8aa9c87..f00b19e 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ The REST API documentation can be found on [docs.browser-use.com](https://docs.b ## Installation ```sh -# install from this staging repo -pip install git+ssh://git@github.com/stainless-sdks/browser-use-python.git +# install from the production repo +pip install git+ssh://git@github.com/browser-use/browser-use-python.git ``` > [!NOTE] @@ -75,8 +75,8 @@ By default, the async client uses `httpx` for HTTP requests. However, for improv You can enable this by installing `aiohttp`: ```sh -# install from this staging repo -pip install 'browser_use[aiohttp] @ git+ssh://git@github.com/stainless-sdks/browser-use-python.git' +# install from the production repo +pip install 'browser_use[aiohttp] @ git+ssh://git@github.com/browser-use/browser-use-python.git' ``` Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`: @@ -254,9 +254,9 @@ task = response.parse() # get the object that `tasks.list()` would have returne print(task.items) ``` -These methods return an [`APIResponse`](https://github.com/stainless-sdks/browser-use-python/tree/main/src/browser_use/_response.py) object. +These methods return an [`APIResponse`](https://github.com/browser-use/browser-use-python/tree/main/src/browser_use/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/browser-use-python/tree/main/src/browser_use/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. +The async client returns an [`AsyncAPIResponse`](https://github.com/browser-use/browser-use-python/tree/main/src/browser_use/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. #### `.with_streaming_response` @@ -360,7 +360,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/browser-use-python/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/browser-use/browser-use-python/issues) with questions, bugs, or suggestions. ### Determining the installed version diff --git a/bin/check-release-environment b/bin/check-release-environment new file mode 100644 index 0000000..b845b0f --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +errors=() + +if [ -z "${PYPI_TOKEN}" ]; then + errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.") +fi + +lenErrors=${#errors[@]} + +if [[ lenErrors -gt 0 ]]; then + echo -e "Found the following errors in the release environment:\n" + + for error in "${errors[@]}"; do + echo -e "- $error\n" + done + + exit 1 +fi + +echo "The environment is ready to push releases!" diff --git a/pyproject.toml b/pyproject.toml index 58c9956..b91f4b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,8 +35,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/stainless-sdks/browser-use-python" -Repository = "https://github.com/stainless-sdks/browser-use-python" +Homepage = "https://github.com/browser-use/browser-use-python" +Repository = "https://github.com/browser-use/browser-use-python" [project.optional-dependencies] aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"] @@ -125,7 +125,7 @@ path = "README.md" [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] # replace relative links with absolute links pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)' -replacement = '[\1](https://github.com/stainless-sdks/browser-use-python/tree/main/\g<2>)' +replacement = '[\1](https://github.com/browser-use/browser-use-python/tree/main/\g<2>)' [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..7fdd77c --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,66 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "release-type": "python", + "extra-files": [ + "src/browser_use/_version.py" + ] +} \ No newline at end of file diff --git a/src/browser_use/_version.py b/src/browser_use/_version.py index d2aaeaf..1d6ccd6 100644 --- a/src/browser_use/_version.py +++ b/src/browser_use/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "browser_use" -__version__ = "0.0.1" +__version__ = "0.0.1" # x-release-please-version diff --git a/src/browser_use/resources/agent_profiles.py b/src/browser_use/resources/agent_profiles.py index 600bc83..2d78b3a 100644 --- a/src/browser_use/resources/agent_profiles.py +++ b/src/browser_use/resources/agent_profiles.py @@ -31,7 +31,7 @@ def with_raw_response(self) -> AgentProfilesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AgentProfilesResourceWithRawResponse(self) @@ -40,7 +40,7 @@ def with_streaming_response(self) -> AgentProfilesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AgentProfilesResourceWithStreamingResponse(self) @@ -269,7 +269,7 @@ def with_raw_response(self) -> AsyncAgentProfilesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AsyncAgentProfilesResourceWithRawResponse(self) @@ -278,7 +278,7 @@ def with_streaming_response(self) -> AsyncAgentProfilesResourceWithStreamingResp """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AsyncAgentProfilesResourceWithStreamingResponse(self) diff --git a/src/browser_use/resources/browser_profiles.py b/src/browser_use/resources/browser_profiles.py index e289a0d..74befe1 100644 --- a/src/browser_use/resources/browser_profiles.py +++ b/src/browser_use/resources/browser_profiles.py @@ -37,7 +37,7 @@ def with_raw_response(self) -> BrowserProfilesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return BrowserProfilesResourceWithRawResponse(self) @@ -46,7 +46,7 @@ def with_streaming_response(self) -> BrowserProfilesResourceWithStreamingRespons """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return BrowserProfilesResourceWithStreamingResponse(self) @@ -279,7 +279,7 @@ def with_raw_response(self) -> AsyncBrowserProfilesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AsyncBrowserProfilesResourceWithRawResponse(self) @@ -288,7 +288,7 @@ def with_streaming_response(self) -> AsyncBrowserProfilesResourceWithStreamingRe """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AsyncBrowserProfilesResourceWithStreamingResponse(self) diff --git a/src/browser_use/resources/sessions/public_share.py b/src/browser_use/resources/sessions/public_share.py index 5d1fa40..f7381d0 100644 --- a/src/browser_use/resources/sessions/public_share.py +++ b/src/browser_use/resources/sessions/public_share.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> PublicShareResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return PublicShareResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> PublicShareResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return PublicShareResourceWithStreamingResponse(self) @@ -146,7 +146,7 @@ def with_raw_response(self) -> AsyncPublicShareResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AsyncPublicShareResourceWithRawResponse(self) @@ -155,7 +155,7 @@ def with_streaming_response(self) -> AsyncPublicShareResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AsyncPublicShareResourceWithStreamingResponse(self) diff --git a/src/browser_use/resources/sessions/sessions.py b/src/browser_use/resources/sessions/sessions.py index 48d007e..6b6a664 100644 --- a/src/browser_use/resources/sessions/sessions.py +++ b/src/browser_use/resources/sessions/sessions.py @@ -45,7 +45,7 @@ def with_raw_response(self) -> SessionsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return SessionsResourceWithRawResponse(self) @@ -54,7 +54,7 @@ def with_streaming_response(self) -> SessionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return SessionsResourceWithStreamingResponse(self) @@ -199,7 +199,7 @@ def with_raw_response(self) -> AsyncSessionsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AsyncSessionsResourceWithRawResponse(self) @@ -208,7 +208,7 @@ def with_streaming_response(self) -> AsyncSessionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AsyncSessionsResourceWithStreamingResponse(self) diff --git a/src/browser_use/resources/tasks.py b/src/browser_use/resources/tasks.py index 1184ce3..de55623 100644 --- a/src/browser_use/resources/tasks.py +++ b/src/browser_use/resources/tasks.py @@ -35,7 +35,7 @@ def with_raw_response(self) -> TasksResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return TasksResourceWithRawResponse(self) @@ -44,7 +44,7 @@ def with_streaming_response(self) -> TasksResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return TasksResourceWithStreamingResponse(self) @@ -319,7 +319,7 @@ def with_raw_response(self) -> AsyncTasksResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browser-use/browser-use-python#accessing-raw-response-data-eg-headers """ return AsyncTasksResourceWithRawResponse(self) @@ -328,7 +328,7 @@ def with_streaming_response(self) -> AsyncTasksResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browser-use-python#with_streaming_response + For more information, see https://www.github.com/browser-use/browser-use-python#with_streaming_response """ return AsyncTasksResourceWithStreamingResponse(self) From 4fcafb0a1cbd6fda1c28c0996fe3de4eb033b107 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 20:16:22 +0000 Subject: [PATCH 2/3] chore: update SDK settings --- .stats.yml | 2 +- README.md | 13 +++++-------- pyproject.toml | 2 +- requirements-dev.lock | 16 ++++++++-------- requirements.lock | 16 ++++++++-------- 5 files changed, 23 insertions(+), 26 deletions(-) diff --git a/.stats.yml b/.stats.yml index 83910d4..27116f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-86040fd18419e7b4e0947660d9c0ff1abe21550528d2d2a549736cd16f85a92d.yml openapi_spec_hash: 7c5de9d0f633db35fd9e250fcc834d1f -config_hash: 135af8e6e2a908ec20f32539e1efabf5 +config_hash: 771e55285d36ab0c796ac0f29840fa8f diff --git a/README.md b/README.md index f00b19e..2d5cae8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Browser Use Python API library -[![PyPI version](https://img.shields.io/pypi/v/browser_use.svg?label=pypi%20(stable))](https://pypi.org/project/browser_use/) +[![PyPI version](https://img.shields.io/pypi/v/browser-use-sdk.svg?label=pypi%20(stable))](https://pypi.org/project/browser-use-sdk/) The Browser Use Python library provides convenient access to the Browser Use REST API from any Python 3.8+ application. The library includes type definitions for all request params and response fields, @@ -16,13 +16,10 @@ The REST API documentation can be found on [docs.browser-use.com](https://docs.b ## Installation ```sh -# install from the production repo -pip install git+ssh://git@github.com/browser-use/browser-use-python.git +# install from PyPI +pip install browser-use-sdk ``` -> [!NOTE] -> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install browser_use` - ## Usage The full API of this library can be found in [api.md](api.md). @@ -75,8 +72,8 @@ By default, the async client uses `httpx` for HTTP requests. However, for improv You can enable this by installing `aiohttp`: ```sh -# install from the production repo -pip install 'browser_use[aiohttp] @ git+ssh://git@github.com/browser-use/browser-use-python.git' +# install from PyPI +pip install browser-use-sdk[aiohttp] ``` Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`: diff --git a/pyproject.toml b/pyproject.toml index b91f4b7..3280356 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "browser_use" +name = "browser-use-sdk" version = "0.0.1" description = "The official Python library for the browser-use API" dynamic = ["readme"] diff --git a/requirements-dev.lock b/requirements-dev.lock index 43ebc2e..57a6b07 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -13,14 +13,14 @@ aiohappyeyeballs==2.6.1 # via aiohttp aiohttp==3.12.8 - # via browser-use + # via browser-use-sdk # via httpx-aiohttp aiosignal==1.3.2 # via aiohttp annotated-types==0.6.0 # via pydantic anyio==4.4.0 - # via browser-use + # via browser-use-sdk # via httpx argcomplete==3.1.2 # via nox @@ -37,7 +37,7 @@ dirty-equals==0.6.0 distlib==0.3.7 # via virtualenv distro==1.8.0 - # via browser-use + # via browser-use-sdk exceptiongroup==1.2.2 # via anyio # via pytest @@ -53,11 +53,11 @@ h11==0.16.0 httpcore==1.0.9 # via httpx httpx==0.28.1 - # via browser-use + # via browser-use-sdk # via httpx-aiohttp # via respx httpx-aiohttp==0.1.8 - # via browser-use + # via browser-use-sdk idna==3.4 # via anyio # via httpx @@ -90,7 +90,7 @@ propcache==0.3.1 # via aiohttp # via yarl pydantic==2.10.3 - # via browser-use + # via browser-use-sdk pydantic-core==2.27.1 # via pydantic pygments==2.18.0 @@ -114,14 +114,14 @@ six==1.16.0 # via python-dateutil sniffio==1.3.0 # via anyio - # via browser-use + # via browser-use-sdk time-machine==2.9.0 tomli==2.0.2 # via mypy # via pytest typing-extensions==4.12.2 # via anyio - # via browser-use + # via browser-use-sdk # via multidict # via mypy # via pydantic diff --git a/requirements.lock b/requirements.lock index 0facc06..bd72e76 100644 --- a/requirements.lock +++ b/requirements.lock @@ -13,14 +13,14 @@ aiohappyeyeballs==2.6.1 # via aiohttp aiohttp==3.12.8 - # via browser-use + # via browser-use-sdk # via httpx-aiohttp aiosignal==1.3.2 # via aiohttp annotated-types==0.6.0 # via pydantic anyio==4.4.0 - # via browser-use + # via browser-use-sdk # via httpx async-timeout==5.0.1 # via aiohttp @@ -30,7 +30,7 @@ certifi==2023.7.22 # via httpcore # via httpx distro==1.8.0 - # via browser-use + # via browser-use-sdk exceptiongroup==1.2.2 # via anyio frozenlist==1.6.2 @@ -41,10 +41,10 @@ h11==0.16.0 httpcore==1.0.9 # via httpx httpx==0.28.1 - # via browser-use + # via browser-use-sdk # via httpx-aiohttp httpx-aiohttp==0.1.8 - # via browser-use + # via browser-use-sdk idna==3.4 # via anyio # via httpx @@ -56,15 +56,15 @@ propcache==0.3.1 # via aiohttp # via yarl pydantic==2.10.3 - # via browser-use + # via browser-use-sdk pydantic-core==2.27.1 # via pydantic sniffio==1.3.0 # via anyio - # via browser-use + # via browser-use-sdk typing-extensions==4.12.2 # via anyio - # via browser-use + # via browser-use-sdk # via multidict # via pydantic # via pydantic-core From 3ab4a801ef65de028d496b9b015c9c69e8ea83a2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 20:16:33 +0000 Subject: [PATCH 3/3] release: 0.0.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 11 +++++++++++ pyproject.toml | 2 +- src/browser_use/_version.py | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1332969..c7159c1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "0.0.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2cd7d38 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Changelog + +## 0.0.2 (2025-08-09) + +Full Changelog: [v0.0.1...v0.0.2](https://github.com/browser-use/browser-use-python/compare/v0.0.1...v0.0.2) + +### Chores + +* configure new SDK language ([af51d4f](https://github.com/browser-use/browser-use-python/commit/af51d4f1d2ff224d0a2cba426b28d540d74f63ce)) +* update SDK settings ([4fcafb0](https://github.com/browser-use/browser-use-python/commit/4fcafb0a1cbd6fda1c28c0996fe3de4eb033b107)) +* update SDK settings ([20019d1](https://github.com/browser-use/browser-use-python/commit/20019d1ec80d3c75dfb7ca54131b66e9dc0dd542)) diff --git a/pyproject.toml b/pyproject.toml index 3280356..a690c81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "browser-use-sdk" -version = "0.0.1" +version = "0.0.2" description = "The official Python library for the browser-use API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/browser_use/_version.py b/src/browser_use/_version.py index 1d6ccd6..6533e52 100644 --- a/src/browser_use/_version.py +++ b/src/browser_use/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "browser_use" -__version__ = "0.0.1" # x-release-please-version +__version__ = "0.0.2" # x-release-please-version