From d515364d273aab8707f59a19afc8f73efc330857 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 17:21:05 +0000 Subject: [PATCH 01/13] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a5e2a677..0b5c10fc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-ebd391dad1252eb00dd69ac50455b93bcdcd2cf0177d678e160e47f1d017287f.yml -openapi_spec_hash: 3bfd5f9eb34711238caef851aa81f5c0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-90e2b43ca27efb162f346a69010b59f2bcaee12e2a706b860f9aeddef3e95f88.yml +openapi_spec_hash: af10896328da63a77a2560647d1de3e1 config_hash: 594a43c9cb8089f079bb9c5442646791 From 361fcd66f8422020375b076d4c70a83c2b82241d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 04:39:09 +0000 Subject: [PATCH 02/13] fix: use correct field name format for multipart file arrays --- src/mixedbread/_qs.py | 8 ++----- src/mixedbread/_types.py | 3 +++ src/mixedbread/_utils/_utils.py | 42 ++++++++++++++++++++++++++------- tests/test_extract_files.py | 28 ++++++++++++++++++---- tests/test_files.py | 2 +- 5 files changed, 63 insertions(+), 20 deletions(-) diff --git a/src/mixedbread/_qs.py b/src/mixedbread/_qs.py index de8c99bc..4127c19c 100644 --- a/src/mixedbread/_qs.py +++ b/src/mixedbread/_qs.py @@ -2,17 +2,13 @@ from typing import Any, List, Tuple, Union, Mapping, TypeVar from urllib.parse import parse_qs, urlencode -from typing_extensions import Literal, get_args +from typing_extensions import get_args -from ._types import NotGiven, not_given +from ._types import NotGiven, ArrayFormat, NestedFormat, not_given from ._utils import flatten _T = TypeVar("_T") - -ArrayFormat = Literal["comma", "repeat", "indices", "brackets"] -NestedFormat = Literal["dots", "brackets"] - PrimitiveData = Union[str, int, float, bool, None] # this should be Data = Union[PrimitiveData, "List[Data]", "Tuple[Data]", "Mapping[str, Data]"] # https://github.com/microsoft/pyright/issues/3555 diff --git a/src/mixedbread/_types.py b/src/mixedbread/_types.py index fa2086c9..39dc5bdd 100644 --- a/src/mixedbread/_types.py +++ b/src/mixedbread/_types.py @@ -47,6 +47,9 @@ ModelT = TypeVar("ModelT", bound=pydantic.BaseModel) _T = TypeVar("_T") +ArrayFormat = Literal["comma", "repeat", "indices", "brackets"] +NestedFormat = Literal["dots", "brackets"] + # Approximates httpx internal ProxiesTypes and RequestFiles types # while adding support for `PathLike` instances diff --git a/src/mixedbread/_utils/_utils.py b/src/mixedbread/_utils/_utils.py index 771859f5..199cd231 100644 --- a/src/mixedbread/_utils/_utils.py +++ b/src/mixedbread/_utils/_utils.py @@ -17,11 +17,11 @@ ) from pathlib import Path from datetime import date, datetime -from typing_extensions import TypeGuard +from typing_extensions import TypeGuard, get_args import sniffio -from .._types import Omit, NotGiven, FileTypes, HeadersLike +from .._types import Omit, NotGiven, FileTypes, ArrayFormat, HeadersLike _T = TypeVar("_T") _TupleT = TypeVar("_TupleT", bound=Tuple[object, ...]) @@ -40,25 +40,45 @@ def extract_files( query: Mapping[str, object], *, paths: Sequence[Sequence[str]], + array_format: ArrayFormat = "brackets", ) -> list[tuple[str, FileTypes]]: """Recursively extract files from the given dictionary based on specified paths. A path may look like this ['foo', 'files', '', 'data']. + ``array_format`` controls how ```` segments contribute to the emitted + field name. Supported values: ``"brackets"`` (``foo[]``), ``"repeat"`` and + ``"comma"`` (``foo``), ``"indices"`` (``foo[0]``, ``foo[1]``). + Note: this mutates the given dictionary. """ files: list[tuple[str, FileTypes]] = [] for path in paths: - files.extend(_extract_items(query, path, index=0, flattened_key=None)) + files.extend(_extract_items(query, path, index=0, flattened_key=None, array_format=array_format)) return files +def _array_suffix(array_format: ArrayFormat, array_index: int) -> str: + if array_format == "brackets": + return "[]" + if array_format == "indices": + return f"[{array_index}]" + if array_format == "repeat" or array_format == "comma": + # Both repeat the bare field name for each file part; there is no + # meaningful way to comma-join binary parts. + return "" + raise NotImplementedError( + f"Unknown array_format value: {array_format}, choose from {', '.join(get_args(ArrayFormat))}" + ) + + def _extract_items( obj: object, path: Sequence[str], *, index: int, flattened_key: str | None, + array_format: ArrayFormat, ) -> list[tuple[str, FileTypes]]: try: key = path[index] @@ -75,9 +95,11 @@ def _extract_items( if is_list(obj): files: list[tuple[str, FileTypes]] = [] - for entry in obj: - assert_is_file_content(entry, key=flattened_key + "[]" if flattened_key else "") - files.append((flattened_key + "[]", cast(FileTypes, entry))) + for array_index, entry in enumerate(obj): + suffix = _array_suffix(array_format, array_index) + emitted_key = (flattened_key + suffix) if flattened_key else suffix + assert_is_file_content(entry, key=emitted_key) + files.append((emitted_key, cast(FileTypes, entry))) return files assert_is_file_content(obj, key=flattened_key) @@ -106,6 +128,7 @@ def _extract_items( path, index=index, flattened_key=flattened_key, + array_format=array_format, ) elif is_list(obj): if key != "": @@ -117,9 +140,12 @@ def _extract_items( item, path, index=index, - flattened_key=flattened_key + "[]" if flattened_key is not None else "[]", + flattened_key=( + (flattened_key if flattened_key is not None else "") + _array_suffix(array_format, array_index) + ), + array_format=array_format, ) - for item in obj + for array_index, item in enumerate(obj) ] ) diff --git a/tests/test_extract_files.py b/tests/test_extract_files.py index 4a252515..06c03a7c 100644 --- a/tests/test_extract_files.py +++ b/tests/test_extract_files.py @@ -4,7 +4,7 @@ import pytest -from mixedbread._types import FileTypes +from mixedbread._types import FileTypes, ArrayFormat from mixedbread._utils import extract_files @@ -37,10 +37,7 @@ def test_multiple_files() -> None: def test_top_level_file_array() -> None: query = {"files": [b"file one", b"file two"], "title": "hello"} - assert extract_files(query, paths=[["files", ""]]) == [ - ("files[]", b"file one"), - ("files[]", b"file two"), - ] + assert extract_files(query, paths=[["files", ""]]) == [("files[]", b"file one"), ("files[]", b"file two")] assert query == {"title": "hello"} @@ -71,3 +68,24 @@ def test_ignores_incorrect_paths( expected: list[tuple[str, FileTypes]], ) -> None: assert extract_files(query, paths=paths) == expected + + +@pytest.mark.parametrize( + "array_format,expected_top_level,expected_nested", + [ + ("brackets", [("files[]", b"a"), ("files[]", b"b")], [("items[][file]", b"a"), ("items[][file]", b"b")]), + ("repeat", [("files", b"a"), ("files", b"b")], [("items[file]", b"a"), ("items[file]", b"b")]), + ("comma", [("files", b"a"), ("files", b"b")], [("items[file]", b"a"), ("items[file]", b"b")]), + ("indices", [("files[0]", b"a"), ("files[1]", b"b")], [("items[0][file]", b"a"), ("items[1][file]", b"b")]), + ], +) +def test_array_format_controls_file_field_names( + array_format: ArrayFormat, + expected_top_level: list[tuple[str, FileTypes]], + expected_nested: list[tuple[str, FileTypes]], +) -> None: + top_level = {"files": [b"a", b"b"]} + assert extract_files(top_level, paths=[["files", ""]], array_format=array_format) == expected_top_level + + nested = {"items": [{"file": b"a"}, {"file": b"b"}]} + assert extract_files(nested, paths=[["items", "", "file"]], array_format=array_format) == expected_nested diff --git a/tests/test_files.py b/tests/test_files.py index 8e51c40f..71c9c289 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -131,7 +131,7 @@ def test_extract_files_does_not_mutate_original_nested_array_path(self) -> None: copied = deepcopy_with_paths(original, [["items", "", "file"]]) extracted = extract_files(copied, paths=[["items", "", "file"]]) - assert extracted == [("items[][file]", file1), ("items[][file]", file2)] + assert [entry for _, entry in extracted] == [file1, file2] assert original == { "items": [ {"file": file1, "extra": 1}, From 38de0ee2781d9e27d6aecafe89f5a5b5baaed75c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 04:41:30 +0000 Subject: [PATCH 03/13] feat: support setting headers via env --- src/mixedbread/_client.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/mixedbread/_client.py b/src/mixedbread/_client.py index 7391953a..c8d8e329 100644 --- a/src/mixedbread/_client.py +++ b/src/mixedbread/_client.py @@ -27,6 +27,7 @@ ) from ._utils import ( is_given, + is_mapping_t, maybe_transform, get_async_library, async_maybe_transform, @@ -150,6 +151,15 @@ def __init__( except KeyError as exc: raise ValueError(f"Unknown environment: {environment}") from exc + custom_headers_env = os.environ.get("MIXEDBREAD_CUSTOM_HEADERS") + if custom_headers_env is not None: + parsed: dict[str, str] = {} + for line in custom_headers_env.split("\n"): + colon = line.find(":") + if colon >= 0: + parsed[line[:colon].strip()] = line[colon + 1 :].strip() + default_headers = {**parsed, **(default_headers if is_mapping_t(default_headers) else {})} + super().__init__( version=__version__, base_url=base_url, @@ -547,6 +557,15 @@ def __init__( except KeyError as exc: raise ValueError(f"Unknown environment: {environment}") from exc + custom_headers_env = os.environ.get("MIXEDBREAD_CUSTOM_HEADERS") + if custom_headers_env is not None: + parsed: dict[str, str] = {} + for line in custom_headers_env.split("\n"): + colon = line.find(":") + if colon >= 0: + parsed[line[:colon].strip()] = line[colon + 1 :].strip() + default_headers = {**parsed, **(default_headers if is_mapping_t(default_headers) else {})} + super().__init__( version=__version__, base_url=base_url, From e46d5211a858748eed02b0c3430d2f2530fe52ce Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 09:21:44 +0000 Subject: [PATCH 04/13] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 0b5c10fc..a32850c2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-90e2b43ca27efb162f346a69010b59f2bcaee12e2a706b860f9aeddef3e95f88.yml -openapi_spec_hash: af10896328da63a77a2560647d1de3e1 +openapi_spec_hash: 136aa951fd2b3ec6e2a609b5cc6c7c91 config_hash: 594a43c9cb8089f079bb9c5442646791 From 66aa7dc394357766b869a3d067e4c130cdf482e8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 02:25:12 +0000 Subject: [PATCH 05/13] feat(api): api update --- .stats.yml | 4 ++-- src/mixedbread/types/agentic_search_config_param.py | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a32850c2..a9adb158 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-90e2b43ca27efb162f346a69010b59f2bcaee12e2a706b860f9aeddef3e95f88.yml -openapi_spec_hash: 136aa951fd2b3ec6e2a609b5cc6c7c91 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-64bb2901dcf38b9ad183246c050f7f8c828c6df1876ce4e2f5b14f911980230d.yml +openapi_spec_hash: 3035c31428bfd3b7aadd0087ab6f0b44 config_hash: 594a43c9cb8089f079bb9c5442646791 diff --git a/src/mixedbread/types/agentic_search_config_param.py b/src/mixedbread/types/agentic_search_config_param.py index 8a01d8e4..ff0d801d 100644 --- a/src/mixedbread/types/agentic_search_config_param.py +++ b/src/mixedbread/types/agentic_search_config_param.py @@ -17,6 +17,15 @@ class AgenticSearchConfigParam(TypedDict, total=False): queries_per_round: int """Maximum queries per round""" + strict_top_k: bool + """ + Whether to enforce top_k by truncating agent rankings and backfilling short + rankings + """ + + multimodal: bool + """Whether to provide image content to the agent when image URLs are available""" + instructions: Optional[str] """ Additional custom instructions (followed only when not in conflict with existing From dbe0eae914d2938dbd0e67931f85cc98fc65bc6c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 06:52:51 +0000 Subject: [PATCH 06/13] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index a9adb158..362c57b8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-64bb2901dcf38b9ad183246c050f7f8c828c6df1876ce4e2f5b14f911980230d.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-64bb2901dcf38b9ad183246c050f7f8c828c6df1876ce4e2f5b14f911980230d.yml openapi_spec_hash: 3035c31428bfd3b7aadd0087ab6f0b44 config_hash: 594a43c9cb8089f079bb9c5442646791 From 96ed1f63f452caf1478f8b0d91e682b8402d384e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 15:22:09 +0000 Subject: [PATCH 07/13] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 362c57b8..0b58390e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-64bb2901dcf38b9ad183246c050f7f8c828c6df1876ce4e2f5b14f911980230d.yml -openapi_spec_hash: 3035c31428bfd3b7aadd0087ab6f0b44 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-fffbbcadb4b7d93458ab7c607f3fe40feaca23229a1bb987a0ff941c613fba12.yml +openapi_spec_hash: 13d65731b588730117f5e9269ae1cb13 config_hash: 594a43c9cb8089f079bb9c5442646791 From b0ca410ad45aa6ea6daa0fbb2ca76f16aae11f55 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 04:10:30 +0000 Subject: [PATCH 08/13] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 0b58390e..46a99757 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-fffbbcadb4b7d93458ab7c607f3fe40feaca23229a1bb987a0ff941c613fba12.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-35e590e8fd6e150df3b4b6009fdf34ed8d9d6df7aba50970e3ccb63c1d48da54.yml openapi_spec_hash: 13d65731b588730117f5e9269ae1cb13 config_hash: 594a43c9cb8089f079bb9c5442646791 From 8802c53023895e9248f03b92477c9a17013ec7b7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 04:15:51 +0000 Subject: [PATCH 09/13] chore(internal): reformat pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1dc4f151..aa83a487 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,7 +168,7 @@ show_error_codes = true # # We also exclude our `tests` as mypy doesn't always infer # types correctly and Pyright will still catch any type errors. -exclude = ['src/mixedbread/_files.py', '_dev/.*.py', 'tests/.*'] +exclude = ["src/mixedbread/_files.py", "_dev/.*.py", "tests/.*"] strict_equality = true implicit_reexport = true From 8463da3f27c957ae4d2142ba3ba98ed2062a9899 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 15:22:26 +0000 Subject: [PATCH 10/13] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 46a99757..c3bbcebf 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-35e590e8fd6e150df3b4b6009fdf34ed8d9d6df7aba50970e3ccb63c1d48da54.yml -openapi_spec_hash: 13d65731b588730117f5e9269ae1cb13 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-8b07fa392b49e5b73b0dac4c16c560c47d83d6228f9bce49274d453dc218878d.yml +openapi_spec_hash: 93e160c2c1d9b7653eb18c88ae3eef3d config_hash: 594a43c9cb8089f079bb9c5442646791 From eac4b8f34275c9377765cfe62f677d5ca36cf061 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 23:22:30 +0000 Subject: [PATCH 11/13] feat(api): api update --- .stats.yml | 4 ++-- src/mixedbread/types/agentic_search_config_param.py | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index c3bbcebf..9c5ad56c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-8b07fa392b49e5b73b0dac4c16c560c47d83d6228f9bce49274d453dc218878d.yml -openapi_spec_hash: 93e160c2c1d9b7653eb18c88ae3eef3d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-e12db78232cd47953257d6347107b569bec788e2d0965f318b96757e70c1dab6.yml +openapi_spec_hash: 33737f5dc972140fdd68c9046e280327 config_hash: 594a43c9cb8089f079bb9c5442646791 diff --git a/src/mixedbread/types/agentic_search_config_param.py b/src/mixedbread/types/agentic_search_config_param.py index ff0d801d..dc55555a 100644 --- a/src/mixedbread/types/agentic_search_config_param.py +++ b/src/mixedbread/types/agentic_search_config_param.py @@ -18,13 +18,10 @@ class AgenticSearchConfigParam(TypedDict, total=False): """Maximum queries per round""" strict_top_k: bool - """ - Whether to enforce top_k by truncating agent rankings and backfilling short - rankings - """ + """Whether the final retrieved chunk list must provide exactly top_k ranked chunks""" multimodal: bool - """Whether to provide image content to the agent when image URLs are available""" + """Whether to provide media content to the agent for non-text modalities""" instructions: Optional[str] """ From ce836725051d0e35e32256e42b06eaa7145e50ae Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 05:22:38 +0000 Subject: [PATCH 12/13] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9c5ad56c..65899e74 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-e12db78232cd47953257d6347107b569bec788e2d0965f318b96757e70c1dab6.yml -openapi_spec_hash: 33737f5dc972140fdd68c9046e280327 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-8a6699853ccfc469a82ccbbc7d0d83eba4290614dbc11d22ac2c420ef457de06.yml +openapi_spec_hash: 19b229526d38bb034f39f08dead56e68 config_hash: 594a43c9cb8089f079bb9c5442646791 From 590ef4bc7c1b8ec7048e96c94deab058d7bd19ea Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 05:23:06 +0000 Subject: [PATCH 13/13] release: 0.51.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 20 ++++++++++++++++++++ pyproject.toml | 2 +- src/mixedbread/_version.py | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 26b1ce24..2b2b4fa9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.50.0" + ".": "0.51.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 219fa545..e9c3d6d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.51.0 (2026-05-08) + +Full Changelog: [v0.50.0...v0.51.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.50.0...v0.51.0) + +### Features + +* **api:** api update ([eac4b8f](https://github.com/mixedbread-ai/mixedbread-python/commit/eac4b8f34275c9377765cfe62f677d5ca36cf061)) +* **api:** api update ([66aa7dc](https://github.com/mixedbread-ai/mixedbread-python/commit/66aa7dc394357766b869a3d067e4c130cdf482e8)) +* support setting headers via env ([38de0ee](https://github.com/mixedbread-ai/mixedbread-python/commit/38de0ee2781d9e27d6aecafe89f5a5b5baaed75c)) + + +### Bug Fixes + +* use correct field name format for multipart file arrays ([361fcd6](https://github.com/mixedbread-ai/mixedbread-python/commit/361fcd66f8422020375b076d4c70a83c2b82241d)) + + +### Chores + +* **internal:** reformat pyproject.toml ([8802c53](https://github.com/mixedbread-ai/mixedbread-python/commit/8802c53023895e9248f03b92477c9a17013ec7b7)) + ## 0.50.0 (2026-04-23) Full Changelog: [v0.49.0...v0.50.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.49.0...v0.50.0) diff --git a/pyproject.toml b/pyproject.toml index aa83a487..51d00208 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mixedbread" -version = "0.50.0" +version = "0.51.0" description = "The official Python library for the Mixedbread API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/mixedbread/_version.py b/src/mixedbread/_version.py index 84dd5576..b259f3be 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.50.0" # x-release-please-version +__version__ = "0.51.0" # x-release-please-version