1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
4 |
|
5 | ## 2.0.1
|
6 |
|
7 | - FIXED: #116 - default setting of `retry-after` for 429 http status code responses
|
8 |
|
9 | ## 2.0.0
|
10 |
|
11 | - FIXED: #110 - check the `statusCode` on the response
|
12 | - FIXED: #114 - handle 429 HTTP status codes
|
13 | - UPDATED: To allow errors to be programmatically useful the `error` callback objects has been updated to `{statusCode: STATUS_CODE, body: JSON_BODY, headers: HEADERS}`
|
14 |
|
15 | ## 1.2.0
|
16 |
|
17 | - ADDED: Add File API to library. `nexmo.files.get` and `nexmo.files.save`.
|
18 |
|
19 | ## 1.1.2
|
20 |
|
21 | - Fixed: Bug #104 - Fix JSON parsing error
|
22 |
|
23 | ## 1.1.1
|
24 |
|
25 | - UPDATED: Changed User Agent format to match other libraries
|
26 | - FIXED: Bug #88 - Undefined method when missing `method` declaration
|
27 |
|
28 | ## 1.1.0
|
29 |
|
30 | - ADDED: `nexmo.generateJwt` to generate JWT based on instance credentials
|
31 | - ADDED: `Nexmo.generateJwt` static function to generate JWT
|
32 |
|
33 | ## [1.0.0]
|
34 |
|
35 | - ADDED: `applicationId` and `privateKey` properties to first constructor parameter to support JWT generation.
|
36 | - ADDED: `options.logger` to constructor 2nd parameter to allow adding customer logger.
|
37 | - ADDED: `options.appendToUserAgent` to constructor 2nd paramater to append custom string to `User-Agent` header sent to Nexmo.
|
38 | - ADDED: nexmo.calls adding support to `create`, `get`, `update` and `delete` calls.
|
39 | - ADDED: nexmo.applications adding support to `create`, `get`, `update` and `delete` calls.
|
40 | - ADDED: Functionality is now namespaced:
|
41 | - `nexmo.message`
|
42 | - `nexmo.calls`
|
43 | - `nexmo.number`
|
44 | - `nexmo.verify`
|
45 | - `nexmo.numberInsight`
|
46 | - `nexmo.account`
|
47 | - `nexmo.voice` - legacy voice functionality
|
48 | - CHANGED: `var Nexmo = require('nexmo');` returns a class definition which should be created using the `new` operator e.g. `var nexmo = new Nexmo(args...);`.
|
49 | - REMOVED: `var nexmo = require('nexmo');` no longer exposes singleton functions offered by "easynexmo".
|
50 |
|
51 | ## Pre 1.0.0
|
52 |
|
53 | Earlier versions of this library were published as "easynexmo". The "easynexmo" package is now deprecated.
|
54 |
|
55 | [1.0.0]: https://github.com/Nexmo/nexmo-node/tree/v1.0.0
|