UNPKG

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