Skip to content

release: 0.43.0#260

Merged
joeldierkes merged 9 commits intomainfrom
release-please--branches--main--changes--next
Dec 17, 2025
Merged

release: 0.43.0#260
joeldierkes merged 9 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Dec 10, 2025

Automated Release PR

0.43.0 (2025-12-17)

Full Changelog: v0.42.0...v0.43.0

Features

Bug Fixes

  • docs: remove extraneous example object fields (23a65db)

Chores

  • internal: add missing files argument to base client (50f5711)
  • speedup initial import (b8d7306)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

Lazily initializes resources, adds file upload support to PATCH (sync/async), updates API key scopes and store docs, and bumps to 0.43.0 with new spec.

  • Client internals:
    • Convert resource attributes in mixedbread/_client.py to cached_property for lazy initialization (sync/async), including raw/streaming wrappers, reducing import overhead.
  • Base client:
    • Add files support to patch() and async patch(); propagate via FinalRequestOptions.
  • API types:
    • Extend APIKey.Scope.method to include "search" (types/api_key*.py).
  • Stores:
    • Clarify name constraints in create/update params; add note on special mixedbread/web store behavior in search docs.
  • Meta:
    • Bump version to 0.43.0; update OpenAPI spec URL/hash and changelog.

Written by Cursor Bugbot for commit d3fed5b. This will update automatically on new commits. Configure here.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Dec 10, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/mixedbread-python/b8d73066a54c466366e934a9e086462bb00a3d75/mixedbread-0.42.0-py3-none-any.whl'

Expires at: Fri, 16 Jan 2026 08:02:16 GMT
Updated at: Wed, 17 Dec 2025 08:02:16 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from d389e3d to 905c0a8 Compare December 11, 2025 11:28
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 905c0a8 to 57af120 Compare December 12, 2025 05:53
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 57af120 to a915b61 Compare December 12, 2025 13:28
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from a915b61 to 7f4d08a Compare December 13, 2025 11:28
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7f4d08a to dca6115 Compare December 16, 2025 05:18
) -> ResponseT:
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
opts = FinalRequestOptions.construct(
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Async patch method uses sync file conversion function

The async patch method incorrectly uses the synchronous to_httpx_files(files) function instead of await async_to_httpx_files(files). This is inconsistent with the async post method (line 1763) and async put method (line 1791), which both correctly use await async_to_httpx_files(files). Using the sync version in an async context could cause issues with async file operations and breaks the established pattern in the codebase.

Fix in Cursor Fix in Web

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from dca6115 to 3de9845 Compare December 16, 2025 18:28
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3de9845 to d3fed5b Compare December 17, 2025 08:01
@joeldierkes joeldierkes merged commit 0373e40 into main Dec 17, 2025
7 of 8 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Dec 17, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant