Skip to content

Releases: mongodb/mongo-efcore-provider

v8.1.1

10 Sep 20:35
ea954cc
Compare
Choose a tag to compare

Fixes

  • EF-156: Ensure EF metadata used for querying owned items in collections
  • EF-163: Set V3 Guid mode at initialization
  • EF-162: Do not throw DbConcurrencyException when forcing modification state

Full Changelog: v8.1.0...v8.1.1

v8.1.0

15 Aug 21:59
752a162
Compare
Choose a tag to compare

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 and IsRowVersion/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

03 Jul 17:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.2...v8.0.3

v8.0.2

19 Jun 20:18
4887ae2
Compare
Choose a tag to compare

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

13 May 18:54
dcfa943
Compare
Choose a tag to compare

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

v8.0.0

30 Apr 21:27
e35328c
Compare
Choose a tag to compare

This is the general availability release for the 8.0.0 of the MongoDB EF Core Provider.