diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 508f13bb..592b71b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,13 +36,13 @@ jobs: run: ./scripts/lint build: - if: github.repository == 'stainless-sdks/mixedbread-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork timeout-minutes: 10 name: build permissions: contents: read id-token: write - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/mixedbread-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 @@ -61,12 +61,14 @@ jobs: run: rye build - name: Get GitHub OIDC Token + if: github.repository == 'stainless-sdks/mixedbread-python' id: github-oidc uses: actions/github-script@v6 with: script: core.setOutput('github_token', await core.getIDToken()); - name: Upload tarball + if: github.repository == 'stainless-sdks/mixedbread-python' env: URL: https://pkg.stainless.com/s AUTH: ${{ steps.github-oidc.outputs.github_token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8935e932..a6fc929e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.28.0" + ".": "0.28.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1ac23eea..252dd5ab 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 49 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-7c2a2a34f9dcbbc872b3b3a920ad90e64f2313cb45150bc54b66cf49da5c847f.yml -openapi_spec_hash: 458f00057a397021bab7b374f0191f18 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-c950bdc025566e8000354aef54c6f1c6c4ecbd92f9b6aca231701b8bebdf917e.yml +openapi_spec_hash: d76b267c95385a291cdb9401a9bdb95e config_hash: 22524d9aa927566851636768f6a861cd diff --git a/CHANGELOG.md b/CHANGELOG.md index 07150aaf..b04977a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.28.1 (2025-08-27) + +Full Changelog: [v0.28.0...v0.28.1](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.28.0...v0.28.1) + +### Bug Fixes + +* avoid newer type syntax ([2a6db66](https://github.com/mixedbread-ai/mixedbread-python/commit/2a6db66daa688b9971785f8bccec32dcc068569d)) + + +### Chores + +* **internal:** change ci workflow machines ([b9cdd3f](https://github.com/mixedbread-ai/mixedbread-python/commit/b9cdd3fa837aad4a4f860f250298843424797f5b)) +* update github action ([c4ae559](https://github.com/mixedbread-ai/mixedbread-python/commit/c4ae55998996b4a58bc386a7fd2df527d169c0b0)) + ## 0.28.0 (2025-08-21) Full Changelog: [v0.27.0...v0.28.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.27.0...v0.28.0) diff --git a/pyproject.toml b/pyproject.toml index a60f88e7..e8a36dfb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mixedbread" -version = "0.28.0" +version = "0.28.1" description = "The official Python library for the Mixedbread API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/mixedbread/_models.py b/src/mixedbread/_models.py index b8387ce9..92f7c10b 100644 --- a/src/mixedbread/_models.py +++ b/src/mixedbread/_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/mixedbread/_version.py b/src/mixedbread/_version.py index f6fccb29..12cfe033 100644 --- a/src/mixedbread/_version.py +++ b/src/mixedbread/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "mixedbread" -__version__ = "0.28.0" # x-release-please-version +__version__ = "0.28.1" # x-release-please-version