Skip to content

Releases: skyflowapi/skyflow-node

2.1.0

25 May 14:32
c938789

Choose a tag to compare

What's Changed

  • Public interface cleanup (snake_case → camelCase)SkyflowError / ISkyflowError
    fields renamed:
    http_codehttpCode,
    http_statushttpStatus,
    grpc_codegrpcCode,
    request_IDrequestId.
    Legacy field names continue to work and emit deprecation warnings.

  • setDownloadUrl() / getDownloadUrl() — new canonical methods on
    DetokenizeOptions and GetOptions; legacy setDownloadURL() / getDownloadURL() retained as deprecated delegates.

  • FileUploadRequest constructor normalization — canonical constructor is now:
    new FileUploadRequest(table, columnName).
    The legacy 3-argument form new FileUploadRequest(table, skyflowId, columnName) is deprecated.
    skyflowId should now be configured through FileUploadOptions.setSkyflowId() / getSkyflowId().

  • roleIds normalizationBearerTokenOptions.roleIDs renamed to roleIds.
    Legacy roleIDs is automatically remapped internally and emits a deprecation warning.
    If both are provided, roleIds takes precedence.

  • Credential field aliases — credential JSON files now accept camelCase keys (clientId, keyId, tokenUri) alongside legacy forms (clientID, keyID, tokenURI).
    Existing credential files continue to work unchanged.

  • SkyflowRecordError.requestId — new canonical field;
    legacy request_ID retained as a deprecated alias with warning emission.

  • invokeConnection content-type handling — request and response payloads now correctly handle:
    application/json,
    application/x-www-form-urlencoded,
    text/plain,
    multipart/form-data,
    text/xml,
    application/xml,
    and text/html.
    Previously, mismatched request/response content-types could cause incorrect serialization behavior.

  • Custom tokenUri supportBearerTokenOptions,
    SignedDataTokensOptions, and Credentials now accept a tokenUri field to override the default token endpoint URL
    when generating bearer tokens.

  • Response type tightening

    • InsertResponse.insertedFields is now guaranteed to be non-null ([] instead of null)
    • DeleteResponse.deletedIds is now guaranteed to be defined ([] instead of undefined)
    • DeidentifyFileResponse and DeidentifyTextResponse now include:
      errors: Array<SkyflowRecordError> | null

Deprecations

Deprecated Replacement
error.http_code / http_status / grpc_code / request_ID error.httpCode / httpStatus / grpcCode / requestId
setDownloadURL() / getDownloadURL() setDownloadUrl() / getDownloadUrl()
new FileUploadRequest(table, skyflowId, columnName) new FileUploadRequest(table, columnName) + FileUploadOptions.setSkyflowId()
BearerTokenOptions.roleIDs roleIds
clientID / keyID / tokenURI in credentials clientId / keyId / tokenUri
record.request_ID on SkyflowRecordError record.requestId
skyflow_id in record/response objects skyflowId
InsertResponse.insertedFields === null checks Use [] — field is never null
DeleteResponse.deletedIds === undefined checks Use [] — field is never undefined

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

Full Changelog: 2.0.4...2.1.0

2.0.4

28 Apr 10:44
de990ce

Choose a tag to compare

What's Changed

  • Reduced repeated client initialisation overhead to improve SDK performance and efficiency.

Full Changelog: 2.0.3...2.0.4

2.0.3

24 Apr 06:32
feb74a8

Choose a tag to compare

What's Changed

  • Fixed a crash in deidentifyFile when waitTime is exceeded before processing completes.
  • Updated npm publishing strategy so v1.x releases continue under the v1 dist-tag while latest points to v2 releases.

Full Changelog: 2.0.2...2.0.3

1.14.3

15 Apr 08:51
2dc8d9e

Choose a tag to compare

What's Changed

  • Upgraded axios dependency to version 1.15.0.

Full Changelog: 1.14.2...1.14.3

2.0.2

28 Nov 15:07
a5e8226

Choose a tag to compare

What's Changed

  • Added support for JSON object context in vault credentials

Full Changelog: 2.0.1...2.0.2

2.0.1

20 Nov 11:45
85aee4b

Choose a tag to compare

What's Changed

  • Added support for JSON objects in ctx during bearer token generation requests.

Full Changelog: 2.0.0...2.0.1

1.14.2

13 Oct 07:28
51bb7ce

Choose a tag to compare

What's Changed

Full Changelog: 1.14.1...1.14.2

2.0.0

08 Sep 13:34
4158e18

Choose a tag to compare

What's Changed

Full Changelog: 1.14.1...2.0.0

2.2.1-beta.1

28 Jul 11:43
3b9cda0

Choose a tag to compare

2.2.1-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: 2.2.0-beta.1...2.2.1-beta.1

2.2.0-beta.1

24 Jun 16:19
8724b9a

Choose a tag to compare

2.2.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: 1.14.1...2.2.0-beta.1