Skip to content

release: 2.6.0 - #248

Merged
stainless-app[bot] merged 14 commits into
mainfrom
release-please--branches--main--changes--next
Jul 30, 2026
Merged

release: 2.6.0#248
stainless-app[bot] merged 14 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

2.6.0 (2026-07-30)

Full Changelog: v2.5.0...v2.6.0

Features

  • openapi: add RRF weights parameter (a7a280e)
  • spec: expose computed attributes (b0dcf7a)
  • spec: hide HighlightConfig.rank_fragments_by's RankBy ref from Stainless (e5e324d)
  • spec: make compute_attributes value x-stainless-any (90820e1)
  • spec: rename HighlightConfig -> HighlightConfigParams (8143231)
  • stlc: configurable CI runner and private-production-repo support in workflow templates (dc80c12)
  • type compute_attributes as the Expr union (turbopuffer#10694) (#252) (b6e2196)

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

@stainless-app

stainless-app Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Testing

To try out this version of the SDK:

Add the following URL as a Maven source: 'https://pkg.stainless.com/s/turbopuffer-java/b6e21963bcffe99fa65e87ae29f0114fae5da15f/mvn'

Expires at: Sat, 29 Aug 2026 21:28:42 GMT
Updated at: Thu, 30 Jul 2026 21:28:42 GMT

…50cc737f03437

Picks up ComputeAttribute support (turbopuffer/turbopuffer-apigen).
…-attributes

scripts: bump turbopuffer-apigen image for ComputeAttribute support
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8abd5eb to 1d1a0c2 Compare July 17, 2026 23:34
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 1d1a0c2 to cfb5ca3 Compare July 18, 2026 00:06
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from cfb5ca3 to 187956c Compare July 24, 2026 15:41

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 187956c. Configure here.

@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 187956c to 9e62df5 Compare July 28, 2026 03:15
…tes` (#250)

* Rich compute_attributes typing (Path B override)

Type the `compute_attributes` query param as `Map<String, ComputeAttributes>`
(the rich union from CustomTypes.kt) instead of an opaque nested class, in
NamespaceQueryParams, NamespaceExplainQueryParams, and NamespaceMultiQueryParams.

Mirrors the existing custom override for `aggregate_by`
(`Map<String, AggregateBy>`): JsonField wiring, builder setters, getters,
validate(), and validity() are all updated consistently, and the opaque nested
`ComputeAttributes` class is removed in favor of the union in CustomTypes.kt.

Regenerated CustomTypes.kt via scripts/gen (apigen) to pull in the
ComputeAttributes union body, which was not yet present on next.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: cover all ComputeAttributes union variants

Add a single serialization test that builds each ComputeAttributes union
variant (VectorDist, Highlight, Highlight-with-config, and RankBy/ANN via
the RankBy subtype) and asserts the turbolisp wire JSON. Filename is
distinct from the excluded *QueryParamsTest patterns so it runs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9e62df5 to 196ad7d Compare July 28, 2026 17:56
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 196ad7d to 0cccaa7 Compare July 30, 2026 09:42
Per benesch: these test the guts of the Stainless integration and are more
trouble than they're worth. The feature's doctests already exercise
serialization end-to-end, and the wire format here isn't fiddly.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0cccaa7 to 490d3f1 Compare July 30, 2026 17:31
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 490d3f1 to 3cca8d2 Compare July 30, 2026 19:11
mattcuento and others added 2 commits July 30, 2026 14:26
…252)

* chore: regenerate custom types

apigen now folds ComputeAttributes into the Expr union (spec turbopuffer#10694).

* feat: type compute_attributes values as the Expr union

Spec PR turbopuffer#10694 folded the ComputeAttributes union into the
unified Expr union. Retype the hand-written compute_attributes override
in the query param models from ComputeAttributes to Expr, and update the
(source-set-excluded) param model tests to construct values via
Expr.highlight(...). ktfmt reformatting of the touched files is included.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3cca8d2 to 482b492 Compare July 30, 2026 21:26
@stainless-app
stainless-app Bot merged commit ce954ca into main Jul 30, 2026
10 checks passed
@stainless-app

stainless-app Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

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