Skip to content

Commit 2b0e1f1

Browse files
Release 5.6.0 (#3696)
1 parent 9a7761b commit 2b0e1f1

File tree

5 files changed

+127
-13
lines changed

5 files changed

+127
-13
lines changed

ReleaseProcedure.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These are the tasks typically needed to create an official NHibernate release.
77

88
* Create a draft release in Github with GitReleaseManager. For example:
99

10-
dotnet gitreleasemanager create -o nhibernate -r nhibernate-core -m 5.3 --token yourGitHubTokenWithRepoScope
10+
dotnet gitreleasemanager create -o nhibernate -r nhibernate-core -m 5.3 --token yourGitHubTokenWithRepoContentWritePermission
1111

1212
(Adjust the -m milestone parameter above, and add "-c branchname" if
1313
releasing another branch than master)
@@ -27,6 +27,8 @@ dotnet gitreleasemanager create -o nhibernate -r nhibernate-core -m 5.3 --token
2727
* Check/update version number in NHibernate.props under build-common folder.
2828
Clear VersionSuffix if present.
2929

30+
* If releasing a new minor or major, check whether SECURITY.md should be updated or not.
31+
3032
* Don't forget to commit the above.
3133

3234
* Check the CI release build.

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
| Version | Supported |
66
| ------- | ------------------ |
7+
| 5.6.x | :white_check_mark: |
78
| 5.5.x | :white_check_mark: |
8-
| 5.4.x | :white_check_mark: |
9-
| < 5.4 | :x: |
9+
| < 5.5 | :x: |
1010

1111
## Reporting a Vulnerability
1212

build-common/NHibernate.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<NhVersion Condition="'$(NhVersion)' == ''" >5.6</NhVersion>
66
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
77
<!-- Clear VersionSuffix for making release and set it to dev for making development builds -->
8-
<VersionSuffix Condition="'$(VersionSuffix)' == ''">dev</VersionSuffix>
8+
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
99
<LangVersion Condition="'$(MSBuildProjectExtension)' != '.vbproj'">12.0</LangVersion>
1010

1111
<VersionPrefix Condition="'$(VersionPrefix)' == ''">$(NhVersion).$(VersionPatch)</VersionPrefix>

releasenotes.txt

Lines changed: 111 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,114 @@
1-
Build 5.5.3
1+
Build 5.6.0
2+
=============================
3+
4+
Release notes - NHibernate - Version 5.6.0
5+
6+
##### Possible Breaking Changes #####
7+
* A thread synchronization timeout may now occur in case of transaction scope timeout, throwing
8+
an additional exception. The additional throw can be disabled through the new setting
9+
`transaction.ignore_session_synchronization_failures`. See #3355.
10+
* The default value of `transaction.system_completion_lock_timeout` has been lowered from 5000
11+
(5 seconds) to 1000 (1 second). See #3355.
12+
* Binary serializations of a session factory or a session from previous versions of NHibernate
13+
will not be deserializable with NHibernate 5.6.
14+
* Oracle9iDialect now registers localtimestamp as current_timestamp, instead of systimestamp.
15+
See #3707.
16+
17+
76 issues were resolved in this release.
18+
19+
** Bug
20+
21+
* #3707 Register localtimestamp as current_timestamp in Oracle9iDialect
22+
* #3643 Collection cache lookup failure with enum keys
23+
* #3631 Missing version update on dirty collection with another property having optimistic-lock false
24+
* #3622 ISession.Refresh does not update lazy properties
25+
* #3618 ISQLQuery.ExecuteUpdate produces an exception in certain cases
26+
* #3602 Unable to implement custom tuplizer due to internal constructor
27+
* #3557 Fix configuration order in tests
28+
* #3546 Fix incorrect import in DynamicClassFixture
29+
* #3525 Querying Seconds on DateTime(Offset) can cause issues in e.g PostgreSQL
30+
* #3523 ScaleDefined is not set by SqlType ctor
31+
* #3519 Fix reference errors in XML comments
32+
* #3518 Add workaround for Rider to see the Antlr3 generated files at design time
33+
* #3498 collection [CollectionKey[]] not located in load context
34+
* #3480 Fix null reference exception when running tests with Npgsql 8
35+
* #3474 Unwanted implied commits may occur for Oracle and MySql
36+
* #3464 Remove duplicate entry in dialects documentation
37+
* #3424 Exception when using Future to load an entity with no-lazy children
38+
* #3421 Empty dynamic components cause phantom updates
39+
* #3355 InvalidOperationException on SequencedHashMap.OrderedEnumerator.MoveNext
40+
41+
** New Feature
42+
43+
* #3624 Add SybaseASE16Dialect with LIMIT and OFFSET pagination support
44+
* #3559 Add new DB2NetDriver and obsolete DB2CoreDriver
45+
* #3556 Add support for .NET 8 Math functions
46+
* #3461 Support for DbBatch
47+
48+
** Improvement
49+
50+
* #3703 Guidelines for handling breaking changes
51+
* #3687 Relax collection-id mapping
52+
* #3682 InternalsVisibleTo NHibernate.Test
53+
* #3676 When referencing a composite-id in Linq, the fkey table is wrongly joined
54+
* #3657 Allow thread safe usage of SessionFactoryObjectFactory
55+
* #3649 Improve some sparse arrays
56+
* #3640 Some string.Intern's for minimizing duplicate strings count
57+
* #3610 Eliminate memory allocations in GuidCombGenerator under .NET 8+
58+
* #3513 Int32Type: avoid unnecessary boxing for common cases
59+
* #3486 LinkedHashMap creates enormous amount of memory traffic
60+
* #3475 Adjust the doc about flush on commit
61+
* #3473 The sql type of the CultureInfoType is too short
62+
* #854 NH-1284 - Initialization of nullable structs component
63+
64+
** Task
65+
66+
* #3706 Update actions/setup-dotnet action to v5
67+
* #3705 Enable skip_branch_with_pr: true for appveyor
68+
* #3702 Configure backports with Mergify
69+
* #3701 Update dependency gitreleasemanager.tool to v0.20.0
70+
* #3696 Release 5.6.0
71+
* #3694 Merge 5.5.3 into master
72+
* #3690 Update actions/checkout action to v5
73+
* #3689 Update Microsoft.Data.SqlClient to v5
74+
* #3619 Update dependency gitreleasemanager.tool to 0.18.0
75+
* #3612 Update dependency log4net to v3
76+
* #3596 Migrate renovate config
77+
* #3594 Update dependency NUnit3TestAdapter to 4.6.0
78+
* #3593 Update dependency NUnit.Console to v3.18.1
79+
* #3590 Remove Microsoft.SourceLink.GitHub
80+
* #3581 Update dependency NUnit.Analyzers to v4.2.0
81+
* #3580 Update dependency log4net to v2.0.17
82+
* #3579 Merge 5.5.2 into master
83+
* #3574 Remove usage of NHIBERNATE_BOT_TOKEN
84+
* #3570 Fixing a typo in PersistEvent.cs
85+
* #3562 Migrate .NET Core PostgreSQL Windows tests from AppVeyor to GitHub Actions
86+
* #3561 Migrate .NET Core SQLite Windows tests from AppVeyor to GitHub Actions
87+
* #3555 Obsolete IValue SetTypeUsingReflection & associated methods
88+
* #3553 Obsolete ForeignKeys.IsNotTransientSlow
89+
* #3552 Cache zero values to reduce boxing in PrimitiveType.DefaultValue
90+
* #3549 Obsolete NullableType.Get by column name
91+
* #3543 Obsolete JoinedEnumerable
92+
* #3542 Add a security policy
93+
* #3533 Update Iesi.Collections to 4.1.1
94+
* #3532 Remove mentions of Prevalence cache from documentation
95+
* #3522 Fix NUnit2050 warnings
96+
* #3521 Update dependency NUnit.Analyzers to v4.1.0
97+
* #3510 Merge 5.5.1 into master
98+
* #3501 Update dependency NUnit.Console to v3.17.0
99+
* #3494 Add .NET 8.0 target
100+
* #3492 Add NUnit analyzers
101+
* #3484 Modernize the test case example
102+
* #3479 Update actions/setup-dotnet action to v4
103+
* #3477 Update dependency NSubstitute to v5.1.0
104+
* #3372 Update dependency gitreleasemanager.tool to v0.17.0
105+
106+
** Tests
107+
108+
* #3309 Test Case for Invalid SQL with property-ref on property using a formula
109+
110+
111+
Build 5.5.3
2112
=============================
3113

4114
Release notes - NHibernate - Version 5.5.3

src/NHibernate.sln

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 15
3-
VisualStudioVersion = 15.0.27130.2024
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36518.9 d17.14
45
MinimumVisualStudioVersion = 10.0.40219.1
56
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{593DCEA7-C933-46F3-939F-D8172399AB05}"
67
ProjectSection(SolutionItems) = preProject
8+
..\.editorconfig = ..\.editorconfig
9+
..\appveyor.yml = ..\appveyor.yml
710
AsyncGenerator.yml = AsyncGenerator.yml
11+
..\build-common\common.xml = ..\build-common\common.xml
812
..\default.build = ..\default.build
13+
..\global.json = ..\global.json
914
..\build-common\NHibernate.props = ..\build-common\NHibernate.props
1015
..\releasenotes.txt = ..\releasenotes.txt
11-
..\teamcity.build = ..\teamcity.build
12-
..\build-common\common.xml = ..\build-common\common.xml
13-
..\appveyor.yml = ..\appveyor.yml
1416
..\ReleaseProcedure.txt = ..\ReleaseProcedure.txt
15-
..\global.json = ..\global.json
16-
..\.editorconfig = ..\.editorconfig
17+
..\SECURITY.md = ..\SECURITY.md
18+
..\teamcity.build = ..\teamcity.build
1719
EndProjectSection
1820
EndProject
1921
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NHibernate", "NHibernate\NHibernate.csproj", "{5909BFE7-93CF-4E5F-BE22-6293368AF01D}"

0 commit comments

Comments
 (0)