Skip to content

Releases: heroinbob/tax_jar

0.3.0

29 May 14:05
a43ff59
Compare
Choose a tag to compare

This updates the req dependency to 0.5.0.

Impact

Req no longer raises an error when the response can't be decoded. Instead it returns the Jason.DecodeError. In order to handle this the api adapter now returns a TaxJar.Response.Error with the following:

  • reason: :json_decode_error
  • message: The human readable Jason.DecodeError message
  • details: The received Jason.DecodeError struct

0.2.1

21 Mar 16:52
54e37a9
Compare
Choose a tag to compare

Fix compilation for projects without Req by not defining the ReqAdapter

0.2.0

07 Mar 21:38
3b301e9
Compare
Choose a tag to compare

The HTTP adapter is now configurable so a project can use their own adapter if they wish. The new out of the box default is Req which replaces Hackney.

0.1.1

04 Mar 23:02
d06ff10
Compare
Choose a tag to compare

Fixed an incorrect typespec on Taxes.Requests.Taxes.get_sales_tax_for_order/1

0.1.0

21 Feb 22:15
2164b10
Compare
Choose a tag to compare

First release!

This implements the get sales tax for order endpoint.