Conversation
|
🧪 Testing To try out this version of the SDK: Expires at: Fri, 01 May 2026 06:22:19 GMT |
73f35cb to
434f335
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| rest, fragment_template = rest.split("#", 1) | ||
| if "?" in rest: | ||
| rest, query_template = rest.split("?", 1) | ||
| path_template = rest |
There was a problem hiding this comment.
Local variable shadows its own enclosing function name
Low Severity
The local variable path_template on line 107 shadows the enclosing function path_template defined on line 78. After this assignment, any reference to path_template within the function body resolves to the string variable, not the function itself. While the current code doesn't call itself recursively so it works correctly today, the self-shadowing makes the code harder to reason about and would silently break if a future modification attempted to reference the function.
434f335 to
f817681
Compare
f817681 to
3aa7906
Compare
3aa7906 to
c47aa76
Compare
c47aa76 to
e938538
Compare
e938538 to
39abd82
Compare
39abd82 to
b9c891c
Compare
Note that we still want to run tests, as these depend on the metadata.
b9c891c to
b1ef332
Compare
b1ef332 to
ff88f50
Compare
ff88f50 to
f8def27
Compare
f8def27 to
0dfb147
Compare
0dfb147 to
228e834
Compare
228e834 to
a92bb06
Compare
a92bb06 to
757e9a9
Compare


Automated Release PR
0.50.0 (2026-04-01)
Full Changelog: v0.49.0...v0.50.0
Features
Bug Fixes
Chores
Refactors
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
Medium Risk
Medium risk because it changes request URL construction across multiple resources (new percent-encoding + dot-segment rejection) and removes the
stores.files.searchendpoint/types, which can be breaking for consumers.Overview
Bumps the SDK to v0.50.0 (manifest,
pyproject.toml,src/mixedbread/_version.py, changelog) and updates the tracked OpenAPI stats.Hardens request construction by introducing
path_template()(percent-encoding per URL component and rejecting./..dot-segments) and switching many resource methods to use it instead of f-string paths; adds tests for this behavior.Adds support for
indicesarray serialization insrc/mixedbread/_qs.py.Updates the Stores Files surface: removes
client.stores.files.search(and related types/docs/tests) and addscontent_urltoStoreFile; also removessummaryfields from scored audio/video chunk types.Test/CI chores: switches mock server tooling from Prism to Steady (
scripts/mock,scripts/test, docs), ignores.stdy.log, and skipslint/buildCI jobs on metadata-only push commits.Written by Cursor Bugbot for commit 757e9a9. This will update automatically on new commits. Configure here.