diff --git a/.release-please-manifest.json b/.release-please-manifest.json index caf5ca3f..59acac47 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.26.0" + ".": "0.27.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 33d7691d..aecb65ef 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-4983c57f5143aaeadfbb4af35595570e613035ae500ff1597fdf600cc2a48959.yml openapi_spec_hash: ecc0a6cfe61c3c959d034d094f36befe -config_hash: ac27678c24558b71ee39b3db54fa12da +config_hash: 22524d9aa927566851636768f6a861cd diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c6504ce..ff4417b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.27.0 (2025-08-17) + +Full Changelog: [v0.26.0...v0.27.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.26.0...v0.27.0) + +### Features + +* **api:** update via SDK Studio ([a0cac4f](https://github.com/mixedbread-ai/mixedbread-python/commit/a0cac4f1378322d0694ac6c91038ac2b010645f2)) + ## 0.26.0 (2025-08-11) Full Changelog: [v0.25.0...v0.26.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.25.0...v0.26.0) diff --git a/README.md b/README.md index 6b66d10d..b9c96e63 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ from mixedbread import Mixedbread client = Mixedbread( api_key=os.environ.get("MXBAI_API_KEY"), # This is the default and can be omitted - # defaults to "production". - environment="local", + # or 'production' | 'local'; defaults to "production". + environment="development", ) vector_store = client.vector_stores.create() @@ -54,8 +54,8 @@ from mixedbread import AsyncMixedbread client = AsyncMixedbread( api_key=os.environ.get("MXBAI_API_KEY"), # This is the default and can be omitted - # defaults to "production". - environment="local", + # or 'production' | 'local'; defaults to "production". + environment="development", ) diff --git a/pyproject.toml b/pyproject.toml index 4e15d3ed..aaae9579 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mixedbread" -version = "0.26.0" +version = "0.27.0" description = "The official Python library for the Mixedbread API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/mixedbread/_client.py b/src/mixedbread/_client.py index 0eca020d..22dc96ba 100644 --- a/src/mixedbread/_client.py +++ b/src/mixedbread/_client.py @@ -68,6 +68,7 @@ ENVIRONMENTS: Dict[str, str] = { "production": "https://api.mixedbread.com", + "development": "https://api.dev.mixedbread.com", "local": "http://127.0.0.1:8000", } @@ -87,13 +88,13 @@ class Mixedbread(SyncAPIClient): # client options api_key: str - _environment: Literal["production", "local"] | NotGiven + _environment: Literal["production", "development", "local"] | NotGiven def __init__( self, *, api_key: str | None = None, - environment: Literal["production", "local"] | NotGiven = NOT_GIVEN, + environment: Literal["production", "development", "local"] | NotGiven = NOT_GIVEN, base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN, timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN, max_retries: int = DEFAULT_MAX_RETRIES, @@ -197,7 +198,7 @@ def copy( self, *, api_key: str | None = None, - environment: Literal["production", "local"] | None = None, + environment: Literal["production", "development", "local"] | None = None, base_url: str | httpx.URL | None = None, timeout: float | Timeout | None | NotGiven = NOT_GIVEN, http_client: httpx.Client | None = None, @@ -450,13 +451,13 @@ class AsyncMixedbread(AsyncAPIClient): # client options api_key: str - _environment: Literal["production", "local"] | NotGiven + _environment: Literal["production", "development", "local"] | NotGiven def __init__( self, *, api_key: str | None = None, - environment: Literal["production", "local"] | NotGiven = NOT_GIVEN, + environment: Literal["production", "development", "local"] | NotGiven = NOT_GIVEN, base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN, timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN, max_retries: int = DEFAULT_MAX_RETRIES, @@ -560,7 +561,7 @@ def copy( self, *, api_key: str | None = None, - environment: Literal["production", "local"] | None = None, + environment: Literal["production", "development", "local"] | None = None, base_url: str | httpx.URL | None = None, timeout: float | Timeout | None | NotGiven = NOT_GIVEN, http_client: httpx.AsyncClient | None = None, diff --git a/src/mixedbread/_version.py b/src/mixedbread/_version.py index f10c0174..064f5087 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.26.0" # x-release-please-version +__version__ = "0.27.0" # x-release-please-version