Skip to content

Commit

Permalink
Bump digital twins versions to prepare for release (Azure#17020)
Browse files Browse the repository at this point in the history
Note that the versions within the version_client.txt file were updated previously by this PR: Azure#16395
  • Loading branch information
timtay-microsoft authored Oct 30, 2020
1 parent f3a6819 commit 269098f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
30 changes: 24 additions & 6 deletions sdk/digitaltwins/azure-digitaltwins-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
# Release History

## 1.0.0 (Unreleased)
## 1.0.0 (2020-10-30)

### New Features

- Regenerate protocol layer from service API version 2020-10-31
- Update service API version to use service API version 2020-10-31 by default
- Add optional parameters for traceparent and tracestate to all service request APIs to support distributed tracing
- 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
### 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](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/core/azure-core/src/main/java/com/azure/core/models/JsonPatchDocument.java) 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.

- Add messageId as mandatory parameter for telemetry APIs. Service API version 2020-10-31 requires this parameter.
### Fixes and improvements
- Fixed bug where `CreateDigitalTwin` and `CreateRelationship` APIs always sent ifNoneMatch header with value "*" making it impossible to replace an existing entity.

## 1.0.0-beta.3 (2020-10-01)

Expand Down
2 changes: 1 addition & 1 deletion sdk/digitaltwins/azure-digitaltwins-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For the best development experience, developers should use the official Microsof
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-digitaltwins-core</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0</version>
</dependency>
```

Expand Down

0 comments on commit 269098f

Please sign in to comment.