Skip to content

Commit

Permalink
Merge pull request #141 from EasyPost/v4.0.0
Browse files Browse the repository at this point in the history
chore: prepare v4.0.0 for release
  • Loading branch information
Justintime50 authored Feb 25, 2022
2 parents 582cc9d + 836e2ee commit 14994dc
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 100 deletions.
167 changes: 76 additions & 91 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CHANGELOG


## NEXT RELEASE
## v4.0.0 (2022-02-25)

* Bumps minimum Ruby version from `2.2` to `2.5`
* Documents each interface of the project
* 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
Expand All @@ -13,15 +13,14 @@
* 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


## 3.5.0 2021-12-06
## v3.5.0 (2021-12-06)

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


## 3.4.0 2021-07-13
## v3.4.0 (2021-07-13)

* Removed deprecated `Item` object
* Sorted EasyPost Resources list
Expand All @@ -30,236 +29,222 @@
* Adds `regenerate_rates` method for new rerate API
* Adds `deconstruct_keys` method to allow for pattern matching on EasyPost objects


## 3.3.0 2021-06-10
## v3.3.0 (2021-06-10)

* 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 2021-01-14
## v3.2.0 (2021-01-14)

* Replace Travis CI with Github Actions
* Add Ruby 3.0 to supported platforms (#110; thanks @maxwell)


## 3.1.5 2020-12-16
## v3.1.5 (2020-12-16)

* 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 2020-09-29
## v3.1.4 (2020-09-29)

* 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)


## 3.1.3 2020-06-26
## v3.1.3 (2020-06-26)

* Fix bug causing Authorization header to be included in User-Agent header. All users must upgrade.


## 3.1.2 2020-06-24
## v3.1.2 (2020-06-24)

* Bad gem push. New version required.


## 3.1.1 2020-06-23
## v3.1.1 (2020-06-23)

* Fix bug where EasyPost.http_config was invalid when not explicitly initialized.


## 3.1.0 2020-06-23
## v3.1.0 (2020-06-23)

* Add Shipment Invoice and Refund Report
* Remove dependencies on `RestClient` and `MultiJson`
* Remove some deprecated endpoints


## 3.0.1 2018-05-17
## v3.0.1 (2018-05-17)

* Enforce TLS certificate validity by default


## 3.0.0 2018-02-15
## v3.0.0 (2018-02-15)

* Require use of ruby ~> 2.0 and TLSv1.2


## 2.7.3 2018-02-05
## v2.7.3 (2018-02-05)

* Fix bug with introduced around certain JSON objects with IDs (thanks vladvinnikov!)


## 2.7.2 2018-02-01
## v2.7.2 (2018-02-01)

* Removed unused and unsupported code paths for Container model
* Removed unused and unsupported code path for Stamp and Barcode methods on the Shipment model
* Fixed a bug with non-model JSON object with an "id" key being treated as models and raising errors


## 2.7.1 2017-05-25
## v2.7.1 (2017-05-25)

* Allow reports to be retrieved without passing a type


## 2.7.0 2017-04-04
## v2.7.0 (2017-04-04)

* Changed Report CRUD signatures. requires report type to be passed


## 2.6.2 2017-02-14
## v2.6.2 (2017-02-14)

* Added get_rates method for Orders


## 2.6.1 2017-01-19
## v2.6.1 (2017-01-19)

* Updated create method for ScanForms


## 2.6.0 2017-01-17
## v2.6.0 (2017-01-17)

* Add basic CRUD methods for Webhooks


## 2.5.0 2016-12-19
## v2.5.0 (2016-12-19)

* Add prefixes to report in utils


## 2.4.0 2016-12-08
## v2.4.0 (2016-12-08)

* Add report resource to ruby client


## 2.3.0 2016-11-25
## v2.3.0 (2016-11-25)

* Updated dependencies to allow rest-client 2.0.0 and above


## 2.2.0 2016-07-26
## v2.2.0 (2016-07-260

* Added standalone Insurance model


## 2.1.11 2016-02-04
## v2.1.11 (2016-02-04)

* Allowed user creation for top-level users


## 2.1.10 2015-12-23
## v2.1.10 (2015-12-23)

* Added verify and verify_strict params to Address.create
* Added Tracker.create_list and Tracker.all_updated for working with large
numbers of Trackers.


## 2.1.9 2015-11-04
## v2.1.9 (2015-11-04)

* Added new tests for Tracker.all
* Updated some old examples


## 2.1.8 2015-10-21
## v2.1.8 (2015-10-21)

* Added Cancel method for Pickups (thanks Ramie Blatt!)


## 2.1.7 2015-10-05
## v2.1.7 (2015-10-05)

* Fixed Address.create_and_verify and changed how errors are raised (thanks Dimitri Roche!)
* Require newer version of the multi_json package


## 2.1.6 2015-06-10
## v2.1.6 (2015-06-10)

* Added Address message accessor for backwards compatability


## 2.1.5 2015-06-10
## v2.1.5 (2015-06-10)

* Removed Address.message


## 2.1.4 2015-06-03
## v2.1.4 (2015-06-03)

* Add Printer and PrintJob resources.


## 2.1.3 2015-04-30
## v2.1.3 (2015-04-30)

* Bux fix, EasyPost::Errors no longer break with a nil json body.


## 2.1.2 2015-04-29
## v2.1.2 (2015-04-29)

* EasyPost::Errors now correctly parse field errors and error codes.


## 2.1.1 2015-04-15
## v2.1.1 (2015-04-15)

* CarrierAccount will now correctly save in-place modifications to credentials
* Nested variables should now be saved correctly across all models
* Fixed version numbering confusion (the previous version was 2.0.15, not 2.1.0)


## 2.0.15 2015-04-15
## v2.0.15 (2015-04-15)

* Added tracker to shipment buy response
* Updated tracker tests


## 2.0.14 2015-04-15
## v2.0.14 (2015-04-15)

* Added User and CarrierAccount models with CRUD functionality


## 2.0.13 2014-10-30
## v2.0.13 (2014-10-30)

* Added Pickup, PickupRate resources.
* Added ability to pass api_key to a few resources that were missing it.


## 2.0.12 2014-07-07
## v2.0.12 (2014-07-07)

* Added Item, Container, and Order resources.
* Fixed and added a lot of tests.


## 2.0.11 2013-12-16
## v2.0.11 (2013-12-16)

* Added Event.receive method for parsing events sent by webhook.
* Fixed tests to account for the tracking code returning and array of details instead of a Hash


## 2.0.10 2013-10-03
## v2.0.10 (2013-10-03)

* API Addition: Event resource added for webhook consumption.


## 2.0.9 2013-09-19
## v2.0.9 (2013-09-19)

* Interface Change: Changed batch.scan_form to batch.create_scan_form to support the ability to refer to scan forms associated to batches.


## 2.0.3 2013-07-31
## v2.0.3 (2013-07-31)

* API Addition: Tracker resource added. Trackers can be used to register any tracking code with EasyPost webhooks.


## 2.0.2 2013-07-23
## v2.0.2 (2013-07-23)

* API Addition: Shipment.track_with_code returns tracking details for any tracking code.


## 2.0.1 2013-07-07
## v2.0.1 (2013-07-07)

* API Addition: Address.create_and_verify returns a verified address in one step.
* API Addition: Shipment.label forces the creation of additional label formats (pdf, epl2, zpl).
* API Addition: Shipment.insure purchases insurance for a shipment.
* Library Update: Added the ability to negatively filter carriers and services with Shipment.lowest_rate (e.g. '!usps').

## v2.0.0 (2013-06-25)

## v1.1.3 (2013-06-05)

## v1.1.2 (2013-06-05)

## v1.1.1 (2013-02-12)

## v1.1.0 (2013-01-29)

## v1.0.8 (2012-11-19)

## v1.0.7 (2012-11-19)

## v1.0.6 (2012-11-19)

## v1.0.5 (2012-11-19)

## v1.0.4 (2012-11-14)

## v1.0.3 (2012-11-13)

## v1.0.2 (2012-11-13)

## v1.0.1 (2012-11-13)

## v1.0.0 (2012-11-02)
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,3 @@ Up-to-date documentation at: https://easypost.com/docs
# Run tests (coverage is generated on a successful test suite run)
EASYPOST_TEST_API_KEY=123... EASYPOST_PROD_API_KEY=123... bundle exec rspec
```

## Releasing

1. Update the version in `VERSION`
1. Update the `CHANGELOG`
1. Tag a release on GitHub
1. Build the Gem `gem build easypost.gemspec`
1. Publish the Gem `gem push easypost-X.X.X.gem` (replace `X.X.X` with the version being released)
Loading

0 comments on commit 14994dc

Please sign in to comment.