Rename CosmosNoSql provider to AzureCosmosDB - #48
Merged
adamsitnik merged 3 commits intoAug 19, 2026
Merged
Conversation
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Renames the Azure Cosmos DB for NoSQL provider from CosmosNoSql to AzureCosmosDB, updating public API type names, namespaces, docs, and associated test projects so the package naming aligns with current Azure Cosmos DB branding.
Changes:
- Renamed the provider’s public surface area (e.g.,
CosmosNoSqlVectorStore→CosmosVectorStore,CosmosNoSqlCollectionOptions→CosmosCollectionOptions) and moved namespaces toCommunityToolkit.VectorData.AzureCosmosDB. - Updated DI registration extensions and test infrastructure to use the new names.
- Updated repo/solution references and READMEs to point at the new package/project identities.
Reviewed changes
Copilot reviewed 49 out of 50 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates top-level package list/links/badges to reference CommunityToolkit.VectorData.AzureCosmosDB instead of CosmosNoSql. |
| MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlNoDataModelTests.cs | Removes old CosmosNoSql conformance test type (renamed/replaced under AzureCosmosDB conformance project). |
| MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlIndexKindTests.cs | Removes old CosmosNoSql conformance test type (renamed/replaced). |
| MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlEmbeddingGenerationTests.cs | Removes old CosmosNoSql embedding-generation conformance test type (renamed/replaced). |
| MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlBasicModelTests.cs | Removes old CosmosNoSql basic-model conformance test type (renamed/replaced). |
| MEVD/test/AzureCosmosDB.UnitTests/CosmosOptionsTests.cs | Updates unit tests to use the renamed provider namespace/types/options. |
| MEVD/test/AzureCosmosDB.UnitTests/AzureCosmosDB.UnitTests.csproj | Renames test assembly/root namespace and updates project reference to AzureCosmosDB.csproj. |
| MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestStore.cs | Renames conformance test store and updates it to use renamed provider types/DI surface. |
| MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosTestEnvironment.cs | Renames environment helper type/namespace for AzureCosmosDB conformance tests. |
| MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosFixture.cs | Renames fixture and updates it to use the renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/Support/CosmosConformanceTestHelpers.cs | Renames helper type/namespace for conformance tests. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosTestSuiteImplementationTests.cs | Renames the test suite implementation test class/namespace. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosNoVectorModelTests.cs | Renames test class/namespace and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosNoDataModelTests.cs | Adds renamed conformance test for “no data model” scenario under AzureCosmosDB project. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosMultiVectorModelTests.cs | Renames test class/namespace and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosKeyTypeTests.cs | Renames test class/namespace and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosIndexKindTests.cs | Adds renamed conformance test for index-kind behavior under AzureCosmosDB project. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosHybridSearchTests.cs | Renames hybrid search conformance tests and updates fixtures/store usage. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosFilterTests.cs | Renames filter conformance tests and updates fixtures/store usage. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosEmbeddingTypeTests.cs | Renames embedding-type conformance tests and updates helper usage. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosEmbeddingGenerationTests.cs | Adds renamed embedding-generation conformance tests under AzureCosmosDB project. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosDynamicModelTests.cs | Renames dynamic-model conformance tests and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosDistanceFunctionTests.cs | Renames distance-function conformance tests and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosDependencyInjectionTests.cs | Renames DI conformance tests and updates to new DI extension method names/types. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosDataTypeTests.cs | Renames data-type conformance tests and updates references to renamed test store. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosCollectionManagementTests.cs | Renames collection-management conformance tests to use new fixture/type names. |
| MEVD/test/AzureCosmosDB.ConformanceTests/CosmosBasicModelTests.cs | Adds renamed basic-model conformance test under AzureCosmosDB project. |
| MEVD/test/AzureCosmosDB.ConformanceTests/AzureCosmosDB.ConformanceTests.csproj | Updates conformance test project root namespace and project reference to AzureCosmosDB provider project. |
| MEVD/src/AzureCosmosDB/README.md | Updates provider readme and code samples to new package name and type names. |
| MEVD/src/AzureCosmosDB/ICosmosMapper.cs | Renames internal mapper interface and moves it to the new namespace. |
| MEVD/src/AzureCosmosDB/ErrorHandlingFeedIterator.cs | Moves/updates namespace to AzureCosmosDB. |
| MEVD/src/AzureCosmosDB/CosmosVectorStoreOptions.cs | Renames vector store options type and updates doc comments/type references. |
| MEVD/src/AzureCosmosDB/CosmosVectorStore.cs | Renames vector store type and updates internal references/constants usage. |
| MEVD/src/AzureCosmosDB/CosmosServiceCollectionExtensions.cs | Renames DI extension class/methods and updates application name/option types. |
| MEVD/src/AzureCosmosDB/CosmosModelBuilder.cs | Renames model builder and updates key/constants references. |
| MEVD/src/AzureCosmosDB/CosmosMapper.cs | Renames record mapper implementation and updates constants references. |
| MEVD/src/AzureCosmosDB/CosmosKey.cs | Renames composite key type (CosmosNoSqlKey → CosmosKey) and updates docs/operators. |
| MEVD/src/AzureCosmosDB/CosmosFilterTranslator.cs | Renames filter translator and updates constants usage. |
| MEVD/src/AzureCosmosDB/CosmosDynamicMapper.cs | Renames dynamic mapper and updates constants usage. |
| MEVD/src/AzureCosmosDB/CosmosDynamicCollection.cs | Renames dynamic collection type and updates base/ctor signatures and builder usage. |
| MEVD/src/AzureCosmosDB/CosmosConstants.cs | Renames constants holder class and moves it to new namespace. |
| MEVD/src/AzureCosmosDB/CosmosCollectionQueryBuilder.cs | Renames query builder and updates translator/constants usage. |
| MEVD/src/AzureCosmosDB/CosmosCollectionOptions.cs | Renames collection options type and updates docs/type references. |
| MEVD/src/AzureCosmosDB/CosmosCollection.cs | Renames main collection type and updates internal wiring to renamed mappers/builders/constants. |
| MEVD/src/AzureCosmosDB/ClientWrapper.cs | Moves/updates namespace to AzureCosmosDB. |
| MEVD/src/AzureCosmosDB/ByteArrayJsonConverter.cs | Moves/updates namespace to AzureCosmosDB. |
| MEVD/src/AzureCosmosDB/AzureCosmosDB.csproj | Updates assembly name, package tags, and InternalsVisibleTo target to match new identity. |
| MEVD/src/AzureCosmosDB/AssemblyInfo.cs | Adds an AssemblyInfo file containing license header. |
| MEVD/MEVD.slnf | Updates solution filter to reference the renamed AzureCosmosDB projects instead of CosmosNoSql. |
| CommunityToolkit.AI.slnx | Updates solution structure to reference AzureCosmosDB projects instead of CosmosNoSql. |
Suppressed comments (3)
MEVD/src/AzureCosmosDB/CosmosServiceCollectionExtensions.cs:23
- The trim/AOT messages are inverted relative to the attributes:
DynamicCodeMessageis used withRequiresUnreferencedCode(trimming) but currently says NativeAOT, andUnreferencedCodeMessageis used withRequiresDynamicCodebut currently says trimming. This will surface incorrect guidance in analyzer warnings; consider swapping the constant values (or swapping the attribute arguments) so each attribute shows the right message.
MEVD/src/AzureCosmosDB/CosmosVectorStore.cs:21 - Grammar: use “an” before “Azure” (vowel sound).
MEVD/src/AzureCosmosDB/CosmosDynamicMapper.cs:30 - The exception message is missing a closing quote after the key property name, which makes it harder to read and inconsistent with the other messages below.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To reflect most recent Azure Cosmos DB renaming (there is no Azure Cosmos for Mongo DB, just Azure Document DB so we don't need to use NoSQL in this package name)