Releases: integreat-io/integreat-adapter-json
Releases · integreat-io/integreat-adapter-json
v1.0.1
v1.0.0
Require Integreat v1.0.
v0.7.1
New features:
- A
json
transformer is provided. Import from'integreat-adapter-json/transformer.js'
.
v0.7.0
Breaking changes:
- Set headers where there is data (
payload
and/orresponse
), instead of trying to interpretsourceService
- Don't override existing content type (but always change the casing to
'Content-Type'
)
v0.6.0
Breaking change:
- Include headers by default
- Set headers on payload or response (for outgoing and incoming actions respectively)
v0.5.0
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
- Return the http response headers as an object on the
headers
prop of the response - Set
integreat-adapter-json/0.4
asuser-agent
on requests
v0.4.0
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
Updated uri template package to get new date formats (ms-epoc
and s-epoc
).
v0.3.7
- Changed the default timeout to two minutes (120 secs).
- Fixed a faulty typing.