Skip to content

v2.1.0

Latest

Choose a tag to compare

@skyflow-bharti skyflow-bharti released this 25 May 09:08
208de26

What's Changed

  • Credential field aliasesBearerToken, SignedDataTokens, and Credentials now accept
    camelCase credential keys (clientId, keyId, tokenUri) alongside the legacy forms
    (clientID, keyID, tokenURI). Both forms work; legacy forms emit a deprecation warning.

  • Vault and connection config methods renamed — Added new canonical methods:
    GetVaultConfig(), GetConnectionConfig(), AddVaultConfig(),
    AddConnectionConfig(), RemoveVaultConfig(), RemoveConnectionConfig(),
    UpdateVaultConfig(), and UpdateConnectionConfig().
    Legacy methods are retained as deprecated delegates.

  • GetHttpCode() — new canonical method replacing GetCode().
    GetCode() is retained as a deprecated delegate.

  • Field naming standardization — Added canonical camelCase-style fields:
    RoleIds, BaseVaultUrl, DownloadUrl, SkyflowAccountId,
    and RequestIdHeader. Legacy forms are retained as deprecated aliases.

  • Response key normalization — Insert, Get, Query, and Update responses now return:
    SkyflowId, TokenizedData, and RequestIndex
    alongside legacy snake_case keys for backward compatibility.

  • Field validation removal — Removed SDK-side validation for null or empty field values.
    Payload validation is now delegated to the backend service.

  • Collection validation removal — Removed SDK-side validation for empty record collections.
    Empty collections are now handled by the backend service.


Deprecations

Deprecated Replacement
clientID / keyID / tokenURI clientId / keyId / tokenUri
GetVault() GetVaultConfig()
GetConnection() GetConnectionConfig()
AddVault() AddVaultConfig()
AddConnection() AddConnectionConfig()
RemoveVault() RemoveVaultConfig()
RemoveConnection() RemoveConnectionConfig()
UpdateVault() UpdateVaultConfig()
UpdateConnection() UpdateConnectionConfig()
GetCode() GetHttpCode()
RoleIDs RoleIds
BaseVaultURL BaseVaultUrl
DownloadURL DownloadUrl
SkyflowAccountID SkyflowAccountId
RequestIDHeader RequestIdHeader
skyflow_id SkyflowId
tokenized_data TokenizedData
request_index RequestIndex

All deprecated forms continue to work and emit a WARN-level log message.
They will be removed in a future major release.

Full Changelog: v2.0.9...v2.1.0