All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Adds
issuance_type
toproject
responses - Adds
disclaimers
toproject
responses
- Adds optional
vintage_start_year
andvintage_end_year
fields toorder
creation - Adds optional
vintage_start_year
andvintage_end_year
fields toorder_line_item
create and update - Adds optional
vintage_start_year
andvintage_end_year
fields toinventory
creation - Adds
vintage_start_year
andvintage_end_year
fields toorder
response - Adds
vintage_start_year
andvintage_end_year
fields toorder_line_item
response - Adds optional
carrier_scac
field topatch.estimates.create_road_shipping_estimate
- Deprecates
create_shipping_estimate
in favor ofcreate_ecommerce_estimate
- Adds
patch.estimates.create_ecommerce_estimate
method
- Adds
patch.estimates.create_air_shipping_estimate
method - Adds
patch.estimates.create_rail_shipping_estimate
method - Adds
patch.estimates.create_road_shipping_estimate
method - Adds
patch.estimates.create_sea_shipping_estimate
method
- Adds support for the
issued_to
parameter onorders
, to add support for creating and placing orders on behalf of another party.
- Adds support for the
accept_language
option onprojects
, to add support for theAccept-Language
header.
- Adds optional
total_price
andcurrency
field toorder
creation - Adds optional
amount
andunit
field toorder
creation - Adds inventory to
project
responses - Adds inventory to
order
responses
- Deprecates
mass_g
andtotal_price_cents_usd
fields for createorder
requests - Deprecates
average_price_per_tonne_cents_usd
andremaining_mass_g
fromproject
responses - Deprecates
price_cents_usd
,patch_fee_cents_usd
, andmass_g
fromorder
responses
- Adds optional
vintage_year
field toorder
creation
- Adds ability to create hotel estimates via
api_client.estimates.create_hotel_estimate()
- Adds optional
state
field toorder
creation
- Set the order allocatations array as optional.
- Removes the
preferences
endpoints (deprecated)
- Adds highlights to project responses
- Adds verifier to project responses
- Added the ability to fetch project technology types via
api_client.technology_types.retrieve_technology_types()
- Adds mechanism, tagline, state, latitude, longitude, and technology_type to project responses
- Adds ability to create Bitcoin and Ethereum estimates using the daily balance held.
- Adds a
created_at
attribute in all order responses
- Adds support for airports, aircrafts, cabin class and passenger count in flight estimates
- Adds a custom User-Agent header
- Fixed ability to create Orders with
metadata
- Add support for querying Orders by
metadata
- Added
transaction_value_eth_gwei
as an alternative way to compute transaction level emissions for ethereum
- Add support for Ethereum estimates
- [BREAKING] Changed
order.price_cents_usd
andorder.patch_fee_cents_usd
from string to integer.
- Order responses return a
registry_url
field - Add support for Bitcoin estimates
- Fixes #23 by allowing the expected parameter
total_price_cents_usd
- Fixed an
AttributeError
that was thrown when Projects with Sustainable Development Goals were retrieved.
- Changed base URL from https://api.usepatch.com to https://api.patch.io
- Adds Sustainable Development Goals (SDGs) field to projects
- Adds the ability to filter Projects on country, type, minimum_available_mass
- vehicle estimates now support optional
make
,model
andyear
fields.
- Adds missing dependency.
- Adds support for creating Shipping/Flight/Vehicle estimates.
- Sets the library version to 1.3.0 to track the Patch Ruby SDK and Patch Node SDK.
- Pre-release of v1 Library
- Adds support for Orders, Estimates, Projects and Preferences