Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.

Bump @azure/cosmos from 4.9.2 to 4.10.0 in /api - #135

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/api/azure/cosmos-4.10.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/api/azure/cosmos-4.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bumps @azure/cosmos from 4.9.2 to 4.10.0.

Changelog

Sourced from @​azure/cosmos's changelog.

4.10.0 (2026-07-21)

Features Added

  • Added a semantic reranking API. Use Container.semanticRerank(rerankContext, documents, options) to score and reorder documents by relevance via the Cosmos DB Inference Service. Configure it through enablePreviewFeatures.semanticRerank on CosmosClientOptions: inferenceEndpoint (required) and an optional inferenceRequestTimeout (ms, default 5000) single-attempt timeout that fails with HTTP 408 when exceeded. Requires AAD authentication. The result and any thrown error include CosmosDiagnostics for the operation.
  • Added enablePreviewFeatures to CosmosClientOptions, a dictionary for opting into preview features of the SDK.

Bugs Fixed

  • #38087 Made boundingBox optional on the SpatialIndex type. Bounding boxes are only required for geometry spatial indexes, not geography ones.
  • Fixed cross-partition queries making a redundant /pkranges metadata call on every query. Queries now reuse the shared partition key range cache (worst for hybrid queries, which previously fetched ranges per component query). The cache is also made failure-safe so a transient fetch error no longer poisons later lookups.
  • #39115 Fixed continuation token handling for enableQueryControl queries. Resuming now routes through the query plan instead of forwarding the SDK-internal composite token to the gateway, avoiding an extra failing call and the MalformedContinuationToken error.

4.9.3 (2026-04-20)

Bugs Fixed

  • #38124 Fixed incorrect SQL filter generation in ORDER BY queries with continuation tokens. Backslashes and single quotes in orderByItem values are now properly escaped in formatValueForSQL before being embedded in WHERE clauses.
Commits
  • 022e01c Adlnu/fix signoff pipeline (#38985)
  • a55c383 [Cosmos] Bump @​azure/cosmos version to 4.10.0 (#39305)
  • 04d12eb feat(cosmos): add semantic rerank API (#37981)
  • 73754d0 [cosmos] Route enableQueryControl continuation resume through the query plan ...
  • 0b2529b [@​azure/cosmos] Reuse shared partition key range cache for cross-partition qu...
  • 55e1705 feat(cosmos): add enablePreviewFeatures to CosmosClientOptions (#39040)
  • 1d09a0f [EngSys] upgrade dev dependency prettier to v3.9.1 (#39127)
  • 0616d26 Re-export RestError and isRestError in non-management packages (#39007)
  • 3181ad2 [EngSys] Bump min-version to node 22 (#38887) NO_CI
  • 56d7d95 fix(cosmos): make boundingBox optional on SpatialIndex type (#38230)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@azure/cosmos](https://github.com/Azure/azure-sdk-for-js/tree/HEAD/sdk/cosmosdb/cosmos) from 4.9.2 to 4.10.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cosmosdb/cosmos/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/commits/@azure/cosmos_4.10.0/sdk/cosmosdb/cosmos)

---
updated-dependencies:
- dependency-name: "@azure/cosmos"
  dependency-version: 4.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: api, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants