We do not need to publish a new version for .Net7 or 8 to have NHibernate 
work with them. NHibernate is compatible with them since long (version 5.1, 
released in 2018).

Have you check the Nuget Framework tab 
<https://www.nuget.org/packages/NHibernate#supportedframeworks-body-tab>? 
Why do you think it is not supported? A library does not need to target 
explicitly each new release of the framework to be compatible with it.
It only needs to do so when the library developers want to use new features 
of the newer framework release.

If that is the library consumer who wants to use new features of the newer 
framework release, depending on a library targeting an older does not 
prevent it in most cases.
NHibernate having some advanced interaction logic with the user code, such 
as building proxies of user classes, sometimes we may need to adapt to new 
features of newer frameworks to allow them to be used by the user, like here 
<https://github.com/nhibernate/nhibernate-core/pull/3298>, for supporting a 
.Net 7 feature. But we did not even had to target that framework to support 
this new feature.


On Thursday, June 22, 2023 at 10:26:57 PM UTC+2 [email protected] wrote:

> Hello,
>
> I'm using NHibernate with .Net 5 to work with a MariaDb database and I 
> have no problem.
>
> I have to migrate my code to .Net 7 (and maybe soon .Net 8) and I'm 
> surprised because i'm not seeing support for .Net 7 in the latest nuget 
> 5.4.2 release (https://www.nuget.org/packages/NHibernate).
>
> .Net 7 has been released since novembre 22 so why NHibernate has no 
> support for it?
> Did I have to change my ORM for future migration?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/90db6b87-37ce-4b55-a824-809c2a41f9a2n%40googlegroups.com.

Reply via email to