Skip to content

Releases: nhibernate/nhibernate-core

Release 4.1.1.GA

02 Feb 01:01
Compare
Choose a tag to compare

NHibernate 4.1.1 is now released.

For a list of resolved issues, see the release notes:
https://github.com/nhibernate/nhibernate-core/blob/4.1.1.GA/releasenotes.txt

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

Notes

The [NH-3904] has been reverted in favor of [NH-2401]: users now required to explicitly specify custom user type via MappedAs method if they want to use IUserType/ICompositeUserType type parameters in Linq queries, or implement generators the way they take the types into account.

Release 4.1.0.GA

18 Dec 17:35
Compare
Choose a tag to compare

NHibernate 4.1.0 is now released with 105 issues resolved.

For a list of resolved issues, see the release notes:
https://github.com/nhibernate/nhibernate-core/blob/4.1.0.GA/releasenotes.txt

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

Possible Breaking Changes Since 4.0

Proxies for classes that used lazy fields (not collections)
would have any exceptions from the entity wrapped in TargetInvocationException. This
wrapping exception have now been removed. Where relevant, you should instead catch
the original exception type you throw.

For LINQ queries, the startAt parameter and the return value for string.IndexOf() are
now correctly translated from .Net's 0-based indexing to SQL's 1-based indexing. LINQ
queries that are written to expect SQL semantics for IndexOf() will likely need to be
adjusted (NH-3846, NH-3901).
Example: A LINQ query should now use x=>x.Name.IndexOf("a") == -1 to pick objects where
the name doesn't contain the letter "a".

Build 4.0.2.GA

15 Nov 08:00
Compare
Choose a tag to compare

Bug

  • [NH-2779] - Session.Get() can throw InvalidCastException when log-level is set to DEBUG
  • [NH-2782] - Linq: selecting into a new array doesn't work
  • [NH-2831] - NH cannot load mapping assembly from GAC
  • [NH-3049] - Mapping by code to Field not working
  • [NH-3222] - NHibernate Futures passes empty tuples to ResultSetTransformer
  • [NH-3650] - ComponentAsId used more than once, cache first mapping and produces subsequently a sql select wrong
  • [NH-3709] - Fix Reference to One Shot Delete and Inverse Collections
  • [NH-3710] - Use of SetLockMode with DetachedCriteria causes null reference exception

Task

  • [NH-3697] - Ignore Firebird in NHSpecificTest.NH1981
  • [NH-3698] - NHSpecificTest.NH1989 fails for some drivers