Releases: advisors-excel-llc/salesforce-rest-sdk
Venomous Vernacular
Fixes issue with line breaks in field values when reading data from query results in the bulk API
Perpetuous Patty
Code cleaup release mainly. Removed a section of code in the Bayeux Client that was setting the SObject Type to the event's type: "created", "updated", etc. So that doesn't happen now.
Investigated and tested using the SoapProvider with BayeuxClient. Though Salesforce says the Soap Auth works with Cometd, their client says otherwise. When authenticating via SOAP and using the Session Token, the handshake returns successful. When the connect call is made to subscribe the channels, it returns a 403::Unknown Client error. Some comments on the Internet say this is due to the mobile push client being subscribed. I cannot confirm or deny, but you are welcome to disable it and see if it works for you.
Either way, the OAuth client works as expected.
Centripetal Cyrus
For very very large bulk operations, CSV allows you to stream the incoming data. This update fixes issues with getting Query results in CSV format with the ability to stream the CSV data line for line while return the result as an array representing the parsed record. Or you can try to get all the results as a large associative array. Though that is not recommended in the cases where Salesforce returns 1GB of data for the result.
Timber Tammy
Originally, it was expected that the BatchResults would be an array of Result Ids that you have to go retrieve. This is only true for querying. When sending data to Salesforce, the BatchResults are an array of responses containing the record Id and errors if unsuccessful.
Westernly Weston
Fixes an issue with the Bulk Client failing to serialize SObject models when creating a new batch.
Quixotable Quixote
Fixes issues when receiving different error messages from Salesforce. Prevents array errors and tries to resolve the proper error code better.
Maniacally Marvelous Manny
General bug fixes found through use.
Added External ID field for Bulk Upserts as it's required by Salesforce.
Lucky Lucious
DateTime format fix where 24 hour time was formatted as 12 hour time. Should be 24 hour.
Literate Lucy
Fixes an issue in the Soap Auth Provider where the server URL from the response was not properly parsed.
Succulent Symbolism
Added Soap Client for auth without client key and secret.
Fixed issues with date formats in GetUpdated and GetDeleted requests.
Other code cleanup.