Skip to content

Releases: mongodb/mongo-efcore-provider

v9.0.0

16 Apr 12:52
9594f32
Compare
Choose a tag to compare

WARNING

9.0.0 includes breaking changes related to nullable properties and alternative BSON representations. Please read the Breaking Changes before upgrading.

New Features since 9.0.0-preview.1

Changes since 9.0.0-preview.1

  • EF-201: Apply HasBsonRepresentation to nullable properties by @damieng
  • EF-199: Allow navigation collections to be tested for nullability (thanks Marcelo Feodrippe)

Maintenance

  • Upgrade EF dependency to 9.0.4
  • Upgrade MongoDB.Driver dependency to 3.3.0
  • EF-198: Add queryable encryption test coverage by @damieng
  • Improve test coverage for queryable encryption, DbContextPool+AutoTransactionBehavior and Dictionary properties with struct values

Full Changelog: v9.0.0-preview.1...v9.0.0

v8.3.0

16 Apr 12:33
9594f32
Compare
Choose a tag to compare

WARNING

8.3.0 includes breaking changes related to nullable properties and alternative BSON representations. Please read the Breaking Changes before upgrading.

New Features

Changes

  • EF-201: Apply HasBsonRepresentation to nullable properties by @damieng
  • EF-199: Allow navigation collections to be tested for nullability (thanks Marcelo Feodrippe)

Maintenance

  • Upgrade EF dependency to 8.0.13
  • Upgrade MongoDB.Driver dependency to 3.3.0
  • EF-198: Add queryable encryption test coverage by @damieng
  • Improve test coverage for queryable encryption, DbContextPool+AutoTransactionBehavior and Dictionary properties with struct values

Full Changelog: v8.2.3...v8.3.0

v9.0.0-preview.1

07 Mar 17:48
810c0f9
Compare
Choose a tag to compare
v9.0.0-preview.1 Pre-release
Pre-release

EF Core 9 compatible preview release.

v8.2.3

20 Feb 18:51
7a1999a
Compare
Choose a tag to compare

New Features

  • EF-77: Support for top-level scalars (sum, average, min, max etc) #185
  • EF-189: Support ObjectId generation for string id stored as ObjectId #188

Changes

  • EF-188: Do not throw when BSON element missing for an owned collection #187

Maintenance

  • Improve discriminator functional tests #189

Full Changelog: v8.2.2...v8.2.3

v8.2.2

05 Feb 20:55
9337364
Compare
Choose a tag to compare

New Features

  • EF-174: Provide conflicting entries when throwing DbUpdateConcurrencyException
  • EF-129: Support value converters against nullable properties
  • EF-183: Support HasIndex on owned entities
  • EF-186: Support byte arrays/binary properties

Fixes

  • EF-182: Stop EF from defaulting key properties as ValueGenerated.OnAdd
  • EF-159: Make ValueConverters respect BsonRepresentation

Maintenance

  • Add client side encryption tests
  • Upgrade dependencies

Full Changelog: v8.2.1...v8.2.2

v8.2.1

12 Dec 21:23
19297e8
Compare
Choose a tag to compare

New Features

  • EF-42: Support EF shadow properties
  • EF-173: Support HasIndex by creating indexes during CreateDatabase
  • EF-178: Support Mql.Exists, IsMissing & IsNullOrMissing
  • Preliminary support for EF lazy loading proxies via Microsoft.EntityFrameworkCore.Proxies

Fixes

  • Fix docs typo for CamelCaseElementNameConvention in README.md
  • EF-180: Ensure operations after OfType use entity serializer/EF metadata

Maintenance

  • Update MongoDB.Driver from 3.0.0 to 3.1.0

Full Changelog: v8.2.0...v8.2.1

v8.2.0

28 Oct 23:28
0ca2e2b
Compare
Choose a tag to compare

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

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.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

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.

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

Maintenance

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