Skip to content

Commit eda2d80

Browse files
authored
Merge pull request #415 from watson-developer-cloud/rc-2.4.1
Unity SDK 2.4.1
2 parents 98a7b08 + 941fe0d commit eda2d80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1108
-947
lines changed

CHANGELOG.md

Lines changed: 1 addition & 199 deletions
Original file line numberDiff line numberDiff line change
@@ -1,199 +1 @@
1-
Change Log
2-
==========
3-
## Version 2.3.0
4-
_2018-05-31_
5-
* New: IAM support in Visual Recognition.
6-
* Fixed: Use non-region specific url for IamUrl.
7-
* Fixed: Authenticating with apikey sets the service url to `gateway-a`.
8-
* New: Abstract `DeleteUserData()` for Speech to Text and Text to Speech.
9-
10-
## Version 2.2.3
11-
_2018-05-21_
12-
* New: Abstract `DeleteUserData()` for Assistant, Conversation and Discovery ([#387](https://github.com/watson-developer-cloud/unity-sdk/pull/387)).
13-
* Fixed: Replaced `ToUnixTimeInSeconds()` with dotnet 3.5 equivalent ([#382](https://github.com/watson-developer-cloud/unity-sdk/issues/382), [#386](https://github.com/watson-developer-cloud/unity-sdk/pull/386)).
14-
* New: Get credentials for testing from internal github repo ([#4333](https://github.ibm.com/Watson/developer-experience/issues/4333), [#364](https://github.com/watson-developer-cloud/unity-sdk/pull/364)).
15-
* New: Warn user to `InstallDefaultReactors()` ([#328](https://github.com/watson-developer-cloud/unity-sdk/issues/328), [#380](https://github.com/watson-developer-cloud/unity-sdk/pull/380)).
16-
* New: Revised WSConnector for TLS 1.2 support in upcoming Unity release ([#4230](https://github.ibm.com/Watson/developer-experience/issues/4230), [#379](https://github.com/watson-developer-cloud/unity-sdk/pull/379)).
17-
* New: Added support for IAM authentication ([#4291](https://github.ibm.com/Watson/developer-experience/issues/4291), [#377](https://github.com/watson-developer-cloud/unity-sdk/pull/377)).
18-
19-
## Version 2.2.2
20-
* New: Send custom request headers and access response headers via `customData` object ([#4310](https://github.ibm.com/Watson/developer-experience/issues/4310), [#362](https://github.com/watson-developer-cloud/unity-sdk/pull/362)).
21-
* Fixed: Unresolved errors hidden by `#ifdef` ([#368](https://github.com/watson-developer-cloud/unity-sdk/issues/368), [#369](https://github.com/watson-developer-cloud/unity-sdk/pull/369))
22-
23-
## Version 2.2.1
24-
_2018-04-12_
25-
* Fixed: Serialization/Deserialization of generic object in the `assistant` service([361](https://github.com/watson-developer-cloud/unity-sdk/issues/361), [363](https://github.com/watson-developer-cloud/unity-sdk/pull/363)).
26-
27-
## Version 2.2.0
28-
_2018-04-09_
29-
* New: Updated Visual Recognition with Core ML support ([4182](https://zenhub.innovate.ibm.com/app/workspace/o/watson/developer-experience/issues/4182), [357](https://github.com/watson-developer-cloud/unity-sdk/pull/357)).
30-
* New: Abstract Classify Collections operation in Natural Language Classifier ([4223](https://github.ibm.com/Watson/developer-experience/issues/4223), [355](https://github.com/watson-developer-cloud/unity-sdk/pull/355))
31-
* Removed: Tradeoff Analytics ([352](https://github.com/watson-developer-cloud/unity-sdk/pull/352))
32-
* Removed: Retrieve and Rank ([352](https://github.com/watson-developer-cloud/unity-sdk/pull/352))
33-
* Removed: Document Conversion ([352](https://github.com/watson-developer-cloud/unity-sdk/pull/352))
34-
* Removed: Alchemy API ([350](https://github.com/watson-developer-cloud/unity-sdk/pull/350))
35-
* Fixed: Added `result_index` to Speech to Text response ([347](https://github.com/watson-developer-cloud/unity-sdk/issues/347), [349](https://github.com/watson-developer-cloud/unity-sdk/pull/349))
36-
* Enhanced: Made credentials, url and versionDates accessible in the inspector in all examples ([342](https://github.com/watson-developer-cloud/unity-sdk/issues/342), [351](https://github.com/watson-developer-cloud/unity-sdk/pull/351))
37-
* Fixed: Created new branch for asset store releases with better documentation ([341](https://github.com/watson-developer-cloud/unity-sdk/issues/341), [asset-store-release](https://github.com/watson-developer-cloud/unity-sdk/tree/asset-store-release)) and list of files to remove from an asset store release ([Uncyclo](https://github.com/watson-developer-cloud/unity-sdk/wiki/Asset-Store-Release))
38-
* Fixed: Platform specific compilation for Unity Web Request ([335](https://github.com/watson-developer-cloud/unity-sdk/issues/335), [346](https://github.com/watson-developer-cloud/unity-sdk/pull/346))
39-
* Fixed: Speech to Text - Do not send keywords if they are not provided ([336](https://github.com/watson-developer-cloud/unity-sdk/issues/336), [340](https://github.com/watson-developer-cloud/unity-sdk/pull/340)).
40-
41-
## Version 2.1.0
42-
_2018-03-06_
43-
New: Abstract Watson Assistant service.
44-
New: External credentials in integration tests.
45-
New: Documentation on publishing a release.
46-
Fixed: Visual Recognition Classify method sends byte[] data in form data instead of body data.
47-
Fixed: Redirect Speech to Text streaming requests to TLS 1.0 streaming endpoint.
48-
Deprecated: Document Conversion - Please use Discovery.
49-
Removed: Language Translation - Please use Langauge Translator.
50-
51-
## Version 2.0.0
52-
_2017-11-20_ MAJOR RELEASE, BREAKING CHANGES
53-
* New: Implemented error callbacks in each call
54-
* New: Implemented generic type success callbacks
55-
* New: Implemented `Dictionary<string, object>` to hold custom data for each call
56-
* New: Support for `Hololens`
57-
* New: Abstracted custom acoustic models for `SpeechToText`
58-
* New: Addition of streaming example where the sample is split up to improve latency
59-
* New: Transition to dll for `WebSocketSharp`
60-
* New: Added support for decoding unicode characters in `TextToSpeech`
61-
* Fixed: Transition `Delete` methods to `UnityWebRequest`
62-
* Fixed: Improvements to `SpeechToText` streaming
63-
* Fixed: `SpeechToText` streaming parameters
64-
* Fixed: Improvements to `ExampleStreaming`
65-
* Fixed: `SpeechToText` custom corpus
66-
* Fixed: Allow empty string to be sent when invoking `Message` from the `Conversation` service
67-
* Fixed: Standardized `Debug.Log` output throughout SDK
68-
* Fixed: Fix all integration tests
69-
70-
## Version 1.0.0
71-
_2017-08-31_ MAJOR RELEASE, BREAKING CHANGES
72-
73-
* New: Abstracted `Natural Language Understanding` service.
74-
* New: Removed higher level `Widget` architecture - Will create a separate package to add in this functionality.
75-
* New: Removed dependency on `config.json` file for credentials.
76-
* New: Removed the `Configuration Editor`.
77-
* New: Removed the `Natural Language Classifier Editor`.
78-
* New: Added `KeywordSpotting` functionality to `Speech to Text`.
79-
* New: Support authentication tokens.
80-
* New: Remove `Touchscript` and `Watson Camera` scripts.
81-
* New: Revised all services to directly take credentials.
82-
* New: Data models to support credentials through `VCAP_SERVICES`.
83-
* Fixed: Updated examples, tests and ReadMe.md files.
84-
* Fixed: Updated 3rd party plugins.
85-
* Fixed: Removed deprecated services.
86-
87-
88-
## Version 0.13.0
89-
_2017-01-25_
90-
91-
* New: Abstracted `Discovery` service.
92-
* Fix: Updated TouchScript plugin.
93-
* New: Updated builds to use Unity 5.5.
94-
* Fix: TextToSpeech Widget now has multi output.
95-
* Fix: Added custom scenes in build editor.
96-
97-
## Version 0.13.0
98-
_2016-12-02_
99-
100-
* Fix: Increased conversation version.
101-
* Fix: Fixed infinite loop in Conversation service example.
102-
103-
## Version 0.12.0
104-
_2016-11-04_
105-
106-
* New: Added streaming `SpeechToText` example.
107-
* New: Abstraction for `Personality Insights V3`
108-
109-
## Version 0.11.0
110-
_2016-10-27_
111-
112-
* New: Abstracted `Speech to Text` customization methods.
113-
114-
## Version 0.10.0
115-
_2016-09-23_
116-
117-
* New: Added `similarity search` to the `Visual Recognition` service.
118-
* Fix: `Touch Widget` improvements.
119-
* Fix: Disabled 3rd Party plugin warnings.
120-
* Fix: Removed `Conversation` Message overload method that takes only input and conversationID.
121-
* Fix: Rewrote `Conversation` example script to show how to create MessageRequest object.
122-
123-
## Version 0.9.0
124-
_2016-08-26_
125-
126-
* Deprecated: Retired `Dialog` service.
127-
* Fix: `ExampleLanguageTranslation` now is using `LanguageTranslator` before `LanguageTranslation` service goes live.
128-
* Fix: Abstracted custom voice model methods in `Text to Speech` service.
129-
* Fix: Error when pasting credentials from the new IBM Cloud site into the `Config Editor`.
130-
* New: Added `CameraWidget` and `CameraDisplayWidget` to get video from device camera.
131-
* New: Added test scene for using the device camera with the `Visual Recognition` service.
132-
133-
## Version 0.8.0
134-
_2016-08-12_
135-
136-
* Fix: Removed tag stripping from `ToSpeech()` method of the `TextToSpeech` service.
137-
* New: The `Conversation` service now accepts full conversation payload in overloaded `Message()` method.
138-
* Fix: Removed `SetLastWriteTime()` for Android platform in the data cache because of a known android issue.
139-
```https://code.google.com/p/android/issues/detail?id=15480```
140-
141-
142-
## Version 0.7.0
143-
_2016-07-29_
144-
145-
* New: Visual Recognition: Added retraining functionality.
146-
* New: Visual Recognition: Use byteArray data to classify, detect faces and recognize text.
147-
* Fix: Updated integration testing.
148-
149-
150-
## Version 0.6.1
151-
_2016-07-17_
152-
153-
* Fix: Updated documentation
154-
155-
## Version 0.6.0
156-
157-
_2016-07-15_
158-
159-
* New: Added `Document Conversion` abstraction
160-
* New: Added `AlchemyData News` abstraction
161-
* New: Added `Retrieve and Rank` abstraction
162-
* New: Added `Conversation` abstraction
163-
* Fix: Added `LanguageTranslation` and `LanguageTranslator`
164-
165-
## Version 0.5.0
166-
167-
_2016-06-24_
168-
169-
* New: Added `Alchemy Language` abstraction
170-
* New: Added `Personality Insights` abstraction
171-
* Fix: Added `Tone Analyzer` to the Configuration Editor
172-
* Fix: Added `Tradeoff Analytics` to the Configuration Editor
173-
* Fix: Added `Conversation` to the Configuration Editor
174-
* Fix: Added `Personality Insights` to the Configuration Editor
175-
* Fix: Added `Alchemy Language` to the Configuration Editor
176-
* Fix: Added `Visual Recognition` to the Configuration Editor
177-
178-
## Version 0.4.0
179-
180-
_2016-06-09_
181-
182-
* New: Added `Tone Analyzer v3` abstraction
183-
* New: Added `Tradeoff Analytics` abstraction
184-
* New: Added `Conversation` abstraction
185-
* New: Added `Visual Recognition v3` abstraction
186-
* Fix: Creating test project dynamically for Travis CL integration
187-
* Fix: Refactored Language Translation to Language Translator
188-
* Fix: Widget examples sprite references were disconnected
189-
190-
## Version 0.3.0
191-
192-
_2016-04-29_
193-
194-
* Fix: Make SDK application agnostic
195-
* Fix: Rewrite README
196-
* New: Added example code snippets showing how to access low level services
197-
* Fix: Restructured SDK to put non-core components in Examples
198-
* Fix: Fixed several usability issues
199-
* Fix: Revised several aspects of the SDK to match the formats of other WDC SDKs
1+
Moved to [https://github.com/watson-developer-cloud/unity-sdk/wiki/Change-Log](https://github.com/watson-developer-cloud/unity-sdk/wiki/Change-Log)

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Watson Developer Cloud Unity SDK"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.3.0
41+
PROJECT_NUMBER = 2.4.2
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

Examples/ServiceExamples/Scripts/ExampleDiscovery.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
using IBM.Watson.DeveloperCloud.Utilities;
2121
using System.Collections;
2222
using System.Collections.Generic;
23-
using UnityEditor;
2423
using UnityEngine;
2524

2625
public class ExampleDiscovery : MonoBehaviour
@@ -157,7 +156,7 @@ private IEnumerator Examples()
157156

158157
// Add Configuration
159158
Log.Debug("TestDiscovery.RunTest()", "Attempting to add configuration");
160-
if (!_service.AddConfiguration(OnAddConfiguration, OnFail, _environmentId, _configurationJson.Replace("{guid}", GUID.Generate().ToString())))
159+
if (!_service.AddConfiguration(OnAddConfiguration, OnFail, _environmentId, _configurationJson.Replace("{guid}", System.Guid.NewGuid().ToString())))
161160
Log.Debug("TestDiscovery.AddConfiguration()", "Failed to add configuration");
162161
while (!_addConfigurationTested)
163162
yield return null;
@@ -185,7 +184,7 @@ private IEnumerator Examples()
185184

186185
// Add Collection
187186
Log.Debug("TestDiscovery.RunTest()", "Attempting to add collection");
188-
if (!_service.AddCollection(OnAddCollection, OnFail, _environmentId, _createdCollectionName + GUID.Generate().ToString(), _createdCollectionDescription, _environmentId))
187+
if (!_service.AddCollection(OnAddCollection, OnFail, _environmentId, _createdCollectionName + System.Guid.NewGuid().ToString(), _createdCollectionDescription, _environmentId))
189188
Log.Debug("TestDiscovery.AddCollection()", "Failed to add collection");
190189
while (!_addCollectionTested)
191190
yield return null;

Examples/ServiceExamples/Scripts/ExampleToneAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private IEnumerator Examples()
107107
Log.Debug("ExampleToneAnalyzer.Examples()", "Tone analyzer examples complete.");
108108
}
109109

110-
private void OnGetToneAnalyze(ToneAnalyzerResponse resp, Dictionary<string, object> customData)
110+
private void OnGetToneAnalyze(ToneAnalysis resp, Dictionary<string, object> customData)
111111
{
112112
Log.Debug("ExampleToneAnalyzer.OnGetToneAnalyze()", "{0}", customData["json"].ToString());
113113
_analyzeToneTested = true;

0 commit comments

Comments
 (0)