From 07bf7ff57d3b36191a852f4f17e69d2138cb6d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= Date: Tue, 28 Nov 2017 13:16:26 +0100 Subject: [PATCH 1/3] Add a missing breaking change. * Reported with #1438 --- releasenotes.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/releasenotes.txt b/releasenotes.txt index f2dff018e2b..1ae2fba06fe 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -1,4 +1,7 @@ -Build 5.0.1 +As part of releasing 5.0.2, a missing 5.0.0 possible breaking change has been added about Dialects requiring now +to be configured. See 5.0.0 possible breaking changes. + +Build 5.0.1 ============================= Release notes - NHibernate - Version 5.0.1 @@ -85,6 +88,9 @@ Build 5.0.0 the dialect. They resolve to 4000 length string and (28, 10) precision/scale decimals by default, and are trimmed down according to dialect. Those defaults can be overridden with query.default_cast_length, query.default_cast_precision and query.default_cast_scale settings. + * Dialects are now configurable. If you instantiate a dialect directly, make sure you call its Configure + method, with as argument the properties of a NHibernate Configuration object. You may use instead + Dialect.GetDialect methods, which configure the dialect before returning it. * Transaction scopes handling has undergone a major rework. See NH-4011 for full details. ** More transaction promotion to distributed may occur if you use the "flush on commit" feature with transaction scopes. Explicitly flush your session instead. Ensure it does not occur by disabling @@ -156,9 +162,6 @@ Release notes - NHibernate - Version 5.0.0 * [NH-3957] - Second level query cache may yields wrong cache entry * [NH-4001] - Remove ThreadSafeDictionary - - - ** Bug * [NH-926] - Identity insert fails with SQL Ce dialect and aggressive connection release mode. * [NH-1752] - NHibernate Date type converts to NULL From 70500af5a90a7263aed1f6e7cfc9f91c6b4247a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= Date: Tue, 28 Nov 2017 13:32:42 +0100 Subject: [PATCH 2/3] Release 5.0.2 --- GitReleaseManager.yaml | 5 +++++ build-common/NHibernate.props | 2 +- build-common/common.xml | 4 ++-- releasenotes.txt | 17 ++++++++++++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/GitReleaseManager.yaml b/GitReleaseManager.yaml index b30d2e56d13..5cf7b159f03 100644 --- a/GitReleaseManager.yaml +++ b/GitReleaseManager.yaml @@ -6,8 +6,13 @@ issue-labels-include: - "t: Improvement" - "t: Task" issue-labels-exclude: + - "r: Duplicate" + - "r: External Issue" + - "r: Not an Issue" + - "r: Obsolete" - "r: Rejected" - "r: Replaced" + - "t: Fix" issue-labels-alias: - name: "t: Bug" header: Bug diff --git a/build-common/NHibernate.props b/build-common/NHibernate.props index 3e215a00fab..6fd6f167d5f 100644 --- a/build-common/NHibernate.props +++ b/build-common/NHibernate.props @@ -2,7 +2,7 @@ 5 0 - 1 + 2 $(VersionMajor).$(VersionMinor).$(VersionPatch) diff --git a/build-common/common.xml b/build-common/common.xml index 9ab1bc28b9d..809899a1f13 100644 --- a/build-common/common.xml +++ b/build-common/common.xml @@ -30,8 +30,8 @@ - - + + diff --git a/releasenotes.txt b/releasenotes.txt index 1ae2fba06fe..3efd71c9c29 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -1,4 +1,19 @@ -As part of releasing 5.0.2, a missing 5.0.0 possible breaking change has been added about Dialects requiring now +Build 5.0.2 +============================= + +Release notes - NHibernate - Version 5.0.2 + +** Bug + * #1456 NH-4052 - Add missing serializable implementation + * #1453 Eliminate unnecessary AsyncLocal allocation if SessionId isn't changed + +** Improvement + * #1455 Reduces check session and set context id redundant calls + +** Task + * #1457 Release 5.0.2 + +As part of releasing 5.0.2, a missing 5.0.0 possible breaking change has been added about Dialects requiring now to be configured. See 5.0.0 possible breaking changes. Build 5.0.1 From 5a268d3cb3197151e3b6ab630a7169e7f14da485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= Date: Wed, 29 Nov 2017 00:14:26 +0100 Subject: [PATCH 3/3] Notes adjustment --- releasenotes.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/releasenotes.txt b/releasenotes.txt index 3efd71c9c29..82e5fa16756 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -5,10 +5,8 @@ Release notes - NHibernate - Version 5.0.2 ** Bug * #1456 NH-4052 - Add missing serializable implementation - * #1453 Eliminate unnecessary AsyncLocal allocation if SessionId isn't changed - -** Improvement * #1455 Reduces check session and set context id redundant calls + * #1453 Eliminate unnecessary AsyncLocal allocation if SessionId isn't changed ** Task * #1457 Release 5.0.2