Skip to content

Releases: 1Password/connect-sdk-go

v1.5.3

28 Jul 17:35
v1.5.3
6caaa1c
Compare
Choose a tag to compare

Fixes

  • In getItem, if getItemByUUID fails, try getItemByTitle in case the title happens to be 26 chars long. {#84}
  • Fixed ContentVersoin typo {#80}

v1.5.2

10 Jul 14:26
c35199f
Compare
Choose a tag to compare

Fixes

  • Downgrading atomic dependency due to compatibility issues with Goreleaser. {81}

v1.5.1

12 Jun 18:47
79f235c
Compare
Choose a tag to compare

Features

  • Added constants for item field purpose and type. {67}
  • Improved error handling when does not contain a valid json body. {63}

v1.5.0

08 Jul 10:16
v1.5.0
ac4a2c9
Compare
Choose a tag to compare

Features

  • Add DeleteItemByTitle function. {#61}

Fixes

  • Fix parameter names for GetFile. {#60}
  • Fix getItemUUID to properly get the item's UUID. Credits to @snarlysodboxer for finding this bug and contributing with a fix for it. {#64}

v1.4.0

18 May 17:35
v1.4.0
0f17e8d
Compare
Choose a tag to compare

Features

  • A field's GeneratorRecipe now supports a set of characters that should be excluded when generating a password. This is achieved with the ExcludeCharacters field of the GeneratorRecipe struct (requires Connect v1.4.0 or later). {#57}
  • SDK functions now accept item/vault titles and UUIDs as parameters. {#55}
  • A vault can now be fetched by either its title or UUID. {#52}
  • SDK now supports 2 new Item categories: MedicalRecord and SSHKey. {#51}
  • The SDK now enables to load item autofill URLs into structs. {#56}
  • ItemURL struct now has an extra field which represent the label of the autofill URL (requires Connect v1.5.0 or later). {#53}
  • Readme now has more examples for using the SDK. {#32}

Fixes

  • GetItemsByTitle properly returns a list of items with all their detais instead of just their summaries. {#38}

v1.3.0

10 May 13:34
v1.3.0
aa4521f
Compare
Choose a tag to compare

Features

  • Added the ability to get the TOTP value for an item (requires Connect v1.4.0 or later). {#44}
  • Added method to retrieve a list of files for an item {#39}
  • Added method to download a file {#39}
  • Added the ability to create tags for sections when loading a struct {#37}
  • Added method for deleting an item by id {#33}
  • Added item state field and deprecated trashed field {#30}

Fixes

  • Added UUID validation {#41}

v1.2.0

12 Jul 17:37
v1.2.0
b4ee192
Compare
Choose a tag to compare

Features

  • Files stored as attachments or as fields can now be retrieved (requires Connect v1.3.0 or later).
  • Details of Connect API errors can now be inspected by unwrapping a returned error into a onepassword.Error struct. {#17}

v.1.1.0

01 Jun 17:21
56c9169
Compare
Choose a tag to compare

Features

  • Vaults can be retrieved by their UUID with GetVault(vaultUUID).

Fixes

  • The API_CREDENTIAL category is now supported. {#14}

v1.0.1

09 Apr 19:03
3e9a5be
Compare
Choose a tag to compare

Fixes

  • Includes the correct version number in the user agent when making requests

v1.0.0

09 Apr 17:40
5b34fc9
Compare
Choose a tag to compare

Use the 1Password Connect SDK to leverage 1Password Secrets Automation in your Go applications.

Features:

Add GetValue method for accessing the value of a field on an item by its label