Skip to content

Comments

Update module github.com/1password/onepassword-sdk-go to v0.4.0#14

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-1password-onepassword-sdk-go-0.x
Open

Update module github.com/1password/onepassword-sdk-go to v0.4.0#14
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-1password-onepassword-sdk-go-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 4, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/1password/onepassword-sdk-go v0.1.6v0.4.0 age confidence

Release Notes

1password/onepassword-sdk-go (github.com/1password/onepassword-sdk-go)

v0.4.0: Release 0.4.0

Compare Source

1Password Go SDK v0.4.0

NEW

  • Desktop App integration: The SDK can now authenticate via an authorization prompt from the 1Password app.
  • Vault CRUDL: You can now fully manage 1Password vaults with the SDK, including creating, reading, updating, deleting and listing.
  • Vault group permission management operations: You can now grant, update and revoke group access to vaults using grantGroupPermissions, updateGroupPermissions, and revokeGroupPermissions functions.
  • Item batch management: You can now retrieve, create, update and delete items in batch, enabling more scalable item management.

v0.3.1: Release 0.3.1

Compare Source

1Password Go SDK v0.3.1

NEW

  • VaultOverview now includes created_at and updated_at fields that show when the vault was created and last updated.

v0.3.0: Release 0.3.0

Compare Source

1Password Go SDK v0.3.0

NEW

  • Support for item states: You can now fetch an item's state using the SDK. ItemOverview exposes one of two states: Active or Archived.
    • Active: An item located inside a vault. (Default)
    • Archived: An item that has been moved to the Archive. 1Password doesn't include archived items in search results or suggest them when you fill in apps and browsers. You can keep archived items as long as you'd like.
  • Filtering listed items by state: You can now filter the results of the item list function by item state.

FIXED

  • Deleting Archived Items: The SDK now supports deleting items from the archive.

⚠️ BREAKING CHANGES ⚠️

This release contains breaking changes for two functions in the Go SDK.

Vault listing

  • The function name has changed from ListAll to List. To use this in your code, replace:
vaults, err := client.Vaults().ListAll(context.Background(), vaultID)
// error handling

with:

vaults, err := client.Vaults().List(context.Background(), vaultID)
// error handling
  • The return type of the vault listing function has changed from *Iterator[VaultOverview] to []VaultOverview. To use this in your code, replace:
for {
	vault, err := vaults.Next()
	if errors.Is(err, onepassword.ErrorIteratorDone) {
		break
	} else if err != nil {
		// error handling
	}
	// using the vault overview
}

with:

for _, vault := range vaults {
	// using the vault overview
}

Item listing

  • The function name has changed from ListAll to List. To use this in your code, replace:
overviews, err := client.Items().ListAll(context.Background())
// error handling

with:

overviews, err := client.Items().List(
	context.Background(),
	vaultID,
	onepassword.NewItemListFilterTypeVariantByState(
		&onepassword.ItemListFilterByStateInner{
			Active:   true,
			Archived: true,
		},
	),
)
// error handling
  • The return type of the item listing function has changed from *Iterator[ItemOverview] to []ItemOverview. To use this in your code, replace:
for {
	overview, err := overviews.Next()
	if errors.Is(err, onepassword.ErrorIteratorDone) {
		break
	} else if err != nil {
		// error handling
	}
	// using the item overview
}

with:

for _, overview := range overviews {
	// using the item overview
}

This does not affect any code that's already deployed, and will not take effect in your codebase until you choose to update to version 0.3.0 or later of the 1Password Go SDK.

v0.2.1: Release 0.2.1

Compare Source

1Password Go SDK v0.2.1

NEW

  • CreatedAt and UpdatedAt item metadata: Items and item overviews now expose attributes with their creation and last edit times.
  • Resolving secrets in bulk: With the client.Secrets().ResolveAll function, the SDK is now able to resolve multiple secrets at once, improving the performance of the operation.

IMPROVED

  • Support for new field types: Items with Address and Date fields can now be created, retrieved, and edited using the 1Password SDK.
  • Item sharing for attachments and documents: Items with files attached can now be shared.
  • Adding custom fields in sections automatically: If a custom field has no specified section, the SDKs now automatically add the custom field to an empty section within the item, creating it if necessary.
  • Tags in item overviews: The return type of Items().ListAll() now also contains the item tags.
  • Broader item editing capabilities: You can now use the items.put function with more item types, including those with fields that are not directly editable through the SDK, like legacy fields, or passkeys.

FIXED

  • Improvements to resolving secret references:
    • Archived items are no longer used for secret references.
    • When multiple sections match a section query when resolving secret references, the SDKs now look through the fields in all matching sections instead of erroring.

v0.2.0: Release 0.2.0

Compare Source

1Password Go SDK v0.2.0

NEW

  • File Support: You can now create Document items, attach files to items, delete files from items, and read file contents using the SDK.

IMPROVED

  • Read files using secret references: You can now resolve secret references that point to files attached to 1Password items.
  • Read SSH keys in Open SSH format: You can now use a secret reference to fetch a private key in OpenSSH format. For example: op://vault/<SSH item>/private key?ssh-format=openssh
  • Support for more item field types: You can now create, retrieve, and edit items containing SSH keys, Month-Year and Menu-type fields using the SDK.
  • Read more field types using secret references: You can now resolve secret references that point to information stored in Date, Month/Year, Address, and Reference field types.
  • Improved error messages: The error messages returned by the SDK were improved to be more clear and actionable.
⚠️ BREAKING CHANGE ⚠️

This release contains a breaking change for the Go SDK, where the attributes of client (Vaults, Items, Secrets), as well as the Shares attribute of client.Items should now be accessed through getter methods instead of directly.

This does not affect any code already deployed, and will not take effect in your code-base before explicitly updating to the latest version of the 1Password Go SDK (0.2.0).

To migrate your code which uses prior versions of the 1Password Go SDK to the latest, replace in your application code all occurrences of:

  • client.Items.Shares. with client.Items().Shares().
  • client.Items. with client.Items().
  • client.Vaults. with client.Vaults().
  • client.Secrets. with client.Secrets().

in the SDK function calls.

v0.1.7: Release 0.1.7

Compare Source

1Password Go SDK v0.1.7

IMPROVED:

  • The SDK now returns an error with a custom type when it hits the rate limit of the 1Password servers.

FIXED:

  • Using an SDK client in a long-running process no longer causes 401 server responses.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 8c914d3 to fc4d3de Compare March 4, 2025 14:21
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.1.7 Update module github.com/1password/onepassword-sdk-go to v0.2.0 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from fc4d3de to d747742 Compare March 20, 2025 15:55
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.2.0 Update module github.com/1password/onepassword-sdk-go to v0.2.1 Mar 20, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Mar 20, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/extism/go-sdk v1.6.1 -> v1.7.0
github.com/tetratelabs/wazero v1.8.2 -> v1.9.0

@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from d747742 to 7417fb8 Compare April 23, 2025 16:09
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.2.1 Update module github.com/1password/onepassword-sdk-go to v0.3.0 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 7417fb8 to 459afda Compare June 11, 2025 20:35
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.0 Update module github.com/1password/onepassword-sdk-go to v0.3.1 Jun 11, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 459afda to 390c4f2 Compare June 28, 2025 01:05
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Jul 27, 2025
@renovate renovate bot closed this Jul 27, 2025
@renovate renovate bot deleted the renovate/github.com-1password-onepassword-sdk-go-0.x branch July 27, 2025 12:44
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Update module github.com/1password/onepassword-sdk-go to v0.3.1 Jul 27, 2025
@renovate renovate bot reopened this Jul 27, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 8b722b2 to 390c4f2 Compare July 27, 2025 18:31
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Sep 5, 2025
@renovate renovate bot closed this Sep 5, 2025
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Update module github.com/1password/onepassword-sdk-go to v0.3.1 Sep 5, 2025
@renovate renovate bot reopened this Sep 5, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from d4e2ee9 to 390c4f2 Compare September 5, 2025 09:48
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Sep 24, 2025
@renovate renovate bot closed this Sep 24, 2025
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 - autoclosed Update module github.com/1password/onepassword-sdk-go to v0.3.1 Sep 24, 2025
@renovate renovate bot reopened this Sep 24, 2025
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 8053d1a to 390c4f2 Compare September 24, 2025 09:44
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 8 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.5 -> 1.24.0
github.com/dylibso/observe-sdk/go v0.0.0-20240819160327-2d926c5d788a -> v0.0.0-20240828172851-9145d8ad07e1
github.com/extism/go-sdk v1.6.1 -> v1.7.1
github.com/ianlancetaylor/demangle v0.0.0-20240805132620-81f5be970eca -> v0.0.0-20251118225945-96ee0021ea0f
github.com/tetratelabs/wazero v1.8.2 -> v1.11.0
go.opentelemetry.io/proto/otlp v1.3.1 -> v1.9.0
golang.org/x/sys v0.29.0 -> v0.40.0
golang.org/x/text v0.21.0 -> v0.28.0
google.golang.org/protobuf v1.36.1 -> v1.36.11

@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 390c4f2 to 1d2ced3 Compare February 10, 2026 13:31
@renovate renovate bot changed the title Update module github.com/1password/onepassword-sdk-go to v0.3.1 Update module github.com/1password/onepassword-sdk-go to v0.4.0 Feb 10, 2026
@renovate renovate bot force-pushed the renovate/github.com-1password-onepassword-sdk-go-0.x branch from 1d2ced3 to 9ce88be Compare February 12, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants