Releases: hendrikcech/tent-request
Releases · hendrikcech/tent-request
Support for post attachments and batch requests
- support for batch requests
- attachment support
- better test coverage
- internal structure changes
Campr compatibility fix
Campr expects entity and id query parameters to be urlencoded.
Server authentication header check removed
There are various problems with hawk.authenticate. Removed until a better solution is found.
Various improvements
- added debug statements: use tent-request with the DEBUG environment variable set to
tent-request
to get activate it - fixed test bugs that occured when using browserify
- removed concat-stream and uri-template dependencies; mainly to reduce the browserify build file size
v0.4.3: Fix browserify
v0.4.2 broke browserify support. Removing hawk/lib/browser.js
from package.json's browser
field restores that ¯_(ツ)_/¯
v0.4.2: adds Hawk response payload validation
Payload validation is explained in the Hawk docs.
This version doesn't work in the browser!
v0.4.1: Pagination support
Take a look at the README section.
v0.4.0: Tent 0.3 compatible rewrite
This release introduces a new file structure, extensive testing and a few API changes. It's still compatible with Tent 0.3.
API changes:
require('tent-request')
doesn't export acreateClient
function anymore. Instead it exports an anonymous function. So the new usage isvar client = require('tent-request)(meta, auth)
.- the signature of the following functions has changed: client.create, client.update, client.query and client.delete. Check the README for further information.
- the CRUD functions aren't returning streams directly anymore. Instead a http.ClientRequest object is returned. This is subject to change.
v0.2.0: Tent 0.3 ready
This release is a complete rewrite and drops support for Tent 0.2.
tent-request does not completely implement 0.3 at this point but lays a solid foundation to add missing features.