2.0 Release Notes
Version 2.0.0 of the Npgsql Entity Framework Core provider has been released and is available on nuget.org. This version works with version 2.0.0 of Entity Framework Core, and contains some new Npgsql features as well.
New Features
Aside from general EF Core features new in 2.0.0, the Npgsql provider contains the following major new features:
- PostgreSQL array operation translation (#120). While array properties have been supported since 1.1, operations on those arrays where client-evaluated. Version 2.0 will now translate array indexing,
.Contains()
,.SequenceEquals()
and.Length
. See the array mapping docs for more details. - A retrying execution strategy (#155), which will automatically retry operations on exceptions which are considered transient.
- PostgreSQL extensions are now included in scaffolded models (#102).
- More LINQ operations are translated to SQL, and more database scenarios are scaffolded correctly (see the docs).
Here's the full list of issues. Please report any problems to https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL.
Upgrading from 1.x
- Previously an Npgsql.EntityFrameworkCore.PostgreSQL.Design nuget package existed alongside the main package. Its contents have been merged into the main Npgsql.EntityFrameworkCore.PostgreSQL and no new version has been released.
- Specifying versions when specifying PostgreSQL extensions on your model is no longer supported - this was a very rarely-used feature which interfered with extension scaffolding.
Contributors
Thank you very much to the following people who have contributed to the individual 2.0.x. releases.
Milestone 2.0.2
Contributor | Assigned issues |
---|---|
@roji | 4 |
Milestone 2.0.1
Contributor | Assigned issues |
---|---|
@roji | 5 |
Milestone 2.0.0
Contributor | Assigned issues |
---|---|
@roji | 16 |