Connect Sdk Go Versions Save

Go SDK for 1Password Connect

v1.5.3

10 months ago

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

11 months ago

Fixes

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

v1.5.1

1 year ago

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

1 year ago

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

2 years ago

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

2 years ago

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

2 years ago

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}

v1.1.0

3 years ago

Features

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

Fixes

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

v1.0.1

3 years ago

Fixes

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

v1.0.0

3 years ago

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