Skip to content

Releases: msrivastav13/node-sf-bulk2

v0.1.0

01 May 03:22
a484629

Choose a tag to compare

[0.1.0] - 2026-04-30

Added

  • Sforce-Call-Options header supportConnection now accepts callOptions with client and defaultNamespace fields, sent as the Sforce-Call-Options header on every request.
  • deleteIngestJob(jobId) — delete a completed ingest job.
  • deleteBulkQueryJob(jobId) — delete a completed query job.
  • getAllIngestJobInfo(config?) — list all ingest jobs with optional filters (jobType, isPkChunkingEnabled, queryLocator).
  • getBulkQueryResultPages(jobId) — retrieve result page URLs for parallel query result downloads.
  • createDataUploadJobWithData(request, csv) — create an ingest job and upload CSV data in a single multipart request.
  • JOBTYPE enum (BigObjectIngest, Classic, V2Ingest, V2Query).
  • InProgress added to STATE enum.
  • query and queryAll added to OPERATION enum.
  • isPkChunkingSupported field on BulkJobInfoResponse.
  • New model types exported from the barrel: AllIngestJobsInfoResponse, IngestJobConfig, JOBTYPE, ParallelQueryResultsResponse, ResultPage.
  • Unit test suite using Vitest — 33 tests covering all public methods, endpoint construction, headers, and error propagation.
  • Integration test suite — runs against a real Salesforce org (skipped when credentials are not set).
  • Vitest configuration and test, test:unit, test:integration, test:watch npm scripts.
  • Rewritten README with full query and ingest lifecycle examples, API reference table, and testing docs.
  • Simplified examples directory — two runnable TypeScript scripts (query-job.ts, ingest-job.ts) replacing the four nested mini-projects.