Merged
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.
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.