|
1 | 1 | # Release History
|
2 | 2 |
|
| 3 | +## 2.0.0 (2022-08-05) |
| 4 | +### Breaking Changes |
| 5 | + |
| 6 | +- Function `*TableClient.Create` parameter(s) have been changed from `(context.Context, string, string, string, *TableClientCreateOptions)` to `(context.Context, string, string, string, Table, *TableClientCreateOptions)` |
| 7 | +- Function `*TableClient.Update` parameter(s) have been changed from `(context.Context, string, string, string, *TableClientUpdateOptions)` to `(context.Context, string, string, string, Table, *TableClientUpdateOptions)` |
| 8 | +- Function `*BlobContainersClient.CreateOrUpdateImmutabilityPolicy` parameter(s) have been changed from `(context.Context, string, string, string, *BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions)` to `(context.Context, string, string, string, ImmutabilityPolicy, *BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions)` |
| 9 | +- Type of `CorsRule.AllowedMethods` has been changed from `[]*CorsRuleAllowedMethodsItem` to `[]*AllowedMethods` |
| 10 | +- Type of `ActiveDirectoryProperties.AccountType` has been changed from `*ActiveDirectoryPropertiesAccountType` to `*AccountType` |
| 11 | +- Type of `BlobContainersClientLeaseOptions.Parameters` has been changed from `*LeaseContainerRequest` to `*LeaseContainerRequestAutoGenerated` |
| 12 | +- Const `CorsRuleAllowedMethodsItemPOST` has been removed |
| 13 | +- Const `LeaseContainerRequestActionRelease` has been removed |
| 14 | +- Const `CorsRuleAllowedMethodsItemHEAD` has been removed |
| 15 | +- Const `CorsRuleAllowedMethodsItemMERGE` has been removed |
| 16 | +- Const `CorsRuleAllowedMethodsItemPATCH` has been removed |
| 17 | +- Const `ActiveDirectoryPropertiesAccountTypeUser` has been removed |
| 18 | +- Const `LeaseContainerRequestActionAcquire` has been removed |
| 19 | +- Const `CorsRuleAllowedMethodsItemOPTIONS` has been removed |
| 20 | +- Const `CorsRuleAllowedMethodsItemDELETE` has been removed |
| 21 | +- Const `CorsRuleAllowedMethodsItemPUT` has been removed |
| 22 | +- Const `LeaseContainerRequestActionBreak` has been removed |
| 23 | +- Const `LeaseContainerRequestActionRenew` has been removed |
| 24 | +- Const `LeaseContainerRequestActionChange` has been removed |
| 25 | +- Const `ActiveDirectoryPropertiesAccountTypeComputer` has been removed |
| 26 | +- Const `CorsRuleAllowedMethodsItemGET` has been removed |
| 27 | +- Function `PossibleLeaseContainerRequestActionValues` has been removed |
| 28 | +- Function `PossibleActiveDirectoryPropertiesAccountTypeValues` has been removed |
| 29 | +- Function `PossibleCorsRuleAllowedMethodsItemValues` has been removed |
| 30 | +- Struct `LeaseContainerRequest` has been removed |
| 31 | +- Field `Parameters` of struct `BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions` has been removed |
| 32 | +- Field `Parameters` of struct `TableClientUpdateOptions` has been removed |
| 33 | +- Field `Parameters` of struct `TableClientCreateOptions` has been removed |
| 34 | + |
| 35 | +### Features Added |
| 36 | + |
| 37 | +- New const `AllowedMethodsOPTIONS` |
| 38 | +- New const `AllowedMethodsDELETE` |
| 39 | +- New const `AllowedMethodsPATCH` |
| 40 | +- New const `LeaseContainerRequestBreak` |
| 41 | +- New const `AllowedMethodsHEAD` |
| 42 | +- New const `AllowedMethodsPUT` |
| 43 | +- New const `LeaseContainerRequestRenew` |
| 44 | +- New const `AllowedMethodsMERGE` |
| 45 | +- New const `AllowedMethodsPOST` |
| 46 | +- New const `DirectoryServiceOptionsAADKERB` |
| 47 | +- New const `LeaseContainerRequestAcquire` |
| 48 | +- New const `LeaseContainerRequestRelease` |
| 49 | +- New const `AccountTypeUser` |
| 50 | +- New const `AllowedMethodsGET` |
| 51 | +- New const `AccountTypeComputer` |
| 52 | +- New const `LeaseContainerRequestChange` |
| 53 | +- New function `PossibleAccountTypeValues() []AccountType` |
| 54 | +- New function `PossibleAllowedMethodsValues() []AllowedMethods` |
| 55 | +- New function `PossibleLeaseContainerRequestValues() []LeaseContainerRequest` |
| 56 | +- New struct `LeaseContainerRequestAutoGenerated` |
| 57 | + |
| 58 | + |
3 | 59 | ## 1.0.0 (2022-05-16)
|
4 | 60 |
|
5 | 61 | The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
|
|
0 commit comments