Skip to content

Releases: patch-technology/patch-ruby

[1.6.0] - 2021-07-14

13 Jul 21:51
7e9dfc0
Compare
Choose a tag to compare

Added

  • Order responses return a registry_url field
  • Add support for Bitcoin estimates

[1.5.2] - 2021-03-30

30 Mar 20:25
7b154a0
Compare
Choose a tag to compare

Changed

  • Update parameter validation ranges to match those of the API

[1.5.1] - 2021-03-02

02 Mar 17:14
7fb46d1
Compare
Choose a tag to compare

Fixed

  • Fixed a NameError that was thrown when Patch::Sdg was called. Specs have been added to ensure this does not happen again.

[1.5.0] - 2021-03-01

01 Mar 18:29
1d7dd06
Compare
Choose a tag to compare

From the maintainers: Broken release - fixed in 1.5.1.

Changed

[1.4.0] - 2021-02-22

22 Feb 17:22
acc2e37
Compare
Choose a tag to compare

From the maintainers: Broken release - fixed in 1.5.1.

Added

  • Adds Sustainable Development Goals (SDGs) field to projects
  • Adds filtering to Projects by country, type, minimum_available_mass

Changed

  • vehicle estimates now support optional make, model and year fields.

[1.3.0] - 2021-02-08

09 Feb 15:05
88e34d0
Compare
Choose a tag to compare

Added

  • Adds support for creating carbon emission estimates for flights, shipping, and vehicles. See the docs for more information.

[1.2.5] - 2020-01-08

13 Jan 17:26
d0d3893
Compare
Choose a tag to compare

Fixed

  • Fixes issues/5. Adds method .openapi_nullable which returns a set with all nullable properties. This method is referenced in #to_hash which returns a hash representation of the resource.
  • Removes non-deterministic integration spec that is creating an Estimate with a specific project-id. Since we do not control the test data (yet) and make queries against our Test projects, we cannot be sure that we will have offsets available for a project ID. Instead we can rely on Patch core specs to cover this.
  • Fixes a spec that was failing due to a Patch core change.
  • Add spec factories and refactor generated method specs to shared examples.

[1.2.4] - 2020-10-14

14 Oct 22:29
e6f0167
Compare
Choose a tag to compare

Added

  • total_price_cents_usd field to order creation
  • allows users to create an order by total price

Changed

  • order creation requires either mass_g or total_price_cents_usd, but not both

[1.2.3] - 2020-10-05

06 Oct 22:21
51f12f6
Compare
Choose a tag to compare

Added

  • patch_fee_cents_usd field to orders

[1.2.2] - 2020-09-18

19 Sep 01:25
94a7918
Compare
Choose a tag to compare

Added

  • return photos with projects