Skip to content

Commit

Permalink
Link to the 9.0 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Sep 13, 2024
1 parent c12440d commit 2f7ed1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conceptual/EFCore.PG/mapping/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ builder.Services.AddDbContext<MyContext>(options => options.UseNpgsql(

This configures all aspects of Npgsql to use your `Mood` enum - both at the EF and the lower-level Npgsql layer - and ensures that the enum is created in the database in EF migrations.

### [With an external NpgsqlDataSource](#tab/with-datasource)
### [With an external NpgsqlDataSource](#tab/with-external-datasource)

If you're creating an external NpgsqlDataSource and passing it to `UseNpgsql`, you must make sure to map your enum on that data independently of the EF-level setup:

Expand Down
3 changes: 3 additions & 0 deletions conceptual/EFCore.PG/release-notes/9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Npgsql.EntityFrameworkCore.PostgreSQL version 9.0 is under development; previews are available on [nuget.org](https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.PostgreSQL).

> [!NOTE]
> The following release notes and breaking changes are partial. More will be added nearer to the 9.0 final release.
## Improved configuration for enums and plugins

Previously, configuration around enums and plugins (NodaTime, NetTopologySuite) was complicated, requiring multiple setup actions at both the EF and the lower-level Npgsql layers. EF 9.0 improves the configuration story, allowing you to configure enums and plugins via a single EF gesture:
Expand Down
6 changes: 4 additions & 2 deletions conceptual/EFCore.PG/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
href: index.md
- name: Release notes
items:
- name: "9.0 (prerelease)"
href: release-notes/9.0.md
- name: "8.0"
href: release-notes/8.0.md
- name: "7.0"
href: release-notes/7.0.md
- name: "6.0"
href: release-notes/6.0.md
- name: Out of support
items:
- name: "7.0"
href: release-notes/7.0.md
- name: "5.0"
href: release-notes/5.0.md
- name: "3.1"
Expand Down

0 comments on commit 2f7ed1f

Please sign in to comment.