7.0.0
·
996 commits
to master
since this release
7.0.0 (2019-03-28)
Breaking changes
General
- Some big things in the migration guide
- All properties of the type
Map
have been changed toMap<String, Object>
Assistant v1
Model changes
CreateCounterexample
renamed toCounterexample
CreateDialogNode
renamed toDialogNode
CreateExample
renamed toExample
EntityExport
renamed toEntity
InputData
renamed toMessageInput
IntentExport
renamed toIntent
LogExport
renamed toLog
Mentions
renamed toMention
ValueExport
renamed toValue
WorkspaceExport
renamed toWorkspace
Property changes
DialogNode
dialogNodeId
renamed todialogNode
Entity
entityName
renamed toentity
EntityMention
exampleText
renamed totext
intentName
renamed tointent
Example
exampleText
renamed totext
Intent
intentName
renamed tointent
Synonym
synonymText
renamed tosynonym
Value
valueText
renamed tovalue
Other
Counterexample
getters have been renamed (e.g.getText()
->text()
)MessageInput
is now dynamicaddValue()
method inCreateEntityOptions.Builder
renamed toaddValues()
Assistant v2
Model changes
MessageContextSkill
has been deleted
Compare and Comply
Model changes
Category
renamed toCategoryComparison
TypeLabel
renamed toTypeLabelComparison
Property changes
Attribute
ADDRESS
constant removed fromType
interface
BodyCells
rowHeaderIds
type changed fromList<String>
toList<RowHeaderIds>
rowHeaderTexts
type changed fromList<String>
toList<RowHeaderTexts>
rowHeaderTextsNormalized
type changed fromList<String>
toList<RowHeaderTextsNormalized>
columnHeaderIds
type changed fromList<String>
toList<ColumnHeaderIds>
columnHeaderTexts
type changed fromList<String>
toList<ColumnHeaderTexts>
columnHeaderTextsNormalized
type changed fromList<String>
toList<ColumnHeaderTextsNormalized>
ClassifyElementsOptions
modelId
renamed tomodel
filename
has been deletedModelId
interface renamed toModel
CompareDocumentsOptions
modelId
renamed tomodel
file1Filename
has been deletedfile2Filename
has been deletedModelId
interface renamed toModel
ConvertToHtmlOptions
modelId
renamed tomodel
ModelId
interface renamed toModel
CreateBatchOptions
modelId
renamed tomodel
inputCredentialsFilename
has been deletedoutputCredentialsFilename
has been deletedModelId
interface renamed toModel
DeleteFeedbackOptions
modelId
renamed tomodel
ModelId
interface renamed toModel
ExtractTablesOptions
modelId
renamed tomodel
filename
has been deletedModelId
interface renamed toModel
GetFeedbackOptions
modelId
renamed tomodel
ModelId
interface renamed toModel
UpdateBatchOptions
modelId
renamed tomodel
ModelId
interface renamed toModel
Discovery
Model changes
QueryResultResultMetadata
renamed toQueryResultMetadata
Property changes
CreateConfigurationOptions
name
is now required
CreateExpansionsOptions
expansions
is now required
DiskUsage
percentUsed
has been deletedtotal
has been deletedtotalBytes
has been deletedused
has been deleted
DocumentStatus
created
has been deletedupdated
has been deleted
FederatedQueryOptions
collectionIds
type changed fromList<String>
toString
passagesFields
type changed fromList<String>
toString
returnFields
type changed fromList<String>
toString
similarDocumentIds
type changed fromList<String>
toString
similarFields
type changed fromList<String>
toString
sort
type changed fromList<String>
toString
Field
BOOLEAN
constant renamed toXBOOLEAN
inFieldType
interfaceBYTE
constant renamed toXBYTE
inFieldType
interfaceDOUBLE
constant renamed toXDOUBLE
inFieldType
interfaceFLOAT
constant renamed toXFLOAT
inFieldType
interfaceLONG
constant renamed toXLONG
inFieldType
interfaceSHORT
constant renamed toXSHORT
inFieldType
interface
IndexCapacity
memoryUsage
has been deleted
QueryResult
score
has been deleted
QueryNoticesResult
score
has been deleted
QueryOptions
collectionIds
type changed fromList<String>
toString
passagesFields
type changed fromList<String>
toString
returnFields
type changed fromList<String>
toString
similarDocumentIds
type changed fromList<String>
toString
similarFields
type changed fromList<String>
toString
sort
type changed fromList<String>
toString
SourceStatus
COMPLETE_WITH_NOTICES
constant removed fromStatus
interfaceSTOPPED
constant removed fromStatus
interface
UpdateConfigurationOptions
name
is now required
Other
CreateConfigurationOptions
Builder(String environmentId)
changed toBuilder(String environmentId, String name)
addEnrichments()
renamed toaddEnrichment()
addNormalizations()
renamed toaddNormalization()
CreateExpansionsOptions
Builder(String environmentId, String collectionId)
changed toBuilder(String environmentId, String collectionId, List<Expansion> expansions)
UpdateConfigurationOptions
Builder(String environmentId, String configurationId)
changed toBuilder(String environmentId, String configurationId, String name)
addEnrichments()
renamed toaddEnrichment()
addNormalizations()
renamed toaddNormalization()
Language Translator
Property changes
CreateModelOptions
forcedGlossaryFilename
has been deletedparallelCorpusFilename
has been deleted
Natural Language Classifier
Property changes
CreateClassifierOptions
metadataFilename
has been deletedtrainingDataFilename
has been deleted
Other
- Old versions of
classify()
,createClassifier()
,deleteClassifier()
,getClassifier()
, andgetClassifiers()
without options model parameters have been removed
Natural Language Understanding
Model changes
CategoriesOptions
is no longer dynamicMetadataOptions
is no longer dynamicMetadataResult
renamed toAnalysisResultsMetadata
SemanticRolesAction
renamed toSemanticRolesResultAction
SemanticRolesObject
renamed toSemanticRolesResultObject
SemanticRolesSubject
renamed toSemanticRolesResultSubject
Usage
renamed toAnalysisResultsUsage
Other
CategoriesOptions
getLimit()
has been renamed tolimit()
Personality Insights
Other
profileAsCsv()
now just accepts a singleProfileOptions profileOptions
parameter
Speech to Text
Property changes
AddCorpusOptions
corpusFilename
has been deleted
AudioListing
duration
type changed fromDouble
toLong
AudioResource
duration
type changed fromDouble
toLong
Other
CreateJobOptions.Builder
constructor withInputStream audio
andString contentType
parameters removedRecognizeOptions.Builder
constructor withInputStream audio
andString contentType
parameters removed
Text to Speech
Property changes
AddWordOptions
translation
is now required
AddWordsOptions
words
is now required
Visual Recognition
Property changes
ClassifyOptions
parameters
property has been deletedimagesFilename
now required ifimagesFile
is specified
CreateClassifierOptions
positiveExamplesFilename
property has been deleted
DetectFacesOptions
parameters
property has been deletedimagesFilename
now required ifimagesFile
is specified
UpdateClassifierOptions
positiveExamplesFilename
property has been deleted
Other
- Old API key authentication is no longer supported
CreateClassifierOptions
addClass()
method renamed toaddPositiveExamples()
UpdateClassifierOptions
addClass()
method renamed toaddPositiveExamples()
Non-breaking changes
General
- The core portion of the SDK has been moved to its own repo
- Added
reactiveRequest()
execution method (see README section and migration guide)- Thanks for the suggestion @msogrin!
- Null values are returned from the APIs (#959)
com.ibm.jsse2.overrideDefaultTLS
is no longer changed (#1020)- IAM authentication is done on a separate thread to play better with Android (#1041)
Assistant v1
Model changes
Counterexample
- Now has a builder
CreateCounterexampleOptions
- Allows for setting a
Counterexample
object in the builder
- Allows for setting a
CreateDialogNodeOptions
- Allows for setting a
DialogNode
object in the builder
- Allows for setting a
CreateSynonymOptions
- Allows for setting a
Synonym
object in the builder
- Allows for setting a
CreateValueOptions
- Allows for setting a
CreateValue
object in the builder
- Allows for setting a
DialogNode
- Now has a builder
Example
- Now has a builder
Synonym
- Now has a builder
Value
- Now has a builder
Property changes
CreateEntity
created
has been addedupdated
has been added
CreateIntent
created
has been addedupdated
has been added
DialogRuntimeResponseGeneric
dialogNode
has been added
DialogSuggestion
dialogNode
has been added
Entity
values
has been added
Intent
examples
has been added
MessageRequest
actions
has been added
Workspace
counterexamples
has been addeddialogNodes
has been addedentities
has been addedintents
has been addedstatus
property has been addedStatus
interface has been added
Compare and Comply
Model changes
ColumnHeaderIds
addedColumnHeaderTexts
addedColumnHeaderTextsNormalized
addedContractType
addedKey
addedKeyValuePair
addedRowHeaderIds
addedRowHeaderTexts
addedRowHeaderTextsNormalized
addedValue
added
Property changes
Attribute
DURATION
constant added toType
interfacePERCENTAGE
constant added toType
interface
ClassifyReturn
contractType
added
Tables
keyValuePairs
added
Discovery
Model changes
SourceOptionsBuckets
added
Property changes
CreateCollectionOptions
ZH_CN
constant added toLanguage
interface
CreateCredentialsOptions
CLOUD_OBJECT_STORAGE
constant added toSourceType
interface
Credentials
CLOUD_OBJECT_STORAGE
constant added toSourceType
interface
CredentialDetails
AWS4_HMAC
constant added toCredentialType
interfaceaccessKeyId
addedendpoint
addedsecretAccessKey
added
QueryNoticesResult
title
added
QueryResult
title
added
Source
CLOUD_OBJECT_STORAGE
constant added toSourceType
interface
SourceOptions
buckets
addedcrawlAllBuckets
added
SourceStatus
QUEUED
constant added toStatus
interface
UpdateCredentialsOptions
CLOUD_OBJECT_STORAGE
constant added toSourceType
interface
Natural Language Understanding
Model changes
CategoriesOptions
- Now has a builder
SentenceResult
addedSyntaxOptions
addedSyntaxOptionsToken
addedSyntaxOptionsResult
addedTokenResult
added
Property changes
AnalysisResults
syntax
added
CategoriesOptions
model
added
Features
syntax
added
Personality Insights
Property changes
ProfileOptions
csvHeaders
added
Speech to Text
Property changes
AddAudioOptions
AUDIO_ALAW
constant added toContentType
interfaceAUDIO_ALAW
constant added toContainedContentType
interface
CreateJobOptions
AUDIO_ALAW
constant added toContentType
interface
RecognizeOptions
AUDIO_ALAW
constant added toContentType
interface
Text to Speech
Property changes
GetPronunciationOptions
EN_US_ALLISONV2VOICE
constant added toVoice
interfaceEN_US_LISAV2VOICE
constant added toVoice
interfaceEN_US_MICHAELV2VOICE
constant added toVoice
interfaceDE_DE_BIRGITV2VOICE
constant added toVoice
interfaceDE_DE_DIETERV2VOICE
constant added toVoice
interfaceIT_IT_FRANCESCAV2VOICE
constant added toVoice
interface
GetVoiceOptions
EN_US_ALLISONV2VOICE
constant added toVoice
interfaceEN_US_LISAV2VOICE
constant added toVoice
interfaceEN_US_MICHAELV2VOICE
constant added toVoice
interfaceDE_DE_BIRGITV2VOICE
constant added toVoice
interfaceDE_DE_DIETERV2VOICE
constant added toVoice
interfaceIT_IT_FRANCESCAV2VOICE
constant added toVoice
interface
SynthesizeOptions
EN_US_ALLISONV2VOICE
constant added toVoice
interfaceEN_US_LISAV2VOICE
constant added toVoice
interfaceEN_US_MICHAELV2VOICE
constant added toVoice
interfaceDE_DE_BIRGITV2VOICE
constant added toVoice
interfaceDE_DE_DIETERV2VOICE
constant added toVoice
interfaceIT_IT_FRANCESCAV2VOICE
constant added toVoice
interface