Skip to content

Releases: patch-technology/patch-ruby

[1.9.0] - 2021-08-17

18 Aug 17:18
ae67c8d
Compare
Choose a tag to compare

Added

  • Add support for querying Orders by metadata
  • Added transaction_value_eth_gwei as an alternative way to compute transaction level emissions for ethereum

[1.8.0] - 2021-07-20

21 Jul 19:11
8f3adf9
Compare
Choose a tag to compare

Added

  • Add support for Ethereum estimates

[1.7.0] - 2021-07-15

14 Jul 22:21
c28dd53
Compare
Choose a tag to compare

Changed

  • [BREAKING] Changed order.price_cents_usd and order.patch_fee_cents_usd from string to integer.

[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.