Releases: mongodb/mongo-efcore-provider
v8.2.0
Although this release of the EF Core Provider does not include any intentional breaking changes the underlying MongoDB.Driver dependency has significant breaking changes in the 3.0 release used in this EF Core Provider v8.2.0. Please read the breaking changes for MongoDB.Driver 3.0 and ensure compatibility before upgrading.
New features
- EF-80: Type discriminator support including unmapped type discriminator property (shadow property)
- EF-49: TimeOnly and DateOnly type support
Bug fixes
- EF-167: Fallback to unfiltered ListDatabaseNames for Atlas compatibility with
EnsureDatabaseCreated
Maintenance
- Upgrade EF from 8.0.7 to 8.0.10
- Upgrade MongoDB.CSharp.Driver from 2.28.0 to 3.0.0
- Upgrade XUnit & Microsoft.Test.SDKs to latest
Full Changelog: v8.1.1...v8.2.0
v8.1.1
v8.1.0
WARNING
8.1.0 features breaking changes primarily related to transaction support and Guid binary storage but also to interfaces and classes not intended to be used directly by consumers of the provider. Please always read the Breaking Changes before upgrading from a prior version as our alignment with the EF Core Provider version number does not allow us to bump the major version number for breaking changes.
New features
- EF-81:
SaveChanges
&SaveChangesAsync
now perform their changes in an automatic transaction! (See the breaking changes doc for more information on server requirements) breaking - EF-154: Switch Guid binary format over to V3/Standard breaking
- EF-150: Optimistic concurrency support is now available using the
IsConcurrencyToken/ConcurrencyCheck
method/attribute for properties maintained by the developer andIsRowVersion/Timestamp
method/attribute for a versioning property maintained by the provider. - EF-47:
Dictionary
&ReadOnlyDictionary
properties on entities can now be mapped.
Bug fixes
- EF-157:
CamelCaseElementNameConvention
now cases owned entities based on their property name and not their type name breaking
Maintenance
- EF-151: Improve Nuget package hygiene - icons, README etc.
- EF-152: Migrate signing to Garasign
- Upgrade EF to 8.0.7 and MongoDB.Driver to 2.28.0
- Clean up some built-in convention mechanisms
- Add breaking changes doc
Full Changelog: v8.0.3...v8.1.0
v8.0.3
What's Changed
- Address compiler warnings by @damieng in #113
- EF-148: Fix Evergreen link in SSDLC report by @sanych-sun in #114
- Bump Driver version by @sanych-sun in #115
- Fix smoke tests by @sanych-sun in #116
Full Changelog: v8.0.2...v8.0.3
v8.0.2
New
- Decimal128<>Decimal default value converter EF-125
- HasBsonRepresentation fluent property configuration EF-127
- BsonRepresentationAttribute support EF-44
- Null to entity/owned entity predicate support EF-131
- Compiled model support EF-144
- Signed binary releases EF-121
Fixes
- Use specified DateTimeKind not just local time
- Revert back to Mongo C# Driver's automatic enum mapping and conversion
- Log MQL even when LINQ driver throws EF-142
Housekeeping
- Updated to latest EF (8.0.6) & MongoDB C# Driver (2.26.0) etc.
- No longer uses reflection to obtain MQL for single-result queries
- Run tests on macOS 14 EF-134
- Minor code fixes to warnings raised by Coverity
- General test cleanup All tests now dispose DbContext
- Tests are now only run against MongoDB 5.0 or later EF-145
- Integrate with Silk and generate SBOM documents for releases EF-132
Full Changelog: v8.0.1...v8.0.2
v8.0.1
New
- IDatabaseCreator implemented so EnsureCreated and EnsureDeleted now available on DbContext (EF-114)
- Lists of Lists now available for primitive types (EF-116)
Fixed
- Owned entities do not duplicate in-memory when persisted then reloaded on same context (EF-115)
- Calling First/Single operations against two different types on same context no longer throws (EF-120)
Full Changelog: v8.0.0...v8.0.1