From 4746012d66d5b2132020d354d757b3bd50681b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=B5=20=CE=9D=CE=B9=CE=93=CE=9E=CE=97=CE=9B=CF=88=CE=9A?= Date: Thu, 14 Dec 2023 09:35:12 +0530 Subject: [PATCH] upgrade mongo driver version --- Benchmark/Benchmark.csproj | 4 ++-- MongoDB.Entities/MongoDB.Entities.csproj | 4 ++-- changelog.md | 22 +++------------------- 3 files changed, 7 insertions(+), 23 deletions(-) diff --git a/Benchmark/Benchmark.csproj b/Benchmark/Benchmark.csproj index 63ef379d..dd763482 100644 --- a/Benchmark/Benchmark.csproj +++ b/Benchmark/Benchmark.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/MongoDB.Entities/MongoDB.Entities.csproj b/MongoDB.Entities/MongoDB.Entities.csproj index a457607b..840bb38d 100644 --- a/MongoDB.Entities/MongoDB.Entities.csproj +++ b/MongoDB.Entities/MongoDB.Entities.csproj @@ -2,7 +2,7 @@ - 23.0.0 + 23.0.1 netstandard2.1 MongoDB.Entities @@ -31,7 +31,7 @@ - + diff --git a/changelog.md b/changelog.md index 2b65ba78..0a48e2e6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,23 +1,7 @@ -### NEW - -ability to use any type for primary key property and ability to name it based on mongodb conventions when implementing `IEntity` interface. - -**NOTE:** due to a technical constraint, only the following primary key types are supported with referenced relationships. - -- string -- long -- ObjectId - -see #195 for more info. +[//]: # (### NEW) ### IMPROVEMENTS -- `Entity.ID` property has been made non-nullable #210 -- support for dictionary based index keys #206 -- upgrade mongodb driver to v2.22 -- various internal code refactors and optimizations - -### BREAKING CHANGES +- upgrade mongodb driver to v2.23 -- `Many` is now `Many` when defining referenced relationships. i.e. you now need to specify the type of the parent class that contains the property. -- `IEntity.GenerateNewID()` & `IEntity.HasDefaultID()` method must be implemented by entities if implementing `IEntity` directly. \ No newline at end of file +[//]: # (### BREAKING CHANGES) \ No newline at end of file