-
Notifications
You must be signed in to change notification settings - Fork 1
release: 0.25.0 #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: 0.25.0 #52
Conversation
1f84c52 to
1a4cfb5
Compare
| var validationRegistry = map[reflect.Type][]validationEntry{} | ||
|
|
||
| func RegisterFieldValidator[T any, V string | bool | int](fieldName string, values ...V) { | ||
| func RegisterFieldValidator[T any, V string | bool | int | float64](fieldName string, values ...V) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: float64 type added but not handled in switch
The type constraint for RegisterFieldValidator was expanded to accept float64 values, but the switch statement inside the function (handling []string, []int, []bool) has no case []float64: branch. Additionally, validationEntry.legalValues has no field for storing float64 values, and no validateFloat function exists. If float64 values are passed to this function, they will be silently ignored and validation will not work correctly.
1a4cfb5 to
65ab4d6
Compare
65ab4d6 to
afb7c39
Compare
afb7c39 to
6b440dc
Compare
6b440dc to
f74efb3
Compare
f74efb3 to
328892b
Compare
328892b to
3178259
Compare
The codegen incorrectly modified the pagination code, breaking the custom fix that was previously applied. This reverts to the working version from main. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
masnwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Automated Release PR
0.25.0 (2026-01-07)
Full Changelog: v0.24.0...v0.25.0
Features
Bug Fixes
Chores
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
Releases v0.25.0 with notable API surface updates across auth, credentials, and proxies.
AuthAgentInvocationCreateResponse(always returnsinvocation_id), enrichesAgentAuthInvocationResponsewithdomain,type,step,FAILEDstatus, SSO button metadata, submitted/pending fields, andlive_view_url;DiscoveredFieldaddstotp.AuthAgent/create params addallowed_domains; list query switches todomain(removestarget_domain).Submitbecomes a union (field_valuesorsso_button) and returnsaccepted; removesreauthanddiscoverendpoints and related types.id_or_name; add TOTP support (totp_secreton create/update,has_totp_secret, transienttotp_code+ expiry) and optionalsso_provider; values now merge on update; newGET /credentials/{id_or_name}/totp-code.POST /proxies/{id}/checkandProxyCheckResponsetypes.0.25.0, updates README pin, LICENSE year, enum validator supportsfloat64, and regeneratesapi.md/tests.Written by Cursor Bugbot for commit 07bdf87. This will update automatically on new commits. Configure here.