Skip to content

Commit fbd528a

Browse files
committed
Update releasenotes.txt and version for 4.0.0.CR1.
1 parent b2db663 commit fbd528a

File tree

2 files changed

+62
-5
lines changed

2 files changed

+62
-5
lines changed

build-common/common.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
effectively SP0).
6161
-->
6262

63-
<property name="project.version" value="4.0.0.Alpha2" overwrite="false" />
63+
<property name="project.version" value="4.0.0.CR1" overwrite="false" />
6464

6565
<!-- This version number should be changed if, but only if, there are incompatible
6666
changes compared to the previous version. -->
67-
<property name="project.default-assembly-version" value="4.0.0.1001" overwrite="false" />
67+
<property name="project.default-assembly-version" value="4.0.0.4000" overwrite="false" />
6868

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

releasenotes.txt

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,74 @@
1-
Build 4.0.0.XXXX
1+
Build 4.0.0.CR1
22
=============================
33

4-
** Known BREAKING CHANGES from NH4.0.0.Alpha2 to 4.0.0.GA
4+
** Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0.CR1
55

6+
NHibernate now targets .Net 4.0. Many uses of set types from Iesi.Collections have
7+
now been changed to use corresponding types from the BCL. The API for these types
8+
are slightly different.
9+
10+
Support for persistent non-generic collections removed. Use the generic counterparts instead.
11+
12+
##### Possible Breaking Changes #####
13+
* IDeleteEventListener, IEventSource: Use generic ISet<> instead of non-generic in method signatures.
14+
* SqlString.Parts removed. Use SqlString.Count and SqlString.GetEnumerator().
15+
* IPersistentCollection.GetSnapshot() now returns object instead of ICollection. The snapshot should be opaque to outside code.
16+
* Removed IsDiscriminatorFormula, DiscriminatorFormula and GenerateSelectString from UnionSubclassEntityPersister class.
17+
* Removed ManagedWebSessionContext. Any configuration files which use the "managed_web" session context should now use "web"
18+
* SybaseASADialect removed: Use SybaseSQLAnywhere10Dialect instead.
19+
* ASA10ClientDriver, ASAClientDriver and SQLiteDriver removed: Use SybaseSQLAnywhereDriver, SybaseAsaClientDriver, SQLite20Driver instead.
20+
* Removed Classic HQL Parser.
21+
* Removed IQueryTranslatorFactory2. It's methods were pulled up to IQueryTranslatorFactory. Method CreateQueryTranslators accepting string as first argument marked as Obsolete.
22+
* IQueryExpression.Translate now has second boolean argument 'filter'
23+
* Added several methods which accepts IQueryExpression to ISessionImplementor, which is duplicating methods which accepts string.
24+
* Miss-spelled AdoNetWithDistrubtedTransactionFactory removed: Use AdoNetWithDistributedTransactionFactory instead
25+
* HqlDistinctHolder removed: Use HqlExpressionSubTreeHolder instead
26+
* DisableLogFormattedSql method removed: the default is disabled
27+
* ISession.SaveOrUpdateCopy removed: Use Merge instead
28+
* Oracle and MySQL: The atan2 and power functions now return double (instead of single) for consistency with other dialects.
29+
* Removed FirebirdDriver. It was the same as FirebirdClientDriver since 3.2, and the latter have been the default since then.
30+
* Removed bunch of unused methods on *Helper classes
31+
* Static fields on NHibernateUtil are declared as their exact class
32+
33+
From NH4.0.0.Alpha1 to 4.0.0.Alpha2:
34+
Fixed mapping by code behaviour when map child subclasses (see NH-3135 and NH-3269)
35+
36+
The constructor of AbstractComponentTuplizer now behaves like AbstractEntityTuplizer in the way
37+
that it doesn't create the instantiator any more. Custom component tuplizers that derive
38+
directly from AbstractComponentTuplizer need to add this line of code in their constructor:
39+
instantiator = BuildInstantiator(component);
40+
41+
From NH4.0.0.Alpha2 to 4.0.0.CR1:
642
The interface IEnhancedProjection was removed and its methods moved to IProjection.
743
Two other overloads of the GetColumnAliases() methods was removed from IProjection.
844

9-
##### Possible Breaking Changes #####
1045
* [NH-2290] Invalid hql parenthesis expansion in generated sql
1146
Unary minus before parentheses in HQL lost the parentheses when translated
1247
to SQL and therefore the wrong value was returned. This use of unary minus is now
1348
implemented in the mathematically correct way.
1449

50+
** Bug
51+
* [NH-3455] - QueryOver + selecting a component + OrderBy = wrong OrderBy in SQL
52+
* [NH-3581] - nhibernate.everything.sln doesn't compile
53+
* [NH-3587] - Parameters within a select clause
54+
* [NH-3620] - ORA-01483 when inserting two blobs and a date using the OracleManagedDataClientDriver
55+
* [NH-3624] - broken insert statement with select
56+
* [NH-3629] - Translation of string.IndexOf() in Linq is broken for firebird
57+
* [NH-3641] - Missing Outer Join
58+
* [NH-3642] - PostgreSQL: Support LINQ DateTime.Date in select clause
59+
* [NH-3649] - Missing support for round() in SQLite and SQL Server CE dialects (affected criteria queries)
60+
61+
** Improvement
62+
* [NH-3623] - Add FirebirdExceptionConverterExample
63+
* [NH-3626] - avoid double parens around a select statement
64+
* [NH-3627] - change some id mappings from native to assigned in linq tests
65+
* [NH-3628] - add keyword "date" and function "date" to FirebirdDialect
66+
* [NH-3647] - Support Math.Round() in QueryOver projections
67+
68+
** Task
69+
* [NH-3251] - Update to antlr 3.5.0.2
70+
* [NH-3644] - Merge IEnhancedProjection into IProjection
71+
1572
Build 4.0.0.Alpha2
1673
=============================
1774

0 commit comments

Comments
 (0)