Skip to content

Releases: jonsamwell/angular-http-batcher

v1.12.0

11 Oct 23:54
Compare
Choose a tag to compare

Now handles multiple JSON Vulnerability Prefixes in same response
Add unique request part names to Content-Disposition header for use with tomcat servlet 3.1
Fix to stop multiple url encoding of query string parameters in http batch adapter

v1.11.3: Fixed error when trimming response to protect against JSON vulnerabil…

26 Aug 22:21
Compare
Choose a tag to compare

Fixed error when trimming response to protect against JSON vulnerability error (pr by @magarcia https://github.com/magarcia)
Use encodeURI to process query strings with spaces and other such characters in default http adapter. (pr by https://github.com/tiwariarvin)

v1.11.2

21 Aug 12:01
Compare
Choose a tag to compare

Fixed error with previous release (v1.11.1) dist file

1.11.1: Added support for the Angular Json protection vulnerability when pars…

11 Aug 00:32
Compare
Choose a tag to compare

Added support for the Angular Json protection vulnerability when parsing json (see https://docs.angularjs.org/api/ng/service/$http#json-vulnerability-protection)
thanks to @riann (https://github.com/riaann) for this!!

Added documentation for the new 'adapter' config property and tests around the node js multifetch adapter.

v1.11.0

10 Aug 11:26
Compare
Choose a tag to compare

HUGE refactor of the library geared towards supporting multiple different formats of batch request and response i.e.
http 1.1 batch, NodeJS, Facebook etc. The library now has the concept of batch adapters which are able to transform raw
http requests and responses into the correct batch formats for a particular server.
Added the default http 1.1 adapter which supports .net / java
Added a node js multifetch https://github.com/debitoor/multifetch adapter which supports fetch a batch of GET requests.

v1.10.0: Added support for complex relative urls i.e. './api/products' or '../…

15 Jul 02:45
Compare
Choose a tag to compare

Added support for complex relative urls i.e. './api/products' or '../api/products' when doing $http request that form part of a batch.

$http.get('./api/products).then(....);

v1.9.0

15 Jul 02:11
Compare
Choose a tag to compare

A function can now be added to the config object to override the default mechanism used to determine if a call should be batched.
Add a canBatchRequest function to the config object which takes in a url and http method type and return true if the call can be batched.
Add the ability to specify additional header to be added to the batch request and each individual batch request part. This is to improve
compatibly with java servlet <=3.1 where it needs a content disposition header to parse the request.

v1.8.0

28 May 23:46
Compare
Choose a tag to compare
Fixed readme typos

v1.7.0

18 Mar 00:05
Compare
Choose a tag to compare

Fixed issue with parsing the response string into a json object with having more than two dashes '--' in the returned data.