Skip to content

Releases: hendrikcech/tent-request

Support for post attachments and batch requests

21 Apr 20:19
Compare
Choose a tag to compare

Campr compatibility fix

08 Apr 22:30
Compare
Choose a tag to compare

Campr expects entity and id query parameters to be urlencoded.

Server authentication header check removed

08 Apr 22:32
Compare
Choose a tag to compare

There are various problems with hawk.authenticate. Removed until a better solution is found.

Various improvements

08 Apr 22:36
Compare
Choose a tag to compare
  • 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

05 Feb 04:26
Compare
Choose a tag to compare

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

05 Feb 04:28
Compare
Choose a tag to compare

Payload validation is explained in the Hawk docs.
This version doesn't work in the browser!

v0.4.1: Pagination support

30 Jan 06:23
Compare
Choose a tag to compare

v0.4.0: Tent 0.3 compatible rewrite

30 Jan 00:56
Compare
Choose a tag to compare

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 a createClient function anymore. Instead it exports an anonymous function. So the new usage is var 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

12 Jul 19:56
Compare
Choose a tag to compare

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.