This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Releases: shipcloud/shipcloud-ruby
Releases · shipcloud/shipcloud-ruby
v0.12.0
Added
- Add order model
- Add attr_accessor for
serviceto classShipcloud::Shipmentto be able to access the service attribute at the shipment object. - Add attr_accessor for
additional_servicesto classShipcloud::Shipmentto be able to access the additional_services attribute at the shipment object. - Add attr_reader for
label_voucher_urlto classShipcloud::Shipmentto be able to read the label_voucher_url (QR Code url) attribute at the shipment object. - Added missing
frozen_string_literal: truemagic comments to files
Changed
- Ensure compatibility with ruby 2.x and 3.x
- Set required ruby version to >= 2.6
- Replace Travis CI with CircleCI
- Specify simplecov to be ~> 0.21.0
- Specify
rubocopto be~> 1.10.0 - Specify
rubocop-performanceto be~> 1.7.0
Deprecated
Removed
- Drop support for Ruby <= 2.5
- Drop support for RBX
Fixed
- Fix rubocop styling issues
Security
v0.11.0
v0.10.0
v0.9.0
Added
- Add attr_reader for
idto classShipcloud::Addressto be able to get the id of a created address - Add attr_reader for
idto classShipcloud::Webhookto be able to get the id of a created webhook - Add attr_reader for
customs_declarationto classShipcloud::Shipmentto be able to get thecustoms_declarationof a created shipment
v0.8.0
Added
- Add attribute
metadatato classShipcloud::Shipmentin order to transmit JSON data (#16). - Add resource pickup_request in order to submit pickup request to shipcloud
- Add attribute
pickup_addressto classShipcloud::PickupRequestto submit an alternative address for pickup request to shipcloud - Add
deleteoperation forwebhookresource - Add attribute
deactivatedto classShipcloud::Webhook - Add
affiliate_idtoShipcloud::Configurationand submit it (or a default affiliate id) via API headers to shipcloud - Add class
Shipcloud::Trackerwith create, find, and index operations
Fixed
- Parse response only when it is not empty
v0.7.0
Added
- Add the possibility to specify the api key on every request. (#8)
- Add some more specific error classes
Shipcloud::ClientError,Shipcloud::ServerError,
Shipcloud::InvalidRequestError,Shipcloud::TooManyRequestsandShipcloud::NotFoundError(#11). - Access to the entire response and error descriptions from the error object (#11).
Removed
- Removed the following ruby versions from travis-ci test runs:
- jruby-9.0.0.0
- Removed
Shipcloud::APIErrorin preference to more granular error classes (#11).
v0.6.0
Added
- This CHANGELOG file (Following "Keep a CHANGELOG")
- Create, find, update and index operations for address resource. (#4)
- Services attribute to carriers call (#5)
- Index operation for shipment resources with optional filter parameters. (#6)
- Create, find and index operations for webhook resource. (#7)
- Added the following ruby versions to travis-ci test runs:
- 2.1.7
- 2.2.4
- 2.3.0
- Add ShipmentQuotes class returning the price for a certain shipment (#9)
Removed
- Dropped support for ruby 1.9.x in order to use the new language features of ruby 2.x. The official support of ruby 1.9.3 already ended on February 23, 2015 (https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)
- Removed the following ruby versions from travis-ci test runs:
- 2.1.5
- 2.2.1
- 2.2.2
- 2.2.3
Changed
- Start following SemVer properly.
- The link to the developer documenation for the Shipment ressource still pointed at Apiary; it now correctly points to the shipcloud Developer Portal's API section on Shipments.