This repository has been 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
service
to classShipcloud::Shipment
to be able to access the service attribute at the shipment object. - Add attr_accessor for
additional_services
to classShipcloud::Shipment
to be able to access the additional_services attribute at the shipment object. - Add attr_reader for
label_voucher_url
to classShipcloud::Shipment
to be able to read the label_voucher_url (QR Code url) attribute at the shipment object. - Added missing
frozen_string_literal: true
magic 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
rubocop
to be~> 1.10.0
- Specify
rubocop-performance
to 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
id
to classShipcloud::Address
to be able to get the id of a created address - Add attr_reader for
id
to classShipcloud::Webhook
to be able to get the id of a created webhook - Add attr_reader for
customs_declaration
to classShipcloud::Shipment
to be able to get thecustoms_declaration
of a created shipment
v0.8.0
Added
- Add attribute
metadata
to classShipcloud::Shipment
in order to transmit JSON data (#16). - Add resource pickup_request in order to submit pickup request to shipcloud
- Add attribute
pickup_address
to classShipcloud::PickupRequest
to submit an alternative address for pickup request to shipcloud - Add
delete
operation forwebhook
resource - Add attribute
deactivated
to classShipcloud::Webhook
- Add
affiliate_id
toShipcloud::Configuration
and submit it (or a default affiliate id) via API headers to shipcloud - Add class
Shipcloud::Tracker
with 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::TooManyRequests
andShipcloud::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::APIError
in 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.