Skip to content

release: 0.40.0#257

Merged
joeldierkes merged 5 commits into
mainfrom
release-please--branches--main--changes--next
Nov 11, 2025
Merged

release: 0.40.0#257
joeldierkes merged 5 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Nov 9, 2025

Automated Release PR

0.40.0 (2025-11-11)

Full Changelog: v0.39.0...v0.40.0

Features

Bug Fixes

  • compat with Python 3.14 (99a4c1c)

Chores

  • package: drop Python 3.8 support (54a77eb)

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

Bumps to 0.40.0 with API type additions (start_line/num_lines, optional parsing chunk content), Python 3.9+ requirement, a WeakKey-based discriminator cache, and asyncio threading simplification.

  • API/Types:
    • Add optional start_line/num_lines fields across generated metadata in scored_*_input_chunk, stores/store_file, vector_store_* models.
    • Make parsing_job.ResultChunk.content optional.
  • Internals:
    • Replace per-type __discriminator__ caching with DISCRIMINATOR_CACHE (weakref.WeakKeyDictionary); update tests accordingly.
    • Simplify thread offloading to asyncio.to_thread; remove Python 3.8 backport logic.
  • Packaging/Docs:
    • Require Python >=3.9 (drop 3.8); update README, classifiers, pyright pythonVersion.
  • Release/Meta:
    • Version to 0.40.0; update OpenAPI spec URL/hash and changelog.

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

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Nov 9, 2025

🧪 Testing

    To try out this version of the SDK, run:
    ```
    pip install 'https://pkg.stainless.com/s/mixedbread-python/93c24d40549f6e7d1cb881313a40bcdd19fed4ab/mixedbread-0.39.0-py3-none-any.whl'
    ```

    _Expires: Thu, 11 Dec 2025 06:29:51 GMT_

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 043a755 to 16685e1 Compare November 11, 2025 06:02
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 16685e1 to 0f823c3 Compare November 11, 2025 06:03
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0f823c3 to 99284a4 Compare November 11, 2025 06:29
@joeldierkes joeldierkes merged commit 0a4aef4 into main Nov 11, 2025
7 of 8 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Nov 11, 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