Skip to content

Releases: advisors-excel-llc/salesforce-rest-sdk

Restart Bayeux

27 Apr 23:18
52b8a9b
Compare
Choose a tag to compare

Fixes glitch causing infinite handshaking after restarting Bayeux in some circumstances.
Fixes glitch that would ignore replay IDs that were given to individual channels rather than overwriting the global client level replay ID.

Restart Bayeux glitch

27 Apr 23:16
Compare
Choose a tag to compare

Fixes a glitch in Bayeux streaming after restarting a connection which could cause clients to issue handshakes forever.

The year 2020

07 Apr 19:11
20c7157
Compare
Choose a tag to compare

Updates all of the underlying packages to the year 2020. Welcome to the future, Salesforce SDK, you made it.
JMS updates breaks backwards compatibility if your software is using JMS for anything, so be wary of changes from upgrading from v1 to v3 of JMS.

No Recursion Bayeux

06 Mar 22:51
53804af
Compare
Choose a tag to compare

The Bayeux client was using recursion to continually call the connect() function, which led to an infinitely growing function call stack and after a few days of that even the most robust server with deepest memory banks will give out.
This changes the bayeux client to a state pattern that allows each state to transition to another state, and the bayeux client, after being started, will just call handle() on its current state in a loop instead of recursively calling connect().

This does change up the order in which some things are occurring, even if all the same channels are called in the same order. Make sure to test your usage of the streaming client channels if you are subscribing|extending to any of the Meta channels.

Don't cross the streams

13 Dec 19:27
f66cfe9
Compare
Choose a tag to compare

Removes the save_to header from the result request.

Serialize it!

06 Sep 16:28
8f26e5e
Compare
Choose a tag to compare

Fixes issue with the CompositeSObjectHandler where the params key wasn't being set when passing the SObject data down the chain.

Late Summer Housecleaning

15 Aug 19:01
c438c68
Compare
Choose a tag to compare
  • Fixes to CSV getContents using a generator
  • Fixes to CSV write allowing an array that writes to the file using fputcsv
  • Enhancements to ReplayExtension to allow setting Replay Ids for specific channels.

Fixer Upper

02 Jul 17:53
e7d79a6
Compare
Choose a tag to compare
  • Inject Rest Client into SObject and Composite Clients and use the Rest Client to send requests, consolidating configuration
  • Update and test Apex Rest method

Summer '19 Updates

27 Jun 17:42
56e8393
Compare
Choose a tag to compare
  • Add support for declaring version
  • Add support for Sforce-Call-Options header
  • Add support for Sforce-Query-Options header

See it, Believe it

14 May 13:45
6f29f5b
Compare
Choose a tag to compare

CometD Messages from Salesforce don't always have successful set to true. It's implied that if successful is not false, then there is no error, and this is corroborated with a valid message payload and no error message. To prevent false positives when checking for errors, success is defaulted to true.