Skip to content

Tags: puppup420247-org/node-sdk

Tags

v4.1.1

Toggle v4.1.1's commit message
chore(release): 4.1.1 [skip ci]

## [4.1.1](watson-developer-cloud/node-sdk@v4.1.0...v4.1.1) (2019-05-13)

### Bug Fixes

* do not read credentials file in browser ([718895c](watson-developer-cloud@718895c))

v4.1.0

Toggle v4.1.0's commit message
chore(release): 4.1.0 [skip ci]

# [4.1.0](watson-developer-cloud/node-sdk@v4.0.2...v4.1.0) (2019-04-29)

### Features

* **example:** add speech-to-text-to-redis example ([238cec3](watson-developer-cloud@238cec3))

v4.0.2

Toggle v4.0.2's commit message
chore(release): 4.0.2 [skip ci]

## [4.0.2](watson-developer-cloud/node-sdk@v4.0.1...v4.0.2) (2019-04-24)

### Bug Fixes

* update vulnerable dependencies ([26f7dce](watson-developer-cloud@26f7dce))

v4.0.1

Toggle v4.0.1's commit message
chore(release): 4.0.1 [skip ci]

## [4.0.1](watson-developer-cloud/node-sdk@v4.0.0...v4.0.1) (2019-03-29)

### Bug Fixes

* add compare comply keyword to package.json (to trigger release) ([7905445](watson-developer-cloud@7905445))

v4.0.0

Toggle v4.0.0's commit message
chore(release): 4.0.0 [skip ci]

# [4.0.0](watson-developer-cloud/node-sdk@v3.18.4...v4.0.0) (2019-03-28)

### Bug Fixes

* **icp:** disabling ssl verification now works for websocket connection ([f8466c8](watson-developer-cloud@f8466c8))
* update ibm-cloud-sdk-core to 0.1.1 ([29f87df](watson-developer-cloud@29f87df))

### Build System

* remove support for node 4 ([1548413](watson-developer-cloud@1548413))

### chore

* remove all code dealing with api_key in the base class ([92d48e2](watson-developer-cloud@92d48e2))
* **conversation:** remove conversation service and all associated code ([c810de2](watson-developer-cloud@c810de2))
* **dialog:** remove dialog service and all associated ([7d7408f](watson-developer-cloud@7d7408f))
* **language-translator-v2:** remove language translator v2 service and all associated code ([83d9232](watson-developer-cloud@83d9232))
* **personality-insights:** remove Personality Insights v2 ([e5e5302](watson-developer-cloud@e5e5302))

### Code Refactoring

* **assistant-v1:** change name of variable `export` to `_export` ([91ed5a4](watson-developer-cloud@91ed5a4))
* **assistant-v2:** parameter names changed for v4 ([f6adbe9](watson-developer-cloud@f6adbe9))
* **compare-comply:** parameter names changed for v4 ([908d8e7](watson-developer-cloud@908d8e7))
* refactor core code to use `axios` instead of `request` for network requests ([f656731](watson-developer-cloud@f656731))
* **discovery:** remove compatibility layer for discovery ([8571a1f](watson-developer-cloud@8571a1f))
* **discovery:** rename model `QueryResultResultMetadata` to `QueryResultMetadata` ([b1a124c](watson-developer-cloud@b1a124c))
* **natural-language-classifier:** remove compatibility layer for natural language classifier ([0ac087c](watson-developer-cloud@0ac087c))
* **natural-language-understanding:** remove compatibility layer for natural language understanding ([359cc79](watson-developer-cloud@359cc79))
* **personality-insights-v3:** remove compatibility layer for personality insights v3 ([1b27685](watson-developer-cloud@1b27685))
* **speech-to-text:** remove compatibility layer for speech to text ([310bdd0](watson-developer-cloud@310bdd0))
* **text-to-speech:** remove compatibility layer for text to speech ([6994d3c](watson-developer-cloud@6994d3c))
* **tone-analyzer:** remove compatibility layer for tone analyzer ([9f10898](watson-developer-cloud@9f10898))
* **visual_recognition:** v4 changes ([3957e2d](watson-developer-cloud@3957e2d))
* in `query` and `federatedQuery`, only accept string values for certain parameters. ([06d7c65](watson-developer-cloud@06d7c65))
* in discovery, rename `getSourceCredentials` to `getCredentials` ([6fac701](watson-developer-cloud@6fac701))
* **visual-recognition:** remove compatibility layer for visual recognition ([6377067](watson-developer-cloud@6377067))
* remove index.ts file as it was deprecated starting in v3 ([4ea3c27](watson-developer-cloud@4ea3c27))
* remove module for converting training_data to csv ([dd534f6](watson-developer-cloud@dd534f6))
* require filenames for `createStopwordList` in discovery and `convertToHTML` in compare comply ([8f7c62f](watson-developer-cloud@8f7c62f))
* stop using cookies in requests ([09e0e91](watson-developer-cloud@09e0e91))

### Features

* **discovery:** add new methods: `createTokenizationDictionary`, `deleteTokenizationDictionary`, and `getTokenizationDictionaryStatus` ([d5ba660](watson-developer-cloud@d5ba660))
* **discovery:** new parameters added to match updates to the service ([838b044](watson-developer-cloud@838b044))
* add `sort` query parameter to `getWorkspace()` ([1df75ac](watson-developer-cloud@1df75ac))
* add model `MessageContextSkill` ([15a4c7f](watson-developer-cloud@15a4c7f))
* new error formatter, provides the same information regardless of service ([c324ab0](watson-developer-cloud@c324ab0))
* The SDK now returns a Promise for all methods if a callback is not specified. Callbacks can still be used for backwards compatibility. ([fd6e20b](watson-developer-cloud@fd6e20b))

### BREAKING CHANGES

* **visual_recognition:** For `updateClassifier` and `createClassifier`, the parameter `{classname}_positive_examples` is changed to a map called `positive_examples` with classnames as keys.

See the migration guide, UPGRADE-4.0.md, for more information.
* Node 4 will no longer be supported, considered during development, or tested with.

To migrate your code, upgrade to a newer major version of Node.
* **assistant-v2:** For `updateValue`, parameter `new_type` is changed to `new_value_type`. For `updateDialogNode`, parameter `new_type` is changed to `new_node_type`.
* These method renames are breaking changes. Update the method names to migrate your code.
* There is no more `index.ts` file, so importing with `require('watson-developer-cloud')` will no longer work.

To migrate your code, import only the services that you need, e.g. `require('watson-developer-cloud/speech-to-text/v1')`.

Using the file `sdk.ts` to export all of the services for browserification
* The methods `createStopwordList` in discovery and `convertToHTML` in comply comply now have new, required parameters

To migrate your code, include the parameter `stopword_filename` for `createStopwordList`, and `filename` for `convertToHTML`
* **assistant-v1:** The Assistant v1 parameter `export` is now `_export` is all instances.

To migrate your code, change any use of the `export` parameter to `_export`.
* The SDK used to document and allow array values for these parameters, converting them to strings to be sent to the service.

To migrate your code, convert any array values for these parameters to comma-separated values in a string.
* The module `json-training-to-csv` is no longer available.

To migrate your code, provide `training_data` to NLC as a CSV file.
* Cookies will no longer be sent or stored in requests. This should have very little impact on usage but is techincally a breaking change.

This affects internal functionality but has no effect on client code.
* Errors objects returned from service errors are now different

To migrate your code, see the upgrade guide for the new error structure:
* Network responses received in callback function may now have different structures (results and errors). Requests no longer return a Stream.

See the UPGRADE-4.0.md file for more information.
* **personality-insights:** Personality Insights v2 is no longer available in the SDK

To migrate your code, use Personality Insights v3:
* **compare-comply:** Parameter `model_id` has been changed to `model` for the following methods: convertToHtml, classifyElements, extractTables, compareDocuments, deleteFeedback, getFeedback, createBatch, and updateBatch
* **speech-to-text:** Deprecated methods in Speech to Text are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/speech-to-text/api/v1/node.html?node
* **text-to-speech:** Deprecated methods in Text to Speech are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/text-to-speech/api/v1/node.html?node
* **visual-recognition:** Deprecated methods in Visual Recognition are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/visual-recognition/api/v3/node.html?node
* **tone-analyzer:** Deprecated methods in Tone Analyzer are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/tone-analyzer/api/v3/node.html?node
* **personality-insights-v3:** Deprecated methods in Personality Insights v3 are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/personality-insights/api/v3/node.html?node
* **natural-language-understanding:** The `version_date` parameter in Natural Language Understanding is no longer supported.

To migrate your code, use the parameter name `version` instead.
* **natural-language-classifier:** Deprecated methods in Natural Language Classifier are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/natural-language-classifier/api/v1/node.html?node
* **discovery:** Deprecated methods in Discovery are no longer available. Changed parameter names are no longer interally corrected.

To migrate your code, use the methods and parameters currently available with the service as documented here: https://www.ibm.com/watson/developercloud/discovery/api/v1/node.html?node
* **conversation:** The Conversation service will no longer be available

To migrate your code, use the Assistant v1 or v2 service.
* **language-translator-v2:** The Language Translator V2 service will no longer be available

To migrate your code, use the Language Translator V3 service.
* **dialog:** The Dialog service will no longer be available

To migrate your code, use the Assistant v1 or v2 service.
* Support for the `api_key` parameter has been removed.

For instances of Visual Recognition, use `iam_apikey` to authenticate.
* **discovery:** The name of the model `QueryResultResultMetadata` has been changed to `QueryResultMetadata`

To migrate your code, use the model `QueryResultMetadata` instead of `QueryResultResultMetadata`:

v3.18.4

Toggle v3.18.4's commit message
chore(release): 3.18.4 [skip ci]

## [3.18.4](watson-developer-cloud/node-sdk@v3.18.3...v3.18.4) (2019-03-28)

### Bug Fixes

* allow users to use `iam_apikey` when authenticating for icp ([cdccbc1](watson-developer-cloud@cdccbc1))

v3.18.3

Toggle v3.18.3's commit message
chore(release): 3.18.3 [skip ci]

## [3.18.3](watson-developer-cloud/node-sdk@v3.18.2...v3.18.3) (2019-03-19)

### Bug Fixes

* expose token manager from core code as a module ([4376e7c](watson-developer-cloud@4376e7c))

v3.18.2

Toggle v3.18.2's commit message
chore(release): 3.18.2 [skip ci]

## [3.18.2](watson-developer-cloud/node-sdk@v3.18.1...v3.18.2) (2019-03-15)

### Bug Fixes

* make `access_token` an allowable query parameter in recognize / synthesize streams ([a2ad09e](watson-developer-cloud@a2ad09e))

v3.18.1

Toggle v3.18.1's commit message
chore(release): 3.18.1 [skip ci]

## [3.18.1](watson-developer-cloud/node-sdk@v3.18.0...v3.18.1) (2019-02-14)

### Bug Fixes

* use dotenv v5 to maintain node 4.x compatibility ([c311651](watson-developer-cloud@c311651))

v3.18.0

Toggle v3.18.0's commit message
chore(release): 3.18.0 [skip ci]

# [3.18.0](watson-developer-cloud/node-sdk@v3.17.0...v3.18.0) (2019-02-06)

### Features

* **compare-comply:** new constants and new model properties added ([d9dc7cc](watson-developer-cloud@d9dc7cc))
* **discovery:** add method `getStopwordListStatus` ([ea9eaf9](watson-developer-cloud@ea9eaf9))
* **speech-to-text:** optional parameter `force` added to the method `upgradeAcousticModel` ([ceaa843](watson-developer-cloud@ceaa843))