Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Releases: forcedotcom/sf-fx-sdk-nodejs

1.4.0

Choose a tag to compare

@elbandito elbandito released this 08 Oct 19:54
390df36
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

Choose a tag to compare

@dhagberg-sf dhagberg-sf released this 09 Sep 16:08
1b3b2ed
  • upgrade to @salesforce/core@2.11.0

1.3.1

Choose a tag to compare

@dhagberg-sf dhagberg-sf released this 12 Aug 14:47
cd1a80c
  • 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

Choose a tag to compare

@dhagberg-sf dhagberg-sf released this 01 Jul 21:05
a21c3b7

Improved UnitOfWork development experience

  • UnitOfWorkResult.success property to identify successful vs. unsuccessful responses
  • Subclasses returned by UnitOfWork.commit() differentiated by new .success property: UnitOfWorkSuccessResponse & UnitOfWorkErrorResponse
  • New UnitOfWorkErrorResponse.rootCause: UnitOfWorkResult property that should have a useful root-cause error .message, also logged at warn level automatically if unsuccessful
  • UoW .registerNew(...), .registerModified(...), and .registerDeleted(...) now return this to allow for method chaining.
  • SObject.withValue(k,v) returns this to allow for method chaining.

Initial

Initial Pre-release
Pre-release

Choose a tag to compare

@cwallsfdc cwallsfdc released this 24 Apr 01:31
FunctionInvocation => FunctionInvocationRequest (#10)

* FunctionInvocation => FunctionInvocationRequest

* Single quote