-
Notifications
You must be signed in to change notification settings - Fork 11
Release Notes
Sam Hausmann edited this page Jun 1, 2016
·
31 revisions
These are modifications since the previous release that require changes in your calls to the binding.
- customHeaders parameter
- Get/Set options
- No more info calls
- User may specify the number of retries and the microsecond interval to use for responding to 429s
- To send a file to the Rosette API, the nodejs binding now depends on an npm module called
multipart-stream
. Runnpm install
to install this to the node modules folder. - The
/matched-name
and/translated-name
endpoints have been renamed to/name-similarity
and/name-translation
in the Rosette API, so previous API users will need to change these calls in their node.js code. See https://developer.rosette.com/release-notes for more detailed API changes that will affect the functionality of your app.
These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.
- Removed mock-data files
- Updated unit tests to be more specific to operation
- Centralized the request operation to rosetteRequest.js
- Added handling for 429s
- The
unit
,contentType
, andcontentBytes
input parameters have been removed. Base64-encoded input should be sent as an input file. - The
X-RosetteAPI-Request-Id
andX-RosetteAPI-ProcessedLanguage
values have been added as response headers.