NHibernate 5.0 Released

The NuGet Team has released a new version, NHibernate 5.0 of the renowned object-relational mapper for the .NET framework. The team has informed via a blog that the new release has fixes for around 141 issues and that the team is actively working on its development so as to make it more user-friendly and widely used.

 

Here is an excerpt from the announcement

 

Fixed Issues

  • IO bound methods have gained an async counterpart. Not intended for parallelism, make sure to await each call before further interacting with a session and its queries.
  • Strongly typed DML operation (insert/update/delete) are now available as Linq extensions on queryables.
  • Entities collections can be queried with .AsQueryable() Linq extension without being fully loaded.
  • Reference documentation has been curated and completed, notably with a Linq section. http://nhibernate.info/doc/nhibernate-reference/index.html

Breaking Changes

  • NHibernate now targets .Net 4.6.1.
  • Remotion.Linq and Antlr3 libraries are no more merged in the NHibernate library, and must be deployed along NHibernate library. (NuGet will reference them).
  • Classes and members which were flagged as obsolete in the NHibernate 4.x series have been dropped.
  • Prior to upgrading, fix any obsolete warning according to its message. See NH-4075 and NH-3684 for a list.”

For a complete list of breaking changes and resolved issues, you can read the release notes from GitHub. 

Up Next