Skip to content

SK-2812: Public interface cleanup#306

Closed
aadarsh-st wants to merge 59 commits into
release/26.1.4from
aadarsh-st/SK-2812-pulic-interface-cleanup
Closed

SK-2812: Public interface cleanup#306
aadarsh-st wants to merge 59 commits into
release/26.1.4from
aadarsh-st/SK-2812-pulic-interface-cleanup

Conversation

@aadarsh-st
Copy link
Copy Markdown
Collaborator

Summary

  • Renamed public fields to camelCase: clientIDclientId, keyIDkeyId,
    tokenURItokenUri, roleIDsroleIds, request_IDrequestId,
    downloadURLdownloadUrl, start_padding/stop_paddingstartPadding/stopPadding
  • FileUploadRequest: removed skyflowId from constructor; set via FileUploadOptions.setSkyflowId()
  • insertedFields always returns as array (never null)
  • DeleteResponse.deletedIds is now always Array<string> (non-optional)
  • Fail-fast SkyflowError thrown for null/undefined/"" field values in insert records before any API call; 0, false, 0.0 remain valid
  • All response objects (Insert, Update, Get, Delete, Query, Tokenize, DeidentifyText, DeidentifyFile) always include errors field — null when no errors, never absent
  • CHANGELOG updated with migration notes and upgrade diff examples

skyflow-himanshu and others added 29 commits February 17, 2026 13:58
…for-handling-deidentify-file-response

SK-1964: add sample for handling deidentify file response in async
… Access

The Node SDK already supports ctx as string | Record<string, any> for
bearer tokens and signed data tokens (shipped in SK-2391/PR #266), but
the README and samples only showed string usage. Add documentation and
examples for JSON object context to support Conditional Data Access
CEL expressions like request.context.role == 'admin'.

Refs DOCU-1441
Co-Authored-By: Claude <noreply@anthropic.com>
SK-2771: fix deidentifyFile crash when waitTime is exceeded before processing completes
…hanges

SK-2770: publish v1.x releases under the v1 dist-tag to preserve latest as V2
…alisation

SK-2766 reduce client initialisation
…-data-access-docs

DOCU-1441: Document JSON object context support for Conditional Data Access
@github-actions
Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@aadarsh-st aadarsh-st force-pushed the aadarsh-st/SK-2812-pulic-interface-cleanup branch from df7792b to a5176bc Compare May 14, 2026 06:33
aadarsh-st and others added 12 commits May 19, 2026 13:58
removeComments:true stripped @deprecated/@internal JSDoc from .d.ts
files, so api-extractor couldn't read them — generating a report that
differed from the committed snapshot.

Set removeComments:false so JSDoc annotations are preserved in compiled
output and api-extractor produces a consistent report across local and CI
builds.

Also update test to match enumerable:true on the request_ID deprecated alias.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previous snapshot was generated with removeComments:false, causing CI
mismatch. Regenerated with removeComments:true to match CI build output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aadarsh-st aadarsh-st closed this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants