We are excited to announce the release of Salesforce Adaptor 5.0.2, packed with a range of updates to enhance your Salesforce integration experience. Here’s a look at some of the key changes:
Breaking Changes
- State Handling: Operations now “return” results to
state.data
. Replacestate.references
withstate.data
in your workflows. - Callback Removal: Callbacks have been removed. Use
fn()
blocks or.then()
instead. - API Cleanup: Removed deprecated functions like
relationship
,upsertIf
,createIf
, anddescribeAll()
. - New Bulk Signature: The
bulk()
function now usesbulk(operation, sObjectName, records, options)
.
Major Updates
- Removed the
axios
dependency for HTTP requests outside Salesforce. - New standardized response format for
bulk
,create
,update
, anddestroy
.
Minor Updates
- Added new
get()
andpost()
functions for HTTP requests. - Improved support for nested relationships and better handling of Salesforce metadata.
Migration Guide
This release introduces several breaking changes that will require updates to your existing workflows. Be sure to consult the migration guide to ensure smooth transitions.
Read the full changelog and update your workflows accordingly! Changelog Details