Skip to content

Commit

Permalink
Release 5.0.7 (#2073)
Browse files Browse the repository at this point in the history
And back-port from 5.1.x/5.2.x some missing breaking changes for 5.0.0
  • Loading branch information
fredericDelaporte authored Mar 24, 2019
1 parent 7a59132 commit 6e6e402
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-common/NHibernate.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">0</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">6</VersionPatch>
<VersionPatch Condition="'$(VersionPatch)' == ''">7</VersionPatch>
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>

<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
Expand Down
4 changes: 2 additions & 2 deletions build-common/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

<!-- This is used only for build folder -->
<!-- TODO: Either remove or refactor to use NHibernate.props -->
<property name="project.version" value="5.0.6" overwrite="false" />
<property name="project.version.numeric" value="5.0.6" overwrite="false" />
<property name="project.version" value="5.0.7" overwrite="false" />
<property name="project.version.numeric" value="5.0.7" overwrite="false" />

<!-- properties used to connect to database for testing -->
<include buildfile="nhibernate-properties.xml" />
Expand Down
31 changes: 30 additions & 1 deletion releasenotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
Build 5.0.6
Build 5.0.7
=============================

Release notes - NHibernate - Version 5.0.7

##### 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

* #2043 System.Reflection.TargetException when an interface is used as class mapping proxy definition
* #2020 Throw for DML on filter

** Task
* #2073 Release 5.0.7

As part of releasing 5.0.7, missing 5.0.0 possible breaking changes have been added. One is about future queries with data
providers not actually supporting them. The other one is about inequality semantic in LINQ queries. See 5.0.0 possible
breaking changes.

Build 5.0.6
=============================

Release notes - NHibernate - Version 5.0.6
Expand Down Expand Up @@ -137,6 +159,10 @@ 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.
* Future queries with data provider not actually supporting them (not supporting mutliple queries in a single
SQL command) are no more immediately executed at the .Future call. They are executed only when directly
enumerated or when their IFutureEnumerable.GetEnumerable method is called. (This aligns them with the behavior
of FutureValue.)
* 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.
Expand All @@ -154,6 +180,9 @@ Build 5.0.0
already doing CriteriaImpl.UniqueResult<T>.
* AliasToBeanResultTransformer property/field resolution logic has changed for supporting members
which names differ only by case. See NH-3693 last comments for details.
* Linq inequality implementation has been changed for supporting null, meaning that a "a != b" expression
will now be considered matching if one side is null, while previously due to SQL null semantic it was
considered non-matching. See NH-3100.
* Linq extension methods marked with attribute LinqExtensionMethod will no more be evaluated
in-memory prior to query execution when they do not depend on query results, but will always be
translated to their corresponding SQL call. This can be changed with a parameter of the attribute.
Expand Down

0 comments on commit 6e6e402

Please sign in to comment.