Logo

NHibernate

The object-relational mapper for .NET

NHibernate 5.7 Released

NHibernate 5.7.0 is now released.

For a list of resolved issues & pull requests, see the milestone or the release notes.

Binaries are available on NuGet and SourceForge: https://sourceforge.net/projects/nhibernate/files/NHibernate/5.7.0/ https://www.nuget.org/packages/NHibernate/5.7.0

Highlights
  • NHibernate targets now directly include .NET 10. This new target comes with changes to adapt to the “first-class span types” C# 14 language feature which was breaking some NHibernate features.
  • 14 issues were resolved in this release.
Possible Breaking Changes
  • The NHibernate features using binary serialization will now throw a SerializationException for applications targeting .NET 10 or greater. These features can be restored by configuring a serialization strategy with your own custom strategy. (See Cfg.Environment.SerializationStrategy or set NHibernate.Util.SerializationConfiguration.Strategy.) See #3745.

Huge thanks to everyone involved in this release.


Posted Tue, 30 June 2026 04:09:18 PM by fredericDelaporte
Filed under: Release Notes

comments powered by Disqus
© NHibernate Community 2026