Skip to content

Releases: shipcloud/shipcloud-ruby

v0.12.0

06 Dec 16:18
316f480
Compare
Choose a tag to compare

Added

  • Add order model
  • Add attr_accessor for service to class Shipcloud::Shipment to be able to access the service attribute at the shipment object.
  • Add attr_accessor for additional_services to class Shipcloud::Shipment to be able to access the additional_services attribute at the shipment object.
  • Add attr_reader for label_voucher_url to class Shipcloud::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

28 Jul 14:26
d17aa6b
Compare
Choose a tag to compare
  • Added
    • Support shipments with pickup requests as required for TNT (#56 & #60)
    • Add attr_accessor for email to class Shipcloud::Address to be able to access the email attribute at the address object (#57)

v0.10.0

07 Aug 09:22
f52e3c6
Compare
Choose a tag to compare

Added

  • Add the possibility to specify custom affiliate_id on every request

Removed

  • Removed support for ruby < 2.3. Target ruby version is 2.6

v0.9.0

09 Jan 09:53
d621d64
Compare
Choose a tag to compare

Added

  • Add attr_reader for id to class Shipcloud::Address to be able to get the id of a created address
  • Add attr_reader for id to class Shipcloud::Webhook to be able to get the id of a created webhook
  • Add attr_reader for customs_declaration to class Shipcloud::Shipment to be able to get the customs_declaration of a created shipment

v0.8.0

03 Jul 10:48
de107d7
Compare
Choose a tag to compare

Added

  • Add attribute metadata to class Shipcloud::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 class Shipcloud::PickupRequest to submit an alternative address for pickup request to shipcloud
  • Add delete operation for webhook resource
  • Add attribute deactivated to class Shipcloud::Webhook
  • Add affiliate_id to Shipcloud::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

21 Jan 14:29
Compare
Choose a tag to compare

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 and Shipcloud::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

21 Jan 09:57
Compare
Choose a tag to compare

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

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.

v0.5.0

02 Apr 08:31
Compare
Choose a tag to compare
  • [added] call to list carriers
  • [fixed] fixed bug in error handling and array responses