Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Oct 13, 2024

  • EF 9.0.0-rc.2.24474.1
  • Npgsql 8.0.5
  • dotnet SDK 9.0.100-rc.2

* EF 9.0.0-rc.2.24474.1
* Npgsql 8.0.5
* dotnet SDK 9.0.100-rc.2
@roji roji enabled auto-merge (squash) October 13, 2024 18:38
@roji roji disabled auto-merge October 13, 2024 18:50
@roji roji merged commit 8d6301c into npgsql:main Oct 13, 2024
@roji roji deleted the Sync branch October 13, 2024 18:50
<EFCoreVersion>[9.0.0-rc.2.24460.3]</EFCoreVersion>
<MicrosoftExtensionsVersion>9.0.0-rc.2.24456.9</MicrosoftExtensionsVersion>
<NpgsqlVersion>8.0.4</NpgsqlVersion>
<EFCoreVersion>[9.0.0-rc.2.24474.1]</EFCoreVersion>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is EF Core version defined as an exact version?
I'm trying to upgrade to .NET 9 and am facing issues because it wants this exact version of EF to be installed.

Suggested change
<EFCoreVersion>[9.0.0-rc.2.24474.1]</EFCoreVersion>
<EFCoreVersion>9.0.0-rc.2.24474.1</EFCoreVersion>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there are frequently breaking changes between previews, and mixing preview versions is generally untested. Since EFCore.PG previews are frequently a bit delayed compared to the EF previews, people very frequently try to mix them together and open issues. I then have to close those issues and tell people to wait for the EFCore.PG preview version that corresponds to the EF one.

For the actual released version, an exact version match isn't required - it's OK to mix different patch versions from EFCore.PG and EF (but major version mixing still isn't allowed).

@weitzhandler
Copy link

Hi,

Why is it necessary that EF Core version matches an exact version?
Please see my comment

WhatzGames pushed a commit to WhatzGames/efcore.pg that referenced this pull request Dec 18, 2024
* EF 9.0.0-rc.2.24474.1
* Npgsql 8.0.5
* dotnet SDK 9.0.100-rc.2
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.

2 participants