What's New
On this page
Learn what's new in:
Important
To ensure that the provider major version number aligns with Entity Framework Core versions, the MongoDB Entity Framework Core Provider does not limit breaking changes to major version releases. Instead, breaking and significant changes are made in minor version releases.
What's New in 8.1
Warning
Breaking Changes
The v8.1 provider introduces the following breaking changes:
The EF Core Provider runs all changes as MongoDB transactions. If your application uses a MongoDB Server version earlier than v5.0, or does not run in a replica set, you must reconfigure your application.
Changed the default GUID storage format from
CSharpLegacy
binary format toStandard
format.Modified the
IMongoClientWrapper
interface to provide service registration for theMongoClientWrapper
class. You should not implement theIMongoClientWrapper
interface in your application.The
CamelCaseElementNameConvention
cases owned entities based on their property name instead of their class name.
For more information about these breaking changes, see Version 8.1.0 Breaking Changes in the Upgrade Provider Version guide.
The 8.1 provider release includes the following new features:
Support for optimistic concurrency through the following:
IsConcurrencyToken()
method or theConcurrencyCheck()
attributeIsRowVersion()
method or theTimestamp
attribute
Support for mapping
Dictionary
andReadOnlyDictionary
properties
For more information about this release, see the v8.1.0 release notes.