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.109.0"
".": "0.110.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.110.0](https://github.com/kernel/kernel-go-sdk/compare/v0.109.0...v0.110.0) (2026-09-18)


### Features

* Add credential field labels to the API ([c4dc2a2](https://github.com/kernel/kernel-go-sdk/commit/c4dc2a28cd2b9fabed18fee5ea0ac8ba0dbdeeff))

## [0.109.0](https://github.com/kernel/kernel-go-sdk/compare/v0.108.0...v0.109.0) (2026-09-17)


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.109.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.110.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.109.0" // x-release-please-version
const PackageVersion = "0.110.0" // x-release-please-version
15 changes: 13 additions & 2 deletions vaultitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -1261,12 +1261,18 @@ type CredentialVaultFieldDefinition struct {
//
// Any of "text", "email", "password", "totp".
Type CredentialVaultFieldType `json:"type" api:"required"`
// Optional human-readable display label. It is returned as non-secret metadata and
// never affects value keys, updates, or browser fills. Use single-line, trimmed
// display text without control or formatting characters. The server enforces a
// 128-byte UTF-8 limit.
Label string `json:"label"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Name respjson.Field
Required respjson.Field
Sensitive respjson.Field
Type respjson.Field
Label respjson.Field
ExtraFields map[string]respjson.Field
raw string
} `json:"-"`
Expand All @@ -1292,8 +1298,13 @@ type CredentialVaultFieldInputParam struct {
// unsupported.
//
// Any of "text", "email", "password", "totp".
Type CredentialVaultFieldType `json:"type,omitzero" api:"required"`
Required param.Opt[bool] `json:"required,omitzero"`
Type CredentialVaultFieldType `json:"type,omitzero" api:"required"`
// Optional human-readable display label. It is returned as non-secret metadata and
// never affects value keys, updates, or browser fills. Use single-line, trimmed
// display text without control or formatting characters. The server enforces a
// 128-byte UTF-8 limit.
Label param.Opt[string] `json:"label,omitzero"`
Required param.Opt[bool] `json:"required,omitzero"`
// Set false explicitly for ordinary usernames, email addresses, and other
// non-secret identifiers. Reserve true for secrets such as passwords, API tokens,
// and TOTP seeds. Password and totp fields must be true. Omission defaults to true
Expand Down
Loading