Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to What's New #4672

Merged
merged 1 commit into from
Mar 9, 2024
Merged

Updates to What's New #4672

merged 1 commit into from
Mar 9, 2024

Conversation

ajcvickers
Copy link
Member

No description provided.

@ajcvickers
Copy link
Member Author

ajcvickers commented Mar 8, 2024

These are the release notes for https://github.com/dotnet/efcore/releases/.


The team has been working primarily on EF Core internals, so there are no new big features in EF Core 9 (EF9) Preview 2. However, this means we really need people like you to run your code on these new internals and report back what you find. We want to fix bugs in the new internals as soon as possible in order to have a strong GA release later in the year.

That being said, there are several smaller enhancements included in preview 2, many contributed by our community. For full details, see What's new in EF Core 9. To discuss the EF9 release, go to Try EF Core 9 now! on GitHub.

Improved queries

  • Inlined uncorrelated subqueries
    • In EF8, an IQueryable referenced in another query may be executed as a separate database roundtrip.
    • See Inlined uncorrelated subqueries for full details.
  • New ToHashSetAsync methods
    • The ToHashSet methods have existed since .NET Core 2.0. In EF9, the equivalent async methods have been added.
    • See New ToHashSetAsync<T> methods for full details.

Improved model building

  • Specify caching for sequences
    • EF9 allows setting the caching options for database sequences for any relational database provider that supports this.
    • See Specify caching for sequences for full details.
  • Specify fill-factor for keys and indexes

Improved tooling

  • Fewer rebuilds when using dotnet ef tools
    • EF9 invalidates build caches less often, resulting in faster re-builds.
    • See Fewer rebuilds for full details.

Everything else in preview 2

Preview 2 contains:

EF Core 9 preview 2 (and Microsoft.Data.Sqlite) contains work from the EF Team at Microsoft (@roji @AndriySvyryd @maumar @ajcvickers) as well as contributions from the EF Core community. The community PRs in EF9 Preview 1 are:

@ErikEJ
Copy link
Contributor

ErikEJ commented Mar 8, 2024

@ajcvickers The link text for improved tooling section seems wrong

@roji
Copy link
Member

roji commented Mar 8, 2024

Love the new release notes! It also really neatly solves the problem of understanding what was introduced in which previews, without cluttering the "9.0 what's new" docs with per-preview info that most viewers probably don't need when reading it.

@roji
Copy link
Member

roji commented Mar 8, 2024

Also love the contributor PR mentions!

@ajcvickers ajcvickers merged commit 7d09410 into main Mar 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants