Skip to content

Commit 90368ca

Browse files
Release 5.4.0
fix #3195
1 parent e5ad951 commit 90368ca

File tree

4 files changed

+185
-3
lines changed

4 files changed

+185
-3
lines changed

GitReleaseManager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ issue-labels-exclude:
1313
- "r: Obsolete"
1414
- "r: Rejected"
1515
- "r: Replaced"
16+
- "r: Reverted"
1617
- "t: Fix"
1718
issue-labels-alias:
1819
- name: "t: Bug"

ReleaseProcedure.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ These are the tasks typically needed to create an official NHibernate release.
33
* In GitHub, make sure no open issues have milestone set to the release
44
that is about to happen (as these will show in the milestone).
55

6-
* Restore local dotnet tools: `dotnet tool restore`
6+
* From inside nhibernate-core folder, restore local dotnet tools: `dotnet tool restore`
77

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

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.4</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'">9.0</LangVersion>
1010

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

releasenotes.txt

Lines changed: 182 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,185 @@
1-
Build 5.3.14
1+
Build 5.4.0
2+
=============================
3+
4+
Release notes - NHibernate - Version 5.4.0
5+
6+
** Highlights
7+
* A new batching strategy is available, minimizing the batching memory footprint. See #2959. Using it may increase CPU usage.
8+
* 199 issues were resolved in this release.
9+
10+
##### Possible Breaking Changes #####
11+
* Linq and criteria queries on unmapped entities will throw instead of returning an empty result list. See #1106, #1095.
12+
* The second level cache update timestamps cache do no more use locks. This may slightly increases the cases where stale data may by returned by the query cache.
13+
* Equality and hashcode access on uninitialized persistent collections will no more trigger their loading. See #2461.
14+
* DB2CoreDriver now uses named parameters instead of positional ones. See #2546.
15+
16+
** Bug
17+
18+
* #3189 Support proxies of classes with init properties
19+
* #3188 No way of detecting if AutoFlush performed in added AutoFlushEventListener
20+
* #3176 Cached entity always fetches lazy properties with read-write concurrency strategy
21+
* #3156 Evaluation failure when using `Nullable` without a value in LINQ
22+
* #3150 LINQ query dynamic component by interface hangs the application
23+
* #3109 Fix table group join issue with subclasses
24+
* #3104 Inner Join fails with left Outer Join when referenced in Where clause
25+
* #3076 Nested group by results in "A recognition error occured"
26+
* #2968 Fix QueryStatistics.ExecutionAvgTime calculation
27+
* #2827 Fix BadImageFormatException in dynamic proxies for abstract classes and interfaces
28+
* #2822 "A recognition error ocurred" querying by a nullable component with more than N properties
29+
* #2758 Fix AmbiguousMatchException in ClearPool with FirebirdClient 6.6.0 and above
30+
* #2750 Using System.Transaction with IStatelessSession doesn't always flush batches to database
31+
* #2738 Unused Left Join in LINQ throws exception
32+
* #2717 MappingByCode discriminator column with string type throws exception
33+
* #2675 Fix collection lazy loading with composite keys on subclass columns
34+
* #2672 Linq query failure with left joins
35+
* #2619 InvalidOperationException in ProxyGenerator for class with generic non-virtual method
36+
* #2614 Obvious bug in two HQLQueryPlan classes with distinction Set
37+
* #2594 Wrong SQL produced by DML LINQ when using a select clause for a property referencing the outer select
38+
* #2555 Add spaces around concat operator
39+
* #2552 One-to-one second level cache issue
40+
* #2548 Mark DB2Dialect as not supporting null columns in unique constraint
41+
* #2547 Fix paging in DB2Dialect
42+
* #2540 Unable to use external predicate in subquery
43+
* #2534 Fix asymmetrical SqlType.Equals
44+
* #2454 ConditionalProjection containing the correlation to outer query fails to determine projection type
45+
* #2330 join on multiple conditions
46+
* #2201 Fetch Join generates incorrect SQL joins for the same entity type
47+
* #2092 Projection and join fetch in hql leads to duplicated column aliases
48+
* #1365 NH-3288 - Stale data checking does not work for one-to-one associations
49+
* #1349 NH-3893 - HQL parse error of a query with 'left' or 'right' function
50+
* #1326 NH-3622 - Fetching in query causes incorrect/missing joins in subquery
51+
* #1316 NH-3530 - memory when using default_batch_fetch_size
52+
* #1235 NH-2785 - StaleStateExceptions discarded on optional <join> table
53+
* #1215 NH-2208 - Error with filters on joined-subclass as many-to-one
54+
* #1209 NH-2049 - Error with filters on joined-subclass as one-to-one
55+
* #1180 NH-3847 - ConditionalProjection throws "Both true and false projections must return the same types" when the types are the same
56+
* #1106 NH-2978 - LINQ: Queries for unmapped entity types return empty result set
57+
* #1075 NH-2239 - Wrong OrderBy in generated SQL when using ICriteria, Eager fetching and order by clauses in collection mappings
58+
* #1072 NH-2174 - Invalid SQL is generated for OneToMany collections
59+
* #1062 NH-1893 - Trigger-Identity with Dynamic Insert throws ORA-01036 (10g)
60+
61+
** New Feature
62+
63+
* #2959 Support Dynamic BatchFetchStyle
64+
* #2744 Set which entities classes should never be cached, even indirectly
65+
* #2737 Add more left join support
66+
* #2645 Allow specifying the size of the query plan cache
67+
* #2641 Avoid InvalidCastException with Oracle number high precision values
68+
* #2551 Add support for joining a subquery in hql
69+
* #2545 Table group joins for subclasses in Criteria
70+
* #2486 Add Projections.Select in Criteria
71+
* #2361 Table group joins support in hql
72+
73+
** Improvement
74+
75+
* #3184 Support caching queries with autodiscovered types
76+
* #3177 Disable default caching in tests
77+
* #3160 Allow internal entity classess/interfaces in .NET Standard 2.0
78+
* #3133 Automatically generate async code on pull request
79+
* #3127 Register IType CLR types as aliases
80+
* #3116 Simplify SqlGenerator.FromFragmentSeparator
81+
* #3114 Exclude generated async files from Deepsource analysis
82+
* #3106 Skip table group join processing for implicit join
83+
* #3091 Use GitReleaseManager dotnet tool
84+
* #3083 Update SHFB in order to build documentation without MSBuild
85+
* #3050 Add .NET Standard 2.1 target
86+
* #3027 Avoid allocations on lock in SyncCacheLock
87+
* #3000 Add .net 6 and net48 targets
88+
* #2990 Use inner join instead of implicit join for implied entity joins
89+
* #2957 Avoid lambda compilation as much as possible
90+
* #2948 Avoid lambda compilation for member access expressions in LINQ
91+
* #2947 LINQ queries triggers JIT a bit too much
92+
* #2920 Add parameter type to ADO exception
93+
* #2804 Projections.Conditional for CASE expressions with multiple conditions
94+
* #2752 Change cascade style for DefaultDirtyCheckEventListener to persist to avoid flushing the session
95+
* #2742 Remove locks from UpdateTimestampsCache
96+
* #2723 Avoid double param type guessing and better NULL parameter handling in LINQ
97+
* #2706 Set the rolledBack flag when disposing active transactions
98+
* #2700 Potential improvement to AliasToBeanResultTransformer
99+
* #2621 Regression bug with enums used as parameter for string column
100+
* #2571 Default value for CancellationToken in IQueryBatch.GetResultAsync
101+
* #2568 Support internal entity classes by proxy factory
102+
* #2556 Register right function for Firebird and PostgreSQL
103+
* #2546 Enable named parameters on DB2CoreDriver
104+
* #2539 Skip no longer needed moving ON condition to Where clause in LINQ
105+
* #2538 Remove no longer needed alias substitution for filtered many-to-many collection in hql
106+
* #2518 Support Aggregate subqueries with paging on MS SQL Server
107+
* #2510 Remove OrderByClause from query models with Contains, All and Any result operators
108+
* #2492 Replace casting with NodeType checks in Criteria ExpressionProcessor
109+
* #2479 When using a paged sub-query in Linq, generates incorrect SQL
110+
* #2461 Remove persistent collections Equals/GetHashCode overrides
111+
* #2460 Simplify single alias retrieval for SimpleProjections
112+
* #2448 Avoid lambda compilation for constant and member access expressions in Criteria
113+
* #1285 NH-3249 - Cannot perform HQL with "COUNT(DISTINCT Date(s.Date))"
114+
* #1244 NH-2868 - Generate method of ForeignGenerator fails with stateless sessions
115+
* #1095 NH-2829 - QueryOver/Criteria should throw exception when querying against unmapped class
116+
* #871 NH-3115 - Should de-duplicate joins when using fetching with where in LINQ query
117+
* #869 NH-2952 - Setting the SqlCheck is not supported in the ByCode mapping
118+
* #809 NH-2799 - Provide the CancelQuery() method in IStatelessSession
119+
* #766 NH-3813 - Eager fetch on key-many-to-one relation adds inner joins to the query
120+
* #715 NH-1040 - property-ref on joined-subclasses should work or error
121+
122+
** Task
123+
124+
* #3195 Release NHibernate 5.4
125+
* #3161 Tell NuGet about the readme file
126+
* #3147 Add `datetimex` keyword to SapSQLAnywhere17Dialect
127+
* #3146 Run tests against Oracle XE 21c
128+
* #3123 Update dependency Npgsql to v6
129+
* #3121 Update dependency Microsoft.NETFramework.ReferenceAssemblies to v1.0.3
130+
* #3119 Update actions/setup-dotnet action to v2
131+
* #3118 Update actions/checkout action to v3
132+
* #3117 Update dependency NSubstitute to v4.4.0
133+
* #3111 Update dependency log4net to v2.0.15
134+
* #3080 Replace Dependabot with Renovate
135+
* #3063 Bump Oracle.ManagedDataAccess from 19.12.0 to 21.6.1
136+
* #3061 Bump Oracle.ManagedDataAccess.Core from 2.19.120 to 3.21.61
137+
* #3059 Bump log4net from 2.0.12 to 2.0.14
138+
* #3057 Run tests using .NET 4.8
139+
* #3017 Add deepsource.io code analysis
140+
* #3002 Bump NUnit3TestAdapter from 4.1.0 to 4.2.1
141+
* #2987 Disable auto rebasing for depandabot PRs
142+
* #2951 Run tests on .NET 6
143+
* #2946 Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1
144+
* #2936 Bump System.Data.SQLite.Core from 1.0.114.3 to 1.0.115.5
145+
* #2911 Bump System.Data.SqlClient from 4.8.2 to 4.8.3
146+
* #2898 Bump FirebirdSql.Data.FirebirdClient from 6.6.0 to 8.5.2
147+
* #2887 Bump Oracle.ManagedDataAccess from 19.11.0 to 19.12.0
148+
* #2886 Bump Oracle.ManagedDataAccess.Core from 2.19.110 to 2.19.120
149+
* #2878 Bump System.Linq.Dynamic.Core from 1.2.10 to 1.2.12
150+
* #2870 Bump MySql.Data from 8.0.25 to 8.0.26
151+
* #2851 Cache Dialect in tests
152+
* #2818 Bump Microsoft.Data.SqlClient from 2.1.3 to 3.0.0
153+
* #2800 Bump System.Data.SQLite.Core from 1.0.113.7 to 1.0.114.2
154+
* #2799 Bump Npgsql from 4.0.3 to 4.1.9
155+
* #2796 Bump System.Linq.Dynamic.Core from 1.2.9 to 1.2.10
156+
* #2790 Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
157+
* #2786 Bump Microsoft.Data.SqlClient from 2.1.2 to 2.1.3
158+
* #2771 Bump MySql.Data from 8.0.22 to 8.0.25
159+
* #2770 Bump System.Data.SQLite.Core from 1.0.109.2 to 1.0.113.7
160+
* #2765 Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2
161+
* #2759 Enable dependabot
162+
* #2756 Update dependencies
163+
* #2607 Merge 5.3.5
164+
* #2605 Upgrade AsyncGenerator to 0.19.1
165+
* #2593 Merge 5.3.4
166+
* #2582 Remove no longer used code in QueryModelVisitor
167+
* #2570 Update Relinq and LinFu links
168+
* #2516 Suppress Codefactor single class per file rule for test project
169+
* #2501 Upgrade MySql client and remove allowed failures on CI builds
170+
171+
** Tests
172+
173+
* #3024 Enable test accessing Component's Parent property in LINQ
174+
* #2921 Fix test for SAP SQL Anywhere
175+
* #2848 Add Oracle to GitHub Actions
176+
* #2541 LINQ SELECT tests with WHERE subquery
177+
* #2489 Improve CriteriaAssertFixture
178+
* #2456 Test case for #1180 and improve NullableType.ToString
179+
* #2242 Test case for NH-3972 - SQL error when selecting a column of a subclass when sibling classes have a column of the same name
180+
181+
182+
Build 5.3.14
2183
=============================
3184

4185
Release notes - NHibernate - Version 5.3.14

0 commit comments

Comments
 (0)