Skip to content

Releases: joostvunderink/angular-jsonrpc-client

Add support for progress monitoring

05 Jul 09:55

Choose a tag to compare

  • Added documentation and example to monitor the progress of an outgoing JSON-RPC call.

Fixed handling of unexpected $http result

11 Jun 07:38

Choose a tag to compare

Bugfix: certain errors with $http usage now result in a rejected promise instead of an exception.

Another "fix the version" release.

13 Mar 08:50

Choose a tag to compare

  • Updated version in package.json and bower.json.
  • Unfortunately, github doesn't warn about older versions in those files when you're making a release.
  • Making releases by hand seem to be error-prone; are there any tools for that?

Added support for cancelling requests

13 Mar 07:53

Choose a tag to compare

  • There is now a third way to call jsonrpc.request(): with a single object as argument.
    • This object must contain the keys serverName, methodName and methodArgs.
    • An optional key is config. These values are passed directly into the $http object.
  • This can be used for example to cancel requests.
    • Added an example to cancel a request.
    • Added cancelling requests to the documentation.

Version fixing release

01 Mar 14:15

Choose a tag to compare

This release has no functional changes. In release 0.4.0, bower.json had not been updated and was still at 0.3.1. This has been fixed in this release.

Added support for request batches

06 Feb 20:08

Choose a tag to compare

  • It is now possible to use the Batch feature as described in the JSON-RPC spec.
    • You create a batch with var batch = jsonrpc.batch().
    • You add requests with batch.add(request).then(handler).
    • You send the batch with batch.send().
  • Added documentation, unit tests and an example.
  • Thanks to GerritK for most of the work of this feature!

Added way to set headers at run-time

15 Dec 14:11

Choose a tag to compare

  • Added new method jsonrpc.setHeaders(serverName, headers) to set headers at runtime.
  • These headers are added on top of the extra headers from the configuration phase.
  • These headers will overwrite, if present, headers with the same name from the configuration phase.
  • Also cleaned up and refactored the request() function.

Error data is now accessible in a slightly easier way

10 Dec 08:59

Choose a tag to compare

  • When handling an error, the error data is now also available via error.data.

Added AngularJS dependency 1.4

15 Nov 18:35

Choose a tag to compare

  • Updated AngularJS dependency from (1.3.15 to 1.4.0) to (1.3.x up to
    2.0.0).
  • In practice this means that the service can now easily be used with
    AngularJS 1.4.

Custom HTTP header support

15 Nov 18:36

Choose a tag to compare

  • Added support for headers in configuration.
    • Headers can be different for each backend.
    • Added example to show how it works.
  • Improved test suite significantly.
    • Added tests for new headers argument.
    • Made sure that overwriting the Content-Type header does not
      happen.
    • Added more tests for configuration.
    • Start using should library in test suite.