Skip to content

Commit 28a0a39

Browse files
committed
Release notes and prep version for 4.1.0.CR1.
1 parent 0769e2d commit 28a0a39

File tree

2 files changed

+116
-8
lines changed

2 files changed

+116
-8
lines changed

build-common/common.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
effectively SP0).
5353
-->
5454

55-
<property name="project.version" value="4.1.0.Alpha1" overwrite="false" />
55+
<property name="project.version" value="4.1.0.CR1" overwrite="false" />
5656

5757
<!-- This version number should be changed if, but only if, there are incompatible
5858
changes compared to the previous version. -->
59-
<property name="project.default-assembly-version" value="4.1.0.1001" overwrite="false" />
59+
<property name="project.default-assembly-version" value="4.1.0.3001" overwrite="false" />
6060

6161
<!-- Compute short project version (major.minor) using a regex -->
6262
<regex input="${project.version}" pattern="^(?'shortversion'\d+\.\d+)" />

releasenotes.txt

Lines changed: 114 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,117 @@
1-
Tentative for 4.1:
1+
Build 4.1.0.CR1
2+
=============================
3+
4+
##### Possible Breaking Changes #####
5+
Possible breaking change: Proxies for classes that used lazy fields (not collections)
6+
would have any exceptions from the entity wrapped in TargetInvocationException. This
7+
wrapping exception have now been removed. Where relevant, you should instead catch
8+
the original exception type you throw.
9+
10+
** Bug
11+
* [NH-2038] - No substring length check in RemoveAsAliasesFromSql
12+
* [NH-2127] - NHibernate cannot convert from decimal to int64 during OutputParamReturningDelegate.ExecuteAndExtract
13+
* [NH-2167] - Aggregate function GroupProperty mixing named and positional variables
14+
* [NH-2738] - Exception thrown when mapping contains empty enum
15+
* [NH-2839] - Linq query with boolean implemeted as IUserType fails
16+
* [NH-2930] - Mapping by code does not support multiple levels of abstract subclasses, nor does the abstract=true tag work on subclasses below the first level subclass
17+
* [NH-2931] - Registering mappings in mapping by code does not process classes accordingly to inheritance path
18+
* [NH-3015] - Join fetch with Stateless Session returns duplicate entities
19+
* [NH-3035] - Alias in HQL Order By Clause is Not Replaced
20+
* [NH-3046] - Potentially serious memory leak with regards to NHibernate.Action.EntityAction.BeforeTransactionCompletionProcessDelegate
21+
* [NH-3048] - Mapping-by-Code does not allow UnsavedValue in ComponentAsId mapping
22+
* [NH-3075] - NullReferenceException when using Fetch/FetchMany
23+
* [NH-3252] - AnsiString larger than 8000 doesn't work with Sql Server
24+
* [NH-3372] - Support generated columns in combination with explicit loader
25+
* [NH-3414] - Queries with sub-query in ThenBy fail
26+
* [NH-3453] - InvalidCastException from FindDirty on many-to-one association with property-ref to composite-id class
27+
* [NH-3454] - AdoNetWithDistributedTransactionFactory doesn't unhook event handler which may prevent garbage collection
28+
* [NH-3474] - GroupBy constant producing wrong SQL
29+
* [NH-3480] - <set> mapping using a property-ref as the link to its children can raise an InvalidCastException when loading
30+
* [NH-3487] - Deserializing a session can raise an NHibernateException - No tupilizer found for entity-mode [Poco]
31+
* [NH-3500] - Throwing exception from within a proxied method does not unwrap TargetInvocationException
32+
* [NH-3512] - Changes in derived object doesn't update version
33+
* [NH-3518] - If prepare_sql is true, columns of XML type won't work
34+
* [NH-3527] - UnionSubclassMapper should mark an abstract type as abstract in the generated HbmMapping
35+
* [NH-3564] - TimestampType does not work with 2nd level cache
36+
* [NH-3567] - Under the flushmode Auto, Query with subquery failed to flush if there are changes among the entities addressed by the sub-query
37+
* [NH-3583] - Autoflush doesn't work inside TransactionScope
38+
* [NH-3609] - Using Projections.Conditional inside of Projections.Count and Projections.Avg generates invalid sql.
39+
* [NH-3634] - Wrong syntax for comparing component with nullable properties(columnValue = NULL)
40+
* [NH-3666] - Setting native sql query cachable causes ArgumentNullException in CacheableResultTransformer.
41+
* [NH-3681] - NHibernate.HibernateException: Query Source could not be identified, when using join group and Sum()
42+
* [NH-3706] - NHibernate.Transform.Transformers should be static class
43+
* [NH-3727] - Criteria which use SubqueryProjection. Cannot be executed more than once. Second try throws exception.
44+
* [NH-3741] - Many to Many mapping against interfaces fails (reverts to using ElementRelationMapper instead of ManyToManyRelationMapper)
45+
* [NH-3743] - Fetch with GroupBy throws NullReferenceException
46+
* [NH-3747] - Very weak support for predicates in Linq Aggregate functions
47+
* [NH-3754] - Exception "System.ArgumentNullException" when using ICriteria with AliasToBeanResultTransformer and SecondLevelCache
48+
* [NH-3762] - DateType should not try to set DbParameter.DbType column
49+
* [NH-3767] - Wrong aliases when querying a table with the name starting with Select, From or As in Oracle
50+
* [NH-3784] - Collection filtering via ISession.CreateFilter should not allow DML queries
51+
* [NH-3785] - Collection filtering via ISession.CreateFilter incorrectly applies filter to nested subqueries
52+
* [NH-3791] - Transaction with multiple inserts, fails when a column-name contains 'select' on Firebird database
53+
* [NH-3797] - Computed GroupBys don't work if they have constants
54+
* [NH-3800] - Cannot combine Left Outer Join with Aggregating Group By
55+
* [NH-3801] - AddJoinsReWriter disassociates Select expressions and GroupBy key expressions
56+
* [NH-3816] - Conditionals in Select are too permissive
57+
* [NH-3817] - Merge fails randomly on a graph containing transient entities with multiple cascade paths
58+
* [NH-3818] - Conditional expressions in LINQ Select
59+
* [NH-3831] - NullableDictionary does not set _gotNullValue when using Add(TKey, TValue) method
60+
* [NH-3842] - DateTimeOffsetType throws NotImplementedException() for DefaultValue.
61+
* [NH-3844] - Left Outer Join with Aggregating Group By and Conditional Key Failure
62+
* [NH-3874] - Evicting an object with a collection with logging enabled throws
63+
* [NH-3891] - Not all overrides of ISerializable.GetObjectData set SecurityCritical
64+
* [NH-3895] - Problem with DateTime fractional seconds on ODBC for MS SQL Server
65+
* [NH-3897] - Use of Hashset Test framework's DebugConnectionProvider not thread-safe.
66+
* [NH-3899] - Too long column alias - Column.GetAlias() doesn't correctly respect Dialect.MaxAliasLength
67+
* [NH-3904] - Passing a user type instance as a constant parameter in a linq expression fails.
68+
* [NH-3909] - Regression on join following refactoring of NH-3801
69+
* [NH-3917] - SQLite Dialect does not specify any keywords except 'int'
270

3-
Possible breaking change: Proxies for classes that used lazy fields (not collections)
4-
would have any exceptions from the entity wrapped in TargetInvocationException. This
5-
wrapping exception have now been removed. Where relevant, you should instead catch
6-
the original exception type you throw.
71+
** New Feature
72+
* [NH-1262] - Cascade of "all-delete-orphan" not supported for one-to-one
73+
* [NH-1452] - Join element doesn't support keys with property-refs
74+
* [NH-2218] - Extension method Query<T> doesn't support entity names
75+
* [NH-2611] - Allow injectable/inheritance of Linq query provider
76+
* [NH-3495] - Implement Oracle 12c Dialect
77+
* [NH-3499] - Allow query model visitor to be provided through the session factory
78+
* [NH-3619] - Make default value of FlushMode configurable
79+
80+
** Task
81+
* [NH-802] - Use msbuild instead of csc/vbc
82+
* [NH-3725] - Remove SharpTestsEx
83+
* [NH-3781] - Upgrade relinq to at least 1.13.177
84+
* [NH-3875] - Build with MSBuild Tools 2015 (14)
85+
* [NH-3890] - Update all support projects and tooling to .NET 4.0
86+
87+
** Improvement
88+
* [NH-2053] - Extend the filter-def usage to subclasses
89+
* [NH-2401] - Method for specifying IType of LINQ parameter
90+
* [NH-2821] - Better finding log4net.dll
91+
* [NH-2823] - Optimistic Locking in mapping by code
92+
* [NH-2824] - Precision and scale for decimal id
93+
* [NH-2887] - Tweak UriType to allow relative URIs to be supported.
94+
* [NH-3110] - Support Polymorphism in mapping by code
95+
* [NH-3198] - Have Mapping By Code Support Dynamic Component Inside Join
96+
* [NH-3312] - QueryOver, static Alias
97+
* [NH-3404] - Add missing standard Id Generators in Mapping By Code
98+
* [NH-3452] - Need to support CHAR(length) type for identifiers
99+
* [NH-3486] - Performance: For projections, identical metadata for rows is recalculated for every row
100+
* [NH-3489] - GetEffectiveParameterLocations is slow with a large number of parameters
101+
* [NH-3525] - Db2Dialect should issue FETCH FIRST N ROWS ONLY when there is no offset
102+
* [NH-3630] - Bitwise operation support for dialects using internal/external functions
103+
* [NH-3707] - Port HHH-6845 - Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers
104+
* [NH-3720] - Support Additional Convert Methods in LINQ Queries
105+
* [NH-3726] - Support SqlMethods.Like() with escape character in LINQ
106+
* [NH-3732] - Start the NUnit GUI with the .NET 4.0 runtime
107+
* [NH-3759] - uuid.hex mapper issue
108+
* [NH-3763] - Add Bitwise operations for Oracle
109+
* [NH-3779] - Mapping by code does not allow to map structures as components
110+
* [NH-3783] - Enable update ordering for improved batching
111+
* [NH-3812] - GuidCombGenerator must use DateTime.UtcNow
112+
* [NH-3856] - Improve performance of SqlClientSqlCommandSet
113+
* [NH-3857] - Improve performance of MySqlClientSqlCommandSet
114+
* [NH-3920] - Improve logging of SQL parameter types and values
7115

8116

9117
Build 4.0.4.GA
@@ -3053,4 +3161,4 @@ PreAlpha Build 2
30533161
- Modified MsSqlServer2000Dialect to maps a BooleanSqlType to a bit column type.
30543162
- Fixed bug with IdentityMap that caused problems with Session.Flush() loading lazy collections
30553163
- Added TicksType to TypeFactory
3056-
- Fixed bug with SchemaExport committing a non existing IDbTransaction
3164+
- Fixed bug with SchemaExport committing a non existing IDbTransaction

0 commit comments

Comments
 (0)