Skip to content

Release 0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 21:09
2dffe69

1Password JavaScript SDK v0.6.0

NEW

  • 1Password Environments management: You can now create, get, list, edit and delete 1Password Environments and their secrets using the SDK.

FIXED

  • Desktop app errors from createClient(): When the SDK can't find or load the 1Password desktop app, createClient() now rejects with the real cause, for example "1Password desktop application not found", and doesn't print anything to the console. Before, the SDK logged the error itself and then failed with "Native library is not available.", so apps that caught the error to fall back still showed the SDK's error output.

DEPRECATED

  • getVariables(): getVariables() and its GetVariablesResponse and EnvironmentVariable types are deprecated. Use listSecrets() instead, which accepts an Environment name or ID and returns secrets directly. To include concealed secret values, set reveal to true. Clients that authenticate with workload identity can't call listSecrets() yet, so keep using getVariables() with workload identity.