Skip to content

Releases: 1Password/onepassword-sdk-go

Release 0.1.5

03 Dec 15:46
v0.1.5
3bd8390
Compare
Choose a tag to compare

Version 0.1.5 of the 1Password Go SDK brings:

  • Support for generating passwords. You can now generate random, PIN, and memorable passwords using the onepassword.Secrets.GeneratePassword function.
  • Support for item subtitles. Creating and editing an item now sets the subtitle correctly, which is visible in the item preview in all client apps.
  • Support for the Credit Card Number field type. You can now retrieve, create, and edit items containing credit card numbers.

Release 0.1.4

20 Nov 17:10
v0.1.4
45bcf1b
Compare
Choose a tag to compare

The v0.1.4 release of the Go SDK brings:

  • Support for validating secret references. You can now check that a secret reference is formatted correctly without having to resolve it or even authenticate, using the 'ValidateSecretReference' function.

Release 0.1.3

14 Oct 15:04
v0.1.3
1756091
Compare
Choose a tag to compare

The v0.1.3 release of the Go SDK brings:

  • Support for item websites. You can now create, get, and edit websites for autofill within your 1Password items using item CRUD functions.

Release 0.1.2

09 Oct 12:39
v0.1.2
7de60a7
Compare
Choose a tag to compare

The v0.1.2 release of the Go SDK brings:

  • Support for item tags. You can now create, get, and edit tags within your 1Password items using item CRUD functions.
  • Support for fetching one-time password codes using secret references. You can now fetch your TOTP code with the Secrets.Resolve function, using a secret reference for the TOTP field in your item. For example: op://vault/item/field?=attribute=totp

Release 0.1.1

08 Aug 12:19
v0.1.1
55b3e2e
Compare
Choose a tag to compare

This is the v0 release of the 1Password Go SDK.

The 1Password Go SDK allows you to build secrets management integrations that can programmatically access secrets stored in 1Password. With this SDK, you can:

Release 0.1.0-beta.14

06 Aug 13:44
v0.1.0-beta.14
551ef2c
Compare
Choose a tag to compare
Release 0.1.0-beta.14 Pre-release
Pre-release

This release:

  • introduces support for listing items and vaults
  • fixes a bug where concurrent item updates could lead to unexpected overwrites
  • fixes a bug where the SDK was priorly not working with service account tokens generated by the 1Password CLI
  • fixes a bug where the items created by the SDK priorly did not have the password strength set correctly

Release 0.1.0-beta.12

01 Aug 09:01
v0.1.0-beta.12
47f0ce9
Compare
Choose a tag to compare
Release 0.1.0-beta.12 Pre-release
Pre-release

This release includes:

  • Support for reading and writing OTP field information such as the TOTP code and seed, through the Item API.
  • The Update operation is renamed to Put to create more realistic expectation with regard to the effect of the operation.
  • The item creation operation now takes as input ItemCreateParams.
  • Support for a few more field types: Phone, Url, CreditCardType.

NOTE This release contains breaking changes:

Wherever you were using

updatedItem, err := client.Items.Update(context.Background(), newItem)

you must now use

updatedItem, err := client.Items.Put(context.Background(), newItem)

and wherever you were using

item := onepassword.Item{
		ID:       "",
		Title:    "",
		Category: "",
		VaultID:  "",
		Fields:   nil,
		Sections: nil,
	}

createdItem, err := client.Items.Create(context.Background(), item)

you must now use

params := onepassword.ItemCreateParams {
		Title:    "",
		Category: "",
		VaultID:  "",
		Fields:   nil,
		Sections: nil,
	}
createdItem, err := client.Items.Create(context.Background(), params)

Public beta 0.1.0-beta.11

16 Jul 13:07
v0.1.0-beta.11
6191916
Compare
Choose a tag to compare
Pre-release

This release fixes a bug where the Secrets.Resolve function was not be able to resolve secret references containing periods.

Public beta 0.1.0-beta.10

30 May 15:27
v0.1.0-beta.10
1a77926
Compare
Choose a tag to compare
Pre-release

This release removes some misguiding code comments.

Public Beta v0.1.0-beta.9

28 May 08:03
3921460
Compare
Choose a tag to compare
Pre-release

This release fixes two bugs.

  • [FIXED] The Go SDK no longer errors out for function calls that are executed after an unsuccessful operation.
  • [IMPROVED] Item editing now contains additional validation to ensure item icons are not removed upon updating.