Skip to content

Releases: integreat-io/integreat-adapter-json

v1.0.1

14 Nov 10:54
7ca1b98
Compare
Choose a tag to compare

Bug fix:

  • When response data was not valid JSON, the adapter would overwrite any error from the transporter

v1.0.0

04 Aug 18:27
67c6baa
Compare
Choose a tag to compare

Require Integreat v1.0.

v0.7.1

30 Jul 19:46
Compare
Choose a tag to compare

New features:

  • A json transformer is provided. Import from 'integreat-adapter-json/transformer.js'.

v0.7.0

04 Jul 16:13
Compare
Choose a tag to compare

Breaking changes:

  • Set headers where there is data (payload and/or response), instead of trying to interpret sourceService
  • Don't override existing content type (but always change the casing to 'Content-Type')

v0.6.0

19 May 18:40
Compare
Choose a tag to compare

Breaking change:

  • Include headers by default
  • Set headers on payload or response (for outgoing and incoming actions respectively)

v0.5.0

24 Apr 13:36
Compare
Choose a tag to compare

Breaking change: Updated to an Integreat v0.8 adapter, which means that it only provides normalize() and serialize() methods. All sending of data has been moved to transporters.

v0.4.1

12 Mar 13:45
Compare
Choose a tag to compare
  • Return the http response headers as an object on the headers prop of the response
  • Set integreat-adapter-json/0.4 as user-agent on requests

v0.4.0

15 Jan 11:04
Compare
Choose a tag to compare

Breaking change: Will not return error when response from service is non-parsable JSON. The response data will instead be { value: <response> }, where response is whatever was in the body from the service.

v0.3.8

04 Aug 14:08
Compare
Choose a tag to compare

Updated uri template package to get new date formats (ms-epoc and s-epoc).

v0.3.7

08 Jul 13:30
Compare
Choose a tag to compare
  • Changed the default timeout to two minutes (120 secs).
  • Fixed a faulty typing.