Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Post release automated changes for azure-cosmos

Copilot AI review requested due to automatic review settings November 25, 2025 06:04
Copilot finished reviewing on behalf of azure-sdk November 25, 2025 06:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR contains automated post-release changes for the @azure/cosmos package, bumping the version from 4.9.0 to 4.9.1 and preparing for the next development cycle. The changes include version updates, code formatting improvements via Prettier, dependency updates, removal of obsolete sample files, and documentation updates.

Key Changes

  1. Version Updates: Bumped package version from 4.9.0 to 4.9.1 in package.json and constants.ts, with CHANGELOG prepared for the unreleased version
  2. Code Formatting: Applied consistent Prettier formatting across all sample files (trailing commas, multi-line formatting)
  3. Dependency Updates: Updated @azure/identity from ^4.8.0 to ^4.13.0, TypeScript from ~5.8.2 to ~5.9.3, and added cross-env as a dev dependency

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/cosmosdb/cosmos/src/common/constants.ts Updated SDK version constant from 4.9.0 to 4.9.1
sdk/cosmosdb/cosmos/package.json Bumped package version to 4.9.1
sdk/cosmosdb/cosmos/CHANGELOG.md Added unreleased 4.9.1 section with standard changelog structure
sdk/cosmosdb/cosmos/samples/v4/typescript/src/ThroughputBucket.ts Applied Prettier formatting: trailing commas, consistent spacing, multi-line formatting
sdk/cosmosdb/cosmos/samples/v4/typescript/src/FabricAadScopeOverride.ts Deleted obsolete sample file (no longer referenced)
sdk/cosmosdb/cosmos/samples/v4/typescript/src/Data/Families.json Removed trailing blank line
sdk/cosmosdb/cosmos/samples/v4/typescript/src/ContainerManagement.ts Reformatted query chain to single line per Prettier
sdk/cosmosdb/cosmos/samples/v4/typescript/package.json Updated dependencies and added cross-env dev dependency
sdk/cosmosdb/cosmos/samples/v4/typescript/README.md Added entries for PriorityLevel and ThroughputBucket samples, reorganized table alphabetically
sdk/cosmosdb/cosmos/samples/v4/javascript/package.json Updated dependencies, added cross-env dev dependency
sdk/cosmosdb/cosmos/samples/v4/javascript/ThroughputBucket.js Applied Prettier formatting: trailing commas, consistent spacing, multi-line formatting
sdk/cosmosdb/cosmos/samples/v4/javascript/README.md Added entries for PriorityLevel and ThroughputBucket samples, reorganized table alphabetically
sdk/cosmosdb/cosmos/samples/v4/javascript/FabricAadScopeOverride.js Deleted obsolete sample file (no longer referenced)
sdk/cosmosdb/cosmos/samples/v4/javascript/Data/Families.json Removed trailing blank line

| [HierarchicalPartitioning.ts][hierarchicalpartitioning] | Shows various operations on containers with Hierarchical Partitioning. |
| [IndexManagement.ts][indexmanagement] | Shows various ways to manage indexing items or changing container index policies. |
| [ItemManagement.ts][itemmanagement] | Demonstrates item creation, read, delete and reading all items belonging to a container. |
| [PriorityLevel.ts][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 25, 2025

Choose a reason for hiding this comment

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

The description for PriorityLevel is missing a period between two sentences. It 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.ts][prioritylevel] | Demonstrates using Priority Level support with various Cosmos DB operations Shows how Low/High priority levels affect request throttling behavior |
| [PriorityLevel.ts][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.
| [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 25, 2025

Choose a reason for hiding this comment

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

The description for PriorityLevel is missing a period between two sentences. It 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant