NHibernate 5.2.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:
157 issues were resolved in this release.
insert="false" update="false"
.<element>
mapping). They will now throw.StringType
has gained case-sensitivity and culture parameters. Previously it was ignoring parameters. This type may change its behavior for any mapping having defined parameters for this type. See #1833.Hashtable
property instead of an IDictionary
is no more supported.Hashtable
instead of an IDictionary
is no more supported.^
or bxor
was exponentiating the arguments instead. It will now correctly apply the xor operator. (#
operator in PostgreSQL SQL.)WcfOperationSessionContext
has been removed from .Net Core and .Net Standard builds. See #1842.session_factory_name
setting in the configuration used to build them. This may mainly affect users of a distributed second level cache, if their cache implementation uses binary serialization. Affected classes are: CacheKey
, CollectionKey
, EntityKey
and EntityUniqueKey
.CultureInfoType
, TypeType
, UriType
, XDocType
, XmlDocType
.Dialect.GetIdentitySelectString
was called by the entity persisters with inverted parameter values: the table name in the column parameter, and the column name in the table parameter. No built-in dialects were using the parameter values. External dialects which were using it inverted (causing issues to collection persisters, which have always supplied them correctly) needs to be accordingly adjusted.IObjectFactory
some custom logic for instantiating value types will now need to supply their own result transformer if they were using AliasToBeanResultTransformer
with value types, or their own entity tuplizer if they were using value types as entities.IObjectFactory
some custom logic for instantiating their custom session contexts will have to implement ICurrentSessionContextWithFactory
and add a parameterless public constructor to their custom context, and move their custom instantiation logic from IObjectsFactory.CreateInstance(Type, object[])
to IObjectsFactory.CreateInstance(Type)
.AbstractPersistentCollection.AfterInitialize
does no more perform queued operations. Queued operations are now run by a later call to a new method, ApplyPendingOperations
. Concrete custom implementations relying on the queued operations to be done by their base AfterInitialize
will need to be changed accordingly.–
Huge thanks to everyone involved in this release.