From 1bd996f99d19bfaa8249c357daef3f9d140fe17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= <12201973+fredericdelaporte@users.noreply.github.com> Date: Sun, 24 Feb 2019 14:12:41 +0100 Subject: [PATCH 1/2] Release 5.2.4 --- appveyor.yml | 2 +- build-common/NHibernate.props | 2 +- build-common/common.xml | 4 ++-- releasenotes.txt | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fc6cc7f385f..70765f4d445 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 5.2.3.{build} +version: 5.2.4.{build} image: Visual Studio 2017 environment: matrix: diff --git a/build-common/NHibernate.props b/build-common/NHibernate.props index fb11d5fb3e2..9e59c2114bf 100644 --- a/build-common/NHibernate.props +++ b/build-common/NHibernate.props @@ -3,7 +3,7 @@ 5 2 - 3 + 4 $(VersionMajor).$(VersionMinor).$(VersionPatch) diff --git a/build-common/common.xml b/build-common/common.xml index 55a44ccb74b..e4639447d98 100644 --- a/build-common/common.xml +++ b/build-common/common.xml @@ -13,8 +13,8 @@ - - + + diff --git a/releasenotes.txt b/releasenotes.txt index a187de571f9..90ca4a0ab7d 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -1,3 +1,33 @@ +Build 5.2.4 +============================= + +Release notes - NHibernate - Version 5.2.4 + +4 issues were resolved in this release. The dialect change has the side effect of +re-enabling a hack used by NHibernate.Spatial, allowing Spatial users to upgrade +to NHibernate 5.2.x. See NHibernate.Spatial#104. + + ##### Possible Breaking Changes ##### + * Using DML on an entity collection was applying the changes without + filtering according to the entity. It will now throw a + NotSupportedException. + +** Bug + + * #2020 Throw for DML on filter + * #2011 Use a statically resolved dialect when building the session factory + +** Improvement + + * #1950 Caching of Property Dialect in class Configuration.Mapping + +** Task + + * #2030 Release 5.2.4 + +As part of releasing 5.2.4, a missing 5.2.0 possible breaking change has been added about +property-ref on null values. See 5.2.0 possible breaking changes. + Build 5.2.3 ============================= @@ -74,6 +104,9 @@ Release notes - NHibernate - Version 5.2.0 IDictionary is no more supported. * Querying a dynamic entity as a Hashtable instead of an IDictionary is no more supported. + * A collection mapped with a `property-ref` will no more support being accessed + when the referenced property is null. It will throw. Previously, the collection + was not throwing but was always loaded empty. * With PostgreSQL, a HQL query using the bitwise xor operator "^" or "bxor" was exponentiating the arguments instead. It will now correctly apply the xor operator. (# operator in PostgreSQL SQL.) From df17386557e9832aa75827a7f9a38778c898facf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= <12201973+fredericdelaporte@users.noreply.github.com> Date: Thu, 28 Feb 2019 23:58:20 +0100 Subject: [PATCH 2/2] fixup! Release 5.2.4 --- releasenotes.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/releasenotes.txt b/releasenotes.txt index 90ca4a0ab7d..4db8bb7aa9b 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -3,7 +3,7 @@ Build 5.2.4 Release notes - NHibernate - Version 5.2.4 -4 issues were resolved in this release. The dialect change has the side effect of +3 issues were resolved in this release. The dialect change has the side effect of re-enabling a hack used by NHibernate.Spatial, allowing Spatial users to upgrade to NHibernate 5.2.x. See NHibernate.Spatial#104. @@ -17,10 +17,6 @@ to NHibernate 5.2.x. See NHibernate.Spatial#104. * #2020 Throw for DML on filter * #2011 Use a statically resolved dialect when building the session factory -** Improvement - - * #1950 Caching of Property Dialect in class Configuration.Mapping - ** Task * #2030 Release 5.2.4