Changelog for the salesforce adaptor
@openfn/language-salesforce
9.0.3 - 28 November 2025
Patch Changes
- Updated dependencies [cfc66df]
- @openfn/language-common@3.2.1
9.0.2 - 12 November 2025
Patch Changes
- Updated dependencies [4d7a833]
- @openfn/language-common@3.2.0
9.0.1 - 04 November 2025
Patch Changes
- Updated dependencies
- @openfn/language-common@3.1.2
9.0.0
Major Changes
-
187b088: - Add
failOnErroroption in bulk2 functions- Default
failOnErrortotruein bulk1 functions - Fix
v8.0.0migration guide typos - Remove
BulkOptionsandBulkQueryOptionstypedefs
Migration Guide
If you want to keep the old behavior, you can pass
failOnError: falsein the options:For Example: Bulk upsert continue on error
before:
bulk1.upsert(
'Account',
[{ External_Id__c: 'EXT001', Name: 'Upserted Name' }],
{
extIdField: 'External_Id__c',
pollInterval: 3000,
}
);now:
bulk1.upsert(
'Account',
[{ External_Id__c: 'EXT001', Name: 'Upserted Name' }],
{
extIdField: 'External_Id__c',
pollInterval: 3000,
failOnError: false,
}
);Note: The
failOnErroroption is available inbulk1andbulk2functions. - Default
Patch Changes
- Updated dependencies [408a3a2]
- @openfn/language-common@3.1.1
8.0.1 - 18 September 2025
Patch Changes
- Updated dependencies [e2bc436]
- @openfn/language-common@3.1.0
8.0.0 - 01 September 2025
Major Changes
-
fb30b2a: - Add
bulk1functions for bulk insert, update, upsert, and destroy- Removed
bulk()function in favor of explicitbulk1andbulk2APIs - Removed
bulkQuery()function in favor ofbulk1.query()andbulk2.query()
- Removed
Migration Guide
The legacy bulk() and bulkQuery() functions have been replaced with bulk1
and bulk2 APIs that provide better control and clarity:
Bulk Operations
Before:
bulk('Account', 'insert', records, options);
bulk('Account', 'update', records, options);
bulk('Account', 'upsert', records, { extIdField: 'Id__c' });
bulk('Account', 'delete', records, options);
After:
// Bulk API 1.0 - More reliable, supports failOnError
bulk1.insert('Account', records, { failOnError: true });
bulk1.update('Account', records, { batchSize: 5000 });
bulk1.upsert('Account', 'Id__c', records);
bulk1.destroy('Account', records);
// Bulk API 2.0 - Faster performance, simplified error handling
bulk2.insert('Account', records);
bulk2.update('Account', records);
bulk2.upsert('Account', 'Id__c', records);
bulk2.destroy('Account', records);
Bulk Queries
Before
bulkQuery('select Id, Name from Account');
After
bulk1.query('select Id, Name from Account');
// or
bulk2.query('select Id, Name from Account');
Patch Changes
- Updated dependencies [1d60531]
- @openfn/language-common@3.0.3
7.2.1 - 28 August 2025
Patch Changes
- b7af59a: - Update
package.jsondescription to be LLM-readable
7.2.0 - 04 August 2025
Minor Changes
-
dc89780: ## Added Salesforce Bulk API 2.0 Operations
- Added
bulk2.query()- Execute SOQL queries using Bulk API 2.0 - Added
bulk2.insert()- Bulk insert records - Added
bulk2.update()- Bulk update records - Added
bulk2.upsert()- Bulkupsertrecords with external ID matching - Added
bulk2.destroy()- Bulk delete records
All operations support custom options for polling interval and timeout.
- Added
7.1.2 - 14 July 2025
Patch Changes
- Updated dependencies [9b5a4f8]
- @openfn/language-common@3.0.2