This repository was archived by the owner on Nov 9, 2022. It is now read-only.
Releases: forcedotcom/sf-fx-sdk-nodejs
Releases · forcedotcom/sf-fx-sdk-nodejs
Release list
1.4.0
Decouple the SDK from the buildpack (#63) As discussed in https://salesforce.quip.com/F5g2ASm18WPG, this moves the `InvocationEvent`, `Context`, and `Logger` object creation into the SDK and out of the buildpack. There is a new function signature `enrichFn` that the buildpack can use to wrap the user's function with the enhanced functionality. This change is the complement to https://github.com/forcedotcom/nodejs-sf-fx-buildpack/pull/63 Co-authored-by: Travis <longoria.public@gmail.com>
1.3.2
1.3.1
- Doc updates
- Dependency updates
- @salesforce/core 2.10.0
- tslib 2.0.1
- typed-rest-client 1.7.3
- typescript 3.9.7 (dev dependency)
1.3.0
Improved UnitOfWork development experience
UnitOfWorkResult.successproperty to identify successful vs. unsuccessful responses- Subclasses returned by
UnitOfWork.commit()differentiated by new.successproperty:UnitOfWorkSuccessResponse&UnitOfWorkErrorResponse - New
UnitOfWorkErrorResponse.rootCause: UnitOfWorkResultproperty that should have a useful root-cause error.message, also logged atwarnlevel automatically if unsuccessful - UoW
.registerNew(...),.registerModified(...), and.registerDeleted(...)now returnthisto allow for method chaining. SObject.withValue(k,v)returnsthisto allow for method chaining.
Initial
FunctionInvocation => FunctionInvocationRequest (#10) * FunctionInvocation => FunctionInvocationRequest * Single quote