Entity Framework Core 10 Preview 3 - Release Notes
April 10, 2025 ยท View on GitHub
Here's a summary of what's new in Entity Framework Core in this preview release:
Entity Framework Core 10 updates:
Improved experience when evolving the model on Azure Cosmos DB for NoSQL
In previous versions of EF Core, evolving the model when using Azure Cosmos DB was quite painful. Specifically, when adding a new required property to the entity, EF would no longer be able to materialize that entity. The reason was that EF expected a value for the new property (since it was required), but the document created before the change didn't contain those values. The workaround was to mark the property as optional first, manually add default values for the property, and only then change it to required.
In EF 10 Preview 3 we improved this experience - EF will now materialize a default value for a required property, if no data is present for it in the document, rather than throw.
Small improvements
- Redact inlined constants from log when sensitive logging is off (#35724).
- Improve LoadExtension to work correctly with dotnet run and lib* named libs (#35617, contributed by @krwq).
Everything else in Preview 3
Preview 3 contains: