Skip to content

Releases: EasyPost/easypost-ruby

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

3.2.0

14 Jan 18:29
v3.2.0
Compare
Choose a tag to compare
  • Replace Travis CI with Github Actions
  • Add Ruby 3.0 to supported platforms (#110; thanks @maxwell)

3.1.5

16 Dec 23:45
v3.1.5
Compare
Choose a tag to compare
  • Fix attribute lookup when manually constructing objects (#105; thanks @drewtempelmeyer)
  • Flatten class names and clean up some other style issues
  • Fix EasyPost::Address.create_and_verify, broken since 3.1.0 (#108; thanks @rajbirverma)

3.1.4

30 Sep 00:01
v3.1.4
Compare
Choose a tag to compare
  • Don't modify params passed into Address#create (#78; thanks @TheRusskiy)
  • Don't modify carriers and services parameters to Shipment.lowest_rate (#71 / #103, thanks @vladvinnikov and @jurisgalang)
  • When constructing an easypost object, convert the key to a string (#102; thanks @Geesu)
  • Expose the raw HTTP response as #http_body on EasyPost::Error objects (#101; thanks @Geesu)