|
1 |
| -Build 4.0.0.XXXX |
| 1 | +Build 4.0.0.CR1 |
2 | 2 | =============================
|
3 | 3 |
|
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 |
5 | 5 |
|
| 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: |
6 | 42 | The interface IEnhancedProjection was removed and its methods moved to IProjection.
|
7 | 43 | Two other overloads of the GetColumnAliases() methods was removed from IProjection.
|
8 | 44 |
|
9 |
| - ##### Possible Breaking Changes ##### |
10 | 45 | * [NH-2290] Invalid hql parenthesis expansion in generated sql
|
11 | 46 | Unary minus before parentheses in HQL lost the parentheses when translated
|
12 | 47 | to SQL and therefore the wrong value was returned. This use of unary minus is now
|
13 | 48 | implemented in the mathematically correct way.
|
14 | 49 |
|
| 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 | + |
15 | 72 | Build 4.0.0.Alpha2
|
16 | 73 | =============================
|
17 | 74 |
|
|
0 commit comments