Skip to content

Releases: EasyPost/easypost-ruby

v4.4.0

11 Jul 21:12
27aaa8c

Choose a tag to compare

  • Adds Billing.retrieve_payment_methods(), Billing.fund_wallet(), and Billing.delete_payment_method() functions
  • Captures OS information in the user-agent header for easier debugging
  • Update functions now use patch instead of put under the hood to better match API behavior and documentation. The behavior of these functions should remain the same

v3.5.1

01 Jul 16:26
e5cbb10

Choose a tag to compare

  • Backports newer user-agent header

v4.3.0

19 May 21:35
d0c5f82

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

Choose a tag to compare

  • Corrects the Beta namespace for the new Referral class

v4.2.0

09 May 17:05
c39ff51

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

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

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

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

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

Choose a tag to compare

  • Adds the update_brand method to the user object (closes #122)