-
Notifications
You must be signed in to change notification settings - Fork 11
Release Notes
seth-mg edited this page Nov 22, 2024
·
31 revisions
These are modifications since the previous release that may require changes in your calls to the binding.
- Rebranding Rosette -> Analytics
- Use new url and api key header.
- Add support for
/events
- Add support for
/record-similarity
- Dependency upgrades
- Set supported versions to "18", "20", "22" & "23"
- Code smells, refactoring, deprecations
- Support unfielded addresses and update address example for /address-similarity
- New Address Similarity endpoint
/address-similarity
- New Address Similarity example
- Package upgrades.
- Fix content-from-file bug in entities, vectors, syntax dependencies and embeddings.
- New Similar Terms endpoint
/semantics/similar
- New Similar Terms example
-
/text-embedding
endpoint changed to/semantics/vector
-
/text-embedding
example changed to/semantics/vector
example
- Multilingual language identification example
- User Agent includes runtime version
- New topics endpoint
- New topics example
- Added nameDeduplication endpoint
- Added transliteration endpoint
- Added support for url parameters, aka query parameters. Example:
api.parameters.urlParameters = {output: "rosette"};
- Removed entities/linked code and example
- removed parameters._maxRetries
- removed parameters._msinterval
- Added syntaxDependencies endpoint
- Added text-embedding endpoint
- customHeaders parameter
- Binding reflects unification of
/entities
and/entities/linked
endpoints;/entities
returns a new response model which includes QIDs by default -
linked
parameter is not available anymore - linkEntities option is available to turn off QIDs through
api.parameters.options = { "linkEntities": false };
- 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.
- Updated Api.js to call topics
- Created topics.js
- Created topics unit test
- Added examples and unit tests for nameDeduplication and transliteration
- Updated the name_* endpoints to not accept documentFile (they never should have)
- removed 429 check and retry
- removed parameters._maxRetries
- removed parameters._msinterval
- HTTP client reuse
- Max connections set to response concurrency
- Added filter to prevent internal-only parameters from being passed to the server
- 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.