Skip to content

Releases: patch-technology/patch-node

[2.0.1] 2022-12-06

06 Dec 17:08
0159c44

Choose a tag to compare

Fixes vulnerabilities in dependencies

[2.0.0] 2022-10-13

13 Oct 16:26
3d54524

Choose a tag to compare

API version 2. See https://docs.patch.io/#/changelog for changes.

[1.24.2] - 2022-08-10

11 Aug 00:44
64481e0

Choose a tag to compare

  • Adds patch.estimates.createEcommerceEstimate method

[1.24.1] 2022-07-29

29 Jul 02:09
e895ca2

Choose a tag to compare

  • Update internals for issued_to. No interface changes.

[1.24.0] - 2022-07-28

28 Jul 21:50
9de03b4

Choose a tag to compare

Breaking

  • Renames the issuedTo parameter for orders to issued_to.

Added

New GLEC-compliant endpoints!

  • Adds patch.estimates.createAirShippingEstimate method
  • Adds patch.estimates.createRailShippingEstimate method
  • Adds patch.estimates.createRoadShippingEstimate method
  • Adds patch.estimates.createSeaShippingEstimate method

[1.23.0] - 2022-06-06

06 Jun 18:58
f9ff401

Choose a tag to compare

Added

  • Adds support for the issuedTo parameter on orders, to add support for creating and placing orders on behalf of another party.

[1.22.0] - 2022-05-16

17 May 15:23
f3f05bd

Choose a tag to compare

Added

  • Adds support for the acceptLanguage option on projects, to add support for the Accept-Language header.

[1.21.0] - 2022-05-03

04 May 20:34
04165df

Choose a tag to compare

Added

  • Adds optional total_price and currency field to order creation
  • Adds optional amount and unit field to order creation
  • Adds inventory to project responses
  • Adds inventory to order responses

Changed

  • Deprecates mass_g and total_price_cents_usd fields for create order requests
  • Deprecates average_price_per_tonne_cents_usd and remaining_mass_g from project responses
  • Deprecates price_cents_usd, patch_fee_cents_usd, and mass_g from order responses

[1.20.0] - 2022-04-18

18 Apr 20:05
1851540

Choose a tag to compare

Added

  • Adds optional vintage_year field to order creation

[1.19.0] - 2022-04-11

11 Apr 20:16
61386e4

Choose a tag to compare

  • Adds createHotelEstimate() method, which allows users to estimate the carbon emissions associated with hotel stays.