github Azure/azure-sdk-for-java azure-digitaltwins-core_1.0.0

latest releases: azure-compute-batch_1.0.0-beta.1, azure-sdk-template-three_1.0.0-beta.3796273, azure-sdk-template-two_1.0.0-beta.3796273...
3 years ago

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> and Pageable<string> APIs with Response<T> and Pageable<T> respectively.
  • Renamed CreateDigitalTwin, CreateRelationship and CreateEventRoute APIs to CreateOrReplaceDigitalTwin, CreateOrReplaceRelationship and CreateOrReplaceEventRoute respectively.
  • Renamed model type ModelData to DigitalTwinsModelData to make type less generic, and less likely to conflict with other libraries.
  • Renamed model type EventRoute to DigitalTwinsEventRoute to make type less generic, and less likely to conflict with other libraries.
  • EventRoute (now DigitalTwinsEventRoute) 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 field DisplayName to DisplayNameLanguageMap for clarity.
  • Renamed DigitalTwinsModelData field Description to DescriptionLanguageMap for clarity.
  • Renamed DigitalTwinsModelData field model to dtdlModel.
  • 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 renaming CustomProperties to Contents.
  • Added messageId as mandatory parameter for telemetry APIs. Service API version 2020-10-31 requires this parameter.
  • Renamed CreateModels API parameter models to dtdtlModels for clarity.

Fixes and improvements

  • Fixed bug where CreateDigitalTwin and CreateRelationship APIs always sent ifNoneMatch header with value "*" making it impossible to replace an existing entity.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.