Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.151.0"
".": "0.152.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.152.0](https://github.com/kernel/kernel-go-sdk/compare/v0.151.0...v0.152.0) (2026-11-19)


### Features

* Add `ConnectURL` to `OnePasswordOAuthAction`: a 1Password connect link for the same authorization, for the person to open on their own device ([c574dd5](https://github.com/kernel/kernel-go-sdk/commit/c574dd5a7613c206be817ad6d1562df461e1cbe8))

## [0.151.0](https://github.com/kernel/kernel-go-sdk/compare/v0.150.0...v0.151.0) (2026-11-19)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/kernel/kernel-go-sdk@v0.151.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.152.0'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.151.0" // x-release-please-version
const PackageVersion = "0.152.0" // x-release-please-version
19 changes: 19 additions & 0 deletions vaultitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -5248,10 +5248,20 @@ type OnePasswordOAuthAction struct {
Name OnePasswordOAuthActionName `json:"name" api:"required"`
// 1Password-hosted OAuth authorization URL for the human to open.
URL string `json:"url" api:"required" format:"uri"`
// 1Password connect link for the same authorization, for the person to open on
// their own device. In 1Password for iOS or Android it opens the app to approve
// the connection. Anywhere else it opens 1Password in the browser, where someone
// without 1Password can sign up; if the account is still pending afterwards, they
// connect with url. Also offer url to people who already use 1Password on a
// computer. Whichever link the person answers first settles the authorization and
// the other stops working. Expires with the account's expires_at; repeat the
// upsert for fresh links. Absent on a recovery link.
ConnectURL string `json:"connect_url" format:"uri"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Name respjson.Field
URL respjson.Field
ConnectURL respjson.Field
ExtraFields map[string]respjson.Field
raw string
} `json:"-"`
Expand Down Expand Up @@ -7671,6 +7681,8 @@ func (r *VaultItemUnionStateFields) UnmarshalJSON(data []byte) error {
type VaultItemUnionAction struct {
Name string `json:"name"`
URL string `json:"url"`
// This field is from variant [VaultItemActionUnion], [OnePasswordOAuthAction].
ConnectURL string `json:"connect_url"`
// This field is from variant [VaultItemActionUnion].
CaptureToken string `json:"capture_token"`
// This field is from variant [CredentialVaultItemActionUnion].
Expand All @@ -7682,6 +7694,7 @@ type VaultItemUnionAction struct {
JSON struct {
Name respjson.Field
URL respjson.Field
ConnectURL respjson.Field
CaptureToken respjson.Field
ExpiresAt respjson.Field
AccessRequestReference respjson.Field
Expand Down Expand Up @@ -7931,11 +7944,14 @@ type VaultItemActionUnion struct {
// "push_approval", "collect", "mfa", "embedded_ceremony", "card_enrollment".
Name string `json:"name"`
URL string `json:"url"`
// This field is from variant [OnePasswordOAuthAction].
ConnectURL string `json:"connect_url"`
// This field is from variant [VaultItemActionCardEnrollment].
CaptureToken string `json:"capture_token"`
JSON struct {
Name respjson.Field
URL respjson.Field
ConnectURL respjson.Field
CaptureToken respjson.Field
raw string
} `json:"-"`
Expand Down Expand Up @@ -8859,6 +8875,8 @@ func (r *VaultItemOperationResponseUnionStateFields) UnmarshalJSON(data []byte)
type VaultItemOperationResponseUnionAction struct {
Name string `json:"name"`
URL string `json:"url"`
// This field is from variant [VaultItemActionUnion], [OnePasswordOAuthAction].
ConnectURL string `json:"connect_url"`
// This field is from variant [VaultItemActionUnion].
CaptureToken string `json:"capture_token"`
// This field is from variant [CredentialVaultItemActionUnion].
Expand All @@ -8870,6 +8888,7 @@ type VaultItemOperationResponseUnionAction struct {
JSON struct {
Name respjson.Field
URL respjson.Field
ConnectURL respjson.Field
CaptureToken respjson.Field
ExpiresAt respjson.Field
AccessRequestReference respjson.Field
Expand Down
Loading