Skip to content

Commit 06cd98a

Browse files
committed
docs: update migration guide
1 parent 0339538 commit 06cd98a

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

MIGRATION-V5.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
## .Unity SDK V5 Migration guide
1+
## Unity SDK V5 Migration guide
22

3-
* Added Enums classes
3+
### Service changes
4+
5+
#### All Services
6+
* `VersionDate` was renamed to `Version`
47

58
#### Assistant v1
69

@@ -44,6 +47,9 @@
4447

4548
##### Model Properties Changed
4649

50+
`Context`
51+
* `System` property type changed from `SystemResponse` to `Dictionary<string, object>`
52+
4753
`DialogNode`
4854
* `context` property type changed from `Dictionary<string, object>` to `DialogNodeContext`
4955

@@ -163,6 +169,12 @@ No changes
163169
`Features`
164170
* Changed `Metadata` property type from `MetadataOptions` to `object`
165171

172+
#### Personality Insights
173+
174+
* Added deprecation notice
175+
* Changed `content` parameter type from `Content` to `System.IO.MemoryStream` in `Profile()` method
176+
* Changed `content` parameter type from `Content` to `System.IO.MemoryStream` in `ProfileAsCsv()` method
177+
166178
##### Models Removed
167179

168180
`Content`,
@@ -205,12 +217,17 @@ No changes
205217
`Voice`
206218
* Change return type of `Customization` from `VoiceModel` to `CustomModel`
207219

220+
#### Tone Analyzer v3
221+
222+
* Changed `toneInput` parameter type from `ToneInput` to `System.IO.MemoryStream` in `Tone()` method
223+
208224
#### Visual Recognition v3
209225

210-
No changes
226+
* Added deprecation notice
211227

212228
#### Visual Recognition v4
213229

230+
* Added deprecation notice
214231
* Changed `startTime` and `endTime` parameter types from `string` to `DateTime` in `GetTrainingUsage()` method
215232

216233
##### Models Added
@@ -220,5 +237,9 @@ No changes
220237

221238
##### Model Properties Changed
222239

240+
`Collection`
241+
* `TrainingStatus` property is no longer virtual
242+
* Changed `TrainingStatus` property type from `TraningStatus` to `CollectionTrainingStatus`
243+
223244
`ObjectDetail`
224245
* Changed `Location` property type from `Location` to `ObjectDetailLocation`

0 commit comments

Comments
 (0)