Repository navigation
release: 0.143.0 - #224
release: 0.143.0#224
Conversation
Stainless-Generated-From: d22d35c6ed7d6e9c7855c18de818227ad4db24ce
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 285ee21. Configure here.
| Last4 param.Opt[string] `json:"last4,omitzero"` | ||
| // A persistent alias of the card number in the customer's vault. Required with | ||
| // card_mode full, rejected with card_mode cvc_only. | ||
| PanAlias param.Opt[string] `json:"pan_alias,omitzero"` |
There was a problem hiding this comment.
Undocumented required-to-optional field change
Medium Severity
Existing VgsCardInputParam fields ExpMonth, ExpYear, Last4, and PanAlias changed from required concrete types to param.Opt, so assignments like params.ExpMonth = 12 no longer compile. CHANGELOG.md and the release notes do not name these fields or the required-to-optional shift.
Additional Locations (1)
Triggered by learned rule: Flag undocumented Params required↔optional type changes
Reviewed by Cursor Bugbot for commit 285ee21. Configure here.
|
🤖 Release is at https://github.com/kernel/kernel-go-sdk/releases/tag/v0.143.0 🌻 |


Automated Release PR
0.143.0 (2026-11-07)
Features
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
Changes the VGS card vault request contract and required-field rules for payment flows; integrators must set
card_modecorrectly to avoid API rejections.Overview
Bumps the SDK to v0.143.0 (manifest, changelog, README pin, and
PackageVersion).The functional API change is VGS vault card purchases now support a
card_modefield (fullorcvc_only) onVgsCardVaultItemSpecand related vault union types, plusGetCardMode()on params.cvc_onlycovers checkouts where the merchant already has the PAN and only needs a fresh CVC alias.VgsCardInput/VgsCardInputParamvalidation is relaxed to match: onlycvc_aliasstays always required;pan_alias, expiry, andlast4are optional in the SDK (required at the API forfull, disallowed forcvc_only) and request params useparam.Optwhere appropriate.Reviewed by Cursor Bugbot for commit 285ee21. Bugbot is set up for automated code reviews on this repo. Configure here.