Releases: msrivastav13/node-sf-bulk2
Releases · msrivastav13/node-sf-bulk2
v0.1.0
[0.1.0] - 2026-04-30
Added
- Sforce-Call-Options header support —
Connectionnow acceptscallOptionswithclientanddefaultNamespacefields, sent as theSforce-Call-Optionsheader 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.JOBTYPEenum (BigObjectIngest,Classic,V2Ingest,V2Query).InProgressadded toSTATEenum.queryandqueryAlladded toOPERATIONenum.isPkChunkingSupportedfield onBulkJobInfoResponse.- 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:watchnpm 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.