Skip to content

Releases: watson-developer-cloud/node-sdk

v4.2.1

14 Jun 19:23
Compare
Choose a tag to compare

4.2.1 (2019-06-14)

Bug Fixes

  • remove ReadStream since ReadableStream is correct (b9f8c73)
  • update second occurence of Map to Record (3ded63a)
  • use Record instead of Map type for classifier update (6dec631)

v4.2.0

10 Jun 21:01
Compare
Choose a tag to compare

4.2.0 (2019-06-10)

Bug Fixes

  • change Object types to custom JsonObject (800afbe)
  • updates from ibm-cloud-sdk-core: (dfabc7a)

Features

  • language-translator: the following methods have been added: (a0f2c20)
  • address review comments (5b09882)

v4.1.3

24 May 15:34
Compare
Choose a tag to compare

4.1.3 (2019-05-24)

Bug Fixes

  • don't return request object in detailed response (31628ff)
  • don't return request object in detailed response (#891) (9f9174c)

v4.1.2

22 May 15:05
Compare
Choose a tag to compare

4.1.2 (2019-05-22)

Bug Fixes

  • enable axios debug, disable gzip (4e86717)

v4.1.1

13 May 17:13
Compare
Choose a tag to compare

4.1.1 (2019-05-13)

Bug Fixes

  • do not read credentials file in browser (718895c)

v4.1.0

29 Apr 16:41
Compare
Choose a tag to compare

4.1.0 (2019-04-29)

Features

  • example: add speech-to-text-to-redis example (238cec3)

v4.0.2

24 Apr 20:20
Compare
Choose a tag to compare

4.0.2 (2019-04-24)

Bug Fixes

  • update vulnerable dependencies (26f7dce)

v4.0.1

29 Mar 00:08
Compare
Choose a tag to compare

4.0.1 (2019-03-29)

Bug Fixes

  • add compare comply keyword to package.json (to trigger release) (7905445)

v4.0.0

29 Mar 02:55
Compare
Choose a tag to compare
v4.0.0 Pre-release
Pre-release

4.0.0 (2019-03-28)

Bug Fixes

  • icp: disabling ssl verification now works for websocket connection (f8466c8)
  • update ibm-cloud-sdk-core to 0.1.1 (29f87df)

Build System

  • remove support for node 4 (1548413)

chore

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

Code Refactoring

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

Features

  • discovery: add new methods: createTokenizationDictionary, deleteTokenizationDictionary, and getTokenizationDictionaryStatus (d5ba660)
  • discovery: new parameters added to match updates to the service (838b044)
  • add sort query parameter to getWorkspace() (1df75ac)
  • add model MessageContextSkill (15a4c7f)
  • new error formatter, provides the same information regardless of service (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)

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 technically 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 internally 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 internally 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 internally 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 internally 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 internally 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 a...
Read more

v3.18.4

28 Mar 20:29
Compare
Choose a tag to compare

3.18.4 (2019-03-28)

Bug Fixes

  • allow users to use iam_apikey when authenticating for icp (cdccbc1)