Skip to content

Commit f824b0b

Browse files
Merge branch '5.2.x'
# Conflicts: # src/NHibernate.Test/Async/LinqBulkManipulation/Fixture.cs # src/NHibernate/Cfg/Configuration.cs
2 parents 5417dbc + c628337 commit f824b0b

26 files changed

+922
-30
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 5.2.3.{build}
1+
version: 5.2.5.{build}
22
image: Visual Studio 2017
33
environment:
44
matrix:

build-common/NHibernate.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
77
<VersionMinor Condition="'$(VersionMinor)' == ''">2</VersionMinor>
8-
<VersionPatch Condition="'$(VersionPatch)' == ''">3</VersionPatch>
8+
<VersionPatch Condition="'$(VersionPatch)' == ''">5</VersionPatch>
99
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
1010

1111
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>

build-common/common.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
<!-- This is used only for build folder -->
1515
<!-- TODO: Either remove or refactor to use NHibernate.props -->
16-
<property name="project.version" value="5.2.3" overwrite="false" />
17-
<property name="project.version.numeric" value="5.2.3" overwrite="false" />
16+
<property name="project.version" value="5.2.5" overwrite="false" />
17+
<property name="project.version.numeric" value="5.2.5" overwrite="false" />
1818

1919
<!-- properties used to connect to database for testing -->
2020
<include buildfile="nhibernate-properties.xml" />

releasenotes.txt

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
Build 5.2.5
2+
=============================
3+
4+
Release notes - NHibernate - Version 5.2.5
5+
6+
5 issues were resolved in this release.
7+
8+
** Bug
9+
10+
* #2075 Missing cast when comparing a guid and string columns in SAP SQL Anywhere
11+
* #2046 Fix nullable Guid ToString is not translated correctly on some dialects
12+
* #2043 System.Reflection.TargetException when an interface is used as class mapping proxy definition
13+
* #2040 Incorrect SQL when comparing a guid and string column in Sql Server
14+
15+
** Task
16+
17+
* #2086 Release 5.2.5
18+
19+
Build 5.2.4
20+
=============================
21+
22+
Release notes - NHibernate - Version 5.2.4
23+
24+
3 issues were resolved in this release. The dialect change has the side effect of
25+
re-enabling a hack used by NHibernate.Spatial, allowing Spatial users to upgrade
26+
to NHibernate 5.2.x. See NHibernate.Spatial#104.
27+
28+
##### Possible Breaking Changes #####
29+
* Using DML on an entity collection was applying the changes without
30+
filtering according to the entity. It will now throw a
31+
NotSupportedException.
32+
33+
** Bug
34+
35+
* #2020 Throw for DML on filter
36+
* #2011 Use a statically resolved dialect when building the session factory
37+
38+
** Task
39+
40+
* #2030 Release 5.2.4
41+
42+
As part of releasing 5.2.4, a missing 5.2.0 possible breaking change has been added about
43+
property-ref on null values. See 5.2.0 possible breaking changes.
44+
145
Build 5.2.3
246
=============================
347

@@ -74,6 +118,9 @@ Release notes - NHibernate - Version 5.2.0
74118
IDictionary is no more supported.
75119
* Querying a dynamic entity as a Hashtable instead of an IDictionary is no more
76120
supported.
121+
* A collection mapped with a `property-ref` will no more support being accessed
122+
when the referenced property is null. It will throw. Previously, the collection
123+
was not throwing but was always loaded empty.
77124
* With PostgreSQL, a HQL query using the bitwise xor operator "^" or "bxor"
78125
was exponentiating the arguments instead. It will now correctly apply the xor
79126
operator. (# operator in PostgreSQL SQL.)
@@ -295,6 +342,24 @@ Release notes - NHibernate - Version 5.2.0
295342
As part of releasing 5.2.0, a misnamed setting in 5.0.0 release notes has been fixed:
296343
transaction.use_connection_on_system_events correct name is transaction.use_connection_on_system_prepare
297344

345+
Build 5.1.5
346+
=============================
347+
348+
Release notes - NHibernate - Version 5.1.5
349+
350+
##### Possible Breaking Changes #####
351+
* Using DML on an entity collection was applying the changes without
352+
filtering according to the entity. It will now throw a
353+
NotSupportedException.
354+
355+
** Bug
356+
357+
* #2043 System.Reflection.TargetException when an interface is used as class mapping proxy definition
358+
* #2020 Throw for DML on filter
359+
360+
** Task
361+
* #2074 Release 5.1.5
362+
298363
Build 5.1.4
299364
=============================
300365

@@ -540,6 +605,24 @@ Release notes - NHibernate - Version 5.1.0
540605
As part of releasing 5.1.0, a missing 5.0.0 possible breaking change has been added about inequality semantic in LINQ
541606
queries. See 5.0.0 possible breaking changes.
542607

608+
Build 5.0.7
609+
=============================
610+
611+
Release notes - NHibernate - Version 5.0.7
612+
613+
##### Possible Breaking Changes #####
614+
* Using DML on an entity collection was applying the changes without
615+
filtering according to the entity. It will now throw a
616+
NotSupportedException.
617+
618+
** Bug
619+
620+
* #2043 System.Reflection.TargetException when an interface is used as class mapping proxy definition
621+
* #2020 Throw for DML on filter
622+
623+
** Task
624+
* #2073 Release 5.0.7
625+
543626
Build 5.0.6
544627
=============================
545628

src/NHibernate.Test/Async/LinqBulkManipulation/Fixture.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,18 @@ public void DeleteOnProjectionThrowsAsync()
12101210
}
12111211
}
12121212

1213+
[Test]
1214+
public async Task DeleteOnFilterThrowsAsync()
1215+
{
1216+
using (var s = OpenSession())
1217+
using (s.BeginTransaction())
1218+
{
1219+
var a = await (s.Query<SimpleEntityWithAssociation>().Take(1).SingleOrDefaultAsync());
1220+
var query = a.AssociatedEntities.AsQueryable();
1221+
Assert.That(() => query.DeleteAsync(), Throws.InstanceOf<NotSupportedException>());
1222+
}
1223+
}
1224+
12131225
#endregion
12141226
}
1215-
}
1227+
}

0 commit comments

Comments
 (0)