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

Support .NET 8 #95

Closed
raulidavid opened this issue Nov 15, 2023 · 4 comments
Closed

Support .NET 8 #95

raulidavid opened this issue Nov 15, 2023 · 4 comments

Comments

@raulidavid
Copy link

raulidavid commented Nov 15, 2023

Jiban.Domain -> Microsoft.EntityFrameworkCore 8.0.0 -> Microsoft.EntityFrameworkCore.Abstractions (>= 8.0.0)
Jiban.Domain -> AuthPermissions.AspNetCore 6.0.0 -> Npgsql.EntityFrameworkCore.PostgreSQL 7.0.0 -> Microsoft.EntityFrameworkCore.Abstractions (>= 7.0.0 && < 8.0.0). @JonPSmith

@JonPSmith
Copy link
Owner

Hi @raulidavid,

I will update AuthP library to .NET 8, but I have to update three of my libraries that AuthP uses to .NET 8 first. I'm currently waiting for the Npgsql.EntityFrameworkCore.PostgreSQL NuGet to get to .NET 8.

@raulidavid
Copy link
Author

@JonPSmith JonPSmith changed the title PLEASE JOHNP SMITH ADD COMPATIBILITY FOR .NET 8.0 Support .NET 8 Nov 23, 2023
@JonPSmith
Copy link
Owner

I have released various libraries see my twitter feed, some of which I needed to make AuthP supports .NET 8. However I found some breaking changes in the .NET 8. EF Core release that stops from AuthP working with .NET 8.

I will look at this but it will take some time. When I have solved these problems I will close this issue as completed.

@JonPSmith
Copy link
Owner

I have released AuthPermissions.AspNetCore 6.1.0. The release adds .NET 8 support to this library, so version 6.1.0 supports .NET 6, 7, and 8.

This release took some time because:

  1. Creating libraries that supports multiple .NET releases is complex.
  2. The AuthP library if very big, and its easy to miss a change to NuGet libraries. That's why you MUST have unit tests for each .NET release version.
  3. There were two changes in the .NET 8 EF Core code that caused problems in the unit tests and require extra code.

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

No branches or pull requests

2 participants