|
| 1 | + |
| 2 | + [Breaking Changes](#breaking-changes) |
| 3 | + - [UMD bundle watson.js no longer supported](#umd-bundle-watson.js-no-longer-supported) |
| 4 | + - [Support for Node v14 dropped](#support-for-node-v14-dropped) |
| 5 | + - [Breaking changes by service](#breaking-changes-by-service) |
| 6 | + |
| 7 | +- [New Features by Service](#new-features-by-service) |
| 8 | + |
| 9 | +## Breaking changes |
| 10 | + |
| 11 | +### UMD bundle watson.js no longer supported |
| 12 | +The previously generated `watson.js` UMD bundle will no longer be generated to support updated core requirements |
| 13 | + |
| 14 | +### Support for Node v14 Dropped |
| 15 | +In preparation for Node 14 EOL, the SDK no longer supports Node version 14, as reflected in the `engines` property in the package.json file. Version 14 will reach end of life on 30 April 2023. |
| 16 | + |
| 17 | +### Breaking changes by service |
| 18 | + |
| 19 | +#### Assistant v2 |
| 20 | +- Parameter `createSession` removed from `createSession` function |
| 21 | +- Interface `Environment` property `language` removed |
| 22 | +- Interface `EnvironmentReleaseReference` renamed to `BaseEnvironmentReleaseReference` |
| 23 | +- Interface `EnvironmentOrchestration` renamed to `BaseEnvironmentOrchestration` |
| 24 | +- Interface `SkillReference` renamed to `EnvironmentSkill` |
| 25 | + |
| 26 | +#### Discovery v2 |
| 27 | +- Parameter `smartDocumentUnderstanding` removed from `createCollection` function |
| 28 | +- Interface `QueryResponsePassage` and `QueryResultPassage` property `confidence` removed |
| 29 | +- Interface `DocumentClassifierEnrichment` property `enrichmentId` is no longer an optional |
| 30 | +- QueryAggregation interfaces restructured |
| 31 | + |
| 32 | +#### Natural Language Understanding |
| 33 | +- All `sentimentModel` functions removed |
| 34 | + |
| 35 | +#### Speech to Text |
| 36 | +- `AR_AR_BROADBANDMODEL` model removed in favor of `AR_MS_BROADBANDMODEL` model |
| 37 | + |
| 38 | + |
| 39 | +### New Features by Service |
| 40 | + |
| 41 | +#### Assistant v2 |
| 42 | +- `createAssistant` function |
| 43 | +- `listAssistants` function |
| 44 | +- `deleteAssistant` function |
| 45 | +- `updateEnvironment` function |
| 46 | +- `createRelease` function |
| 47 | +- `deleteRelease` function |
| 48 | +- `getSkill` function |
| 49 | +- `updateSkill` function |
| 50 | +- `exportSkills` function |
| 51 | +- `importSkills` function |
| 52 | +- `importSkillsStatus` function |
| 53 | +- Improved typing for `message` function call |
| 54 | +See details of these functions on IBM's documentation site [here](https://cloud.ibm.com/apidocs/assistant-v2?code=node) |
| 55 | + |
| 56 | +#### Discovery v2 |
| 57 | +- Aggregation types `QueryTopicAggregation` and `QueryTrendAggregation` added |
| 58 | + |
| 59 | +#### Speech to Text |
| 60 | +- added `FR_CA_MULTIMEDIA`, `JA_JP_TELEPHONY`, `NL_NL_MULTIMEDIA`, `SV_SE_TELEPHONY` models |
| 61 | + |
| 62 | +#### Text to Speech |
| 63 | +- added `EN_AU_HEIDIEXPRESSIVE`, `EN_AU_JACKEXPRESSIVE`, `EN_US_ALLISONEXPRESSIVE`, `EN_US_EMMAEXPRESSIVE`, `EN_US_LISAEXPRESSIVE`, `EN_US_MICHAELEXPRESSIVE`, `KO_KR_JINV3VOICE` |
| 64 | +- Parameters `ratePercentage` and `pitchPercentage` added to `synthesize` function |
| 65 | +See details of these new parameters on IBM's documentation site [here](https://cloud.ibm.com/apidocs/text-to-speech?code=node#synthesize) |
0 commit comments