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
CSharpLegacybinary format toStandardformat.Modified the
IMongoClientWrapperinterface to provide service registration for theMongoClientWrapperclass. You should not implement theIMongoClientWrapperinterface in your application.The
CamelCaseElementNameConventioncases 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 theTimestampattribute
Support for mapping
DictionaryandReadOnlyDictionaryproperties
For more information about this release, see the v8.1.0 release notes.