Skip to content

Commit

Permalink
Merge branch '4.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarb committed Dec 18, 2016
2 parents 9efd3c3 + ac7a6f1 commit 8671389
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions releasenotes.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
Build 4.1.0.CR1
Build 4.1.0.GA
=============================

##### Possible Breaking Changes #####
##### Possible Breaking Changes Since 4.0 #####
Proxies for classes that used lazy fields (not collections)
would have any exceptions from the entity wrapped in TargetInvocationException. This
wrapping exception have now been removed. Where relevant, you should instead catch
the original exception type you throw.

For LINQ queries, the startAt parameter and the return value for string.IndexOf() are
now correctly translated from .Net's 0-based indexing to SQL's 1-based indexing. LINQ
queries that are written to expect SQL semantics for IndexOf() will likely need to be
asjusted (NH-3846, NH-3901).
Example: A LINQ query should now use 'x=>x.Name.IndexOf("a") == -1' to pick objects where
the name doesn't contain the letter "a".
For LINQ queries, the startAt parameter and the return value for string.IndexOf() are
now correctly translated from .Net's 0-based indexing to SQL's 1-based indexing. LINQ
queries that are written to expect SQL semantics for IndexOf() will likely need to be
adjusted (NH-3846, NH-3901).
Example: A LINQ query should now use 'x=>x.Name.IndexOf("a") == -1' to pick objects where
the name doesn't contain the letter "a".

** Bug
* [NH-3885] - ThreadSafeDictionary is not threadsafe


Build 4.1.0.CR1
=============================

** Bug
* [NH-2038] - No substring length check in RemoveAsAliasesFromSql
Expand Down Expand Up @@ -47,7 +54,7 @@ Build 4.1.0.CR1
* [NH-3666] - Setting native sql query cachable causes ArgumentNullException in CacheableResultTransformer.
* [NH-3681] - NHibernate.HibernateException: Query Source could not be identified, when using join group and Sum()
* [NH-3706] - NHibernate.Transform.Transformers should be static class
* [NH-3727] - Criteria which use SubqueryProjection. Cannot be executed more than once. Second try throws exception.
* [NH-3727] - Criteria which use SubqueryProjection. Cannot be executed more than once. Second try throws exception.
* [NH-3741] - Many to Many mapping against interfaces fails (reverts to using ElementRelationMapper instead of ManyToManyRelationMapper)
* [NH-3743] - Fetch with GroupBy throws NullReferenceException
* [NH-3747] - Very weak support for predicates in Linq Aggregate functions
Expand Down Expand Up @@ -445,6 +452,13 @@ Build 4.0.0.Alpha1
* [NH-3347] - Remove obsolete dialects for NH4


Build 3.4.1.GA
=============================

** Bug
* [NH-3795] - C# compiler "Roslyn" regression


Build 3.4.0.GA
=============================
** Known BREAKING CHANGES from NH3.3.0.GA to NH3.4.0.GA
Expand Down Expand Up @@ -531,6 +545,14 @@ Build 3.4.0.CR1
** Task
* [NH-3251] - Update to antlr 3.5.0.2


Build 3.3.5.GA
=============================

** Bug
* [NH-3795] - C# compiler "Roslyn" regression


Build 3.3.4.GA
=============================

Expand Down

0 comments on commit 8671389

Please sign in to comment.