-
Notifications
You must be signed in to change notification settings - Fork 532
Changelog
2018-06-12
- Language Translator v3 released! This can be accessed in the new
com.ibm.watson.developer_cloud.language_translator.v3
package.
2018-05-30
- Default IAM authentication URL changed from
https://iam.ng.bluemix.net/identity/token
tohttps://iam.bluemix.net/identity/token
-
cursor
property inLogPagination
model replaced withnextCursor
-
cursor
property inPagination
model replaced withrefreshCursor
andnextCursor
-
getProfileAsCSV
method renamed toprofileAsCsv
-
profileAsCsv
return type changed fromString
toInputStream
-
version
property inCreateJobOptions
andRecognizeOptions
renamed tobaseModelVersion
-
deleteUserData()
method added, along with associated options model
-
deleteUserData()
method added, along with associated options model
- Old service instances work properly again without having to explicitly set the endpoint
-
deleteUserData()
method added, along with associated options model
2018-05-18
- New: Report showing API difference between last and newest release (@chohanbin)
- New:
deleteUserData()
method added, along with associated options model - New:
DIGRESSION_RETURN_PROMPT
constant added toCreateDialogNode
,CreateDialogNodeOptions
,DialogNode
,UpdateDialogNodeOptions
models
- New:
deleteUserData()
method added, along with associated options model - New:
DIGRESSION_RETURN_PROMPT
constant added toCreateDialogNode
,CreateDialogNodeOptions
,DialogNode
,UpdateDialogNodeOptions
models
- New:
deleteUserData()
method added, along with associated options model
- New:
BaseModelName
constants added toCreateAcousticModelOptions
,CreateLanguageModelOptions
model
2018-04-23
- New: Add support for authentication through IAM
- New:
conditions
property added toDialogNodeVisitedDetails
model
- New:
DialogNode
addsdigressIn
,digressOut
, anddigressOutSlots
properties - New:
conditions
property added toDialogNodeVisitedDetails
model
- New:
ko-KR_BroadbandModel
andko-KR_NarrowbandModel
added as constants inGetModelOptions
model
2018-04-13
- New: Ability to send custom headers in requests
- New: Ability to read response headers
- Fix: Use of unsupported query aggregations no longer throws
StackOverflowError
- New: Support for remaining query aggregations added (
filter
,nested
,timeslice
,top_hits
,unique_count
) - New:
evidenceCount
property added toqueryEntities()
andqueryRelations()
methods - New:
segment
property added toConversions
model - Change:
entities
property of theQueryEntitiesResponse
model changed from typeQueryEntitiesEntity
toQueryEntitiesResponseItem
- New:
QueryEntitiesResponseItem
model added - New:
QueryEvidence
model added - New:
QueryEvidenceEntity
model added - New:
FileType
enum as well ascode
,filename
,fileType
,sha1
, andnotices
properties added to theQueryNoticesResult
model - New:
evidence
property added toQueryRelationsRelationship
model - New:
SegmentSettings
model added
- Fix: Bug in microphone example of Speech to Text README
2018-04-05
- Fix: Documentation and examples updated to reflect current state of SDK
- New:
classifyCollection()
method added
- New:
getCoreMlModel()
method added - Change:
DetectFacesBetaOptions
,FaceFaceLocation
, andFaceIdentity
models removed - Change:
identity
property removed fromFace
model
2018-03-19
- Fix: The Watson Assistant service is now available in the JAR file or Maven/Gradle dependencies
- Fix: URLs are now properly encoded before being sent to the Watson services
2018-03-15
Rebranded Service: Conversation -> Assistant
The Conversation service is rebranding to Assistant, and the Assistant service is included in this release. Since it's just a rebrand, functionality is equal between them and migrating should just involve renaming class references. However, both will be available in the SDK for this release.
- New:
DialogNode
addsdigressIn
,digressOut
, anddigressOutSlots
properties
- Fix:
recognizeUsingWebSocket()
has been fixed to allow proper passing of parameters from the SDK to the API | #895
2018-03-07
- Change: Remove version date constants from service classes
- Change: Remove setters for various models where they should not be necessary
- Fix: Resolve
SSLHandshakeException
s when calling the Visual Recognition service with the Oracle JDK 7
- New:
append
parameter added toupdateWorkspace()
- New:
nodesVisitedDetails
parameter added tomessage()
- New:
CaptureGroup
model - New:
DialogNodeVisitedDetails
model - New: Add behavior constants to
DialogNodeNextStep
:get_user_input
,skip_user_input
,reprompt
,skip_slot
,skip_all_slots
- New:
includeAudit
parameter added to the following methods:getWorkspace()
,listWorkspaces()
,getIntent()
,listIntents()
,getExample()
,listExamples()
,getEntity()
,listEntities()
,getValue()
,listValues()
,getSynonym()
,listSynonyms()
,getDialogNode()
,listDialogNodes()
,getCounterexample()
,listCounterexamples()
- New:
createExpansions()
method added, along with the associatedCreateExpansionsOptions
model - New:
deleteExpansions()
method added, along with the associatedDeleteExpansionsOptions
model - New:
listExpansions()
method added, along with the associatedListExpansionsOptions
model - New:
Expansion
andExpansions
models - Change:
pt-br
language inCreateCollectionOptions
changed topt
- New:
model
property added toEnrichmentOptions
model - Change: Builder removed in
NluEnrichmentRelations
model - New:
similar
,similarDocumentIds
, andsimilarFields
parameters added tofederatedQuery()
,federatedQueryNotices()
,query()
, andqueryNotices()
- Change:
id
property inClassification
model renamed toclassifierId
- Change:
name
property inClassifiedClass
model renamed toclassName
- Change:
id
property inClassifier
model renamed toclassifierId
- Change: Rename
Classifiers
model toClassifierList
Overall, all method signatures have changes with the introduction of Options
models. The experience should now be the same as other services
- Change:
DBpediaResource
model removed - Change:
ErrorResponse
model removed - Change:
FeaturesResults
model removed - Change:
InlineResponse200
model removed - Change:
LinkedDataResult
model removed - Change:
Parameters
model removed - Change:
FeaturesResults
model removed
The above models were not used anyway and were erroneously added to the SDK before.
- Change:
createCustomization()
renamed tocreateLanguageModel()
- Change:
createRecognitionJob()
renamed tocreateJob()
- Change:
deleteCustomization()
renamed todeleteLanguageModel()
- Change:
deleteRecognitionJob()
renamed todeleteJob()
- Change:
getCorpora()
renamed tolistCorpora()
- Change:
getCustomization()
renamed togetLanguageModel()
- Change:
getCustomizations()
renamed tolistLanguageModels()
- Change:
getModels()
renamed tolistModels()
- Change:
getRecognitionJob()
renamed tocheckJob()
- Change:
getRecognitionJobs()
renamed tocheckJobs()
- Change:
getRecognizeStatus()
renamed togetSessionStatus()
- Change:
getWords()
renamed tolistWords()
- Change:
resetCustomization()
renamed toresetLanguageModel()
- Change:
trainCustomization()
renamed totrainLanguageModel()
- New:
upgradeLanguageModel()
method added, along with the associatedUpgradeLanguageModelOptions
model - New:
unregisterCallback()
method added, along with the associatedUnregisterCallbackOptions
model - New:
createAcousticModel()
method added, along with the associatedCreateAcousticModelOptions
model - New:
deleteAcousticModel()
method added, along with the associatedDeleteAcousticModelOptions
model - New:
getAcousticModel()
method added, along with the associatedGetAcousticModelOptions
model - New:
listAcousticModels()
method added, along with the associatedListAcousticModelsOptions
model - New:
resetAcousticModel()
method added, along with the associatedResetAcousticModelOptions
model - New:
trainAcousticModel()
method added, along with the associatedTrainAcousticModelOptions
model - New:
upgradeAcousticModel()
method added, along with the associatedUpgradeAcousticModelOptions
model - New:
addAudio()
method added, along with the associatedAddAudioOptions
model - New:
deleteAudio()
method added, along with the associatedDeleteAudioOptions
model - New:
getAudio()
method added, along with the associatedGetAudioOptions
model - New:
listAudio()
method added, along with the associatedListAudioOptions
model
Overall, all method signatures have changes with the introduction of Options
models. The experience should now be the same as other services
- Change:
getVoices()
renamed tolistVoices()
- Change:
createCustomVoiceModel()
renamed tocreateVoiceModel()
- Change:
updateCustomVoiceModel()
renamed toupdateVoiceModel()
- Change:
getCustomVoiceModels()
renamed tolistVoiceModels()
- Change:
getCustomVoiceModel()
renamed togetVoiceModel()
- Change:
createCustomVoiceModel()
renamed tocreateVoiceModel()
- Change:
deleteCustomVoiceModel()
renamed todeleteVoiceModel()
- Change:
getWords()
renamed tolistWords()
- Change: Can no longer use
getVoiceModel()
by passing in the model you want
Overall, all method signatures have changes with the introduction of Options
models. The experience should now be the same as other services
- Change:
utteranceId
property inUtteranceAnalysis
model changed from aString
type toLong
- New:
retrained
property added toClassifier
model - New:
code
property added toErrorInfo
model - Change:
parameters
property of theClassifyOptions
model replaced with the following properties:url
,threshold
,owners
, andclassifierIds
- Change:
parameters
property of theDetectFacesOptions
model replaced withurl
2017-12-15
- Fix: Adding/updating configuration parsing problems noted here
- New: Enrichments have been changed.
EnrichmentOptions
now has parameters of new model types, namely:NluEnrichmentCategories
NluEnrichmentEmotion
NluEnrichmentEntities
NluEnrichmentFeatures
NluEnrichmentKeywords
NluEnrichmentRelations
NluEnrichmentSemanticRoles
NluEnrichmentSentiment
- Fix: Add
getProfileAsCSV()
method which had been mistakenly deleted back in v4.0.0
2017-12-06
- Fix: Getting/setting dynamic properties now works properly
- New: Service URL is now set through JDNI automatically
- New:
listAllLogs()
method added, along with the associatedListAllLogsOptions
model - New:
language
andworkspaceId
properties added toLogExport
model - New:
credentials
property added toDialogNodeAction
model - New:
valueType
andpatterns
properties added toValue
,CreateValue
, andValueExport
models
- New:
federatedQuery()
method added, along with the associatedFederatedQueryOptions
model - New:
federatedQueryNotices()
method added, along with the associatedFederatedQueryNoticesOptions
model - New:
listFields()
method added, along with the associatedListFieldsOptions
model - New:
listTrainingExamples()
method added, along with the associatedListTrainingExamplesOptions
model - New:
queryEntities()
method added - New:
queryRelations()
method added - New:
CollectionUsage
model - New:
MemoryUsage
model - New:
QueryEntities
model - New:
QueryEntitiesEntity
model - New:
QueryEntitiesContext
model - New:
QueryEntitiesResponse
model - New:
QueryRelations
model - New:
QueryRelationsEntity
model - New:
QueryRelationsFilter
model - New:
QueryFilterType
model - New:
QueryRelationsResponse
model - New:
QueryRelationsRelationship
model - New:
QueryRelationsArgument
model - New:
percentUsed
,total
,used
, andtotalBytes
properties added toDiskUsage
model - New:
collections
andmemoryUsage
properties added toIndexCapacity
model - New:
collectionId
andresultMetadata
properties added toQueryResult
model
- New:
EntityMention
model - New:
DisambiguationResult
model - New:
Feed
model - New:
textCharacters
andtextUnits
properties added toUsage
model - New:
mentions
property added toEntitiesOptions
model - New:
mentions
anddisambiguation
properties added toEntitiesResult
model - New:
target
property added toSentimentOptions
model - New:
target
property added toEmotionOptions
model - New:
modelId
property added toDeleteModelOptions
model - New:
feeds
andimage
properties added toMetadataResult
model
- New:
children
andsignificant
properties added toTrait
model
- New:
tones
andwarning
properties added toDocumentAnalysis
model - New:
tones
property added toSentenceAnalysis
model - New:
warning
property added toUtteranceAnalyses
model - New:
error
property added toUtteranceAnalysis
model
- Fix: Erroneously named
FaceFaceLocation
renamed toFaceLocation
2017-09-21
Version 4.0 introduces automatically generated service classes for several services.
Services that are not affected in this release:
- Speech to Text
- Text to Speech
- Retrieve and Rank
- Document Conversion
- Tradeoff Analytics
Services that are affected in this release:
- Discovery
- Conversation
- Natural Language Understanding
- Tone Analyzer
- Language Translator
- Personality Insights
- Visual Recognition
Breaking changes in these notes will be labeled accordingly. Upon upgrading the SDK, follow the migration guide here.
Most changes in this release broadly affect all of the newly-generated services. Those general changes, as well as any service-specific changes, are as follows:
- (breaking)
Options
classes have been added services to handle request customization - Some classes now support arbitrary reponse that can be accessed on the object as a
HashMap<String, Object>
- (breaking depending on method) Add support for
InputStream
parameters when dealing with files.Content-Type
orfilename
can be specified along withInputStream
- Parameters and properties defined as
enum
s in the API definition are declared with the underlying datatype in the SDK, for better forward compatibility. Where appropriate, theenum
values are declared as constants to provide guidance to the developer and reduce the opportunity for typos. - (breaking) Completely removed deprecated Dialog, Language Translation, and Personality Insights v2 services
- (breaking) Delete methods no longer return response objects
- Add support for the
passages
parameter when making queries - (breaking) Various classes have had reponse properties set to read-only
- (breaking) Rename service class from "ConversationService" to "Conversation"
- Add Dialog Node support
- Add support for the
limitTextCharacters
parameter when making a GET or POST request to theanalyze
endpoint
2017-08-29
- Fix: [visual-recognition] Adding an image does not return the added image #764
- Fix: [visual-recognition] Metadata not added to images #763
- Fix: Language Translator readme example is outdated #756
- Fix: [speech-to-text] websockets - Getting 500 Server Error while trying to recognize using custom model and websockets #754
- Fix: [speech-to-text] Getting RuntimeException: Malformed GUID: 'en-US_BroadbandModel' when using STT in Frankfurt and customizationID #752
- Fix: Integration test testUserAgent failing #736
- Fix: wrong code example #733
- Fix: [Speech-to-Text] Stops in seconds for websocket transcription #727
2017-08-27
- Fix: okHttp error when running in an IBM-JDK
2017-04-24
- New: Add support for workspaces in Conversation 1b291a5
- New: Update okhttp version to 3.7.0 7912344
- New: Change WAV to WebM in comments in test-to-speech 4535c70
- New: Add support for Customer Care API endpoint for Tone Analyzer 7a5fcfe
- New: Add new audio format to text-to-speech 07a375e
- New: Add new audio format to speech-to-text 1c93196
- Fix: Enable cipher suites 4b51aee
- Fix: Enable all TLS protocols 842383b
- Fix: Use
target
in language translator Fixes #655 999f04c - Fix: Date deserialization for ISO 8601 dates with Z timezone 6c870dc
- Fix: SerializedName annotation for configuration id and test dd0ec53
- Fix: Fix NLU example 8c33f2b
2017-04-07
- New: Provide a specific document Id when creating a document d581c3f
- New: NLU: Add model for disambiguation and property in EntitiesResults 8acb411
- New: Add test for disambiguation info 9328c5f
- Fix: Discovery: create or update a document from an InputStream and optionally spec… … ab2f413
- Fix: Add README.md for Natural Language Understanding 4e53c8f
- Fix: 👕 Checkstyle Verified a95c68d
- Fix: TTS Synthesize using POST, fixes #635 and #602 Verified 5ae0d24
- Fix: Language translator, update service name Verified 37abc86
2017-03-31
- Fix: Enable all cipher suites cf58894 74cae1b
- Fix:
afterEvaluate
source for docs task 0f93ec3 - Fix: Disable HTML escaping, #532 c6497ed
- Fix: CheckStyle d5ccc68 9a7654b 9a7654b
- Fix: Examples link in README.md 430f3a6 by @rborer
- Doc: Exclude tests from javadoc generation 60e80de
- Doc: Update HTTP logging information #496 85e2424
- New: Add aggregate Javadocs plugin b6d1123
- New: Add tradeoff analytics test case for #306 9f40779
- New: Adds an HTTPLogging interceptor #496 620d8d9
- New: Unit tests for Natural Language Understanding 5e89f3a
2017-03-19
- New: Added Natural Language Understanding
- Fix: Text-to-Speech failed with combine of special characters, e.g Spanish + ";" bug text-to-speech #602
- Fix: Alchemy Language - CombinedResults missing Emotion #545
2017-03-07
- New: Automatic releases
- Change: Update OkHttp to v3.6.0
- New: Speech to Text: Add
addCorpus()
method, deprecateaddTextToCustomizationCorpus()
method - New: Speech to Text: Add
getCorpus()
method - New: Speech to Text: Add sort parameter to
getWords()
method - New: Speech to Text: Add
SupportedFeatures
forSpeechModel
object - New: Speech to Text: Add and fix constructors for
Word
object - New: Speech to Text: Add
count
toWordData
object - New: Speech to Text: Add
confidence
toSpeakerLabel
object - New: Speech to Text: Add
warnings
toRecognitionJob
object - Fix: Speech to Text: Enable
customization_id
forrecognizeUsingWebSocket()
method - Fix: Speech to Text: Fix allowOverwrite parameter of
addTextToCustomizationCorpus()
method - Fix: Speech to Text: Fix error field for
WordData
object - New: Text to Speech: Add
createCustomVoiceModel()
andupdateCustomVoiceModel()
methods, deprecatesaveCustomVoiceModel()
method - New: Text to Speech: Add
addWords()
andaddWord()
methods, deprecatesaveWords()
method - New: Text to Speech: Add
getWord()
method - New: Text to Speech: Add
getCustomVoiceModel()
method with CustomVoiceModel argument - New: Text to Speech: Add
deleteWord()
method with String argument - New: Text to Speech: Add
words
toCustomVoiceModel
object - New: Text to Speech: Add
part_of_speech
toCustomTranslation
object - Fix: Text to Speech: Enable customization results for
getVoice()
method - New: Tradeoff Analytics: Add findPreferableOptions parameter to
dilemmas()
method - New: Tradeoff Analytics: Add
PreferableSolutions
object toResolution
object - New: Tradeoff Analytics: Add
DominatingOption
object toSolution
object
2016-12-15
- New: Added Discovery v1
2016-12-08
- New: Added Speaker Labeling (diarization) added
- New: Added Conversation + Tone Analyzer example
- New: Added byte array support to classify an in memory image
- Fix: Text to Speech:
getPronunciation()
andgetVoice
now accept acustomizationId
parameter.
2016-11-01
- Fix: Remove limitation when creating a Solr cluster
2016-10-19
- New: Personality Insights v3
- New: Speech to Text Customizations
- New: Conversation version date 2016-09-19
- Fix: Calling
synthesize
in Text to Speech now accepts arate
for PCM. #454 - Fix: READMEs now point to the right maven dependency #459
- Fix: AlchemyLanguage now has anchor dates for combine calls
- Fix: Retrieve and Rank
topAnswer
bug #456
2016-09-30
- New: Add Language Translator
2016-09-29
The SDK 3.4.0 is the first step into moving from one maven module into a multi-module project. This change will allow users to specify the service they want to use skipping the other services. For example, in order to use Retrieve and Rank in Gradle you need:
'com.ibm.watson.developer_cloud:retrieve-and-rank:3.4.0'
- New: Move to a maven multi-module project
- Fix: Send default headers in WebSocket connections #422
- Fix: Skip token creation if
skipAuthentication=true
#440
2016-09-07
- New: AlchemyLanguage now returns the
sourceText
in thecombined
call. - New: Add french broadband model to Speech to Text
- Fix: Add extracted dates to Alchemy Language combined call #436
- Fix: Speech to text example close the connection when finish the extracted dates to Alchemy Language combined call #436
- Fix: removed deprecated services: Concept Insights and Relationship Extraction.
- Fix: Add missing parameter in document conversation. #428
- Fix: Add
smart_formatting
to Speech to Text
2016-08-08
- New: Tests are ignored if
config.properties
doesn't have valid credentials - New: Document Conversion can index documents directly into Retrieve and Rank
- New: Visual Recognition Re-training
- New: Conversation v1:
MessageRequest
now supports entities and intents - New: AlchemyLanguage
typedRelations
entities and intents - New: Speech to Text
keyword_spotting
- Fix: Remove Relationship extraction v1 Beta
- Fix: Remove Tone Analyzer v3 Beta
- Fix: 🔥 update
version_date
for Visual Recognition to be2016-05-20
- Fix: Remove warning when JDNI can't find credentials
2016-08-02
- New: Conversation v1
- New: Text To Speech now supports
audio/basic
,audio/i16
andogg/vorgis
- New: AlchemyLanguage now has a TypedRelation method that extract relationships and entities from text
- Fix: Speech to Text now returns the voice description when calling
getVoices()
- Fix: url from
VCAP_SERVICES
take precedence over the default url - Fix: Removed Relationship Extraction v1-beta
- Fix: Removed Tone Analyzer v3-beta
2016-06-08
The SDK 3.0.1 introduced support for react( use rx()
).
Services can now be combined using react in a synchronous or asynchronous
calls and calls more efficiently.
- New: The
User-Agent
can be customized - New: Services added:
- Visual Recognition v3
- Conversation v1-experimental
- Tone Analyzer v3
- New:
profanity_filter
added to Speech to Text - New: Introduce reactive API calls (use
rx()
) - New: Added new voices to Speech to Text
- New:
getVoice()
in Speech to Text and Text to Speech - New:
keyword_spotting
in Speech to Text - New: AlchemyLanguage now provides
typedRelations()
from Relationship Extraction - Fix: Error when running in Android and using
JDNI
- Fix: Error when loading
ContentItems
from a file in Personality Insights - Fix: Conceptual search in Concept Insights now return the
user_fields
- Fix:
Content-Type
in Speech to text when usingflac
files - Fix: Warning when calling Alchemy services regarding connections being leaked
- Fix: Added missing fields in AlchemyDataNews
- Fix: SSL certificate issues when running in Bluemix and using the IBM JDK
2016-04-22
The SDK 3.0 is designed around a new API that offers asynchronous callbacks in addition to synchronous blocking calls. It uses modern Java patterns like immutability and chained builders.
- New: Deprecated methods were removed
- Fix: Websockets issues during a recognition using Speech to Text
- New: Automatic snapshot deployments to Sonatype
- New: Chained builders for Speech to text and Tradeoff Analytics
2016-04-18
- Fix: Switch from String to Integer in AlchemyVision face recognition
- New: Enumerations for Languages in Language Translation
- Fix: Error in AlchemyLanguage when language wasn't specified