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 forGetEventRoutes
APIs since users are expected to provide page size in pageable type's .AsPages() method instead. - Removed Serialization namespace, moving its contents to the base Azure.DigitalTwins.Core namespace.
- Renamed
DigitalTwinsModelData
fieldDisplayName
toLanguageDisplayNames
for clarity. - Renamed
DigitalTwinsModelData
fieldDescription
toLanguageDescriptions
for clarity. - Renamed
DigitalTwinsModelData
fieldmodel
todtdlModel
. - Flattened
DigitalTwinsRequestOptions
so that each API takes inifMatch
andifNoneMatch
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 parametermodels
todtdtlModels
for clarity. - Reworked
GetModels
APIs to take options bundle rather than take individual options.
Fixes and improvements
- Fixed bug where
CreateDigitalTwin
andCreateRelationship
APIs always sent ifNoneMatch header with value "*" making it impossible to replace an existing entity.