Skip to content

Releases: EasyPost/easypost-ruby

v4.3.0

19 May 21:35
d0c5f82
Compare
Choose a tag to compare
  • Adds the EndShipper Beta class with create, retrieve, all, and save functions
  • Requests will now fail fast with an error if an API key is not provided instead of making a live API call with no key
  • Fixes a bug where the library could not properly parse the response of deleting a child user
  • Fixes a bug where you could not update a webhook due to a wrong number of arguments error

v4.2.1

11 May 18:05
1b6a84d
Compare
Choose a tag to compare
  • Corrects the Beta namespace for the new Referral class

v4.2.0

09 May 17:05
c39ff51
Compare
Choose a tag to compare
  • Adds a lowest_rate() function to Orders and Pickups
  • Adds a Shipment.get_lowest_smartrate() function and a shipment.lowest_smartrate() function
  • Removes the unusable carrier param from Address.create_and_verify along with the dead message conditional check
  • Add beta Referral class for White Label API with these new functions: create(), update_email(), all(), and add_credit_card()

v4.1.2

16 Mar 20:22
3c5b311
Compare
Choose a tag to compare
  • Rolls back the original connection behavior of establishing a new connection for every request (restores previous expectations for multithreaded implementations)

v4.1.1

14 Mar 20:59
b6dea01
Compare
Choose a tag to compare
  • Fixes a bug that prematurely closed connections when using multithreading by wrapping requests in a mutex (closes #148)

v4.1.0

09 Mar 22:02
f3b67b2
Compare
Choose a tag to compare
  • Adds support for custom client connections (#142)
    • Reduces memory usage by reusing connections
  • Extends all objects with Enumerable allowing for iterator patterns (#143)

v4.0.0

25 Feb 23:45
14994dc
Compare
Choose a tag to compare
  • Bumps minimum Ruby version from 2.2 to 2.5
  • Bumps dev dependencies
  • Documents each interface of the project in code
  • Overhauls the test suite with full coverage
  • Introduces Rubocop and lints the entire project
  • Removes the unusable Print and PrintJob objects
  • Removes deprecated and unusable stamp_and_barcode_by_reference method on the Batch object
  • Explicitly returns an error of "not implemented" for Rate.all and Parcel.all
  • Removes the Shipment.get_rates function as shipments already contain rates. If you need to get new rates for a shipment, use the Shipment.regenerate_rates function instead
  • Removes the parameters from Address.verify as they are unusable
  • Removes the deprecated http_status property of the EasyPost::Error object as it was replaced with status
  • Fixes a bug that would append an extra id field to each retrieved object
  • Various other small improvements and bug fixes

v3.5.0

06 Dec 23:14
1186baf
Compare
Choose a tag to compare
  • Adds the update_brand method to the user object (closes #122)

v3.4.0

13 Jul 22:36
2ae6def
Compare
Choose a tag to compare
  • Removed deprecated Item object
  • Sorted EasyPost Resources list
  • Remove 2015-vintage experimental all_updated method on Tracker
  • Fixes API key retrieval (#120, thanks @andychongyz)
  • Adds regenerate_rates method for new rerate API
  • Adds deconstruct_keys method to allow for pattern matching on EasyPost objects

v3.3.0

10 Jun 22:56
1270f3a
Compare
Choose a tag to compare
  • Adds SmartRate functionality to the Shipments object (available by calling get_smartrates on a shipment)
  • Fix bug where EasyPost::CarrierAccount.types was hitting the wrong endpoint