All Versions
Latest Version
Avg Release Cycle
91 days
Latest Release
85 days ago

Changelog History
Page 1

  • v5.0.3

    September 08, 2020
    • Handle the undocumented EXCEEDED_MAX_SEMIJOIN_SUBSELECTS error returned by Salesforce (@embertel, @timrogers)
  • v5.0.2

    September 06, 2020
    • Handle the undocumented REQUEST_LIMIT_EXCEEDED error returned by Salesforce (@wkirkby, @timrogers)
    • ๐Ÿ– Handle the undocumented SERVER_UNAVAILABLE error returned by Salesforce (@wkirkby, @timrogers)
    • โ™ป๏ธ Refactor the library to be compatible with Rubocop 0.90's cops (this shouldn't introduce any noticeable changes see #569 for detailed changes) (@timrogers)
  • v5.0.1

    August 13, 2020
    • Handle the undocumented API_CURRENTLY_DISABLED error returned by Salesforce (@ruipserra, @timrogers)
    • ๐Ÿ– Handle the undocumented MALFORMED_QUERY error returned by Salesforce (@scottserok, @timrogers)
    • Handle the undocumented INVALID_QUERY_FILTER_OPERATOR error returned by Salesforce (@Dantemss, @timrogers)
    • โž• Add documentation and scripts for running thelibrary's tests using Docker (@ryansch)
  • v5.0.0

    July 10, 2020

    โฌ†๏ธ For instructions on upgrading from Restforce 4.x to 5.x, see our "Upgrading from Restforce 4.x to 5.x" guide.

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿฑ โš ๏ธ Define exception classes for Salesforce errors up-front instead of dynamically at runtime , running the risk that we might miss some errors which should be defined. If any errors are missed, they will be added in patch versions (e.g. 5.0.1). For more details on this change, see the "Upgrading from Restforce 4.x to 5.x" guide (@presidentbeef, @timrogers).
    • ๐Ÿฑ โš ๏ธ Deprecate support for Ruby 2.4 , since Ruby 2.4 reached its end-of-life in April 2020 (@timrogers)
    • ๐Ÿฑ โš ๏ธ Change the ancestry of Restforce::UnauthorizedError so it inherits from Faraday::ClientError, not Restforce::Error. This breaking change was required to expose the response body returned by the API as part of this error - see the non-breaking changes entry below for further details (@michaldbianchi).

    Non-breaking changes

    • โž• Add support for lostisland/faraday v1.x, whilst maintaining support for v0.9.x (@ryansch)
    • โž• Add #empty? method to Restforce::Collection, returning whether they are any items in a collection (@bubaflub)
    • ๐Ÿ‘ Allow opting-in to caching on a per-call basis with Restforce::Client#with_caching (@swaincreates)
    • ๐Ÿ”ฆ Expose the response body from Salesforce on Restforce::UnauthorizedError and Restforce::NotFoundError (@michaeldbianchi)
    • โœ‚ Remove the unnecessary depending on the json gem, which has been part of the Ruby standard library since v1.9 (@vonTronje)
  • v4.2.2

    January 23, 2020
    • ๐Ÿ›  Fix NoMethodError: undefined method '[]' for nil:NilClass error when generating objects to return (@apurkiss)
  • v4.2.1

    December 04, 2019
    • ๐Ÿ– Handle empty response bodies returned with authentication errors (@sylvandor)
    • ๐Ÿ›  Fix Faraday deprecation warning in newer Faraday versions (v0.17.1 onwards) caused by inheriting from a deprecated class
  • v4.2.0

    October 23, 2019
    • โž• Add support for platform events, CDC, generic events, etc. in the Streaming API (@nathanKramer)
  • v4.1.0

    October 20, 2019
  • v4.0.0

    October 09, 2019
  • v3.2.0

    October 09, 2019
    • โž• Add support for the Batch API (@gaiottino, @teoulas)
    • Return specific exceptions for errors that might be returned from - instead of getting a generic Faraday::Error::ClientError, you might get something like a Restforce::EntityTooLargeError (@boblail)
    • ๐Ÿ”ฆ Expose the full response in exceptions' messages to make debugging easier (@boblail)
    • Properly escape IDs with spaces in them when working with existing records (@pushups)