-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix sample errors and update release CHANGELOG.md #18768
Conversation
sajeetharan
commented
Nov 22, 2021
- Fix errors on samples with 'strict' mode ( cosmos/v3/typescript)
- Update CHANGELOG.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will also re-run the experimental generator.
sdk/cosmosdb/cosmos/CHANGELOG.md
Outdated
- Made several changes to the sample programs to improve code quality and compatibility with Node 12, and upgraded the sample programs' dependencies | ||
|
||
|
||
## 3.14.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this whole 3.14.2 section.
sdk/cosmosdb/cosmos/CHANGELOG.md
Outdated
## 3.15.0 (Unreleased|2021-11-22) | ||
|
||
### Features Added | ||
- Exported variables SasTokenPermissionKind and SasTokenProperties ,function createAuthorizationSasToken to demonstrate scoped access to Cosmos Resources with SasToken |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Exported variables SasTokenPermissionKind and SasTokenProperties ,function createAuthorizationSasToken to demonstrate scoped access to Cosmos Resources with SasToken | |
- Added the `SasTokenProperties` type and a `createAuthorizationSasToken` function to enable scoped access to Cosmos resources with SAS tokens. For an example that demonstrates creating a SAS token and using it to authenticate a `CosmosClient`, see [the `SasTokenAuth` sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v3/typescript/src/SasTokenAuth.ts). |
sdk/cosmosdb/cosmos/CHANGELOG.md
Outdated
### Other Changes | ||
- Made several changes to the sample programs to improve code quality and compatibility with Node 12, and upgraded the sample programs' dependencies | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check the spacing so there is only one blank line between sections.
sdk/cosmosdb/cosmos/CHANGELOG.md
Outdated
- Exported variables SasTokenPermissionKind and SasTokenProperties ,function createAuthorizationSasToken to demonstrate scoped access to Cosmos Resources with SasToken | ||
|
||
### Other Changes | ||
- Made several changes to the sample programs to improve code quality and compatibility with Node 12, and upgraded the sample programs' dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Made several changes to the sample programs to improve code quality and compatibility with Node 12, and upgraded the sample programs' dependencies | |
- Made several changes to the sample programs to improve code quality and compatibility with Node 12, and upgraded the sample programs' dependencies. |
sdk/cosmosdb/cosmos/CHANGELOG.md
Outdated
@@ -1,6 +1,15 @@ | |||
# Release History | |||
|
|||
## 3.14.2 (Unreleased) | |||
## 3.15.0 (Unreleased|2021-11-22) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 3.15.0 (Unreleased|2021-11-22) | |
## 3.15.0 (2021-11-22) |
- _GA_ Adds `container.item(itemId).patch()`. `patch()` is an alternative to `replace()` for item updates. https://github.com/Azure/azure-sdk-for-js/pull/16264/files#diff-7caca690c469e2025576523c0377ac71815f001024fde7c48b20cd24adaa6977R561 | ||
- _GA_ support for Bulk operation PATCH. | ||
- _GA_ support for Batch operation PATCH. | ||
- Added the `SasTokenProperties` type and a `createAuthorizationSasToken` function to enable scoped access to Cosmos resources with SAS tokens. For an example that demonstrates creating a SAS token and using it to authenticate a `CosmosClient`, see [the `SasTokenAuth` sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v3/typescript/src/SasTokenAuth.ts). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added the `SasTokenProperties` type and a `createAuthorizationSasToken` function to enable scoped access to Cosmos resources with SAS tokens. For an example that demonstrates creating a SAS token and using it to authenticate a `CosmosClient`, see [the `SasTokenAuth` sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v3/typescript/src/SasTokenAuth.ts). | |
- Added the `SasTokenProperties` type and a `createAuthorizationSasToken` function to enable scoped access to Cosmos resources with SAS tokens. For an example that demonstrates creating a SAS token and using it to authenticate a `CosmosClient`, see [the `SasTokenAuth` sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v3/typescript/src/SasTokenAuth.ts). |