What's Changed
-
Credential field aliases —
BearerToken,SignedDataTokens, andCredentialsnow 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(), andUpdateConnectionConfig().
Legacy methods are retained as deprecated delegates. -
GetHttpCode()— new canonical method replacingGetCode().
GetCode()is retained as a deprecated delegate. -
Field naming standardization — Added canonical camelCase-style fields:
RoleIds,BaseVaultUrl,DownloadUrl,SkyflowAccountId,
andRequestIdHeader. Legacy forms are retained as deprecated aliases. -
Response key normalization — Insert, Get, Query, and Update responses now return:
SkyflowId,TokenizedData, andRequestIndex
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