-
Couldn't load subscription status.
- Fork 35
Release Notes
Julien Cherry edited this page Jun 12, 2025
·
51 revisions
These are modifications since the previous release that may require changes in your calls to the binding.
- Dependency updates
- Deserialize extendedInformation into the NameTranslationResponse
- Dependency updates
- Dependency updates
- Rebranding
Rosette->Analytics - Use new url and api key header.
- New artifact,
rosette-api-all, for resolving jar hell errors generated during ES plugin compilation.
-
FieldedAddressandFieldedDatefields are expanded - Added info messages to
RecordSimilarityResponseandRecordSimilarityResult -
RecordSimilarityPropertiessupports sendingparametersorparameterUniverse -
RecordSimilarityFieldInfonow have ascoreIfNullfield, to specify a value for when a field is missing in a record - Upgrade to Open Source Parent pom 19.0.0
Breaking changes:
-
Responsewill deserialize fields toUnknownFieldobjects - Changed error to be a list of String in
RecordSimilarityResult -
FieldedAddressno longer has an address field -
RecordFieldTypechanged from an enum to a class with public static String values
-
/name-translationcan now, optionally, return a list of results. - Add support and example for
/record-similarity - Add support for Indoc Coref Server for
/entities - Website, logo, email address and other branding updates.
- Library upgrades
- Add thread pool for supporting concurrent requests. Includes an example to demonstrate usage. (RCB-597)
- Events requests support negation option (WS-2853)
- Upgrade to Open Source Parent pom 17.0.0
- Upgrade to Open Source Parent Pom 15.0.0
- The Semantics endpoints have a new option called
embeddingsModeto select which model you want to use. See the release notes for 1.26.0 for a more thorough description of the change.
- Restore
genrebut ignore it. - Restore
numCategoriesinCategoriesOptions.
- Removed all instances of
genrein JSON structures. - Removed the
Addressclass. - Removed
numCategoriesinCategoriesOptions. - Removed
dbpediaTypeinEntity. - Removed
includeDBpediaTypeinEntitiesOptions.
- Marking the
genrefield for/entitiesas deprecated - Adding
regexCurrencySplitoption
- Added
linkMentionModerequest option for/entities - Compiled with Java 17, targeting Java 11.
- Added DNN model type to
/morphologyendpoints.
-
/eventssupport theplanoption. -
/eventsoptions validation removed. - In
PoolingHttpClientConnectionManageroverride the default value ofDefaultMaxPerRouteand set it to the connection concurrency. - Use new open source parent to deploy to new OSS server.
- Make
/eventsworkspaceIdnon-nullable. - Add a
structuredRegionProcessingTypeflag. - Add a "Generic Response" to the API model.
-
enableStructuredRegionproperty for/entities. Default value isfalse. - Add support for
/eventsendpoint. - Add
workspaceIdoption for/events - Upgrade to version 2.7.2 of Annotated Data Model.
- Upgrade to version 4.5.13 of Apache HTTP Components.
- Response payload on calls to
/infonow includelicenseExpirationstring. Requires minimum Server version of 1.18.0.
- Parameters option for
/address-similarityand/name-similarity - RTS decoder option for
/entities - Case Sensitivity option for
/entities
- Support unfielded addresses and update address example for /address-similarity
- Added a boolean field
licensedto theSupportedLanguagePairclass where true indicates that you are licensed for the particular language. SeeHttpRosetteAPI.getSupportedLanguagesandSupportedLanguagesResponse
- Custom Regex entry support (On-Prem only)
- New Address Similarity endpoint
/address-similarity
- added new
includePermIDoption for/entitiesand associated response field,permId. - added new
includeDBpediaTypesoption for/entitiesand associated response field,dbpediaTypes. - deprecated
includeDBpediaTypeoption for/entitiesand associated response field,dbpediaType.
- added
PERCEPTRONtoDisambiguatorType
- New Similar Terms endpoint
/semantics/similar - New Similar Terms example
-
/text-embeddingendpoint changed to/semantics/vector -
/text-embeddingexample changed to/semantics/vectorexample
- removed java 7 compatibility
- added morpho option for disambiguator
- removed dependency on guava
- Added a method to get supported languages per endpoint:
HttpRosetteAPI.getSupportedLanguages(String endpoint). This method will return aSupportedLanguageResponsecontaining information about the supported languages and scripts.
-
LanguageOptionsnow includes theBooleanfieldkoreanDialectsto control whether North and South Korean should be returned instead of Korean.
-
CategoriesOptionsclass now includes BooleansingleLabeland FloatscoreThresholdparameters. Additionally, thenumCategoriesoption has been deprecated. Users should instead use thescoreThresholdoption to control the returned results. The default mode for the/categoriesendpoint is now multilabel, and users should set thesingleLabeloption totrueto return to the old (pre 1.11.0) behavior. -
CategoriesResponseclass now contains a list ofCategoryLabels. ACategoryLabelclass contains the same fields as the previously usedLabelclass, but also includes a Doublescorefield representing the label's raw score. This value can be between negative infinity and infinity.
- There is a new
TextEmbeddingOptionsclass, which allows users to request per-token embeddings from the/text-embeddingendpoint. This can be enabled by settingperTokentotrue. - The
TextEmbeddingResponseclassembeddingfield has been renamed todocumentEmbedding. Additionally, two fields,tokensandtokenEmbeddings, have been added to the class in order to reflect the/text-embeddingendpoint's new support for per-token embeddings.
- There’s a new option in
EntitiesOptions,includeDBpediaType(off by default), that, when enabled, returns both the new DBpedia entity types as well as the extended range of possible macro entity types. See the Rosette Cloud/Enterprise release notes for additional information.
- Expose
/morphologymodel type option
-
EntitiesOptionsclass now includes a StringmodelTypeparameter.
-
RosetteAPIclass constructors have been deprecated. API objects can be instantiated withBuilderclass. - Parameters
genre,language,options, andhttpClientare linked to the API object and apply to all calls made with the object. - The following methods now only have input text, URL, or a stream and content type passed as a parameter:
getLanguagegetEntitiesgetCategoriesgetRelationshipsgetSentimentgetTokensgetSentences
- Method
getMorphologyonly accepts parameters Morphological Feature and the input text, URL, or InputStream and content type - Method
getNameSimilarityaccepts two names instead of NameSimilarityRequest - Unified /entities endpoint.
getLinkedEntitiesmethod has been deprecated.getEntitiesnow by default returns linked entities with the option to disable this feature through aEntitiesOptionsobject -
Requestis now parent to all request classes.Categories,Entities,Language,Morphology,Relationships, andSentimenthave been consolidated intoDocumentRequest.
-
genreadded toRequest. Settinggenre="social-media"will return analyses from components optimized for tweet-length text.
- Method
matchNamehas been renamed togetNameSimilarityalong with its corresponding request and response data model classes, fromNameMatchingtoNameSimilarity - Method
translateNamehas been renamed togetNameTranslation - The confidence score field has been removed from 'getEntities'
- Method
getSentimentnow returns a sentiment for each resolved entity in addition to a document level sentiment - Method
getSentimentcan returnneu(neutral) in addition toposandneg - Enum
MorphologicalFeaturehas been separated from the main API class - A new
Labelclass has been added to represent sentiment and categories result elements, previouslySentimentandCategory - Other removed data model classes:
InputUnitScriptResponsePartOfSpeechLemmaHanReadingsCompoundComponentsCategoryTaxonomySentimentModelNameMatchingResultNameTranslationResultSchemesResponse
These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.
- Updates to jackson
- Multilingual language identification example
- User Agent includes runtime version
- Fixed null pointer error when using the builder with no url() step. Now defaults to https://api.rosette.com/rest/v1
- Modified sentiment example to use UTF-8 instead US-ASCII
- Example pom updated to remove sl4j log warnings
-
RosetteAPI's maximum concurrent connections set by pinging the server at initialization time.
- The
X-RosetteAPI-Request-IdandX-RosetteAPI-ProcessedLanguagevalues have been added as response headers.
- The
unit,contentType, andcontentBytesinput parameters have been removed. Base64-encoded input should be sent in as anInputStreamwithout any encoding. - Requests now use a builder pattern.