Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions sdk/cosmosdb/cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Release History
## 4.8.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 4.8.0 (2025-11-20)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/cosmos",
"version": "4.8.0",
"version": "4.8.1",
"description": "Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API",
"sdk-type": "client",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,3 @@
}
]
}

This file was deleted.

52 changes: 28 additions & 24 deletions sdk/cosmosdb/cosmos/samples/v4/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,31 @@ urlFragment: cosmos-javascript

These sample programs show how to use the JavaScript client libraries for Azure Cosmos DB in some common scenarios.

| **File Name** | **Description** |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [AlterQueryThroughput.js][alterquerythroughput] | Updates a container offer to change query throughput. |
| [Bulk.js][bulk] | Shows a simple bulk call with each BulkOperation type. |
| [BulkUpdateWithSproc.js][bulkupdatewithsproc] | Bulk Updates documents with a Stored Procedure. Prefer `container.items().bulk()` to this behavior. |
| [ChangeFeed.js][changefeed] | Demonstrates using a ChangeFeed. |
| [ChangeFeedIterator/ChangeFeedHierarchicalPartitionKey.js][changefeediterator_changefeedhierarchicalpartitionkey] | Demonstrates using a ChangeFeed for a partition key |
| [ChangeFeedIterator/ChangeFeedIteratorAllVersionsAndDeletes.js][changefeediterator_changefeediteratorallversionsanddeletes] | Demonstrates using a ChangeFeed in AllVersionsAndDeletes mode for entire container, a partition key, and an epk range |
| [ChangeFeedIterator/ChangeFeedIteratorLatestVersion.js][changefeediterator_changefeediteratorlatestversion] | Demonstrates using a ChangeFeed in LatestVersion mode for entire container, a partition key, and an epk range |
| [ClientSideEncryption.js][clientsideencryption] | Client-Side Encryption |
| [ContainerManagement.js][containermanagement] | Demonstrates container create, read, delete and reading all containers belonging to a database. |
| [DatabaseManagement.js][databasemanagement] | Demonstrates database create, read, delete and reading all databases. |
| [Diagnostics.js][diagnostics] | Demonstrates usage of CosmosDiagnostic Object. |
| [EntraAuth.js][entraauth] | Uses Entra Auth credentials to authenticate with the CosmosClient. |
| [ExcludedLocations.js][excludedlocations] | Demonstrates Cosmos DB operations with excluded regions/locations. |
| [ExecuteBulkOperations.js][executebulkoperations] | Shows CRUD operations using executeBulkOperations API. |
| [HierarchicalPartitioning.js][hierarchicalpartitioning] | Shows various operations on containers with Hierarchical Partitioning. |
| [IndexManagement.js][indexmanagement] | Shows various ways to manage indexing items or changing container index policies. |
| [ItemManagement.js][itemmanagement] | Demonstrates item creation, read, delete and reading all items belonging to a container. |
| [QueryThroughput.js][querythroughput] | Demonstrates query throughput scenarios. |
| [Query/FullTextSearch.js][query_fulltextsearch] | Demonstrates full text search queries. |
| [SasTokenAuth.js][sastokenauth] | Demonstrates using SasTokens for granting scoped access to Cosmos resources. _Private feature_ |
| [ServerSideScripts.js][serversidescripts] | Demonstrates using stored procedures for server side run functions |
| **File Name** | **Description** |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AlterQueryThroughput.js][alterquerythroughput] | Updates a container offer to change query throughput. |
| [Bulk.js][bulk] | Shows a simple bulk call with each BulkOperation type. |
| [BulkUpdateWithSproc.js][bulkupdatewithsproc] | Bulk Updates documents with a Stored Procedure. Prefer `container.items().bulk()` to this behavior. |
| [ChangeFeed.js][changefeed] | Demonstrates using a ChangeFeed. |
| [ChangeFeedIterator/ChangeFeedHierarchicalPartitionKey.js][changefeediterator_changefeedhierarchicalpartitionkey] | Demonstrates using a ChangeFeed for a partition key |
| [ChangeFeedIterator/ChangeFeedIteratorAllVersionsAndDeletes.js][changefeediterator_changefeediteratorallversionsanddeletes] | Demonstrates using a ChangeFeed in AllVersionsAndDeletes mode for entire container, a partition key, and an epk range |
| [ChangeFeedIterator/ChangeFeedIteratorLatestVersion.js][changefeediterator_changefeediteratorlatestversion] | Demonstrates using a ChangeFeed in LatestVersion mode for entire container, a partition key, and an epk range |
| [ClientSideEncryption.js][clientsideencryption] | Client-Side Encryption |
| [ContainerManagement.js][containermanagement] | Demonstrates container create, read, delete and reading all containers belonging to a database. |
| [DatabaseManagement.js][databasemanagement] | Demonstrates database create, read, delete and reading all databases. |
| [Diagnostics.js][diagnostics] | Demonstrates usage of CosmosDiagnostic Object. |
| [EntraAuth.js][entraauth] | Uses Entra Auth credentials to authenticate with the CosmosClient. |
| [ExcludedLocations.js][excludedlocations] | Demonstrates Cosmos DB operations with excluded regions/locations. |
| [ExecuteBulkOperations.js][executebulkoperations] | Shows CRUD operations using executeBulkOperations API. |
| [HierarchicalPartitioning.js][hierarchicalpartitioning] | Shows various operations on containers with Hierarchical Partitioning. |
| [IndexManagement.js][indexmanagement] | Shows various ways to manage indexing items or changing container index policies. |
| [ItemManagement.js][itemmanagement] | Demonstrates item creation, read, delete and reading all items belonging to a container. |
| [PriorityLevel.js][prioritylevel] | Demonstrates using Priority Level support with various Cosmos DB operations Shows how Low/High priority levels affect request throttling behavior |
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing period after 'operations'. The description should read: 'Demonstrates using Priority Level support with various Cosmos DB operations. Shows how Low/High priority levels affect request throttling behavior'

Suggested change
| [PriorityLevel.js][prioritylevel] | Demonstrates using Priority Level support with various Cosmos DB operations Shows how Low/High priority levels affect request throttling behavior |
| [PriorityLevel.js][prioritylevel] | Demonstrates using Priority Level support with various Cosmos DB operations. Shows how Low/High priority levels affect request throttling behavior |

Copilot uses AI. Check for mistakes.
| [Query/FullTextSearch.js][query_fulltextsearch] | Demonstrates full text search queries. |
| [QueryThroughput.js][querythroughput] | Demonstrates query throughput scenarios. |
| [SasTokenAuth.js][sastokenauth] | Demonstrates using SasTokens for granting scoped access to Cosmos resources. _Private feature_ |
| [ServerSideScripts.js][serversidescripts] | Demonstrates using stored procedures for server side run functions |
| [ThroughputBucket.js][throughputbucket] | Demonstrates throughput bucket operations at the client, database, container and item levels. |

## Prerequisites

Expand Down Expand Up @@ -92,10 +94,12 @@ Take a look at our [API Documentation][apiref] for more information about the AP
[hierarchicalpartitioning]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/HierarchicalPartitioning.js
[indexmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/IndexManagement.js
[itemmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/ItemManagement.js
[querythroughput]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/QueryThroughput.js
[prioritylevel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/PriorityLevel.js
[query_fulltextsearch]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/Query/FullTextSearch.js
[querythroughput]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/QueryThroughput.js
[sastokenauth]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/SasTokenAuth.js
[serversidescripts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/ServerSideScripts.js
[throughputbucket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/samples/v4/javascript/ThroughputBucket.js
[apiref]: https://learn.microsoft.com/javascript/api/@azure/cosmos
[freesub]: https://azure.microsoft.com/free/
[createinstance_azurecosmosdbaccount]: https://learn.microsoft.com/azure/cosmos-db/how-to-manage-database-account#create-an-account
Expand Down
Loading
Loading