1.0.0 (2020-10-30)
New Features
- Regenerated protocol layer from service API version 2020-10-31.
- Updated service API version to use service API version 2020-10-31 by default.
Breaking changes
Note that these breaking changes are only breaking changes from the preview version of this library.
- Replaced all
Response<string>
andPageable<string>
APIs withResponse<T>
andPageable<T>
respectively. - Renamed
CreateDigitalTwin
,CreateRelationship
andCreateEventRoute
APIs toCreateOrReplaceDigitalTwin
,CreateOrReplaceRelationship
andCreateOrReplaceEventRoute
respectively. - Renamed model type
ModelData
toDigitalTwinsModelData
to make type less generic, and less likely to conflict with other libraries. - Renamed model type
EventRoute
toDigitalTwinsEventRoute
to make type less generic, and less likely to conflict with other libraries. EventRoute
(nowDigitalTwinsEventRoute
) object ctor now requires filter.- Removed
UpdateOperationsUtility
and replace it with a direct dependency on JsonPatchDocument from azure-core. - Removed
WritableProperty
since service no longer returns that type. - Removed
MaxItemCount
parameter as an option for GetEventRoutes APIs since users are expected to provide page size in pageable type's .AsPages() method instead. - Renamed
DigitalTwinsModelData
fieldDisplayName
toDisplayNameLanguageMap
for clarity. - Renamed
DigitalTwinsModelData
fieldDescription
toDescriptionLanguageMap
for clarity. - Renamed
DigitalTwinsModelData
fieldmodel
todtdlModel
. - Flattened
DigitalTwinsRequestOptions
so that each API takes in ifMatch and ifNoneMatch header directly. - Reworked
BasicDigitalTwin
and other helper classes to better match the service definitions. This includes renamingCustomProperties
toContents
. - Added
messageId
as mandatory parameter for telemetry APIs. Service API version 2020-10-31 requires this parameter. - Renamed CreateModels API parameter
models
todtdtlModels
for clarity.
Fixes and improvements
- Fixed bug where
CreateDigitalTwin
andCreateRelationship
APIs always sent ifNoneMatch header with value "*" making it impossible to replace an existing entity.