Build 5.5.2
=============================

Release notes - NHibernate - Version 5.5.2

3 issues were resolved in this release, including CVE CVE-2024-39677 through the merge of 5.4.9.

** Bug

   * #3536 MemberwiseClone should be virtual error in dotnet 9 preview 3

** Task

   * #3578 Release 5.5.1
   * #3577 Merge 5.4.9 into 5.5.x


Build 5.5.1
=============================

Release notes - NHibernate - Version 5.5.1

3 issues were resolved in this release.

** Bug

   * #3465 Invalid SQL created for some joins in a subquery

** Task

   * #3509 Release 5.5.1
   * #3508 Merge 5.4.8 into 5.5.x


Build 5.5.0
=============================

Release notes - NHibernate - Version 5.5.0

    ##### Possible Breaking Changes #####
        * `Object.Finalize` is no more proxified when the entity base class has a destructor. See #3205.
        * Default not-found behavior now works correctly on many-to-many Criteria fetch. It now throws
          ObjectNotFoundException exception for not found records. See #2687.

62 issues were resolved in this release.

** Bug

   * #3413 Downgrade dependency System.Data.SQLite.Core 1.0.118 -> 1.0.117
   * #3406 Fix orphan removal for detached one-to-one
   * #3392 Partial fix fetching lazy property after Select in Linq
   * #3360 Incorrect parameter length for char types in MicrosoftDataSqlClientDriver
   * #3334 Exception executing HQL query with uncorrelated left joins in subselect
   * #3327 HqlParser does not correctly negate EXISTS-nodes below an AND/OR
   * #3325 Cascading orphan delete may not work on versioned entity
   * #3311 NamedQuery ignores <query-param type="AnsiString"> and any other
   * #3264 Fix collection filter on subclass columns
   * #3256 Invalid SQL is generated for string Enum used in conditional LINQ
   * #3205 `Object.Finalize` should not be proxiable
   * #2687 Use table group joins for many-to-many in Criteria and Entity loaders
   * #1267 NH-3047 - Lazy=no-proxy ignores join fetch

** New Feature

   * #3242 Linq: add enum Equals and object Equals support
   * #3165 Add support for Firebird 4
   * #829 NH-3365 - Support for HasFlag method for enums with Flags attribute applied

** Improvement

   * #3429 Explicit how to use advanced Redis strategies
   * #3410 Remove redundant collection BeforeAssemble call from query cache
   * #3398 Do not store mapping field in Configuration
   * #3396 Get rid of select queries for each ManyToMany not found ignored element in Criteria and lazy loading
   * #3395 Remove ConstantConverter
   * #3394 Get rid of select queries for each ManyToMany not found ignored element in hql
   * #3390 Enable Not node handling in HqlParser.NegateNode
   * #3384 Improve path rule handling with reserved words in Hql.g
   * #3377 Move HqlToken.PossibleId to HqlParser.IsPossibleId method and remove castings
   * #3374 Simplify aggregateDistinctAll rule in Hql.g
   * #3373 Refactor sequential select related members in AbstractEntityPersister
   * #3341 Apply fromFragment processing only when required in ProcessDynamicFilterParameters
   * #3340 SqlString.Trim should return the same instance for not modified string
   * #3253 Do not throw for unknown type in hql case node
   * #3230 Add cached boxed boolean values to BooleanType
   * #3209 Allow custom query loader

** Task

   * #3460 Merge 5.4.7 in master
   * #3445 Release 5.5.0
   * #3440 Update NUnit to v3.14.0
   * #3423 Update actions/checkout action to v4
   * #3420 Merge 5.4.6 in master
   * #3411 Remove ISessionFactoryImplementor parameter from TableGroupJoinHelper
   * #3409 Merge 5.4.5 in master
   * #3387 Merge 5.4.4 in master
   * #3379 Remove NHibernate.Example.Web project
   * #3362 Update dependency NUnit3TestAdapter to v4.5.0
   * #3361 Update dependency NUnit.Console to v3.16.3
   * #3353 Migrate renovate config
   * #3351 Merge 5.4.3 in master
   * #3284 Update NHibernate.Caches to v5.9.0
   * #3283 Update dependency NSubstitute to v5
   * #3280 Add tests for Microsoft.Data.SqlClient driver
   * #3275 Migrate dev packages to Cloudsmith
   * #3241 Exclude generated files from Deepsource analisys
   * #3236 Add MySQL8Dialect and MySQL8InnoDBDialect
   * #3223 Simplify GitHub Actions Tests DB initialization
   * #3206 Update actions/setup-dotnet action to v3
   * #3202 Update dependency Npgsql to v7
   * #3129 [Security] Update Oracle.ManagedDataAccess
   * #3122 Update dependency FirebirdSql.Data.FirebirdClient to v9
   * #3102 Update dependency Microsoft.Data.SqlClient to v3.1.3
   * #3099 [Security] Update dependency System.Linq.Dynamic.Core to v1.3.3
   * #3098 Update dependency System.Data.SQLite.Core to v1.0.118
   * #3092 Update dependency Microsoft.AspNetCore.OData to v7.7.0
   * #3088 Update NUnit to v3.13.3

** Tests

   * #3412 Revive hql ParsingFixture


Build 5.4.9
=============================

Release notes - NHibernate - Version 5.4.9

6 issues were resolved in this release, including CVE-2024-39677.

** Bug

   * #3547 Handle SQL injection vulnerabilities within ObjectToSQLString

** Task

   * #3576 Release 5.4.9
   * #3558 Migrate AppVeyor & TC builds to PostgreSQL 13
   * #3545 Upgrade Npgsql to a non vulnerable version
   * #3544 Upgrade vulnerable test dependencies
   * #3517 Obsolete vulnerable literal AddColumn


Build 5.4.8
=============================

Release notes - NHibernate - Version 5.4.8

2 issues were resolved in this release.

** Bug

   * #3489 Inserting multiple associations of the same entity fails

** Task

   * #3507 Release 5.4.8


Build 5.4.7
=============================

Release notes - NHibernate - Version 5.4.7

3 issues were resolved in this release.

** Task

   * #3459 Release 5.4.7
   * #3458 Merge 5.3.20 into 5.4.x
   * #3453 Migrate appveyor build to MySql 8


Build 5.4.6
=============================

Release notes - NHibernate - Version 5.4.6

2 issues were resolved in this release.

** Bug

   * #3414 Reenable use of SelectClauseVisitor for subqueries

** Task

   * #3419 Release 5.4.6


Build 5.4.5
=============================

Release notes - NHibernate - Version 5.4.5

2 issues were resolved in this release.

** Task

   * #3408 Release 5.4.5
   * #3407 Merge 5.3.19 in 5.4.x


Build 5.4.4
=============================

Release notes - NHibernate - Version 5.4.4

6 issues were resolved in this release.

** Bug

   * #3359 2nd level cache GetMany ineffective for collections
   * #3354 Invalid program generated by FieldInterceptorProxyBuilder for indexer property getter
   * #3352 Fetch throws "could not resolve property" error for a property that is not mapped

** Improvement

   * #3368 Allow internal entity classes/interfaces in .NET Standard 2.0 for field interceptor

** Task

   * #3386 Release 5.4.4
   * #3367 Update readme with actual dev build information for 5.4


Build 5.4.3
=============================

Release notes - NHibernate - Version 5.4.3

11 issues were resolved in this release.

** Bug

   * #3317 Issue with components list lazy loading with not lazy association
   * #3307 IsDirty performance hit since 5.4.0
   * #3295 C# 8/11 Static interface members support
   * #3291 Npgsql 6+ issues with null DateTime parameter types
   * #3290 Incorrect fetch of Many-to-Many relation
   * #3289 Fetching lazy loaded component causes n + 1 query when querying a subclass abstraction
   * #3288 NullReferenceException is thrown when using Fetch

** Task

   * #3349 Release 5.4.3
   * #3348 Merge 5.3.18 in 5.4.x
   * #3318 Merge 5.3.17 in 5.4.x
   * #3302 Upgrade NUnit3TestAdapter to fix "Unknown framework version 7.0"


Build 5.4.2
=============================

Release notes - NHibernate - Version 5.4.2

6 issues were resolved in this release.

** Bug

   * #3274 Improve LINQ Contains subquery parameter detection
   * #3271 LINQ subqueries wrongly altered by SelectClauseVisitor
   * #3263 Wrong alias in Where clause if using Fetch and scalar Select
   * #3239 Incorrect SQL generated fetching many-to-many with subclasses

** New Feature

   * #3251 MappingByCode: Support backfield property access

** Task

   * #3281 Merge 5.3.16 in 5.4.x
   * #3277 Release 5.4.2


Build 5.4.1
=============================

Release notes - NHibernate - Version 5.4.1

5 issues were resolved in this release.

** Bug

   * #3216 Enable one-to-one optimistic lock handling in mapping
   * #3215 Count(Distinct ...) does not work
   * #3203 Fix a wrong example in configuration documentation

** Task

   * #3232 Release 5.4.1
   * #3227 Merge 5.3.15 in 5.4.x

As part of releasing 5.4.1, a missing 5.4.0 possible breaking change has been added, about
one-to-one associations and optimistic locking. See 5.4.0 possible breaking changes.


Build 5.4.0
=============================

Release notes - NHibernate - Version 5.4.0

** Highlights
    * NHibernate has gained three new target frameworks: .Net 6, .Net Framework 4.8 and .Net Standard 2.1. NHibernate NuGet package
      provides them, along with the older targets, .Net Core 2.0, .Net Framework 4.6.1 and .Net Standard 2.0. These new targets allow
      some NHibernate optimizations for applications using them. The same limitations apply for .Net 6 and .Net Standard 2.1 as for
      .Net Core 2.0 and .Net Standard 2.0, see NHibernate 5.1.0 release notes.
    * A new batching strategy is available, minimizing the batching memory footprint. See #2959. Using it may increase CPU usage.
    * 201 issues were resolved in this release.

    ##### Possible Breaking Changes #####
        * One-to-one changes does now trigger a version increment, consistently with the default behavior of other kinds of
          associations. See #3204.
        * Linq and criteria queries on unmapped entities will throw instead of returning an empty result list. See #1106, #1095.
        * The second level cache UpdateTimestampsCache does not use locks anymore. This may slightly increase the number of cases
          where stale data is returned by the query cache. See #2742.
        * Equality and hashcode access on uninitialized persistent collections will no more trigger their loading. See #2461.
        * DB2CoreDriver now uses named parameters instead of positional ones. See #2546.

** Bug

   * #3198 EntityUpdateAction increments version despite veto on update
   * #3189 Support proxies of classes with init properties
   * #3188 No way of detecting if AutoFlush performed in added AutoFlushEventListener
   * #3176 Cached entity always fetches lazy properties with read-write concurrency strategy
   * #3156 Evaluation failure when using `Nullable` without a value in LINQ
   * #3150 LINQ query dynamic component by interface hangs the application
   * #3109 Fix table group join issue with subclasses
   * #3104 Inner Join fails with left Outer Join when referenced in Where clause
   * #3076 Nested group by results in "A recognition error occured"
   * #2968 Fix QueryStatistics.ExecutionAvgTime calculation
   * #2827 Fix BadImageFormatException in dynamic proxies for abstract classes and interfaces
   * #2822 "A recognition error ocurred" querying by a nullable component with more than N properties
   * #2758 Fix AmbiguousMatchException in ClearPool with FirebirdClient 6.6.0 and above
   * #2750 Using System.Transaction with IStatelessSession doesn't always flush batches to database
   * #2738 Unused Left Join in LINQ throws exception
   * #2717 MappingByCode discriminator column with string type throws exception
   * #2675 Fix collection lazy loading with composite keys on subclass columns
   * #2672 Linq query failure with left joins
   * #2619 InvalidOperationException in ProxyGenerator for class with generic non-virtual method
   * #2614 Obvious bug in two HQLQueryPlan classes with distinction Set
   * #2594 Wrong SQL produced by DML LINQ when using a select clause for a property referencing the outer select
   * #2555 Add spaces around concat operator
   * #2552 One-to-one second level cache issue
   * #2548 Mark DB2Dialect as not supporting null columns in unique constraint
   * #2547 Fix paging in DB2Dialect
   * #2540 Unable to use external predicate in subquery
   * #2534 Fix asymmetrical SqlType.Equals
   * #2454 ConditionalProjection containing the correlation to outer query fails to determine projection type
   * #2330 join on multiple conditions
   * #2201 Fetch Join generates incorrect SQL joins for the same entity type
   * #2092 Projection and join fetch in hql leads to duplicated column aliases
   * #1365 NH-3288 - Stale data checking does not work for one-to-one associations
   * #1349 NH-3893 - HQL parse error of a query with 'left' or 'right' function
   * #1326 NH-3622 - Fetching in query causes incorrect/missing joins in subquery
   * #1316 NH-3530 - memory when using default_batch_fetch_size
   * #1235 NH-2785 - StaleStateExceptions discarded on optional <join> table
   * #1215 NH-2208 - Error with filters on joined-subclass as many-to-one
   * #1209 NH-2049 - Error with filters on joined-subclass as one-to-one
   * #1180 NH-3847 - ConditionalProjection throws "Both true and false projections must return the same types" when the types are the same
   * #1106 NH-2978 - LINQ: Queries for unmapped entity types return empty result set
   * #1075 NH-2239 - Wrong OrderBy in generated SQL when using ICriteria, Eager fetching and order by clauses in collection mappings
   * #1072 NH-2174 - Invalid SQL is generated for OneToMany collections
   * #1062 NH-1893 - Trigger-Identity with Dynamic Insert throws ORA-01036 (10g)

** New Feature

   * #2959 Support Dynamic BatchFetchStyle
   * #2744 Set which entities classes should never be cached, even indirectly
   * #2737 Add more left join support
   * #2645 Allow specifying the size of the query plan cache
   * #2641 Avoid InvalidCastException with Oracle number high precision values
   * #2551 Add support for joining a subquery in hql
   * #2545 Table group joins for subclasses in Criteria
   * #2486 Add Projections.Select in Criteria
   * #2361 Table group joins support in hql

** Improvement

   * #3184 Support caching queries with autodiscovered types
   * #3177 Disable default caching in tests
   * #3160 Allow internal entity classess/interfaces in .NET Standard 2.0
   * #3133 Automatically generate async code on pull request
   * #3127 Register IType CLR types as aliases
   * #3116 Simplify SqlGenerator.FromFragmentSeparator
   * #3114 Exclude generated async files from Deepsource analysis
   * #3106 Skip table group join processing for implicit join
   * #3091 Use GitReleaseManager dotnet tool
   * #3083 Update SHFB in order to build documentation without MSBuild
   * #3050 Add .NET Standard 2.1 target
   * #3027 Avoid allocations on lock in SyncCacheLock
   * #3000 Add .NET 6 and .NET Framework 4.8 targets
   * #2990 Use inner join instead of implicit join for implied entity joins
   * #2957 Avoid lambda compilation as much as possible
   * #2948 Avoid lambda compilation for member access expressions in LINQ
   * #2947 LINQ queries triggers JIT a bit too much
   * #2920 Add parameter type to ADO exception
   * #2804 Projections.Conditional for CASE expressions with multiple conditions
   * #2752 Change cascade style for DefaultDirtyCheckEventListener to persist to avoid flushing the session
   * #2742 Remove locks from UpdateTimestampsCache
   * #2723 Avoid double param type guessing and better NULL parameter handling in LINQ
   * #2706 Set the rolledBack flag when disposing active transactions
   * #2700 Potential improvement to AliasToBeanResultTransformer
   * #2621 Regression bug with enums used as parameter for string column
   * #2571 Default value for CancellationToken in IQueryBatch.GetResultAsync
   * #2568 Support internal entity classes by proxy factory
   * #2556 Register right function for Firebird and PostgreSQL
   * #2546 Enable named parameters on DB2CoreDriver
   * #2539 Skip no longer needed moving ON condition to Where clause in LINQ
   * #2538 Remove no longer needed alias substitution for filtered many-to-many collection in hql
   * #2518 Support Aggregate subqueries with paging on MS SQL Server
   * #2510 Remove OrderByClause from query models with Contains, All and Any result operators
   * #2492 Replace casting with NodeType checks in Criteria ExpressionProcessor
   * #2479 When using a paged sub-query in Linq, generates incorrect SQL
   * #2461 Remove persistent collections Equals/GetHashCode overrides
   * #2460 Simplify single alias retrieval for SimpleProjections
   * #2448 Avoid lambda compilation for constant and member access expressions in Criteria
   * #1285 NH-3249 - Cannot perform HQL with "COUNT(DISTINCT Date(s.Date))"
   * #1244 NH-2868 - Generate method of ForeignGenerator fails with stateless sessions
   * #1095 NH-2829 - QueryOver/Criteria should throw exception when querying against unmapped class
   * #871 NH-3115 - Should de-duplicate joins when using fetching with where in LINQ query
   * #869 NH-2952 - Setting the SqlCheck is not supported in the ByCode mapping
   * #809 NH-2799 - Provide the CancelQuery() method in IStatelessSession
   * #766 NH-3813 - Eager fetch on key-many-to-one relation adds inner joins to the query
   * #715 NH-1040 - property-ref on joined-subclasses should work or error

** Task

   * #3197 Update dependency System.Data.SqlClient to v4.8.5
   * #3195 Release NHibernate 5.4
   * #3161 Tell NuGet about the readme file
   * #3147 Add `datetimex` keyword to SapSQLAnywhere17Dialect
   * #3146 Run tests against Oracle XE 21c
   * #3123 Update dependency Npgsql to v6
   * #3121 Update dependency Microsoft.NETFramework.ReferenceAssemblies to v1.0.3
   * #3119 Update actions/setup-dotnet action to v2
   * #3118 Update actions/checkout action to v3
   * #3117 Update dependency NSubstitute to v4.4.0
   * #3111 Update dependency log4net to v2.0.15
   * #3080 Replace Dependabot with Renovate
   * #3063 Bump Oracle.ManagedDataAccess from 19.12.0 to 21.6.1
   * #3061 Bump Oracle.ManagedDataAccess.Core from 2.19.120 to 3.21.61
   * #3059 Bump log4net from 2.0.12 to 2.0.14
   * #3057 Run tests using .NET 4.8
   * #3017 Add deepsource.io code analysis
   * #3002 Bump NUnit3TestAdapter from 4.1.0 to 4.2.1
   * #2987 Disable auto rebasing for depandabot PRs
   * #2951 Run tests on .NET 6
   * #2946 Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1
   * #2936 Bump System.Data.SQLite.Core from 1.0.114.3 to 1.0.115.5
   * #2911 Bump System.Data.SqlClient from 4.8.2 to 4.8.3
   * #2898 Bump FirebirdSql.Data.FirebirdClient from 6.6.0 to 8.5.2
   * #2887 Bump Oracle.ManagedDataAccess from 19.11.0 to 19.12.0
   * #2886 Bump Oracle.ManagedDataAccess.Core from 2.19.110 to 2.19.120
   * #2878 Bump System.Linq.Dynamic.Core from 1.2.10 to 1.2.12
   * #2870 Bump MySql.Data from 8.0.25 to 8.0.26
   * #2851 Cache Dialect in tests
   * #2818 Bump Microsoft.Data.SqlClient from 2.1.3 to 3.0.0
   * #2800 Bump System.Data.SQLite.Core from 1.0.113.7 to 1.0.114.2
   * #2799 Bump Npgsql from 4.0.3 to 4.1.9
   * #2796 Bump System.Linq.Dynamic.Core from 1.2.9 to 1.2.10
   * #2790 Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
   * #2786 Bump Microsoft.Data.SqlClient from 2.1.2 to 2.1.3
   * #2771 Bump MySql.Data from 8.0.22 to 8.0.25
   * #2770 Bump System.Data.SQLite.Core from 1.0.109.2 to 1.0.113.7
   * #2765 Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2
   * #2759 Enable dependabot
   * #2756 Update dependencies
   * #2607 Merge 5.3.5
   * #2605 Upgrade AsyncGenerator to 0.19.1
   * #2593 Merge 5.3.4
   * #2582 Remove no longer used code in QueryModelVisitor
   * #2570 Update Relinq and LinFu links
   * #2516 Suppress Codefactor single class per file rule for test project
   * #2501 Upgrade MySql client and remove allowed failures on CI builds

** Tests

   * #3024 Enable test accessing Component's Parent property in LINQ
   * #2921 Fix test for SAP SQL Anywhere
   * #2848 Add Oracle to GitHub Actions
   * #2541 LINQ SELECT tests with WHERE subquery
   * #2489 Improve CriteriaAssertFixture
   * #2456 Test case for #1180 and improve NullableType.ToString 
   * #2242 Test case for NH-3972 - SQL error when selecting a column of a subclass when sibling classes have a column of the same name


Build 5.3.20
=============================

Release notes - NHibernate - Version 5.3.20

2 issues were resolved in this release.

** Bug

   * #3438 DB2/400: ArgumentException Column 'SQL_TYPE_NAME' does not belong to table DataTypes

** Task

   * #3454 Release 5.3.20


Build 5.3.19
=============================

Release notes - NHibernate - Version 5.3.19

2 issues were resolved in this release.

** Bug

   * #3397 GenerateSchemaCreationScript creates many identical dialect instances

** Task

   * #3405 Release 5.3.19


Build 5.3.18
=============================

Release notes - NHibernate - Version 5.3.18

3 issues were resolved in this release.

** Bug

   * #3333 Lazy property with nosetter accessor remains uninitialized
   * #3330 Linq with FetchLazyProperties() resets lazy property changes

** Task

   * #3346 Release 5.3.18


Build 5.3.17
=============================

Release notes - NHibernate - Version 5.3.17

5 issues were resolved in this release.

** Bug

   * #3306 Invalid SQL when referencing nullable entity in correlated subquery
   * #3304 Fix SetSnapShot CopyTo variance failure
   * #3294 Undefined join type failure with cross joins and Informix

** Task

   * #3315 Release 5.3.17
   * #3300 Backport handling of null DateTime parameters in Npgsql 6+


Build 5.3.16
=============================

Release notes - NHibernate - Version 5.3.16

3 issues were resolved in this release.

** Bug

   * #3269 "Or" clause in a "where" condition returns a wrong result with not-found-ignore
   * #3210 Wrong name value for L2 read-only cache warning on mutable

** Task

   * #3276 Release 5.3.16


Build 5.3.15
=============================

Release notes - NHibernate - Version 5.3.15

4 issues were resolved in this release.

** Bug

   * #3218 Failure of contains subquery with parameter
   * #3187 Fix mixing implied implicit and left joins in HQL for v5.3

** Task

   * #3225 Release 5.3.15
   * #3222 Automatically generate async code on pull requests for 5.3


Build 5.3.14
=============================

Release notes - NHibernate - Version 5.3.14

3 issues were resolved in this release.

** Bug

   * #3169 InvalidOperationException: This transformer is not initialized by Cached Query
   * #3164 Fetching a lazy loaded component regression

** Task

   * #3183 Release 5.3.14


Build 5.3.13
=============================

Release notes - NHibernate - Version 5.3.13

6 issues were resolved in this release.

** Bug

   * #3134 ManyToMany - Tries to select not existing column in Mapping Table
   * #3113 Join fails on Oracle9Dialect
   * #3030 Memory leak named parameter holds entity references

** Improvement

   * #3120 Guards against use of a disposed session factory
   * #2994 Npgsql 6 is not compatible

** Task

   * #3145 Release 5.3.13


Build 5.3.12
=============================

Release notes - NHibernate - Version 5.3.12

5 issues were resolved in this release.

** Bug

   * #3046 Regression for filters on entity joins with many-to-one disabled
   * #3029 InvalidOperationException on proxies with explicit implementation of a generic method

** Improvement

   * #3043 Improve exception for query on delayed id

** Test

   * #3035 Support tests in VS 2022

** Task

   * #3044 Release 5.3.12

Build 5.3.11
=============================

Release notes - NHibernate - Version 5.3.11

12 issues were resolved in this release.

** Bug

   * #3005 LINQ: Casting from object to TimeSpan throws
   * #2988 Query issues when using not-found='ignore' in entity mapping
   * #2965 Fix possible issue with logging for Linq Readonly tests
   * #2963 Time is incompatible with bigint for TimeAsTimeSpanType
   * #2937 NRE in linq processing of custom components
   * #2928 Session.Refresh when entity is IFieldInterceptorAccessor throws a MappingException
   * #2904 SQL query result not retrieved from second level cache
   * #2876 Schema validation not working with NpgSql v5
   * #2862 NHibernate AsyncReaderWriterLock stalls under load
   * #2727 The session.Load(obj, id) overload can't handle proxies

** Task

   * #3019 Release 5.3.11
   * #2984 Bump AsyncGenerator to 0.18.3 for 5.3 branch with fix for .net 6

Build 5.3.10
=============================

Release notes - NHibernate - Version 5.3.10

11 issues were resolved in this release.

** Bug

   * #2891 Fix nullable entity comparison with null and implicit/cross joins
   * #2885 Do not serialize unnecessary members in SessionFactory
   * #2882 Fix ArgumentNullException when provider is unable to open a connection
   * #2871 If DbTransaction.Dispose throws an exception, the AdoTransaction is left in an inconsistent state
   * #2860 Null reference when calling Trim() on interpolated string containing null property
   * #2858 Casting to object and back to interface in Subquery causes incorrect SQL
   * #2856 Distinct on Composite User Type property fails
   * #2855 Error log from ReflectHelper.TypeFromAssembly() on Linq query
   * #2611 One-to-zero-or-one relation not returning data when checking for null
   * #1962 Failing Linq query on element index

** Task

   * #2915 Release 5.3.10

Build 5.3.9
=============================

Release notes - NHibernate - Version 5.3.9

11 issues were resolved in this release.

** Bug

   * #2835 Fix ExecuteWorkInIsolation ignores MultiTenancy configuration
   * #2811 Remove session finalizer
   * #2805 Model not mapped Exception
   * #2802 ArgumentException on session Flush
   * #2792 Arithmetic operations adding casts to SQLite that cause incorrect results
   * #2791 Custom Equality Fails
   * #2772 LINQ query returns NULL instead of expected result

** Test

   * #2841 Fix possible test failure for SqlServer 2019
   * #2814 Fix intermittent Firebird test errors
   * #2812 Replace Travis CI with GitHub Actions

** Task

   * #2837 Release 5.3.9

Build 5.3.8
=============================

Release notes - NHibernate - Version 5.3.8

6 issues were resolved in this release.

** Bug

   * #2710 Filtered Entity Dml Update Throws Collection was modified
   * #2708 MappedAs throws when called on a Convert UnaryExpression
   * #2707 Don't currently support idents of type X
   * #2673 Exception when using BinaryFormatter to deserialize entities with initialized proxies in associations
   * #1264 NH-3005 - NHibernate.Hql.Ast.HqlIdent..ctor throws Don't currently support idents of type Date

** Task

   * #2721 Release 5.3.8

Build 5.3.7
=============================

Release notes - NHibernate - Version 5.3.7

5 issues were resolved in this release.

** Bug

   * #2704 IEnhancedUserType from string to bool fails in some circumstances
   * #2702 LINQ projection of nullable enum with list fails
   * #2693 Invalid parameter conversion with group by
   * #2688 NoViableAltException in a delete on a many-to-one id

** Task

   * #2701 Release 5.3.7

Build 5.3.6
=============================

Release notes - NHibernate - Version 5.3.6

12 issues were resolved in this release.

** Bug

   * #2659 IQueryable<T> filter by subquery gives "Item with Same Key has already been added"
   * #2649 Invalid parameter conversion for enums mapped in sub-classes
   * #2646 Invalid generated sql with linq any in select and composite keys
   * #2642 Linq expression parser removes required Convert nodes
   * #2631 IndexOutOfRange exception with One-to-One mapping
   * #2627 Null reference on Merge for detached unsaved entity
   * #2626 WHERE IN SELECT uses wrong column
   * #2608 Delay entity insert may fail with Merge
   * #2544 Recognition error occurs using System.Linq.Queryable.Contains

** Improvement

   * #2677 Missing ConfigureAwait in FutureEnumerable.GetEnumerableAsync
   * #2656 Make sure dbcommand is disposed

** Task

   * #2676 Release 5.3.6

As part of releasing 5.3.6, one missing 5.3.0 possible breaking change has been added, about
Merge no more triggering immediate generation of identifier. See 5.3.0 possible breaking changes.

Build 5.3.5
=============================

Release notes - NHibernate - Version 5.3.5

2 issues were resolved in this release.

** Bug

   * #2599 WrongClassException in Linq query

** Task

   * #2606 Release 5.3.5

Build 5.3.4
=============================

Release notes - NHibernate - Version 5.3.4

6 issues were resolved in this release.

** Bug

   * #2580 InvalidWithClauseException when join polymorphic entity
   * #2559 Regression in caching linq query with ThenFetchMany statement.
   * #2549 ApplyFilter does not work on join statements in LINQ
   * #2537 Unable to cast "System.Linq.Expressions.UnaryExpression" to "System.Linq.Expressions.LambdaExpression".

** Task

   * #2578 Add missing possible breaking changes for #2365
   * #2587 Release 5.3.4

As part of releasing 5.3.4, one missing 5.3.0 possible breaking change has been added, about
custom method generators for Linq. See 5.3.0 possible breaking changes.

Build 5.3.3
=============================

Release notes - NHibernate - Version 5.3.3

16 issues were resolved in this release.

** Bug

   * #2519 Fix parameter caching for Linq provider
   * #2515 InvalidCastException for Linq query with subquery
   * #2514 Entity with field interceptor are not correctly passed as Linq parameters
   * #2512 Linq queries with a condition after a projection on a collection fail
   * #2511 Linq Fetch over component after fetching a many-to-one throws exception
   * #2508 OnPreUpdateCollection - Passed entity instance X is not of expected type Y
   * #2499 Cast operation fails when an enum is mapped as an AnsiString
   * #2490 Unnecessary cast in sql with Linq are causing performance issues
   * #2488 Fix parameter detection for Equals and CompareTo methods for Linq provider
   * #2485 Throw entity not mapped exception for entity join in hql if possible
   * #2484 Entity Joins are not polymorphic in hql
   * #2476 Hashset add returns true instead of false
   * #2474 Fetch all lazy properties when entity is already loaded fails
   * #2471 AsQueryable() on collection throws if applied after Where statement

** Task

   * #2482 Add missing possible breaking changes for #2010
   * #2527 Release 5.3.3

As part of releasing 5.3.3, two missing 5.3.0 possible breaking changes have been added, about
uninitialized extra lazy collections and SQLite schema validation. See 5.3.0 possible breaking changes.

Build 5.3.2
=============================

Release notes - NHibernate - Version 5.3.2

6 issues were resolved in this release.

** Bug

   * #2468 Null reference at NHibernate.Util.AsyncReaderWriterLock.ReadLock()
   * #2465 Linq contains on a value collection is failing
   * #2463 Path expected for join
   * #2458 Evaluatable expressions with parameters are no more pre-evaluated
   * #2453 Fail to cast enum as nvarchar for Linq Contains

** Task

   * #2472 Release 5.3.2

Build 5.3.1
=============================

Release notes - NHibernate - Version 5.3.1

7 issues were resolved in this release.

** Bug

   * #2445 LINQ queries with a cast from int to uint fail
   * #2440 InvalidCastException for Future Criteria with aliased fetches 
   * #2439 Invalid parameter conversion for enums
   * #2437 Invalid cast on nullable custom type with Linq

** Task

   * #2450 Release 5.3.1
   * #2436 Fix old http://nhibernate.info URIs
   * #2435 Fix iconUrl warning

Build 5.3.0
=============================

Release notes - NHibernate - Version 5.3.0

220 issues were resolved in this release.

    ##### Possible Breaking Changes #####
        * A distributed cache may hold conflicting timestamps after upgrade for as much as twelve hours.
          Consider flushing a distributed cache after upgrade to avoid any issue. Do not share a distributed
          cache with applications using an earlier version of NHibernate.
        * The counter id generator may generate conflicting ids for as much as twelve hours after upgrade.
        * `update` and `delete` statements will now take into account any enabled filter on the entities
          they update or delete, while previously they were ignoring them. (`insert` statements will also take
          them into account, but previously they were failing instead of ignoring enabled filters.)
        * ISession.Persist and ISession.Merge will no more trigger immediate generation of identifier.
        * Bags will no more be loaded with "null" entities, they will be filtered out.
        * Setting the value of an uninitialized lazy property will no more trigger loading of all the lazy
          properties of the entity.
        * If an uninitialized lazy property has got its value set, without any other subsequent lazy property
          load on the entity, a dynamic update will occur on flush, even if the entity has dynamic updates
          disabled. This update will occur even if the set value is identical to the currently persisted
          property value.
        * Assigning an uninitialized proxy to a `no-proxy` property will no more trigger the proxy
          initialization. Moreover, reading the property afterwards will no more unwrap the assigned proxy,
          but will yield it.
        * A class having an explicitly implemented interface declaring a member with the same name than the
          class id will have its proxies trigger a lazy load if the interface "id" is accessed.
        * SQLite: in order to avoid a floating point division bug losing the fractional part, decimal are now
          stored as `REAL` instead of `NUMERIC`. Both are binary floating point types, excepted that `NUMERIC`
          stores integral values as `INTEGER`. This change may cause big integral decimal values to lose more
          precision in SQLite.
        * SQLite: non supported SQL type names previously used by NHibernate, resulting in unexpected actual typing,
          have been fixed. This causes databases generated by a previous NHibernate version to fail schema validation
          by 5.3 or higher versions. See #2507 for more information.
        * Custom dialects used for databases that do not support cross join will have to override
          `SupportsCrossJoin` property and set it to `false`.
        * `VisitorParameters.ConstantToParameterMap` may contain the same parameter for multiple constant
          expressions.
        * `ICache` caches yielded by the session factory will be `CacheBase` wrappers around the cache actually
          provided by the cache provider, if it was not deriving from `CacheBase`.
        * Calling `IList.RemoveAt` or `IList<>.RemoveAt` on an uninitialized list with a negative number
          will now throw an `ArgumentOutOfRangeException`.
        * Calling `IList.RemoveAt` or `IList<>.RemoveAt` on an uninitialized list mapped as `lazy="extra"`
          with a number that is equal or higher that the current collection size will now throw an
          `ArgumentOutOfRangeException`.
        * Calling `IList.Insert` or `IList<>.Insert` on an uninitialized list with a negative number will
          now throw an `ArgumentOutOfRangeException`.
        * Calling `IList.Insert` or `IList<>.Insert` on an uninitialized list mapped as `lazy="extra"`
          with a number that is higher that the current collection size will now throw an 
          `ArgumentOutOfRangeException`.
        * Getting or setting a value with `IList.this[int index]` or `IList<>.this[int index]` on an uninitialized
          list with a negative number will now throw an `ArgumentOutOfRangeException`.
        * Setting a value with `IList.this[int index]` or `IList<>.this[int index]` on an uninitialized list
          mapped as `lazy="extra"` with a number that is equal or higher that the current collection size will now
          throw an `ArgumentOutOfRangeException`.
        * Calling `IDictionary<,>.Add` or `ICollection<>.Add` on an uninitialized map mapped as `lazy="extra"` with
          a key that already exists will now throw an `ArgumentException`.
        * Calling `IDictionary<,>.Remove` or `ICollection<>.Remove` on an uninitialized map mapped as `lazy="extra"`
          with a key that does not exist will now return false.
        * Map dirtiness is now evaluated by `EqualityComparer<TValue>.Default` when setting an existing key value
          with `IDictionary<,>.this[]` on an initialized map.
        * Calling `ISet<>.Add` on an uninitialized set mapped as `lazy="extra"` with a transient element that
          already exists in the set will now return false.
        * Calling `ISet<>.Add` or `ICollection<>.Add` on an uninitialized set mapped as `lazy="true"` with a
          transient element that does not override `Equals` method will not initialize the collection.
        * Linq custom generators deriving from `BaseHqlGeneratorForMethod` should override the
          `TryGetCollectionParameter` method if they have to support parameter lists.

** Bug

   * #2425 NRE with nullable subselect value in Linq
   * #2421 Chapter 26: Best Practices, error about identifier recommendations
   * #2410 Second level cache failures with CoreMemoryCaches
   * #2380 OData NotSupportedException MemberInit on base class member
   * #2365 Add Linq parameter type detection
   * #2346 Fix SQLite typing
   * #2336 Intermittent null reference exception on CloseConnection
   * #2324 Update IIsEntityDecider to use ExpressionsHelper.TryGetMappedType
   * #2319 Upgrade AsyncGenerator to 0.18.1
   * #2299 Proper query plan caching for DML LINQ queries
   * #2286 Wrong sql if used joined-subclass with filters for key columns
   * #2278 IInterceptor.OnPrepareStatement results not used in insert/update commands
   * #2266 Fix comment for Restrictions.IsEmpty
   * #2255 Fix a flaky test
   * #2245 Add sqlite.binaryguid to configuration schema
   * #2244 SelectMany Linq extension does not work correctly - subsequent FetchMany fails
   * #2233 Fix possible issue with async code for delayed entity inserts
   * #2231 Invalid alias name used in Linq Joins
   * #2222 NHibernate query plan for Linq Dml is not cached
   * #2219 Fix BuildTool output path
   * #2215 Fix ShowBuildMenu.sh
   * #2181 Skip null entities when bag is populated
   * #2164 Do not call GC.SuppressFinalize from finalizer thread
   * #2158  Proper support for IN clause for composite values in Criteria
   * #2147 Improve async locking
   * #2144 AdoTransaction memory leak (5.2.5)
   * #2137 NullReferenceException in EntityEntry.GetLoadedValue  on an update of a never loaded detached entity
   * #2099 "Composite Index" not working with inheritance
   * #2088 Fix cacheable CreateSQLQuery throws on query with AddJoin
   * #2085 Duplicated methods generated in proxies
   * #2067 Wrong proxy built for base class with interfaced sub-classes
   * #2064 One-to-one properties not appearing in Select() projection result set
   * #2053 Dml Style Update fails with static where sql in mapping
   * #2038 Fix a typo on the memcached distributed cache description in the docs
   * #2029 Incorrect SQL for cast inside an aggregate (MS SQL)
   * #2019 Update symbol package format and add Sourcelink
   * #2000 Fixed Equals method for transformers
   * #1997 Fix criteria collection ordering
   * #1994 Extra Select for every "outfiltered" Element
   * #1993 InvalidCastException when merging a collection with a lazy property
   * #1985 DateTime.xxxx are not supported in SelectGroup
   * #1965 Fix code sample in docs, section 10.4.2
   * #1956 Fix lazy property caching
   * #1921 DML insert fails when a filter is enabled
   * #1738 Refresh of locally removed collection item crashes with "instance was not in a valid state"
   * #1480 Fix cache build for honoring mapped concurrency
   * #1368 NH-3778 - Crash when performing a Linq query on a one-to-one mapped reference
   * #1341 NH-3848 - Child collection fetched using left outer join with on clause or where clause restrictions on fetched collection shouldn’t be stored in second level cache.
   * #1319 NH-3549 - BasicFormatter throws exceptions for certain types of data containing "signal words"
   * #1312 NH-3493 - Cannot use alias between more than 1 level of nested queries
   * #1310 NH-3478 - StatefulPersistenceContext.RemoveEntity KeyNotFoundException on Evict
   * #1309 NH-3469 - Impossible to load one-to-one association with LINQ for composite-id
   * #1274 NH-3117 - Query on one-to-one property returns incorrect results
   * #1263 NH-2991 - Criteria withClause doesn't work in case of many to many collections
   * #1228 NH-2648 - HQL with joins in sub-select creates wrong SQL
   * #1206 NH-1761 - Criteria query inserts an extra order by expression when using JoinType.LeftOuterJoin and Projections
   * #1158 NH-3492 - SqlClientBatchingBatcher incorrectly ignoring per-SessionFactory Settings properties
   * #1128 NH-3210 - NHibernate Linq Provider does cross join or left outer join and not inner join (even if outer-join=false on many-to-one mapping)
   * #1124 NH-3155 - Linq subquery with group is not supported
   * #1125 NH-3178 - Exception when using one-to-one properties in a criteria projections
   * #1117 NH-3079 - Cannot use a sql custom loader with a composite ID
   * #1107 NH-2983 - Coalesce in projection doesn't work if there is more than 1 Coalesce
   * #1103 NH-2926 - CriteriaQuery - Unable to sort by composite-id
   * #1100 NH-2892 - The <key /> columns containing reserved words are not quoted
   * #1059 NH-1001 - Select statement issued for each not-found=ignore
   * #1047 NH-3865 - Swallowed ArgumentNullException with dynamic composite id
   * #1015 NH-2951 - Missing alias in hql update (select) statement with joined subclasses
   * #1006 NH-2714 - Properties mapped inside a <properties> group are not set when retrieving object

** New Feature

   * #2411 Add an option to register a custom pre-transformer for a Linq query
   * #2392 Add locate support for SQLite
   * #2362 Add support for lt, gt, le, ge oData operators on strings
   * #2349 Add support for Oracle binary floating point types
   * #2347 Support fetching individual lazy properties for Criteria EntityProjection
   * #2327 Add cross join support for Hql and Linq query provider
   * #2313 Add overloads to ISession.Get taking both an entityName and a lockMode
   * #2259 Schema auto-update should throw errors
   * #2221 Support MemberInit expression in group by
   * #2216 Add a driver to support Microsoft.Data.SqlClient provider
   * #2209 IN clause support in hql for composite keys on databases without row value constructor support
   * #2156 Support basic arithmetic operations (+, -, *, /) in QueryOver
   * #2135 Support OData GroupBy/Aggregate
   * #2116 Ability to replace ConfigurationManager with a custom config provider
   * #2108 Multi-Tenancy: Implement tenant per Database strategy
   * #2107 Port Hibernate's Aggregate functions for subqueries
   * #2106 Port Hibernate's support subqueries in HQL as CASE statement alternatives
   * #2100 Allow to override default types with length or precision parameters
   * #2097 Add support for fetching an individual lazy property with Criteria
   * #2090 Add support for caching fetched relations with Criteria
   * #2080 Add ability to set custom collection type as a string in mapping by code
   * #2049 Fix property-ref ignoring not-found="exception" mapping
   * #1949 Port Hibernate's lazy attribute fetch groups
   * #1922 Add support for fetching an individual lazy property with hql and linq provider
   * #1861 Lazy loading and Eager initialization for Component
   * #1376 Composite id is incorrectly expanded in SQL
   * #1195 NH-4078 - LINQ fetched collections aren't cached
   * #981 NH-3873 - Explicit joins on unrelated classes
   * #959 NH-4048 - Support non-deterministic/db-side-only methods in Linq
   * #896 NH-1432 - Expression.Sql should support aliases other than {alias}

** Improvement

   * #2404 Allow overriding default CastFunction
   * #2401 Optimize JoinWalker.WhereString method
   * #2399 Optimize PersistentGenericBag.EqualsSnapshot
   * #2394 Optimize PersistentGenericSet snapshot
   * #2352 Improve performance of ReflectHelper.GetMethod/Definition
   * #2350 Optimize LINQ batch item processing for queries with overridden result type
   * #2316 Add multiple arguments support for ISQLFunction
   * #2315 Add SetFlushMode for QueryOver and Linq
   * #2295 Optimize filter applying logic
   * #2287 Allow customizing 'alias to bean' property not found behavior
   * #2284 Make persistent collection classes implement the IReadOnly* interfaces
   * #2270 IQueryOver<T> is lacking some options
   * #2254 Add dev build version suffix
   * #2249 Improve handling of SqlCeParameter.SqlDbType
   * #2248 Remove most RemoveAsAliasesFromSql usages
   * #2241 Avoid duplicating parameters in LINQ query
   * #2238 Call generic query.List from Linq queries
   * #2235 Configure log4net from embedded resource log4net.xml in tests
   * #2232 Use SqlStringBuilder for batching Future/QueryBatch queries
   * #2226 Use DateTime.UtcNow for timestamps
   * #2225 Avoid unnecessary locking via MethodImplOptions.Synchronized
   * #2223 Short-Circuit SessionFactoryImpl.Close() when already closed
   * #2214 Allow configuring auto-join transaction globally
   * #2213 Add a shortcut to reduce Transaction.Current reads
   * #2211 Port SupportsRowValueConstructorSyntaxInInList values
   * #2182 Upgrade AsyncGenerator to 0.17.1
   * #2166 Optimize usages of SqlString.Append
   * #2163 Add virtual DefaultQueryProvider.CreateWithOptions
   * #2162 Use collection types for private members
   * #2161 Optimize ToArray conversions
   * #2159 Unify handling of composite values in hql and Criteria
   * #2153 Use generic parameters in ActionQueue
   * #2139 Add ability to set fetch for <one-to-one> mapping in mapping by code
   * #2131 Create Stopwatch only if stats is enabled
   * #2126 Upgrade AsyncGenerator to 0.14.0
   * #2125 Skip logger default initialization logic when logger provided by user
   * #2123 Use Assert.Throws instead of try-catch in tests
   * #2119  Obsolete interfaces for Loquacios configuration and use config classes directly
   * #2117 Replace array concatenation with hand written append
   * #2115 Statefull Session commit performance issue when nothing changed and second level cache with query cache enabled
   * #2091 Obsolete StringHelper.Join
   * #2084 Improve one-to-one handling in queries
   * #2082 Use entities prepared by Loader in hql select projections
   * #2078 Avoid unnecessary join for entity comparisons in with clause
   * #2071 Support subclass mapping with EntityName based base class mapping
   * #2061 Reduce cast usage for COUNT aggregate and add support for Mssql count_big
   * #2058 DB2 dialect enhancements
   * #2056 Optimize GetOrphans and remove wrong checks from IsNotTransientSlow
   * #2041 Hql entity join fixes
   * #2039 Use generic CollectingNodeVisitor in hql parser
   * #2036 Reduce cast usage for aggregate functions
   * #2032 Allow using ON instead of WITH in hql
   * #2024 Refactor to simplify netfx retargeting
   * #2022 Make CancellationToken optional for async Linq DML queries
   * #2010 Add new collection operation queue mechanism
   * #2009 Add support for IDictionary<string, object> to IQuery.SetProperties
   * #2007 Dispose session in cascade tests
   * #2006 Skip Topological sorting if not required
   * #2003 Avoid some cases of Type -> string -> Type conversion in Mapping By Code
   * #2002 Refactor DependentAlias handling logic in JoinWalker
   * #1999 Optimize DistinctRootEntityResultTransformer
   * #1989 Optimize ProxyCacheEntry equality for the same instance
   * #1988 Improve exception on user types lacking some interfaces
   * #1984 Reduce SessionIdLoggingContext creation
   * #1981 Remove AbstractLazyInitializer unused field
   * #1979 Refactor sequential select
   * #1977 Obsolete IDeserializationCallback from EntityKey
   * #1972 Port Hibernate's EntityKey optimization
   * #1968 Optimize StaticProxyFactory GetProxy and GetFieldInterceptionProxy methods
   * #1955 Optimize batchable cache calls for cached queries
   * #1947 Partially port Hibernate's current field interceptor mechanism
   * #1946 Port Hibernate's BytecodeEnhancementMetadata
   * #1944 Extend IAccessOptimizer to support getting/setting single property value
   * #1943 Skip initialization of lazy properties when setting one
   * #1923 Obsolete StringHelper.Replace
   * #1860 LINQ "==" operator generates OR with IS NULL
   * #1754 Delay entity insert on Persist until session is flushed
   * #1627 Refactored session List<T> method  for Criteria
   * #913 NH-3704 - Allow Setting Dynamic Component Templates From Dictionary
   * #864 NH-2379 - Add support of Left Joins to Linq Provider
   * #803 NH-2521 - Session.EnableFilter method should work for HQL-DML statement
   * #780 NH-1200 - Exception occurs when using criteria exist queries
   * #767 NH-3892 - Add ability to coalesce using a property instead of a constant
   * #722 NH-1953 - Support Future for collection filters
   * #476 Eliminated double Persister resolution in Loader.InstanceNotYetLoaded flow

** Task

   * #2433 Improve slightly mapping documentation
   * #2432 Document the caches configuration providers
   * #2430 Document cache.serializer setting of CoreDistributedCache
   * #2397 Update GitReleaseManager
   * #2391 Use latest Firebird for AppVeyor and Travis
   * #2388 Release 5.3
   * #2382 Refactor debug logging in AbstractBatcher
   * #2381 Use optimized Dictionary.Remove(key, out value) in .NET Core 
   * #2379 Simplify swap items logic in LINQ Visitors
   * #2377 Use dotnet to push packages to nuget
   * #2376 Add MyGet gallery link to readme
   * #2368 Replace SafetyEnumerable<T> with OfType<T> where applicable
   * #2363 Upgrade AsyncGenerator to 0.18.2
   * #2356 Obsolete IdentitySet class
   * #2354 Do not require Mono to build on not Windows 
   * #2353 Update Microsoft.SourceLink.GitHub to 1.0.0
   * #2351 Get rid of JoinedEnumerable<T> and SingletonEnumerable<T>
   * #2348 Use static ReferenceComparer for reference comparisons
   * #2308 Merge 5.2.7
   * #2294 Add StackExchangeRedis cache provider documentation
   * #2293 Update RtMemoryCache framework dependency
   * #2265 Fix code style issues
   * #2251 Publish development nightly builds on nuget
   * #2205 Merge 5.2.6
   * #2171 Upgrade NUnit
   * #2122 Update AsyncGenerator to 0.13.3
   * #2016 Avoid recursive calls in BatchFetchQueue
   * #2014 Obsolete Environment.Properties
   * #1973 Investigate licenseUrl deprecation
   * #1971 Add SourceLink to allow NuGet package debugging
   * #1940 Allow to provide dev specific properties in NHibernate.dev.props
   * #1936 Upgrade AsyncGenerator to 0.13.1

** Tests

   * #2384 Tests to verify NH-2329 is obsolete
   * #2360 Add OData test for single property $expand
   * #2089 Bidirectional list fails if session only knows about child
   * #2066 Tests for proxy interface handling
   * #1966 Test duplicated join on some Linq queries

Build 5.2.7
=============================

Release notes - NHibernate - Version 5.2.7

4 issues were resolved in this release.

** Bug

   * #2302 Backport sqlite.binaryguid to configuration schema
   * #2298 Dml Linq Update Produce Wrong Sql
   * #2296 Missing Row Count in Debug Log for Future queries

** Task

   * #2303 Release 5.2.7

Build 5.2.6
=============================

Release notes - NHibernate - Version 5.2.6

11 issues were resolved in this release.

** Bug

   * #2190 Cannot instantiate a SessionFactory using Prevalence cache
   * #2177 New Fetch() method in QueryOver returns IQueryOver<> instead of QueryOver<>
   * #2172 Using DependentTransaction fails
   * #2175 Subcriteria on component collection generates incorrect join alias 
   * #2173 Futures not batching correctly in NH 5.2.x
   * #2141 Undefined call to Equals object in collection during flush just before commit 
   * #2127 StackExchangeRedisCache with PreferMultipleGet = true calls GetMany multiple times
   * #2110 Wrong GUID to string conversion with SQLite  BinaryGuid=False

** Task

   * #2200 Release 5.2.6
   * #2199 Upgrade AsyncGenerator to 0.8.2.12

** Tests

   * #2132 Add GetMany for ReadWriteCache tests

Build 5.2.5
=============================

Release notes - NHibernate - Version 5.2.5

5 issues were resolved in this release.

** Bug

   * #2075 Missing cast when comparing a guid and string columns in SAP SQL Anywhere
   * #2046 Fix nullable Guid ToString is not translated correctly on some dialects
   * #2043 System.Reflection.TargetException when an interface is used as class mapping proxy definition
   * #2040 Incorrect SQL when comparing a guid and string column in Sql Server

** Task

   * #2086 Release 5.2.5

Build 5.2.4
=============================

Release notes - NHibernate - Version 5.2.4

3 issues were resolved in this release. The dialect change has the side effect of
re-enabling a hack used by NHibernate.Spatial, allowing Spatial users to upgrade
to NHibernate 5.2.x. See NHibernate.Spatial#104.

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

   * #2020 Throw for DML on filter
   * #2011 Use a statically resolved dialect when building the session factory

** Task

   * #2030 Release 5.2.4

As part of releasing 5.2.4, a missing 5.2.0 possible breaking change has been added about
property-ref on null values. See 5.2.0 possible breaking changes.

Build 5.2.3
=============================

Release notes - NHibernate - Version 5.2.3

1 issue was resolved in this release.

** Bug

   * #1964 Unable to serialize session because SerializationFieldInfo is not marked as serializable

Build 5.2.2
=============================

Release notes - NHibernate - Version 5.2.2

3 issues were resolved in this release.

** Bug

   * #1953 Query space invalidation doesn't work for bulk actions
   * #1269 NH-3069 - Cannot use Session.Lock with Version column on abstract base class

** Task

   * #1957 Release 5.2.2

Build 5.2.1
=============================

Release notes - NHibernate - Version 5.2.1

5 issues were resolved in this release.

** Bug

   * #1928 JoinAlias on JoinQueryOver fails
   * #1920 ISession.Get may fail with a null exception
   * #1918 Property-ref on many-to-one with composite id fails

** Task

   * #1932 Release 5.2.1
   * #1927 Add missing possible breaking change

As part of releasing 5.2.1, a missing 5.2.0 possible breaking change has been added about duplicated columns
in mapping. See 5.2.0 possible breaking changes.

Build 5.2.0
=============================

Release notes - NHibernate - Version 5.2.0

157 issues were resolved in this release.

    ##### Possible Breaking Changes #####
        * Entities having many non-readonly properties (including many-to-one) mapped to
          the same column will no more silently ignore the trouble till an insert or update
          is attempted. They will now cause the session factory built to fail. When
          mapping many properties to the same column, all of them excepted at most one
          should be mapped with `insert="false" update="false"`.
        * Mappings mixing column elements and formula elements were taking into account
          only the formula elements. They will now take into account all elements.
        * Mappings mixing column elements and/or formula elements with a column attribute
          or a formula attribute were silently ignoring the attribute. They will now throw.
        * Mappings mixing a column attribute and a formula attribute were silently doing
          some best effort logic, either considering this as a two columns mapping, the
          second one being the formula (most cases), or only taking into account the
          formula (case of the `<element>` mapping). They will now throw.
        * NHibernate StringType has gained case-sensitivity and culture parameters.
          Previously it was ignoring parameters. This type may change its behavior
          for any mapping having defined parameters for this type. See #1833.
        * Mapping a dynamic component with a Hashtable property instead of an
          IDictionary is no more supported.
        * Querying a dynamic entity as a Hashtable instead of an IDictionary is no more
          supported.
        * A collection mapped with a `property-ref` will no more support being accessed
          when the referenced property is null. It will throw. Previously, the collection
          was not throwing but was always loaded empty.
        * With PostgreSQL, a HQL query using the bitwise xor operator "^" or "bxor"
          was exponentiating the arguments instead. It will now correctly apply the xor
          operator. (# operator in PostgreSQL SQL.)
        * Auto-generated constraint names will not be the same than the ones generated
          with previous NHibernate versions under .Net Framework. (Under .Net Core those
          names were anyway changing at each run.) The new ones will be the same
          whatever the runtime used for generating them.
        * Some generated PK names may change, if a table name has a quoting symbol at
          precise 13th character.
        * The WcfOperationSessionContext has been removed from .Net Core and .Net
          Standard builds. See #1842.
        * Some classes, which were not serializing the session factory, do now serialize it.
          In case of cross-process serialization/deserialization, these session factories
          will need to be properly named, by setting the session_factory_name setting in the
          configuration used to build them. This may mainly affect users of a distributed
          second level cache, if their cache implementation uses binary serialization.
          Affected classes are: CacheKey, CollectionKey, EntityKey and EntityUniqueKey.
        * Some types cache representations have changed. Out-of-process second level
          caches should be cleared after upgrading NHibernate, if some of those types
          were cached. The concerned types are: CultureInfoType, TypeType, UriType,
          XDocType, XmlDocType.
        * Dialect.GetIdentitySelectString was called by the entity persisters with
          inverted parameter values: the table name in the column parameter, and the
          column name in the table parameter. No built-in dialects were using the
          parameter values. External dialects which were using it inverted (causing issues
          to collection persisters, which have always supplied them correctly) needs
          to be accordingly adjusted.
        * Users providing through an IObjectFactory some custom logic for instantiating
          value types will now need to supply their own result transformer if they were
          using AliasToBeanResultTransformer with value types, or their own entity
          tuplizer if they were using value types as entities.
        * Users providing through an IObjectFactory some custom logic for instantiating
          their custom session contexts will have to implement
          ICurrentSessionContextWithFactory and add a parameterless public constructor
          to their custom context, and move their custom instantiation logic from
          IObjectsFactory.CreateInstance(Type, object[]) to
          IObjectsFactory.CreateInstance(Type).
        * Various *Binding classes of NHibernate will now always have their protected
          dialect field null. (These classes are not expected to be derived by users,
          as there is no way to use custom descendants with NHibernate.)
        * AbstractPersistentCollection.AfterInitialize does no more perform queued
          operations. Queued operations are now run by a later call to a new method,
          ApplyPendingOperations. Concrete custom implementations relying on the queued
          operations to be done by their base AfterInitialize will need to be changed
          accordingly.

** Bug

   * #1900 Do not generate FK on non-generated unique constraint
   * #1888 Second level cache key mismatch
   * #1886 Superfluous SQL casts generated in FirebirdClientDriver
   * #1885 Process classes accordingly to inheritance path in mapping by code
   * #1884 Fix attempt of static proxies to call base method for abstract classes
   * #1874 Item in child collection not being removed
   * #1872 Fix property ref handling
   * #1870 Update build-menu options in documentation
   * #1867 Fix registration of current_date for some dialects
   * #1859 Fix filter & where fragment appended after lock hint
   * #1855 Fix NotNullUnique not taken into account for single column
   * #1849 Loquatious QueryCache constraint should be an IQueryCacheFactory constraint
   * #1836 Cannot create configuration due to log4net loading failure
   * #1824 property-ref on a component's property causes "wrong number of columns" error
   * #1821 Allow using ICompositeUserType for collection element mappings in Mapping By Code
   * #1818 Handle DbDataReaders that do not support GetSchemaTable
   * #1812 Fix the <any/> handling without meta-values
   * #1809 Update the mapping documentation
   * #1799 Default value of 'proxyfactory.factory_class' in the documentation
   * #1774 HQL and LINQ query by the type on with meta-type "string" fails
   * #1769 Table mapping for UniqueColumn uses unstable GetHashCode() method
   * #1764 Fix configuration schema forbidding custom bytecode provider
   * #1760 Support formula on one-to-many map-key
   * #1756 Fix unsaved-value for assigned identifiers
   * #1753 Fix possible InvalidCastException in ActionQueue
   * #1751 Avoid completing the same transaction twice
   * #1748 Fix a bad setting naming about transaction scopes
   * #1745 Remove obsoleted hibernate configuration prefix
   * #1744 Reconnect lazy property proxy on deserialization
   * #1737 Remove a binary breaking change introduced in #305
   * #1728 Generate a correct proxy for interfaces
   * #1727 Fix a null-ref exception with no-proxy one-to-one
   * #1726 Fix serialization exception when run on .NET Core 2.1
   * #1719 Cascade delete-orphan on no-proxy null association fails
   * #1706 Entity Projection: Fixed AsEntity() for root entity
   * #1704 GroupBy to custom class fails with ArgumentException
   * #1696 Fixed CriteriaImpl.Clone for readonly query
   * #1692 Update base_mapping.xml
   * #1673 Bitwise xor treated as pow with PostgreSQL
   * #1654 Fix the url to the quickstart of DocBook
   * #1635 IdentitySelectString implementation is inconsistent
   * #1612 Fix TypedValue not always using adequate comparer with SetParameterList
   * #1609 Schema validation using SQLite and a specific schema fails
   * #1366 NH-3506 - ICriteria/QueryOver create incorrect left join condition when table-per-hierarchy is used with filters
   * #1358 NH-3992 - Intermediate inherited classes are not mapped correctly
   * #1344 NH-3864 - Cacheable Multicriteria/Future'd query with aliased join throw exception
   * #1339 NH-3823 - Initialization of Set with Lazy=Extra causes pending additions to disappear
   * #1338 NH-3806 - Saving entities with proxy associations leads to fetching associated entities
   * #1300 NH-3403 - Wrong parameter size in query with MsSql2000Dialect,MsSql2005Dialect and MsSql2008Dialect
   * #1293 NH-3350 - Duplicate records using Future()
   * #1278 NH-3189 - IManyToOneMapper lacks method to add columns AND formula into a single relationship
   * #1214 NH-2180 - Many-To-Many with Property-ref fails to get subitems with FetchMode Join
   * #1201 NH-1316 - PostgreSQL dialect use of lastval to retrieve last inserted "id" not safe with Triggers
   * #1182 NH-3860 - Missing EntityName in IManyToOneMapper
   * #1170 NH-3646 - Incorrect query when items removed from a collection of components contain null values
   * #1163 NH-3545 - SchemaValidator fails for PostgreSql sequences
   * #1151 NH-3426 - Wrong result when converting Guid to string
   * #1121 NH-3095 - Cast from mapped long field to enum leads to 'Specified cast not valid'
   * #1096 NH-2836 - SchemaValidator throws with SqlCe4 if db-schema set
   * #1089 NH-2755 - LockMode hash differs in x86 and 64bit OS
   * #1037 NH-3749 - Unnecessary comma in CREATE TABLE statement
   * #1016 NH-3007 - Informix dialect generates incorrect boolean constants
   * #1000 NH-2558 - NoViableAltException with boolean expression in OrderBy clause
   * #990 NH-2016 - Duplicate Association Path when creating multiple aliases
   * #460 Fix Criteria caching filtered collections

** New Feature

   * #1892 Allow disabling Firebird driver parameter casting
   * #1879 LINQ Coalesce and Conditional on Properties
   * #1854 Add SQL Anywhere 17 support
   * #1848 Add in ByCode support of all type mappings on Id
   * #1833 Parametrize string type comparer
   * #1830 Add a Linux build menu
   * #1796 Support CacheMode in QueryBatch
   * #1786 Document future results
   * #1772 Support futures with stateless session
   * #1752 Async ISynchronization
   * #1742 Add new DB2CoreDriver to use with IBM.Data.DB2.Core provider
   * #1693 Implement SurrogateSelector
   * #1690 Bitwise xor not supported by SQLite
   * #1682 Add support for System.MathF methods
   * #1662 Add support for SAP HANA
   * #1633 Added support for batching 2nd level cache operations when loading entities and collections
   * #1631 Create UtcTicks and UtcDbTimestamp types
   * #1599 Full control of entities fetching in Criteria
   * #1381 NHibernate's IQuery is missing AddSynchronizedQuerySpace
   * #968 NH-2285 - Support for LockMode in linq provider
   * #920 NH-3991 - Support for Sybase ASE ADO.NET 4 Provider
   * #897 NH-2187 - ElementAt LINQ extension method is not supported.
   * #838 NH-3805 - Add support for string indexer property (get_Chars)
   * #819 NH-3088 - Support the item operator [] on lists in linq queries

** Improvement

   * #1908 Control over BeginTransaction in AdoTransaction
   * #1905 Improve support of Npgsql 4
   * #1901 Add ability to use dynamic entities as C# dynamic
   * #1890 Merge two logs in one
   * #1875 Improve exception message in case of duplicated column
   * #1869 Replace an O(n) lookup in LINQ query parsing by an O(1) one
   * #1846 Remove dependency on System.Security.Permissions package for .NET Standard and .NET Core
   * #1842 Remove WcfOperationSessionContext from .Net Core and .Net Standard
   * #1838 Cannot add HqlJoin to HqlFrom
   * #1827 Include the query in loader PostInstantiate QueryException
   * #1819 Append the batched sql statement when StaleStateException occurs
   * #1814 Mark proxy assembly with IgnoresAccessChecksToAttribute to allow implementing non public interfaces
   * #1808 Support mixed formulas and columns
   * #1792 Obsolete HolderInstantiator
   * #1788 Implement multiple get and put for query cache and query batch
   * #1785 Update user types documentation
   * #1782 Refactor BugTestCase
   * #1781 Clean-up IObjectsFactory usages
   * #1778 Allow to use dynamic objects as dynamic components
   * #1777 Replace ICache interface by a CacheBase class
   * #1776 Make cache types serialization friendly
   * #1775 Start/Stop required db-service for TeamCity
   * #1770 Make obsolete abstract virtual
   * #1767 Allow generic dictionaries for dynamic entities
   * #1765 Provide cacheable representations for all NHibernate built-in types
   * #1762 Remove duplicated and obsolete interceptor documentation
   * #1761 Update mapping documentation
   * #1759 Support mixed formulas and columns in By Code
   * #1736 Remove excessive rowIdAlias parameter in Loader
   * #1713 Update contributing guidelines
   * #1712 Support IEquatable in LINQ provider
   * #1710 Rationalize DateTimeOffset read and write
   * #1709 Lazy properties static proxy
   * #1703 Remove dialect instantiation in AddDeserializedMapping
   * #1700 Single place to specify TargetFrameworks
   * #1699 Add ability to load types from in-memory-only assemblies
   * #1698 Document setting the logger factory programmatically
   * #1694 Implement CollectionHelper.GetHashCode that accepts IEqualityComparer
   * #1689 Purge more Invariant culture usages
   * #1671 Decouple configuration of IObjectsFactory from BytecodeProvider
   * #1666 Handle multi-queries support in FutureBatch
   * #1656 Allow any cache.* property in NHibernate configuration
   * #1641 Add cross platform build for full .NET Framework
   * #1452 Async After-/BeforeTransactionCompletion
   * #874 NH-3543 - Enhanced Db2 driver to support multi query
   * #865 NH-2428 - Session.MultiCriteria and FlushMode.Auto inside transaction
   * #840 NH-3835 - Future/MultiCriteria 2nd level caching
   * #822 NH-3150 - Select Post Insert Generator Improvements
   * #755 NH-3670 - Dynamic component should allow generic dictionary
   * #752 NH-3541 - Future queries of Criteria API/QueryOver are batched separately from other query methods
   * #696 Upgrade to ReLinq 2.2.0
   * #415 Add check to ensure that IUserCollectionType.Instantiate returns uninitialized collection

** Task

   * #1863 Release 5.2.0
   * #1823 Run tests for SQLite on .NET Core
   * #1783 Obsolete MultiQuery and MultiCriteria
   * #1773 Obsolete unused version related methods of SByteType
   * #1771 Obsolete unused "xml" type methods
   * #1743 Merge 5.1.3 into master
   * #1739 Upgrade to AsyncGenerator 0.8.2.7
   * #1688 Merge 5.1.2 into master
   * #1687 Update NUnit to 3.10.1
   * #881 NH-3358 - Document all attributes for the element tag

** Tests

   * #1887 Test ref and out methods with static proxy
   * #1724 NH-2716 - Modify test case for discarding the alleged bug
   * #1584 Test Parent property is not accessible in queries
   * #1531 Test for Merging a bidirectional list creates unnecessary UPDATE statement
   * #1440 Test case for ComposedId Entity with Lazy Property is not proxified
   * #1414 Test ISession.IsDirty() should not trigger cascade saving

As part of releasing 5.2.0, a misnamed setting in 5.0.0 release notes has been fixed:
transaction.use_connection_on_system_events correct name is transaction.use_connection_on_system_prepare

Build 5.1.7
=============================

Release notes - NHibernate - Version 5.1.7

** Bug
    * #2298 Dml Linq Update Produce Wrong Sql

Build 5.1.6
=============================

Release notes - NHibernate - Version 5.1.6

** Bug
    * #2172 Using DependentTransaction fails

Build 5.1.5
=============================

Release notes - NHibernate - Version 5.1.5

    ##### 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
   * #2074 Release 5.1.5

Build 5.1.4
=============================

Release notes - NHibernate - Version 5.1.4

** Bug

   * #1959 Backport Query space invalidation doesn't work for bulk actions

Build 5.1.3
=============================

Release notes - NHibernate - Version 5.1.3

** Bug

   * #1741 Fix DbType.Binary registration in DB2Dialect
   * #1732 Dictionary failure in Loader
   * #1730 Query cache always missed in session having altered the entities
   * #1711 Fix static proxy serialization

** Task

   * #1716 Release 5.1.3


Build 5.1.2
=============================

Release notes - NHibernate - Version 5.1.2

** Bug

   * #1680 RowCount not working with JoinEntityAlias
   * #1672 Generated async methods do not correctly propagate OperationCanceledException
   * #1667 Collection initializing with zero rows after update to NH5
   * #1660 Wrong CopyTo implementation
   * #1650 Cannot use cache.use_sliding_expiration in hibernate.cfg.xml
   * #1585 Hashset unsupported by SetParameterList
   * #1355 NH-3928 - Random invalid SQL generated when using bitwise operators

** Task

   * #1668 Merge 5.0.5 into 5.1.x
   * #1664 Release 5.1.2
   * #1659 Merge 5.0.4 into 5.1.x

As part of releasing 5.1.2, a missing 5.0.0 possible breaking change has been added about future queries with data
providers not actually supporting them. See 5.0.0 possible breaking changes.


Build 5.1.1
=============================

Release notes - NHibernate - Version 5.1.1

** Bug

   * #1645 One-to-one with property-ref triggers StackOverflow Exception
   * #1643 TypeLoadException in StaticProxyFactory after upgrading to 5.1.0
   * #1640 Handle all overloads of String.Trim*()
   * #1636 Fix api documentation assets path
   * #1628 StackOverflowException for lazy proxied entities with explicit interface properties
   * #1618 Fix NuGet push script
   * #1149 NH-3391 - StatelessSession: one-to-one detail-object is always null

** Improvement

   * #1646 Add a link to release notes in NuGet package
   * #1639 Speedup access to SQL Server on Linux
   * #1624 Add missing ids on documentation sections
   * #1619 Document "entity join" and "entity projection"

** Task

   * #1649 Release 5.1.1
   * #1622 Update cache documentation
   * #1621 Upgrade Async Generator to a version compatible with VS 15.6.3


Build 5.1.0
=============================

Release notes - NHibernate - Version 5.1.0

** Highlights
    * NHibernate has gained two new target frameworks: .Net Core 2.0 and .Net Standard 2.0. NHibernate NuGet package
      provides them, along with the .Net framework 4.6.1 build.
      For these new frameworks, some additional specificities or limitations apply:
      * Binary serialization is not supported - the user shall implement serialization surrogates for System.Type,
        FieldInfo, PropertyInfo, MethodInfo, ConstructorInfo, Delegate, etc.
      * SqlClient, Odbc, Oledb drivers are converted to ReflectionBasedDriver to avoid the extra dependencies.
      * CallSessionContext uses a static AsyncLocal field to mimic the CallContext behavior.
      * System transactions (transaction scopes) are untested, due to the lack of data providers supporting them.
    * 114 issues were resolved in this release.

    ##### Possible Breaking Changes #####
        * Since Ingres9Dialect is now supporting sequences, the enhanced-sequence identifier generator will default to
          using a sequence instead of a table. Revert to previous behavior by using its force_table_use parameter.
        * Some overridable methods of the Dialect base class and of MsSql2000Dialect have been obsoleted in favor of
          new methods. Dialects implementors need to override the replacing methods if they were overriding the
          obsolete ones, which are:
          * Dialect.GetIfNotExistsCreateConstraint(Table table, string name), replaced by
            GetIfNotExistsCreateConstraint(string catalog, string schema, string table, string name).
          * Dialect.GetIfNotExistsCreateConstraintEnd(Table table, string name), replaced by
            GetIfNotExistsCreateConstraintEnd(string catalog, string schema, string table, string name).
          * Dialect.GetIfExistsDropConstraint(Table table, string name), replaced by
            GetIfExistsDropConstraint(string catalog, string schema, string table, string name).
          * Dialect.GetIfExistsDropConstraintEnd(Table table, string name), replaced by
            GetIfExistsDropConstraintEnd(string catalog, string schema, string table, string name).
          * MsSql2000Dialect.GetSelectExistingObject(string name, Table table), replaced by
            GetSelectExistingObject(string catalog, string schema, string table, string name).

** Bug

   * #1606 NHibernate 5 precision maximum on decimal reduced vs. NHibernate 4
   * #1605 MySql batcher may attempt initiating a new batch without closing open reader first.
   * #1604 MySql batcher disables db exception translation
   * #1602 Preserve original snapshot mode.
   * #1594 AsyncLocal leak in SystemTransactionContext
   * #1587 Prevent substitute garbage collection
   * #1565 For update with outer join fails with PostgreSQL
   * #1562 Fix round registration
   * #1559 Deep removal of Fetch result operators when Any is used
   * #1556 Linq query with "Contains" on persistent collection fails
   * #1551 Assert for a null reference in a flaky test.
   * #1536 Avoid a null reference exception in ExpressionKeyVisitor
   * #1535 Fix some HQL functions registration
   * #1534 Fixed entity name retrieval for EntityProjection
   * #1526 ExpressionKeyVisitor does not produce unique keys for anonymous types coming from different assemblies
   * #1514 Fix exceptions serialization
   * #1511 Test Unicode string.
   * #1509 Add missing NHibernateLogLevel.Info in example web project
   * #1507 NH-3119 - fix test not supporting optimization
   * #1506 SQLite is bugged with distributed transactions: disable distributed tests
   * #1505 Chaining scopes with ODBC is bugged: disabling the test.
   * #1501 Fix NH-3023 test
   * #1496 Fix ManyToOneType.IsModified to handle both object instance and identifier passed to the parameter “old”.
   * #1491 Forgotten async generation for #1487
   * #1486 Fix IsModified so that a null equates empty components when using select-before-update.
   * #1484 Fix default types
   * #1478 Exception when using envers with the latest logging changes
   * #1476 Fix GetQueryCache storing two different caches.
   * #1468 Comparison with DateTime? produces wrong SQL
   * #1463 Fix a null reference case in session context
   * #1454 Fix ProxyFactory cache
   * #1445 Upgrade AsyncGenerator to 0.6.2 and regenerate.
   * #1442 Unable to use an entity with a `FieldInterceptor` property and a lazy loaded property
   * #1436 StackOverflowException when merging an entity with a lazy property
   * #1434 Replace remaining SetOptions with WithOptions
   * #1385 SecondLevelCache CreateSQLQuery().UniqueResult<int>() throws Exception Specified cast is not valid.
   * #1372 NH-3982 - Simple query with Cacheable, Fetch and SingleOrDefault throws exception (regression from 3.3.0)
   * #1371 NH-3898 - Configuring a property with generated="insert" turns "Property.IsUpdatable" into"false" even using update="true" in the xml mapping file.
   * #1363 NH-2500 - NH 3.0 Linq provider uses query parameters from first call in subsequent calls.
   * #1335 NH-3787 - Decimal truncation in Linq ternary expression
   * #1330 NH-3673 - Closure variable values locked in from expressions in NHibernate LINQ provider
   * #1226 NH-2534 - Join-fetching a many-to-one with property-ref results in select n+1 problem
   * #1196 NH-4087 - Decimal truncation occurs after 5 digits
   * #1119 NH-3084 - Class NHibernate.Loader.Loader logs SQL statement on INFO level
   * #1052 NH-3976 - Inconsistent Decimal/NHibernateUtil.Currency handling causing runtime error when using Oracle.ManagedDataAccess
   * #987 NH-1509 - MsSql2000Dialect does not use default schema when creating "if exists" statement
   * #448 NH-1285 - Drop/Create script with default_schema/default_catalog fix(SqlServer)

** New Feature

   * #1588 Add a generic batcher for insert/update/delete statements, usable with PostgreSQL and others
   * #1545 Support to join not associated entities in Criteria (aka Entity Join)
   * #1451 New StaticProxyFactoryFactory
   * #1403 Add timeouts support to MultiCriteria
   * #1377 Logging refactoring
   * #954 NH-3807 - Support for .NET Core 2.0
   * #948 NH-3435 - Ability to select entities in Criteria projections
   * #910 NH-3606 - Open a stateless session from a session
   * #908 NH-3470 - Allow Linq Query to load entities as read-only

** Improvement

   * #1600 Set MySqlClientBatchingBatcher as a default batcher for MySqlDataDriver
   * #1597 Add support for single-argument truncate to dialects that do not support it natively
   * #1569 Modernize test example
   * #1567 Avoid Trim().Length as empty check and ToLowerInvariant() in string comparison
   * #1561 NAnt refactoring
   * #1558 Improved collection batch fetching
   * #1557 Aggregate named queries validation exceptions.
   * #1555 Catch practices: avoid losing catched exception information.
   * #1552 Obsolete UnmodifiableDictionary
   * #1549 Remove an override which was doing the same thing as the base
   * #1548 Add a missing short circuit in query parameter expansion.
   * #1547 Double query translation
   * #1546 Remove a redundant argument in Linq provider ExecuteQuery.
   * #1543 Various string manipulation optimizations
   * #1541 Cache subclass entity aliases in Loader
   * #1537 Avoid unnecessary persister lookup in Loader
   * #1529 Lazy mapping schema loading
   * #1521 Enable warning as error for all projects and configurations
   * #1519 Reuse SchemaExport in CreateSchema/DropSchema in tests
   * #1515 Make NHibernateUtil.Initialize / IsInitialized better reusable for sub-projects like Envers
   * #1504 More reliable SQLite handling in tests.
   * #1502 Upgrade Iesi to 4.0.3 in order to use a release assembly
   * #1498 Cease throwing bare Exception
   * #1494 Update to Oracle installation instructions.
   * #1490 Optimize empty arrays usages
   * #1483 Clean-up of TypeFactory
   * #1482 Refactored DefaultEntityAliases to avoid unnecessary calculations
   * #1477 Reuse the same generic EmptyMapClass instance across the project
   * #1475 Document expiration constraint on UpdateTimestampsCache region.
   * #1467 Reduce the number of calls to UpdateTimestampsCache
   * #1466 Obsolete EqualsHelper
   * #1465 Obsolete EnumerableExtensions
   * #1464 Obsolete ISessionImplementor.Initialize method
   * #1449 Document IsDirty potential side effects
   * #1441 Normalize TargetInvocationException unwrapping
   * #1417 Table counter for aliases should be stable
   * #1412 Store Linq query options in a query provider instead of a queryable
   * #1391 Performance regression in SessionIdLoggingContext
   * #843 NH-3879 - SequenceHiLoGenerator Jumps 1 number each lo > maxLo
   * #842 NH-3869 - Add a way of adding comments into LINQ queries
   * #837 NH-3804 - Register CHR/CHAR, NCHAR, UNICODE, and ASCII standard functions to the dialect(s)
   * #831 NH-3515 - Support for Decimal.Round, Decimal.Ceiling, Decimal.Floor and other static methods of Decimal class
   * #768 NH-3921 - Support sequences in Ingres9Dialect
   * #769 NH-3922 - The various timeout methods should indicate time unit

** Task

   * #1610 Move MsSql constants from driver to dialect.
   * #1608 Missing Async test for GH1594
   * #1603 Forgotten async generation of truncate test
   * #1598 Upgrade IESI to 4.0.4 for having a bumped file version.
   * #1589 Add framework info to example web project and enable .NET Core.
   * #1574 Fix encoding in NorthwindDbCreator.cs
   * #1563 Generate Async test for deep removal of fetch.
   * #1527 Adjust ignore rules for not ignoring DebugHelpers folder and contents
   * #1525 5.1.0 release
   * #1524 Reduce breaking changes due to Ingres9 sequence support
   * #1518 Upgrade to AsyncGenerator 0.8.1
   * #1512 Upgrade to NUnit 3.9
   * #1474 Upgrade AsyncGenerator to 0.7.0

** Tests

   * #1539 Add more tests for constants in LINQ queries

As part of releasing 5.1.0, a missing 5.0.0 possible breaking change has been added about inequality semantic in LINQ
queries. See 5.0.0 possible breaking changes.

Build 5.0.8
=============================

Release notes - NHibernate - Version 5.0.8

** Bug
    * #2172 Using DependentTransaction fails

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

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

Release notes - NHibernate - Version 5.0.6

** Bug
    * #1672 Generated async methods do not correctly propagate OperationCanceledException
    * #1355 NH-3928 - Random invalid SQL generated when using bitwise operators

** Task
    * #1686 Release 5.0.6

Build 5.0.5
=============================

Release notes - NHibernate - Version 5.0.5

** Bug
    * #1665 Have IFutureEnumerable.GetEnumerable executing immediatly the query

Build 5.0.4
=============================

Release notes - NHibernate - Version 5.0.4

** Bug
    * #1658 Add missing cache setting

Build 5.0.3
=============================

Release notes - NHibernate - Version 5.0.3

** Bug
    * #1462 Fix disposing SessionIdLoggingContext if CheckAndUpdateSessionStatus is failed

Build 5.0.2
=============================

Release notes - NHibernate - Version 5.0.2

** Bug
    * #1456 NH-4052 - Add missing serializable implementation
    * #1455 Reduces check session and set context id redundant calls
    * #1453 Eliminate unnecessary AsyncLocal allocation if SessionId isn't changed

** Task
    * #1457 Release 5.0.2

As part of releasing 5.0.2, a missing 5.0.0 possible breaking change has been added about Dialects requiring now
to be configured. See 5.0.0 possible breaking changes.

Build 5.0.1
=============================

Release notes - NHibernate - Version 5.0.1

** Bug
    * #1428 Insert underscore in combined parameter name
    * #1424 Bad wording and example fixes in cache documentation.
    * #1420 Fix #1419 - ISession.IsDirty() shouldn't throw exception for transient many-to-one object in a session
    * #1419 ISession.IsDirty() shouldn't throw exception for transient many-to-one object in a session
    * #1418 Column.GetAlias should account for other suffixes
    * #1415 Correct MaxAliasLength for various dialects
    * #1393 Fix Linq Future aggregates failures, fixes #1387
    * #1389 Add support for out/ref Nullable parameters of proxied methods
    * #1387 Linq Sum() with ToFutureValue fails
    * #1384 Fix a column spec causing missing col in pdf, fix a text overflow
    * #1380 #750 - AliasToBean failure, test case and fix
    * #1378 Fix #1362 - Running Unit tests against SQLite fails on datetime/UTC
    * #1362 NH-4093 - Running Unit tests against SQLite fails on numerous (22) datetime/UTC related tests.
    * #1357 NH-3983 - ToFuture throws ArgumentException at CreateCombinedQueryParameters
    * #1179 NH-3840 - Wrong documentation of "cascade" in 5.1.11 (many-to-one)
    * #1165 NH-3554 - Docs - bidirectional, indexed collections
    * #983 Fix forgotten CDATA closure.
    * #879 NH-4006 - Provide a correct MaxAliasLength for various dialects
    * #750 Transformers.AliasToBean: Value cannot be null. Parameter name: key
    * #712 NH-4092 - AsyncGenerator creates unused private static event handler in SQLite20Driver

** Improvement
    * #1410 Remove unused code in build scripts
    * #1404 Use MsBuild for packing .nupkg files
    * #1401 Clean up db tests dependencies
    * #1395 Documentation fixes
    * #1386 Lack of custom logging documentation
    * #1382 Jira to GitHub: change issue naming in tests
    * #1379 Documentation fixes
    * #982 Back port doc fixes
    * #824 NH-3208 - Document all possible settings in hibernate.cfg
    * #823 NH-3179 - Documentation should note that OnDelete should set IsSaved to false in chapter 24.1
    * #788 NH-1947 - Undocumented attributes on sql-query element
    * #713 Switch to GitHub issues
    * #711 Switch doc generation to UTF-8.

** Task
    * #1431 Release 5.0.1
    * #1405 Remove unused and broken NHibernate.Setup WiX project


Build 5.0.0
=============================

** Highlights
    * IO bound methods have gained an async counterpart. Not intended for parallelism, make sure to await each
      call before further interacting with a session and its queries.
    * Strongly typed DML operation (insert/update/delete) are now available as Linq extensions on queryables.
    * Entities collections can be queried with .AsQueryable() Linq extension without being fully loaded.
    * Reference documentation has been curated and completed, notably with a Linq section.
      http://nhibernate.info/doc/nhibernate-reference/index.html

** Known BREAKING CHANGES from NH4.1.1.GA to 5.0.0

    NHibernate now targets .Net 4.6.1.

    Remotion.Linq and Antlr3 libraries are no more merged in the NHibernate library,
    and must be deployed along NHibernate library. (NuGet will reference them.)

    Classes and members which were flagged as obsolete in the NHibernate 4.x series have been dropped.
    Prior to upgrading, fix any obsolete warning according to its message. See NH-4075 and NH-3684 for a list.

    ##### Possible Breaking Changes #####
        * All members exposing some System.Data types have been changed for the corresponding System.Data.Common
          types. (IDbCommand => DbCommand, ...)
        * The Date NHibernate type will no more replace by null values below its base value (which was year 1753).
          Its base value is now DateTime.MinValue. Its configuration parameter is obsolete.
        * NHibernate type DateTimeType, which is the default for a .Net DateTime, does no longer cut fractional
          seconds. Use DateTimeNoMsType if you wish to have fractional seconds cut. It applies to its Local/Utc
          counterparts too.
        * LocalDateTimeType and UtcDateTimeType do no more accept being set with a value having a non-matching kind,
          they throw instead.
        * DbTimestamp will now round the retrieved value according to Dialect.TimestampResolutionInTicks.
        * When an object typed property is mapped to a NHibernate timestamp, setting an invalid object in the
          property will now throw at flush instead of replacing it with DateTime.Now.
        * Decimal type registration now correctly handles maximal precision. For most dialects, it is 28, matching
          the .Net limit. Values in mappings above maximal precision will be reduced to maximal precision.
        * Default cast types do no more resolve string to 255 length and decimal to its default precision/scale for
          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.
        * Transaction scopes handling has undergone a major rework. See NH-4011 for full details.
          ** More transaction promotion to distributed may occur if you use the "flush on commit" feature with
             transaction scopes. Explicitly flush your session instead. Ensure it does not occur by disabling
             transaction.use_connection_on_system_prepare setting.
          ** After transaction events no more allow using the connection when they are raised from a scope
             completion.
          ** Connection enlistment in an ambient transaction is now enforced by NHibernate by default.
          ** The connection releasing is no more directly triggered by a scope completion, but by later
             interactions with the session.
        * AdoNetWithDistributedTransactionFactory has been renamed AdoNetWithSystemTransactionFactory.
        * Subcriteria.UniqueResult<T> for value types now return default(T) when result is null, as was
          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.
        * Linq Query methods are now native members of ISession and IStatelessSession instead of being
          extension methods.
        * Linq provider now use Remotion.Linq v2, which may break Linq provider extensions, mainly due to names
          changes. See https://github.com/nhibernate/nhibernate-core/pull/568 changes to test files for examples.
        * NHibernate Linq internals have undergone some minor changes which may break custom Linq providers due
          to method signature changes and additional methods to implement.
        * IMapping interface has an additional Dialect member. ISessionFactoryImplementor has lost it, since it
          gains it back through IMapping.
        * IDriver.ExpandQueryParameters and DriverBase.CloneParameter take an additional argument.
        * NullableType, its descendent (notably all PrimitiveType) and IUserType value getters and setters now
          take the session as an argument. This should mainly impact custom types implementors.
        * EmitUtil is now internal and has been cleaned of unused members.
        * ContraintOrderedTableKeyColumnClosure has been renamed ConstraintOrderedTableKeyColumnClosure.
        * enabledFilter parameter has been removed from IProjection.ToSqlString and ICriterion.ToSqlString methods.
        * Proxy factory and proxy cache now use TypeInfo instead of System.Type. This should be transparent for
          most users.
        * Exceptions which were based on ApplicationException are now based on Exception: HibernateException,
          ParserException and AssertionFailure. The logger factory which could throw a bare ApplicationException
          now throws an InstantiationException instead.
        * ThreadSafeDictionary class has been removed. Use System.Collections.Concurrent.ConcurrentDictionary
          instead.
        * Entity mode switching capability, which had never been fully implemented, is dropped.
        * BytecodeProviderImpl, intended for .Net Framework 1 and broken, is dropped.
        * Sessions concrete classes constructors have been changed. (It is not expected for them to be used
          directly.)
        * Obsolete setting interceptors.beforetransactioncompletion_ignore_exceptions is dropped.
        * SQL Server 2008+ dialects now use datetime2 instead of datetime for all date-time types, including
          timestamp. This can be reverted with sql_types.keep_datetime setting.
        * SQL Server 2008+ timestamp resolution is now 100ns in accordance with datetime2 capabilities, down from
          10ms previously. This can be reverted with sql_types.keep_datetime setting.
        * Oracle 9g+ dialects now use timestamp(7) for all date time types, instead of timestamp(4).
        * Oracle 9g+ timestamp resolution is now 100ns in accordance with timestamp(7) capabilities, down from
          100µs previously. 
        * Oracle: Hbm2dll will no-more choose N- prefixed types for typing Unicode string columns by default.
          This can be changed with oracle.use_n_prefixed_types_for_unicode setting, which will furthermore
          control DbCommand parameters typing accordingly. See NH-4062.
        * SqlServerCe: the id generator "native" will now resolve as table-hilo instead of identity.
        * Firebird: timestamp resolution is now 1ms.
        * PostgreSQL: if Npgsql v3 or later is used, time DbParameters will be fetched as TimeSpan instead of
          DateTime.
        * DB2 & Oracle lite: decimal type registration was hardcoding precision as 19 and was using length as
          scale. It now uses precision and scale from mapping when specified, and disregards length.
        * Ingres & Sybase ASA: decimal type registration was hardcoding precision as 18 and was using length as
          scale. It now uses precision and scale from mapping when specified, and disregards length.
        * ODBC: String parameter length will no more be specified by the OdbcDriver.


Release notes - NHibernate - Version 5.0.0

** Sub-task
    * [NH-3956] - Native SQL query plan may get wrong plan
    * [NH-3957] - Second level query cache may yields wrong cache entry
    * [NH-4001] - Remove ThreadSafeDictionary

** Bug
    * [NH-926] - Identity insert fails with SQL Ce dialect and aggressive connection release mode.
    * [NH-1752] - NHibernate Date type converts to NULL
    * [NH-1904] - Protected properties and public properties cannot have the same name with different case
    * [NH-2029] - filter-def's use-many-to-one=false should take ON into consideration
    * [NH-2145] - AssertionFailure exception at ISession.Save
    * [NH-2176] - Consecutive TransactionScopes cannot be used in same NHibernate session
    * [NH-2238] - "DTC transaction prepare phase failed" when UPDATE:ing in a promoted TransactionScope
    * [NH-2241] - Batch Insert using stateless session when using second level cache throws exception when unable to determine transient status
    * [NH-2928] - Connections can only be closed after the Transaction is completed
    * [NH-3023] - Deadlocks may cause connection pool corruption when in a distributed transaction
    * [NH-3078] - TimeAsTimeSpanType issue when using Sybase Advantage Database
    * [NH-3100] - Problem in use if condition for nullable boolean in linq to NHibernate
    * [NH-3114] - Collection inside Component cannot be mapped to a different table
    * [NH-3227] - InvalidOperationException in AbstractBatcher when distributed transaction is aborted
    * [NH-3247] - Char value gets 'cached' in Where-queries
    * [NH-3374] - Session.Merge throws InvalidCastException when using a Lazy bytes[] property
    * [NH-3600] - ISession.Save returns wrong Id
    * [NH-3665] - FirstOrDefault() broken since 3.3.4 and 3.4.0
    * [NH-3693] - AliasToBeanResultTransformerFixture fails under Firebird
    * [NH-3755] - Proxy exception for multiple joined-subclass
    * [NH-3757] - Dynamic entity mapped with entity-name cannot have a component of a fixed class
    * [NH-3793] - Attribute entity-name on <key-many-to-one> is ignored, causing mapping exception
    * [NH-3845] - OfType fails with polymorphism
    * [NH-3850] - .Count(), .Any() and other aggregates return only first result on polymorphic queries
    * [NH-3885] - ThreadSafeDictionary is not threadsafe
    * [NH-3889] - Coalesce on entity in sub-select causes incorrect SQL
    * [NH-3895] - Problem with DateTime fractional seconds on ODBC for MS SQL Server
    * [NH-3911] - Reflection Optimizer tries to cast values to getter type in setter
    * [NH-3913] - Component has bag of child components. Child property mapping ignored
    * [NH-3931] - Invalid order of child inserts when using TPH inheritance
    * [NH-3946] - Linq where "is base class" doesn't get subclasses
    * [NH-3948] - CheckAndUpdateSessionStatus() called twice in CreateFilter method inside SessionImpl class
    * [NH-3950] - FutureValue fails on Linq queries defining a PostExecuteTransformer
    * [NH-3954] - Dynamic proxy cache may yield a wrong proxy
    * [NH-3955] - Unreliable Equals implementation
    * [NH-3961] - Invalid date parameter format with nullables and MappedAs
    * [NH-3966] - Missing command set dispose in batchers
    * [NH-3968] - Distributed transaction cannot be committed because AdoNetWithDistributedTransactionFactory tries to write data by using locked sqlConnection
    * [NH-3969] - Firebird: TimestampResolutionInTicks should be 1ms
    * [NH-3977] - Thread safety weaknesses of MapBasedSessionContext
    * [NH-3981] - CollectionHelper.DictionaryEquals throws
    * [NH-3985] - ObjectDisposedException is thrown when using a child session after having previously disposed of another child session.
    * [NH-3998] - SqlServer CE: "The column aliases must be unique" exception is thrown in some tests
    * [NH-4013] - SqlClientBatchingBatcher CloseCommands contract violated
    * [NH-4022] - MsSql2012Dialect: Invalid drop sequence statement
    * [NH-4024] - ODBC failures with time
    * [NH-4027] - Missing disposals of enumerators
    * [NH-4035] - Teardown failure should not prevent cleanup
    * [NH-4038] - Mapping a TimeSpan in a collection component mapping maps as a BIGINT
    * [NH-4046] - Default length too short for variable length types with SAP Anywhere / ASE
    * [NH-4077] - Possible race condition in ActionQueue.ExecuteActions
    * [NH-4083] - ODBC nvarchar parameter corruption
    * [NH-4084] - DbTimestamp cause stale update exception
    * [NH-4086] - TimeType may lose fractional seconds
    * [NH-4088] - Dialect.GetCastTypeName is buggy
    * [NH-4090] - Prepare SQL fails with time parameters and SQL Server 2008+
    * [NH-4091] - SQL Server CE allocates too much memory with blob and sql prepare

** New Feature
    * [NH-1530] - Add support for XmlDocType and XDocType for Oracle
    * [NH-2319] - IQueryable support for persistent collections
    * [NH-3488] - Strongly Typed Updates and Deletes
    * [NH-3771] - Implement setting to enable Batch Update with Optimistic Locking control
    * [NH-3905] - Support async: Blocking IO leads to ThreadPool starvation and limits scalability
    * [NH-3934] - Add methods WhereNot(ICriterion) and AndNot(ICriterion) in QueryOver
    * [NH-3951] - Support .All() result operator
    * [NH-3996] - Postgres: add support for XmlDocType and XDocType
    * [NH-4009] - Allow marking a Linq extension as db only
    * [NH-4017] - Handle Time parameter conversion for newer Npgsql
    * [NH-4018] - Port AutoJoinTransaction feature
    * [NH-4028] - Support inconclusive tests in result comparison
    * [NH-4031] - Add an AsyncLocalSessionContext
    * [NH-4032] - Supports multiple factories with ThreadStaticSessionContext
    * [NH-4062] - Properly handle Oracle Unicode support dual model

** Task
    * [NH-3683] - Fix Compilation Warnings
    * [NH-3958] - Reference documentation: missing types
    * [NH-3959] - Fix documentation typos
    * [NH-3999] - Document effect of quoted identifier on case sensitivity
    * [NH-4000] - Release 5.0
    * [NH-4004] - Restrict tests running on SQL CE
    * [NH-4051] - Replace System.Linq.Dynamic with System.Linq.Dynamic.Core in tests
    * [NH-4057] - Fix tests for MySql
    * [NH-4058] - Fix Oracle managed failing tests
    * [NH-4063] - Fix ODBC failing tests

** Improvement
    * [NH-1851] - Mapping a TimeSpan as TimeAsTimeSpan for MySQL
    * [NH-2444] - Document linq provider
    * [NH-3094] - Linq does not support unary plus and unary minus operators
    * [NH-3370] - Remove warning about "NHibernate.Type.CustomType -- the custom type * is not serializable"
    * [NH-3386] - Linq OrderBy NewID()
    * [NH-3431] - Replace System.Data with System.Data.Common
    * [NH-3578] - Subcriteria.UniqueResult<T> for value types should return default(T), same as CriteriaImpl.UniqueResult<T> when result is null
    * [NH-3669] - Query should be instance method of ISession
    * [NH-3723] - Some tests are failing when log level set to DEBUG
    * [NH-3744] - Fixed spelling of ContraintOrderedTableKeyColumnClosure method
    * [NH-3750] - Use NuGet to refer to Remotion.Linq (unmerge ReMotion.Linq)
    * [NH-3877] - Target .NET 4.6.1
    * [NH-3900] - Upgrade to Nunit 3.x
    * [NH-3919] - Clean up and harmonize datetime types with regards to different dialects
    * [NH-3927] - Switch to SemVer version scheme
    * [NH-3932] - Merge() may fire unnecessary updates if collection and version mapping exists
    * [NH-3943] - Use NuGet to reference packages instead of local copies
    * [NH-3944] - Upgrade to ReLinq 2
    * [NH-3945] - Update to Antlr 3.5.1
    * [NH-3952] - Cleanup EnumerableHelper usage
    * [NH-3962] - Build with MSBuild Tools 2017 (15)
    * [NH-3963] - More explicit error on MappedAs invalid usage.
    * [NH-3964] - Refactor reflection patterns
    * [NH-3970] - TestCase base class: avoid hiding test failure on tear-down
    * [NH-3973] - Remove enabledFilter parameter from IProjection.ToSqlString and ICriterion.ToSqlString methods
    * [NH-3975] - Synchronize some features dialect support properties
    * [NH-3978] - Extract IDatabaseMetadata from DatabaseMetadata
    * [NH-3987] - Re-implement NhQueryable options
    * [NH-3988] - Replace ApplicationException base class with just Exception
    * [NH-3990] - Upgrade to VS2017 Project structure
    * [NH-3993] - Component Element Customizer Missing ability to map non-public parents and composite element relations
    * [NH-3997] - SqlServer CE: Make native generator to be TableHiLoGenerator
    * [NH-4003] - Refactor session constructor
    * [NH-4010] - Visual Studio launcher still launches 2015
    * [NH-4014] - Update SQLite assembly for tests
    * [NH-4015] - Update Npgsql driver and enable DTC for it in tests
    * [NH-4019] - Pass assembly into log4net functions
    * [NH-4020] - Use TypeBuilder.CreateTypeInfo()
    * [NH-4021] - Track all opened session in tests
    * [NH-4023] - Pass ISessionImplementor to all value setters and getters of nullable types
    * [NH-4026] - Update Firebird driver and use server in tests
    * [NH-4030] - Cleanup and xml doc of Linq Future extension
    * [NH-4033] - Update MySql connector used in tests
    * [NH-4034] - Flush all sessions participating in a transaction
    * [NH-4043] - Complete keyword registration needs done in dialects.
    * [NH-4049] - EmitUtil can be cleaned up
    * [NH-4050] - Use Task.Run instead of BeginInvoke in tests
    * [NH-4052] - Collect schema validation exceptions
    * [NH-4064] - Unmerge Antrl3.Runtime
    * [NH-4073] - Replace NHibernate.Web.Example with modern version
    * [NH-4076] - Do not resurrect session

** Remove Feature
    * [NH-3684] - Remove <Time>Part Extension Methods of QueryOver
    * [NH-3700] - Remove CodeDom BytecodeProviderImpl
    * [NH-3722] - Remove entity mode switching capability
    * [NH-4075] - Remove code obsolete in 4.x

** Meta Issue
    * [NH-4011] - Fix transaction scopes handling


Build 4.1.2.GA
=============================

Release notes - NHibernate - Version 4.1.2.GA

** Bug
    * #1355 NH-3928 - Random invalid SQL generated when using bitwise operators

Build 4.1.1.GA
=============================

    ##### Notes #####
    The [NH-3904] has been reverted in favor of [NH-2401]: users now required to explicitly specify
    custom user type via MappedAs method if they want to use IUserType/ICompositeUserType type 
    parameters in Linq queries, or implement generators the way they take the types into account.

** Sub-task
    * [NH-3940] - Revert NH-3904

** Bug
    * [NH-3929] - ExpressionParameterVisitor selects wrong CustomType for ConstantExpression (Linq)
    * [NH-3941] - MappedAs() does not work

Build 4.1.0.GA
=============================

    ##### 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
    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
    * [NH-2127] - NHibernate cannot convert from decimal to int64 during OutputParamReturningDelegate.ExecuteAndExtract
    * [NH-2167] - Aggregate function GroupProperty mixing named and positional variables
    * [NH-2738] - Exception thrown when mapping contains empty enum
    * [NH-2839] - Linq query with boolean implemeted as IUserType fails
    * [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
    * [NH-2931] - Registering mappings in mapping by code does not process classes accordingly to inheritance path
    * [NH-3015] - Join fetch with Stateless Session returns duplicate entities
    * [NH-3035] - Alias in HQL Order By Clause is Not Replaced
    * [NH-3046] - Potentially serious memory leak with regards to NHibernate.Action.EntityAction.BeforeTransactionCompletionProcessDelegate
    * [NH-3048] - Mapping-by-Code does not allow UnsavedValue in ComponentAsId mapping
    * [NH-3075] - NullReferenceException when using Fetch/FetchMany
    * [NH-3252] - AnsiString larger than 8000 doesn't work with Sql Server
    * [NH-3372] - Support generated columns in combination with explicit loader
    * [NH-3414] - Queries with sub-query in ThenBy fail
    * [NH-3453] - InvalidCastException from FindDirty on many-to-one association with property-ref to composite-id class
    * [NH-3454] - AdoNetWithDistributedTransactionFactory doesn't unhook event handler which may prevent garbage collection
    * [NH-3474] - GroupBy constant producing wrong SQL
    * [NH-3480] - <set> mapping using a property-ref as the link to its children can raise an InvalidCastException when loading
    * [NH-3487] - Deserializing a session can raise an NHibernateException - No tupilizer found for entity-mode [Poco]
    * [NH-3500] - Throwing exception from within a proxied method does not unwrap TargetInvocationException
    * [NH-3512] - Changes in derived object doesn't update version
    * [NH-3518] - If prepare_sql is true, columns of XML type won't work
    * [NH-3527] - UnionSubclassMapper should mark an abstract type as abstract in the generated HbmMapping
    * [NH-3564] - TimestampType does not work with 2nd level cache
    * [NH-3567] - Under the flushmode Auto, Query with subquery failed to flush if there are changes among the entities addressed by the sub-query
    * [NH-3583] - Autoflush doesn't work inside TransactionScope
    * [NH-3609] - Using Projections.Conditional inside of Projections.Count and Projections.Avg generates invalid sql.
    * [NH-3634] - Wrong syntax for comparing component with nullable properties(columnValue = NULL)
    * [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-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 
    * [NH-3754] - Exception "System.ArgumentNullException" when using ICriteria with AliasToBeanResultTransformer and SecondLevelCache
    * [NH-3762] - DateType should not try to set DbParameter.DbType column
    * [NH-3767] - Wrong aliases when querying a table with the name starting with Select, From or As in Oracle
    * [NH-3784] - Collection filtering via ISession.CreateFilter should not allow DML queries
    * [NH-3785] - Collection filtering via ISession.CreateFilter incorrectly applies filter to nested subqueries
    * [NH-3791] - Transaction with multiple inserts, fails when a column-name contains 'select' on Firebird database
    * [NH-3797] - Computed GroupBys don't work if they have constants
    * [NH-3800] - Cannot combine Left Outer Join with Aggregating Group By
    * [NH-3801] - AddJoinsReWriter disassociates Select expressions and GroupBy key expressions
    * [NH-3816] - Conditionals in Select are too permissive
    * [NH-3817] - Merge fails randomly on a graph containing transient entities with multiple cascade paths
    * [NH-3818] - Conditional expressions in LINQ Select
    * [NH-3831] - NullableDictionary does not set _gotNullValue when using Add(TKey, TValue) method
    * [NH-3842] - DateTimeOffsetType throws NotImplementedException() for DefaultValue.
    * [NH-3844] - Left Outer Join with Aggregating Group By and Conditional Key Failure
    * [NH-3874] - Evicting an object with a collection with logging enabled throws
    * [NH-3891] - Not all overrides of ISerializable.GetObjectData set SecurityCritical
    * [NH-3895] - Problem with DateTime fractional seconds on ODBC for MS SQL Server
    * [NH-3897] - Use of Hashset Test framework's DebugConnectionProvider not thread-safe.
    * [NH-3899] - Too long column alias - Column.GetAlias() doesn't correctly respect Dialect.MaxAliasLength
    * [NH-3904] - Passing a user type instance as a constant parameter in a linq expression fails.
    * [NH-3909] - Regression on join following refactoring of NH-3801
    * [NH-3917] - SQLite Dialect does not specify any keywords except 'int'
    * [NH-3912] - Batch operations with the same IBatcher instance fail on expect rows count after single failed operation (Oracle)
    * [NH-3846] - Off-by-one error:  LINQ to SQL of 'startIndex' (2nd) parameter - 'IndexOf()' to 'CharIndex()'
    * [NH-3901] - IndexOf doesn't translate into 0-based index
    * [NH-3918] - Select Expressions Cache Entities

** New Feature
    * [NH-1262] - Cascade of "all-delete-orphan" not supported for one-to-one
    * [NH-1452] - Join element doesn't support keys with property-refs
    * [NH-2218] - Extension method Query<T> doesn't support entity names
    * [NH-2611] - Allow injectable/inheritance of Linq query provider
    * [NH-3495] - Implement Oracle 12c Dialect
    * [NH-3499] - Allow query model visitor to be provided through the session factory
    * [NH-3619] - Make default value of FlushMode configurable

** Task
    * [NH-802] - Use msbuild instead of csc/vbc
    * [NH-3725] - Remove SharpTestsEx
    * [NH-3781] - Upgrade relinq to at least 1.13.177
    * [NH-3875] - Build with MSBuild Tools 2015 (14)
    * [NH-3890] - Update all support projects and tooling to .NET 4.0

** Improvement
    * [NH-2053] - Extend the filter-def usage to subclasses
    * [NH-2401] - Method for specifying IType of LINQ parameter
    * [NH-2821] - Better finding log4net.dll
    * [NH-2823] - Optimistic Locking in mapping by code
    * [NH-2824] - Precision and scale for decimal id
    * [NH-2887] - Tweak UriType to allow relative URIs to be supported.
    * [NH-3110] - Support Polymorphism in mapping by code
    * [NH-3198] - Have Mapping By Code Support Dynamic Component Inside Join
    * [NH-3312] - QueryOver, static Alias
    * [NH-3404] - Add missing standard Id Generators in Mapping By Code
    * [NH-3452] - Need to support CHAR(length) type for identifiers
    * [NH-3486] - Performance: For projections, identical metadata for rows is recalculated for every row
    * [NH-3489] - GetEffectiveParameterLocations is slow with a large number of parameters
    * [NH-3525] - Db2Dialect should issue FETCH FIRST N ROWS ONLY when there is no offset
    * [NH-3630] - Bitwise operation support for dialects using internal/external functions
    * [NH-3707] - Port HHH-6845 - Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers
    * [NH-3720] - Support Additional Convert Methods in LINQ Queries
    * [NH-3726] - Support SqlMethods.Like() with escape character in LINQ
    * [NH-3732] - Start the NUnit GUI with the .NET 4.0 runtime
    * [NH-3759] - uuid.hex mapper issue
    * [NH-3763] - Add Bitwise operations for Oracle
    * [NH-3779] - Mapping by code does not allow to map structures as components
    * [NH-3783] - Enable update ordering for improved batching
    * [NH-3812] - GuidCombGenerator must use DateTime.UtcNow
    * [NH-3856] - Improve performance of SqlClientSqlCommandSet
    * [NH-3857] - Improve performance of MySqlClientSqlCommandSet
    * [NH-3920] - Improve logging of SQL parameter types and values
	* [NH-3811] - Consistent Unique Integer values per table


Build 4.0.4.GA
=============================

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


Build 4.0.3.GA
=============================

** Bug
    * [NH-2504] - Can't use Cacheable with Group By
    * [NH-3457] - TemplatedViolatedConstraintNameExtracter.ExtractUsingTemplate calls Substring with wrong arguments
    * [NH-3468] - InvalidCastException when deleting entities containing uninitialized lazy components
    * [NH-3573] - Query cache statistics not updated when using MultiCriteria
    * [NH-3731] - Unable to serialize session after modifying the index of entities in a list


Build 4.0.2.GA
=============================

** Bug
    * [NH-2779] - Session.Get() can throw InvalidCastException when log-level is set to DEBUG
    * [NH-2782] - Linq: selecting into a new array doesn't work
    * [NH-2831] - NH cannot load mapping assembly from GAC 
    * [NH-3049] - Mapping by code to Field not working
    * [NH-3222] - NHibernate Futures passes empty tuples to ResultSetTransformer
    * [NH-3650] - ComponentAsId<T> used more than once, cache first mapping and produces  subsequently a sql select wrong
    * [NH-3709] - Fix Reference to One Shot Delete and Inverse Collections
    * [NH-3710] - Use of SetLockMode with DetachedCriteria causes null reference exception

** Task
    * [NH-3697] - Ignore Firebird in NHSpecificTest.NH1981
    * [NH-3698] - NHSpecificTest.NH1989 fails for some drivers


Build 4.0.1.GA
=============================

** Bug
    * [NH-3102] - Wrong mapping produced by Map
    * [NH-3214] - PropertyContainerCustomizer.Bag() throws NullReferenceException when mapping a property of type IList
    * [NH-3575] - DefaultReadOnly not working for Future() queries
    * [NH-3656] - Firebird doesn't accept Currency as parameter type
    * [NH-3667] - MappingByCode produce wrong table field name 'idx' in Dictionary<,> mappings
    * [NH-3679] - SchemaExport.Create(false, false) does not write to file specified via SchemaExport.SetOutputFile
    * [NH-3691] - All dialect checks in NHSpecificTest.NH1487.Fixture are broken
    * [NH-3692] - TypedManyToOneTest is broken for Firebird
    * [NH-3694] - Criteria or QueryOver with join to components collection does not return data. It worked in NH 3.3.
    * [NH-3695] - NHSpecificTest.NH1845 fails for some Dialects
    * [NH-3696] - Connection pooling + Multi threraded tests
    * [NH-3701] - NHSpecificTest.NH2302 Fails under Firebird

** Improvement
    * [NH-3604] - Map ByCode fails when property is protected (not public)
    * [NH-3687] - Change Id mapping of TimesheetEntry from native to assigned
    * [NH-3688] - Modify NHSpecificTest.NH1391 so that it doesn't depend on preknown id values
    * [NH-3690] - Add LEFT function to Firebird

** Patch
    * [NH-3383] - Fix for multiple objects of CascadeStyle in Memory that should be singleton
    * [NH-3577] - Fix in SessionFactory.Statistics.LogSummary() method to show 0 milisecond as MaxQueryTime when no query was executed, instead of  -922337203685477

** Task
    * [NH-3085] - Document enhanced id generators
    * [NH-3660] - Ignore Firebird in DtcFailuresFixture
    * [NH-3689] - Ignore Firebird in NHSpecificTest.NH1171


Build 4.0.0.GA
=============================

** Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0.GA

    NHibernate now targets .Net 4.0. Many uses of set types from Iesi.Collections have
    now been changed to use corresponding types from the BCL. The API for these types
    are slightly different.

    Support for persistent non-generic collections removed. Use the generic counterparts instead.

    ##### Possible Breaking Changes #####
        * IDeleteEventListener, IEventSource: Use generic ISet<> instead of non-generic in method signatures.
        * SqlString.Parts removed. Use SqlString.Count and SqlString.GetEnumerator().
        * IPersistentCollection.GetSnapshot() now returns object instead of ICollection. The snapshot should be opaque to outside code.
        * Removed IsDiscriminatorFormula, DiscriminatorFormula and GenerateSelectString from UnionSubclassEntityPersister class.
        * Removed ManagedWebSessionContext. Any configuration files which use the "managed_web" session context should now use "web"
        * SybaseASADialect removed: Use SybaseSQLAnywhere10Dialect instead.
        * ASA10ClientDriver, ASAClientDriver and SQLiteDriver removed: Use SybaseSQLAnywhereDriver, SybaseAsaClientDriver, SQLite20Driver instead.
        * Removed Classic HQL Parser.
        * Removed IQueryTranslatorFactory2. It's methods were pulled up to IQueryTranslatorFactory. Method CreateQueryTranslators accepting string as first argument marked as Obsolete. 
        * IQueryExpression.Translate now has second boolean argument 'filter'
        * Added several methods which accepts IQueryExpression to ISessionImplementor, which is duplicating methods which accepts string.
        * Miss-spelled AdoNetWithDistrubtedTransactionFactory removed: Use AdoNetWithDistributedTransactionFactory instead
        * HqlDistinctHolder removed: Use HqlExpressionSubTreeHolder instead
        * DisableLogFormattedSql method removed: the default is disabled
        * ISession.SaveOrUpdateCopy removed: Use Merge instead
        * Oracle and MySQL: The atan2 and power functions now return double (instead of single) for consistency with other dialects.
        * Removed FirebirdDriver. It was the same as FirebirdClientDriver since 3.2, and the latter have been the default since then.
        * Removed bunch of unused methods on *Helper classes
        * Static fields on NHibernateUtil are declared as their exact class

    From NH4.0.0.Alpha1 to 4.0.0.Alpha2:
    Fixed mapping by code behaviour when map child subclasses (see NH-3135 and NH-3269)
    
    The constructor of AbstractComponentTuplizer now behaves like AbstractEntityTuplizer in the way
    that it doesn't create the instantiator any more. Custom component tuplizers that derive
    directly from AbstractComponentTuplizer need to add this line of code in their constructor:
      instantiator = BuildInstantiator(component);

    From NH4.0.0.Alpha2 to 4.0.0.CR1:
    The interface IEnhancedProjection was removed and its methods moved to IProjection.
    Two other overloads of the GetColumnAliases() methods was removed from IProjection.

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


** Bug
    * [NH-3638] - Mapping-by-code is occasionally picking the wrong column name
    * [NH-3654] - Internal access of PersistentGenericBag removed

** Improvement
    * [NH-3415] - Add Overload to IGeneratorMapper.Params That Receives a Dictionary
    * [NH-3657] - Map By Code - One to One Missing Class Action

** Patch
    * [NH-3529] - Add linqtohql.generatorsregistry to nhibernate-configuration.xsd


Build 4.0.0.CR1
=============================

** Bug
    * [NH-3455] - QueryOver + selecting a component + OrderBy = wrong OrderBy in SQL
    * [NH-3581] - nhibernate.everything.sln doesn't compile
    * [NH-3587] - Parameters within a select clause
    * [NH-3620] - ORA-01483 when inserting two blobs and a date using the OracleManagedDataClientDriver
    * [NH-3624] - broken insert statement with select
    * [NH-3629] - Translation of string.IndexOf() in Linq is broken for firebird
    * [NH-3641] - Missing Outer Join
    * [NH-3642] - PostgreSQL: Support LINQ DateTime.Date in select clause
    * [NH-3649] - Missing support for round() in SQLite and SQL Server CE dialects (affected criteria queries)

** Improvement
    * [NH-3623] - Add FirebirdExceptionConverterExample
    * [NH-3626] - avoid double parens around a select statement
    * [NH-3627] - change some id mappings from native to assigned in linq tests
    * [NH-3628] - add keyword "date" and function "date" to FirebirdDialect
    * [NH-3647] - Support Math.Round() in QueryOver projections

** Task
    * [NH-3251] - Update to antlr 3.5.0.2
    * [NH-3644] - Merge IEnhancedProjection into IProjection

Build 4.0.0.Alpha2
=============================

** Known BREAKING CHANGES from NH4.0.0.Alpha1 to 4.0.0.Alpha2

    Fixed mapping by code behaviour when map child subclasses (see NH-3135 and NH-3269)
    
    The constructor of AbstractComponentTuplizer now behaves like AbstractEntityTuplizer in the way
    that it doesn't create the instantiator any more. Custom component tuplizers that derive
    directly from AbstractComponentTuplizer need to add this line of code in their constructor:
      instantiator = BuildInstantiator(component);


** Bug
    * [NH-2380] - Cannot perform distinct when selecting an anonymous type
    * [NH-2486] - Distinct() extension method problem with Object Initialisers
    * [NH-2655] - DbType.Double should be float(53) instead of DOUBLE PRECISION in the SQL-Severer2000 Dialect
    * [NH-2692] - Using Any() on a collection of components results in invalid SQL: Column of parent ID is used instead of key column
    * [NH-2861] - <filter> doesn't work in conjunction with <join>
    * [NH-2865] - "Expression type 'NhSumExpression' is not supported by this SelectClauseVisitor."
    * [NH-2961] - "Index was outside the bounds of the array" error when executing cached query for single result with distinct results transformer
    * [NH-3135] - Collection of Components in BaseClass cannot be mapped to a different table
    * [NH-3269] - UniqueKey on property of base class will affect all inherited class
    * [NH-3392] - Add ability to expand subcollections with composites ids with WCF Data Services
    * [NH-3417] - Nested projection of subcollection throws
    * [NH-3423] - MemberInitExpression causing problem in HqlGeneratorExpressionTreeVisitor (WCF DS)
    * [NH-3571] - Linq does not support dynamic components inside components
    * [NH-3579] - Session leak in the Query Plan Cache
    * [NH-3586] - Firebird Decimals
    * [NH-3588] - Creating and dropping of Temporary Tables in an isolated transaction is broken
    * [NH-3590] - Detached entity with set of primitives throws
    * [NH-3591] - IncrementGenerator unnecessarily creates a new connection to the db

** Improvement
    * [NH-1082] - Exceptions thrown in IInterceptor.BeforeTransactionCompletion should cause the transaction to be rolled back
    * [NH-3041] - Expression-based PropertyRef missing in OneToOne mapping
    * [NH-3072] - OneToManyPersister improvements
    * [NH-3141] - Don't fetch id from proxy target
    * [NH-3437] - Turn SqlMethods.Like into an extension method


** Patch
    * [NH-3558] - Table check and enhanced id generators in Mapping By Code
    * [NH-3559] - UnionSubclassEntityPersister does not quote column names

** Task
    * [NH-3363] - Refactor Loader/Result Transformer interaction to match Hibernate

Build 4.0.0.Alpha1
=============================

** Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0.Alpha1

    NHibernate now targets .Net 4.0. Many uses of set types from Iesi.Collections have
    now been changed to use corresponding types from the BCL. The API for these types
    are slightly different.

    Support for persistent non-generic collections removed. Use the generic counterparts instead.

    ##### Possible Breaking Changes #####
        * IDeleteEventListener, IEventSource: Use generic ISet<> instead of non-generic in method signatures.
        * SqlString.Parts removed. Use SqlString.Count and SqlString.GetEnumerator().
        * IPersistentCollection.GetSnapshot() now returns object instead of ICollection. The snapshot should be opaque to outside code.
        * Removed IsDiscriminatorFormula, DiscriminatorFormula and GenerateSelectString from UnionSubclassEntityPersister class.
        * Removed ManagedWebSessionContext. Any configuration files which use the "managed_web" session context should now use "web"
        * SybaseASADialect removed: Use SybaseSQLAnywhere10Dialect instead.
        * ASA10ClientDriver, ASAClientDriver and SQLiteDriver removed: Use SybaseSQLAnywhereDriver, SybaseAsaClientDriver, SQLite20Driver instead.
        * Removed Classic HQL Parser.
        * Removed IQueryTranslatorFactory2. It's methods were pulled up to IQueryTranslatorFactory. Method CreateQueryTranslators accepting string as first argument marked as Obsolete. 
        * IQueryExpression.Translate now has second boolean argument 'filter'
        * Added several methods which accepts IQueryExpression to ISessionImplementor, which is duplicating methods which accepts string.
        * Miss-spelled AdoNetWithDistrubtedTransactionFactory removed: Use AdoNetWithDistributedTransactionFactory instead
        * HqlDistinctHolder removed: Use HqlExpressionSubTreeHolder instead
        * DisableLogFormattedSql method removed: the default is disabled
        * ISession.SaveOrUpdateCopy removed: Use Merge instead
        * Oracle and MySQL: The atan2 and power functions now return double (instead of single) for consistency with other dialects.
        * Removed FirebirdDriver. It was the same as FirebirdClientDriver since 3.2, and the latter have been the default since then.
        * Removed bunch of unused methods on *Helper classes
        * Static fields on NHibernateUtil are declared as their exact class

** Sub-task
    * [NH-3038] - Add Support for SQL Server 2012 Query Paging
    * [NH-3098] - Pull code/history from nhibernate-core repository to new iesi.collections repository
    * [NH-3099] - Remove Iesi.Collection-related code from nhibernate-core repository
    * [NH-3163] - Remove internal use of non-generic ISet
    * [NH-3165] - Remove support for non-generic ISet in mapped classes


** Bug
    * [NH-2008] - Mapping <set> with HashSet<T> generates unecessary update on collection owner
    * [NH-2033] - Composite-Id relationships (key-many-to-one) do not appear to be used in CreateCriteria
    * [NH-2762] - Failed to use IGrouping<TKey, TElement>.Contains() from Lookup to make SQL IN statement
    * [NH-2772] - Lazy-collection not loaded when a property is Lazy-loaded
    * [NH-2819] - DefaultDynamicLazyFieldInterceptor does not handle generic methods correctly
    * [NH-2852] - Linq ThenFetch fails on deep where clause.
    * [NH-2897] - MultiQuery/ToFuture broken with Contains (in)
    * [NH-2915] - In Linq, Where clause is ignored if followed by Fetch and then by OrderBy
    * [NH-2923] - Extra lazy indexed collection throws InvalidCastException fetching Count
    * [NH-2955] - AbstractQueryImpl accepts IEnumerables in SetParameterList but breaks if they're not ICollections
    * [NH-2977] - MsSqlServer dialects reject custom SQL Server queries with limits 
    * [NH-2985] - Wrong equals operator when you use <list> mapping when child has property with lazy="true"
    * [NH-3056] - Fetch clause suppresses where clause if positioned before Select clause
    * [NH-3058] - Methods on entities with lazy properties do not trigger load of lazy properties
    * [NH-3070] - Proxy for an entity with a lazy property and a formula property is not .Equal to itself
    * [NH-3132] - Property with access="field.camelcase" not working when another property is lazy
    * [NH-3139] - Optional Entity association using lazy property returns proxy instead of null 
    * [NH-3160] - Null reference Exception when creating schema for dialect that doesn't support unique
    * [NH-3183] - Linq ToFuture/ToFutureValue does not fall-back if dialect does not support multi-queries
    * [NH-3186] - Simple query with Fetch and SingleOrDefault throws exception (regression from 3.3.0)
    * [NH-3202] - Offset parameter is off by one for dialects with OffsetStartsAtOne set (SybaseSQLAnywhere10+)
    * [NH-3235] - Query plan cache cannot be set to size zero
    * [NH-3236] - Build menu incorrectly launches NUnit
    * [NH-3244] - Proxying fails for methods with generic class as generic parameter constraints or generic parameter attributes
    * [NH-3256] - GroupBySelectClauseRewriter fails or is suboptimal on .Net 4.0
    * [NH-3260] - Unable to proxy generic methods with constraints referencing type parameters from containing class
    * [NH-3274] - Take() support broken with Informix
    * [NH-3281] - Linq providers are not being passed Limit and/or Offset as value only as parameters
    * [NH-3340] - NHibernate assembly loses the AllowPartiallyTrustedCallers attribute after ILMerge
    * [NH-3381] - atan2 should be defined to return double on Oracle and MySql
    * [NH-3420] - Race Condition in result set wrapper because of the ColumnNameCache

** Improvement
    * [NH-2005] - hql concat function not registered in MsSqlCeDialect
    * [NH-2808] - Missing overloads for Session.Save/Update/SaveOrUpdate
    * [NH-3037] - ActionQueue Insertion sort performance degrades exponentially (HHH-2957 Port)
    * [NH-3054] - Mapping By-Code support for non-generic User Collection Types
    * [NH-3133] - Support for importing classes in mapping.
    * [NH-3175] - Joins should support additional restrictions (HQL-with)
    * [NH-3238] - Add Sql2008ClientDriver support in DatabaseSetup for testing
    * [NH-3272] - Move TypeHelperExtensionMethods to a more internal namespace
    * [NH-3319] - Typo in a folder name in NHibernate.Test project
    * [NH-3343] - Remove NHibernate custom Tuple classes
    * [NH-3382] - Improve materialization performance (for simple Linq query, may reduce 50%+ time)
    * [NH-3398] - Support PostgreSQL trigonometric functions
    * [NH-3399] - Static fields on NHibernateUtil should be declared as their exact class
    * [NH-3459] - DefaultIfEmpty not supported when used with a GroupBy
    * [NH-3553] - Support the 'power' function on MS SQL Server

** New Feature
    * [NH-3164] - Support building NHibernate on .Net 4
    * [NH-3166] - Support for Microsoft Sql Server 2012 
    * [NH-3193] - MsSqlCeDialect should correct override string manipulation functions
    * [NH-3195] - MsSqlCeDialect should support TOP limit
    * [NH-3284] - New Ingres9+ Dialect
    * [NH-3349] - Add support for managed ODP.NET

** Patch
    * [NH-2778] - Batcher for MySql
    * [NH-3540] - Null pointer exception for empty BaseDirectory (Path.combine)

** Task
    * [NH-2997] - Where() clause with many-to-many relation is missing (solution in description)
    * [NH-3097] - Move Iesi.Collections project to own repository
    * [NH-3185] - Update included Iesi.Collections.dll and add its pdb file
    * [NH-3314] - Remove ManagedWebSessionContext
    * [NH-3322] - Remove one of the Firebird drivers
    * [NH-3339] - Remove SecurityPermission attributes with LinkDemand for .NET 4.0 assemblies
    * [NH-3344] - Remove the classical HQL parser
    * [NH-3345] - Remove support for persistent non-generic collections
    * [NH-3346] - Remove members obsolete in NH3 from NH4
    * [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

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


** Sub-task
    * [NH-3432] - Merge fix for bug NH-3058 into 3.Next

** Bug
    * [NH-2819] - DefaultDynamicLazyFieldInterceptor does not handle generic methods correctly
    * [NH-2977] - MsSqlServer dialects reject custom SQL Server queries with limits 
    * [NH-3058] - Methods on entities with lazy properties do not trigger load of lazy properties
    * [NH-3132] - Property with access="field.camelcase" not working when another property is lazy
    * [NH-3244] - Proxying fails for methods with generic class as generic parameter constraints or generic parameter attributes
    * [NH-3638] - Mapping-by-code is occasionally picking the wrong column name

** Patch
    * [NH-3529] - Add linqtohql.generatorsregistry to nhibernate-configuration.xsd

** Task
    * [NH-3412] - Need to reconcile changes to MsSql2005DialectQueryPager for NH-2977 between 3.3.3 and vNext


Build 3.4.0.CR1
=============================

** Sub-task
    * [NH-3434] - Need to be sure NH-3428 is resolved in 3.Next.  

** Bug
    * [NH-1882] - Collection was not processed by flush when iterate through collection in PostUpdateEvent
    * [NH-2128] - Interceptor fires AfterTransactionCompletion too many times with distributed transactions and user-supplied connections
    * [NH-2290] - Invalid hql parenthesis expansion in generated sql
    * [NH-2921] - IsSpecialName of getter/setter method of proxy property returns false
    * [NH-2923] - Extra lazy indexed collection throws InvalidCastException fetching Count
    * [NH-2943] - Mapping XmlDocument (.NET) to XmlType (Oracle). Class XmlDocType not working.
    * [NH-2963] - Validation on a collection property (mapped with Loquacious config) raise an exception [Invalid expression type: Expected ExpressionType.MemberAccess, Found Convert]
    * [NH-3103] - ManyToAny ByCode does not use field customizer 
    * [NH-3140] - Bag ManyToMany column is ignored if it's the same as the child entity name and is replaced with "elt" in the sql.
    * [NH-3190] - QuerySyntaxException is thrown when where contains subselect that matches bool value
    * [NH-3234] - Merge is failing with "Unable to resolve property"
    * [NH-3237] - Max and Min aggregate expressions do not work for custom UserType due to unnecessary HQL Cast
    * [NH-3277] - LINQ Projection of Int64 using ToString method causes "cast as char" instead of "cast as nvarchar" in MsSqlCe dialect
    * [NH-3280] - Mapping OneToOne doesn't work for inherited members
    * [NH-3315] - Distinct paging problem with alias SQL Server 2005
    * [NH-3316] - Mapping parent property on component in a set adds bogus property element
    * [NH-3405] - Cannot Use XDocument When Setting Wrap Resultsets
    * [NH-3496] - NHibernate SqlServer2012Dialect drop sequence bug
    * [NH-3505] - Stateless sessions fail to save relationships pointing to proxies when versioning is enabled
    * [NH-3572] - AfterTransactionCompletion called twice if a distributed transaction is rolled back
    * [NH-3592] - Failed to execute multi criteria with Ms Sql Ce 4.0
    * [NH-3611] - NHibernateUtil.GuessType(typeof(string)) returns ClassMetaType
    * [NH-3614] - Cannot create project an enumerable of non-mapped objects (List<string>)
    * [NH-3615] - Incorrect assumption that namespace always exists
    * [NH-3618] - ManyToOne does not allow to set "unique"="true", "unique-key" and "index" for multi-column properties
    * [NH-3641] - Missing Outer Join

** Improvement
    * [NH-2005] - hql concat function not registered in MsSqlCeDialect
    * [NH-2958] - Delay creation of instance of XmlSerializer (loading xml assembly) until its needed.
    * [NH-3465] - Add support of IIF function for Oracle
    * [NH-3466] - Register MySQL functions
    * [NH-3467] - Add support of 2-arg LOCATE function
    * [NH-3608] - AbstractSessionImpl abstract method visibility

** New Feature
    * [NH-2405] - MySQL5InnoDBDialect
    * [NH-3192] - MsSqlCeDialect should override date manipulation functions
    * [NH-3193] - MsSqlCeDialect should correct override string manipulation functions
    * [NH-3194] - MsSqlCe40Dialect should support variable limits
    * [NH-3195] - MsSqlCeDialect should support TOP limit
    * [NH-3196] - MsSqlCeDialect should support guid.native id generator

** Patch
    * [NH-2996] - MySQL 5.5 + .NET Connector 6.2+ and GUIDs: Need to use CHAR(36)
    * [NH-3209] - DateTimeOffset properties have not been considered; only the properties of DateTime have been considered

** 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
=============================

** Bug
    * [NH-3638] - Mapping-by-code is occasionally picking the wrong column name

Build 3.3.3.SP1
=============================

Fixes for regressions introduced in the 3.3.3 cycle.

** Bug
    * [NH-3429] - Exception when debug logging is enabled when using a linq expression that requires a proxy class.
    * [NH-3436] - Linq-Query with IList<X>.Contains fails with NotSupportedException(The constant for 'System.Collections.Generic.List`1[System.Guid]' is not supported) at HqlTreeBuilder.Constant

Build 3.3.3.GA
=============================

BEWARE: In versions prior to 3.3.3.CR1, the handling of the LINQ Take() method
        was flawed - no matter where in the query Take() was placed it was
        always applied as if it had been placed at the end. 3.3.3 fixes this,
        so that Take() now correctly follows the .Net semantics. That is, in
        3.3.3, the following queries might now give different results:

            session.Query<Foo>.OrderBy(...).Take(5).Where(...);
            session.Query<Foo>.Where(...).OrderBy(...).Take(5);

        Starting with 3.3.3, the first query will generate a subquery to correctly
        apply the row limit before the where-clause.

** Bug
    * [NH-2408] - SQL Server pessimistic locking syntax incorrect for union-subclass
    * [NH-3109] - Rounding float values in aggregate functions with group by statements (MySQL).
    * [NH-3324] - HQL: ArgumentNullException when using LEFT OUTER JOIN and SetMaxResults
    * [NH-3408] - System.IndexOutOfRangeException when using Contains on a List<byte[]>
    * [NH-3413] - Clearing a list used by Contains causes subsequent queries to fail

Build 3.3.3.CR1
=============================

** Fix
    * [NH-3148] - ComponentAsId properties do not maintain the Column specified using property mapper when component is from base class

** Sub-task
    * [NH-3052] - Projection of one-to-many generates invalid SQL
    * [NH-3385] - Add ability to expand many subcollections with WCF Data Services

** Bug
    * [NH-2042] - Table per subclass, using a discriminator mappings with formula in child class error
    * [NH-2539] - Contains/StartsWith fails when invoked via WCF Data Service.
    * [NH-2566] - NotSupportedException when using Skip/Take/First/Single/Any on GroupBy
    * [NH-2588] - NotSupportedException when using Skip/Take with Where clause
    * [NH-2860] - Lazy property throwing casting exception
    * [NH-2979] - MsSqlCe dialect doesn't give the correct SQL type for Decimal with Scale defined
    * [NH-3039] - IndexOutOfRangeException thrown when web server is processing multiple sessionfactory creation requests
    * [NH-3057] - Collection subquery constraint on joined-subclass inherited properties causes invalid sql (base classes are not joined in).
    * [NH-3105] - ComponentAsId does not find property that belongs to a parent class
    * [NH-3108] - OrderBy with Select throws exception
    * [NH-3129] - Linq Provider doesn't recognize CompareTo method
    * [NH-3241] - Linq: Mixing Fetch/FetchMany with Any() throws: ArgumentException: Expression of type 'System.Collections.IList' cannot be used for parameter of type 'System.Collections.Generic.IEnumerable`1[System.Object]'
    * [NH-3261] - Linq Query throws when there is a conditional operator
    * [NH-3305] - SybaseSQLAnywhere10Dialect defaults a numeric datatype to (19,255) precision, which is not compatible with the DB
    * [NH-3318] - Composite-id does not allow superclass properties
    * [NH-3320] - Exception in LINQ projection with OrderBy/Take - block using WCF Data Services projection's
    * [NH-3326] - Exception in LINQ with pagination - block using WCF Data Services
    * [NH-3330] - Exception in LINQ for nullable strings in Oracle - blocks using WCF Data Services
    * [NH-3332] - The NH linq driver generates sql code that doesn't match the semantics of the original linq query
    * [NH-3337] - Exception in LINQ for complex nullable conditionals - blocks using WCF Data Services
    * [NH-3357] - System.NotSupportedException : Don't currently support idents of type DateTimeOffset
    * [NH-3366] - LINQ query with various Compare() and CompareTo() fails (WCF Data Services)
    * [NH-3369] - ToFuture/ToFutureValue should fall-back on dialects without MultiQuery support
    * [NH-3378] - MySQLDialect incorrect handle DbType.Currency as MONEY
    * [NH-3379] - Oracle8iDialect and FirebirdDialect incorrect handle DbType.Currency type

** Improvement
    * [NH-2297] - Configuration.BuildSessionFactory throws a NullReferenceException when loading an invalid ICompositeUserType
    * [NH-3301] - Support SqlMethods.Like() in LINQ queries.
    * [NH-3360] - Allow setting timeout on a LINQ query
    * [NH-3367] - Support string.Equals()
    * [NH-3368] - Add support for Equals method of sbyte, DateTimeOffset and unsigned numerics
    * [NH-3371] - NHibernate should log LINQ expression trees to ease debugging

** New Feature
    * [NH-2986] - Add ability to include collections into projections
    * [NH-3092] - Nhibernate Linq provider does not support Math functions like Math.Cos, Math.Sin, etc
    * [NH-3180] - Could not select first element of the group
    * [NH-3184] - Add ability to use ToFutureValue with aggregating queries
    * [NH-3283] - New driver: Devart.Data.MySql
    * [NH-3333] - Add ability to expand subcollections with WCF Data Services

** Patch
    * [NH-3255] - The IDbCommand that performs the cleanup of data in AbstractStatementExecutor.DropTemporaryTableIfNecessary does not have a connection.

Build 3.3.2.GA
=============================

** Bug
    * [NH-2463] - Exception in LINQ projection with redundant type cast - block using WCF Data Services projection's
    * [NH-2688] - SelectMany with cast throws QuerySyntaxException
    * [NH-2898] - Retrieving object from 2nd cache with lazy property fails
    * [NH-3050] - Contributed patch as solution to Unable to cast object of type 'NHibernate.Impl.ExpandedQueryExpression' to type 'NHibernate.Linq.NhLinqExpression' at NHibernate.Linq.NhQueryProvider.PrepareQuery
    * [NH-3123] - Nuget package should contain the NHibernate logo
    * [NH-3217] - OrderBy with a parameter then Skip and Take produces sql error
    * [NH-3239] - Linq to NHibernate and Dynamic LINQ - query caching not working
    * [NH-3271] - Threading problem in TypeFactory

** Improvement
    * [NH-3296] - Tweak build system to allow keeping a constant assembly version between compatible releases
    * [NH-3297] - NHibernate 3.x NuGet package should forbid Iesi.Collections 4.0 or higher

** Patch
    * [NH-3293] - SimpleExpression.ToString() returns hashes for strings and dates

Build 3.3.1.GA
=============================

** Sub-task
    * [NH-3167] - Support for Microsoft Sql Server 2012 sequences
    * [NH-3170] - Add native "iif" function to MsSql2012Dialect

** Bug
    * [NH-2789] - LINQ query on byte? simple property fails on MSSQL 2005 (tinyint)
    * [NH-2812] - Performing a Linq query on a non-null byte property throws an InvalidCastException
    * [NH-3121] - Silent truncation of binary data
    * [NH-3124] - invalid cast to int in generated sql with a char property
    * [NH-3125] - Invalid SQL when querying via LINQ with grouping (regression from 3.2)
    * [NH-3126] - InvalidCastException when cascading saves to transient dictionary values
    * [NH-3138] - Distinct Bug on MSSQL with OrderBy/Limit and functions in Projection/Order
    * [NH-3142] - Batch-loading of lazy children failing when key is composite
    * [NH-3145] - HQL query using base class entity with lazy properties throws "No Persister For" error
    * [NH-3147] - Calling Contains on a subquery that contains a join throws an Exception
    * [NH-3153] - Duplicated id generator tables if schema is specified using different methods for different classes.
    * [NH-3162] - Byte.Equals in LINQ Where clauses throws NotSupportedException
    * [NH-3172] - "Duplicate dynamic module name within an assembly"

** Improvement
    * [NH-3104] - Typo in Warning Messages
    * [NH-3149] - MsSql2005Dialect should use nowait in LockMode.UPGRADE_NOWAIT 
    * [NH-3156] - ShowBuildMenu.bat does not work with spaces in repository folder name
    * [NH-3168] - Add support for bit_length function for MsSql2000Dialect and above
    * [NH-3169] - Add supprot for extract function for MsSql2000Dialect and above

Build 3.3.0.GA
=============================

** Known BREAKING CHANGES from NH3.2.0.GA to NH3.3.0.GA

    ##### Possible Breaking Changes #####
        * [NH-2214] - SQL Server 2005/2008: Exception is now thrown when paging a statement that requires distinct results, and is ordered by a column that is not included in the result set of the query
                    - Dialog.ExtractColumnOrAliasNames method signature and visibility changed - may affect custom dialects that use this method
        * [NH-2950] - IAccessCallback.NextValue property renamed and changed to a method called IAccessCallback.GetNextValue()
        * [NH-2953] - SequenceStyleGenerator now forces use of a table if a pooled optimizer is chosen and the dialect doesn't support pooled sequences.
        * [NH-2960] - Queries for an entity name will now not include instances of the same class mapped using a different entity name.
        * [NH-2664] - IHqlExpressionVisitor has new property ISessionFactory SessionFactory { get; }
        * [NH-3067] - The use of Substring() in Linq queries have been corrected so the zero-based index parameter in C# is converted to one-based index in SQL.
        * [NH-2528] - Throw exception instead of silently truncate string and blob data
        * [NH-3086] - The base dialect now defaults to ANSI syntax for substring. A custom dialect may need to adjust for this.

** Bug
    * [NH-2956] - SybaseSQLAnywhere10Dialect doesn't override OffsetStartsAtOne
    * [NH-3111] - Wrong SQL generated when subquery uses objects from parent query

** Improvement
    * [NH-3086] - All dialects should support substring() with two arguments

Build 3.3.0.CR1
=============================

** Bug
    * [NH-1477] - Saving a collection (thats been Cleared) with all-delete-orphan using Oracle with ODP drivers
    * [NH-2214] - Distinct and Row_number problem
    * [NH-2347] - Casts inside aggregate functions are incorrectly applied outside of them
    * [NH-2419] - Linq Provider Problem with group by with an order by clause
    * [NH-2429] - SQL Server Linq Average function on Interger field only returns truncated interger value
    * [NH-2439] - LINQ 'in' query not fully interpreted
    * [NH-2451] - LINQ Issue - joining twice with same table when used in both select and where. Second join is a full select and filtered in where instead of a join .. on
    * [NH-2452] - NH 3.0 Linq provider does not correctly translate standard .Key property when grouping 
    * [NH-2492] - Problem with ROW_NUMBER and DISTINCT operator using LINQ
    * [NH-2511] - System.ArgumentException: Object of type 'System.Linq.Expressions.ConstantExpression' cannot be converted to type 'System.Linq.Expressions.LambdaExpression' when passing an expression through a method
    * [NH-2527] - AbstractBatcher reuses disposed IDbCommands which causes an ArgumentOutOfRangeException with OracleDataClientDriver
    * [NH-2560] - NoViableAltException with ordering by projection in GroupBy
    * [NH-2664] - Linq, cannot query dynamic-component
    * [NH-2706] - subselect in LINQ query with Contains clause produces wrong SQL
    * [NH-2722] - Linq Count() does not respect previous calls to Select() or Distinct()
    * [NH-2744] - NewArrayInit Is not Implemented
    * [NH-2763] - queryover fails where referencing enum in VB.NET
    * [NH-2781] - linq's OrderBy by a calculated column doesn't work
    * [NH-2809] - Incorrect specification of VARBINARY(MAX) in MsSql2005Dialect
    * [NH-2828] - Persist uploads not initialized collections on flush
    * [NH-2833] - "where" clause not working after "group by", generates wrong SQL
    * [NH-2846] - Fetch on Count Throws Error
    * [NH-2850] - Unable to use enums in NH 3.2 QueryOver checked comparison
    * [NH-2853] - SetFirstResult and SetMaxResults do not work correctly on Oracle (ODP.NET)
    * [NH-2856] - Retrieval of cached query with Fetch throws exception
    * [NH-2857] - Medium Trust Bug in 3.2
    * [NH-2858] - ToString() on Guid column with SQL Server Dialects
    * [NH-2863] - Criteria API restriction over aggregate function wrapped in NotExpression is wrongly placed in WHERE clause instead of HAVING clause which generates invalid SQL
    * [NH-2869] - Custom extension methods in the select clause are not projected using HQL
    * [NH-2880] - Proxies loose their session reference on session deserialization
    * [NH-2881] - Fix not found key handling on extra lazy one to many maps
    * [NH-2886] - Informix support broken
    * [NH-2889] - QueryOver component with multiple properties results in Sql Error
    * [NH-2891] - Too many parameters removed (Pervasive SQL) - SELECT doesn't work
    * [NH-2893] - NHibernate SQL Parameter on IBM.Data.DB2.iSeries provider
    * [NH-2904] - Wrong query generation with LINQ subquery
    * [NH-2906] - Using the same parameter name for two differently typed where clauses throws an exception
    * [NH-2913] - LINQ query that contains .Any() produces invalid SQL
    * [NH-2917] - Paging error with Skip().Take().
    * [NH-2925] - Improper SQL  is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2927] - Oracle Dialect does not handle the correct resolution for timestamp version columns
    * [NH-2937] - Invalid index 0 for this DB2ParameterCollection with Count=0.
    * [NH-2940] - OracleDialect creates wrong sql using SetFirstResult with criteria queries
    * [NH-2946] - Superfluous join when querying by foreign key given Id with LINQ
    * [NH-2954] - PostgreSQL should SupportsPooledSequences
    * [NH-2959] - Polymorphic queries in MultiQuery, MultiCriteria and Futures cause ArgumentOutOfRangeException
    * [NH-2960] - Query using entity name also returns entities of same type but different entity name
    * [NH-2967] - MySQL Schema Update tool fails with exception
    * [NH-2976] - AbstractPersistentCollection.Remove does not remove item from an uninitialized dictionary
    * [NH-2989] - ComponentAsId does not set Id Property
    * [NH-2998] - Allow to use AsQueryable on child collection
    * [NH-3000] - QuerySyntaxException: Exception of type 'Antlr.Runtime.NoViableAltException' was thrown. when projection contains complex code [regression]
    * [NH-3001] - NHibernate.HibernateException: Query Source could not be identified
    * [NH-3002] - HQL: parser is trying to reuse parent implied join for subquery
    * [NH-3003] - Linq: extra joins
    * [NH-3004] - DriverBase.RemoveUnusedCommandParameters removes all parameters when UseNamedPrefixInSql = true and UseNamedPrefixInParameter = false
    * [NH-3008] - Excess DB parameters created when passing SqlFunctionProjection to LHS of InExpression
    * [NH-3009] - Linq trying to add parameters twice if same predicate is used in query more then once 
    * [NH-3016] - Mapping by code does not properly support nested types
    * [NH-3019] - LINQ: Select Key from group by generates wrong SQL
    * [NH-3020] - Firebird and DB2 dialect claims to support sequences, but throws in GetSelectSequenceNextValString(string) (since not overriden)
    * [NH-3026] - Linq order by grouped count before select clause gives wrong sql
    * [NH-3031] - Cannot Sum Property of Type Single
    * [NH-3032] - Group By and Condition Throws Exception
    * [NH-3036] - Wrong SqlType size set for LIKE statement
    * [NH-3044] - Self-joined query with subquery and where - where applied to subquery rather than the external query
    * [NH-3059] - Contains broken when used on a path (Works in previous version)
    * [NH-3063] - Turkish-I problem in ValidateColumn
    * [NH-3064] - Schema validation fails for ODBC
    * [NH-3073] - Equal in Linq-provider is only implemented for string

** Improvement
    * [NH-1007] - Add a generator attribute to id
    * [NH-2528] - Throw exception instead of silently truncate string and blob data
    * [NH-2825] - Add property-ref and not-found attributes in mapping by code
    * [NH-2835] - SQL Anywhere dialect/driver improvements
    * [NH-2870] - Simplify Development on NHibernate for Contributors
    * [NH-2875] - Add Foreign Key to one-to-one mapping by code
    * [NH-2883] - DisableLogFormatedSql is not useful
    * [NH-2899] - Support for "in (<subquery>)" in Linq
    * [NH-2950] - Update optimizers for enhanced id generators (ported from Hibernate)
    * [NH-2953] - Update the SequenceStyleGenerator
    * [NH-2962] - Fix PostgreSQL and Firebird timestamp selection and precision
    * [NH-2974] - Add unsaved-value attribute in mapping by code.
    * [NH-2980] - Port enhanced TableGenerator from Hibernate
    * [NH-3024] - Mapping-by-Code does not allow Unique in Component mapping
    * [NH-3040] - SymbolSource support along with NuGet

** Patch
    * [NH-2004] - SequenceStyleGenerator + TableStructure opens multiple transactions.
    * [NH-2545] - Comparing strings in VB throws NotSupportedException
    * [NH-2840] - Improper SQL is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2864] - Fix for nuget package creation.
    * [NH-2905] - Support for multistep joins in Linq
    * [NH-2914] - Functions for DateTime properties in OracleDialect
    * [NH-2924] - CLONE - Improper SQL is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2936] - Better Sequence Support for Firebird
    * [NH-2964] - WhereRestrictionOn().IsInG() is a icollection not ienumerable like it should be
    * [NH-2982] - SimpleExpression.ToString() can result in unwanted loading of lazy objects
    * [NH-3010] - Fix for batching/command behaviour in OneToManyPersister
    * [NH-3067] - Linq - substring function does not work

** Task
    * [NH-2672] - Upgrade Npgsql lib file to next release after 2.0.11.91.
    * [NH-2752] - Re-enable CriteriaQueryTest.AllowToSetLimitOnSubquries for SQLite

Build 3.2.0.GA (rev6000)
=============================

** Known BREAKING CHANGES from NH3.1.0.GA to NH3.2.0.GA

    ##### Design time #####
        * removed obsolete "use_outer_join" property from nhibernate-configuration.xsd (simply remove it from your xml configuration)

    ##### Possible Breaking Changes #####
        * All Dialect.GetLimitString() methods replaced with a single GetLimitString method with a new signature.
          For dialects the developers don't perform routine tests on, efforts were made to ensure the new limit string
          method conforms to the database documentation.  Please report any limit-related bugs discovered at runtime.
        * [NH-2550] - Allow public access to FieldInterceptor Session (IFieldInterceptor changed)
        * [NH-2593] - For Microsoft SQL Server the default batch-size (adonet.batch_size) is set to 20 where not explicit defined in the session-factory configuration
        * - ICollectionPersister added property to fix [NH-2489]
        * [NH-2605] Refactorize MultiQuery/MultiCriteria implementation to delegate responsibility to IDrive (IDrive changed).
        * For users who don't look at Log-ERROR, to prevent wrong behavior when lazy-properties are used the DynamicProxyValidator validates the accessability of properties setters.
        * For those implementing IDrive without inherit from DriveBase: IDrive.AdjustCommand
        * Dialect base: removed some no more needed properties

** Bug
    * [NH-2792] - Using a named parameter multiple times in a native SQL query results in invalid parameter binding (exception in some drivers)
    * [NH-2813] - Cache DefaultExpiration type is "byte"

** Improvement
    * [NH-2571] - Full PostgreSQL Support
    * [NH-2743] - Generic version of ISession.Merge()
    * [NH-2800] - Change internal primitive type constructor to protected

** Patch
    * [NH-2811] - Wrong logger type into AdoNetTransactionFactory & AdoNetWithDistributedTransactionFactory classes
    * [NH-2814] - Documentation Error: Section 3.5 - Table 3.2 - transaction.factory_class (with patch)

Build 3.2.0.CR1 (rev5976)
=============================
** Bug
    * [NH-2118] - GroupBy without Select doesnt work
    * [NH-2387] - Postgres - Unable to run LINQ query using boolean predicate - ERROR: 42883: operator does not exist: boolean = integer
    * [NH-2435] - No order by clause generated with self referencing orderby clause.
    * [NH-2583] - Query with || operator and navigations (many-to-one) creates wrong joins
    * [NH-2773] - ProxyObjectReference creates a new ProxyFactory for each deserialization which disables proxy caching

** Improvement
    * [NH-2748] - Support % operator

** Patch
    * [NH-2774] - Perf - reusing same regex object in joinwalker objects

Build 3.2.0.Beta2 (rev5964)
=============================
** Bug
    * [NH-2206] - Cast is not supported by the new Linq provider
    * [NH-2213] - CLONE -Wrong parameters order in IQuery with SetParameterList and Filter. SQL Server 2005
    * [NH-2296] - Subselect fetching strategy with a "SetMaxResults" query generates *extremely* inefficient sql
    * [NH-2317] - Select after Take does not work properly
    * [NH-2318] - Template functions fail with certain combinations of arguments.
    * [NH-2328] - Linq query on <Any/> fails
    * [NH-2415] - HQL parameters not converted correctly to SQL
    * [NH-2657] - OrderBy After Cast Not Working
    * [NH-2662] - Casting a joined alias in QueryOver loses alias context and looks for property on QueryOver root
    * [NH-2700] - SqlFunctionProjection does not honor parameter order
    * [NH-2701] - Cannot use Linq Skip() in conjunction with FetchMany and ToFuture
    * [NH-2703] - Using a "with" restriction in outer joins result in wrong SQL
    * [NH-2708] - Cast<>() with a where clause fails with a NotSupportedException
    * [NH-2712] - Linq query doesn't support enums in VB.NET
    * [NH-2717] - Count() after Cast<>() causes InvalidOperationException
    * [NH-2729] - Parameter values are not set using OffsetStartsAtOne
    * [NH-2733] - Using an expression in QueryOver gives: Lambda Parameter not in scope
    * [NH-2736] - Inverted parameters in HQL statement using take
    * [NH-2739] - Can't get ByCode mapping to produce not nullable varbinary(max)
    * [NH-2741] - CLONE -HQL .class query on <any> mapping does not work
    * [NH-2746] - Invalid SQL generated for MSSQL when using Filter and paging subquery together [regression from 2.1]

** Improvement
    * [NH-941] - One-Many Requiring Nullable Foreign Keys
    * [NH-1050] - Unidirectional One To Many Without Nullable Foreign Key
    * [NH-2070] - Better error message for "object references an unsaved transient instance"
    * [NH-2427] - Support querying HasValue on Nullable types
    * [NH-2683] - Add common dialect functions as extension methods for QueryOver
    * [NH-2702] - Support HQL pagination with parameters
    * [NH-2728] - ManyToAny missing from ICollectionElementRelation<TElement>
    * [NH-2732] - Dialect.GetLimitString simplifications and improvements
    * [NH-2738] - Exception thrown when mapping contains empty enum
    * [NH-2749] - Externalize Remotion.Linq namespace
    * [NH-2753] - one-shot-insert for <list> and <map> for unidirectional one-to-many
    * [NH-2760] - Unable to order by sub-collection's count
    * [NH-2770] - Property spelling of IDbIntegrationConfigurationProperties.LogFormatedSql

** New Feature
    * [NH-2616] - Support Trim() function in Linq

** Patch
    * [NH-2125] - Solution for NH2123 - Subselect in combination with a disjuction query causes an enormous memory cons
    * [NH-2363] - Patch for ComponentCollectionCriteriaInfoProvider, fixed persister.ElementType cast in constructor.

Build 3.2.0.Beta1 (rev5839)
=============================
** Bug
    * [NH-2404] - Future queries crash (MultiQuery) when using projection queries using hql + result transformer or the linq provider (which compiles into hql) 
    * [NH-2421] - NotSupportedException text in ToFuture and ToFutureValue does not make sense (or help)
    * [NH-2422] - ToFuture throws NotSupportedException on IQueryable if Fetch is used.
    * [NH-2559] - NH 3.0 Linq Provider : Issue using multiple filters on the same entity
    * [NH-2615] - Linq Fetch cannot traverse through components
    * [NH-2690] - Linq Select() broken with .ToFuture()
    * [NH-2691] - Linq LongCount() behavior different from Count()
    * [NH-2697] - Named parameter not found in HQL with mapping using "entity-name"
    * [NH-2698] - Proxying fails for methods with generic type constraints

** Improvement
    * [NH-2568] - Create Custom Persister for Collection Type inherited from OneToManyPersister
    * [NH-2695] - update default driver of firebird dialect to FirebirdClientDriver (FirebirdDriver is obsolete)

** New Feature
    * [NH-2699] - Sql Azure dialect

Build 3.2.0.Aplha3 (rev5803)
=============================
** Sub-task
    * [NH-1344] - QueryTranslator: Invalid Cast to object array when using IResultTransformer
    * [NH-1642] - one-to-many collection doesn't work if the child is mapped using table per class

** Bug
    * [NH-1090] - Query cache does not work when using Criteria API to create a projection query with a result transformer
    * [NH-1747] - Lazy load failure on items using <join> if FK for bag is in the secondary table
    * [NH-2510] - Lazy-loading doesn't work with cache
    * [NH-2569] - IDGeneratorBinding seems broken when mixing schemas
    * [NH-2587] - .Cacheable().Fetch() throws 'Exception occurred getter of xxx'
    * [NH-2661] - NHibernate cannot handle SQL Server TIME columns when built with the .NET 4 framework
    * [NH-2673] - Nhibernate 2nd level cache and Result transformer
    * [NH-2685] - Unnecessary proxy initialisation in CriteriaQueryTranslator
    * [NH-2686] - Embedded ResultsTransformers should implements Equals/GetHashCode

** Improvement
    * [NH-2505] - Querries with WHERE containing SQL Server 'bit' datatype produce CASE construction
    * [NH-2551] - Bad code practice. Function SessionFactoryImpl.GetImplementors: if type not found - value from ReflectHelper.ClassForFullName returns through TypeLoadException.
    * [NH-2670] - Stateless Session load no-lazy collection
    * [NH-2684] - More simple way to add NamedQueries by-code

** New Feature
    * [NH-2674] - QueryOver doesn't have support for entity-name

** Patch
    * [NH-2669] - Patch to prevent "NHibernate.AssertionFailure: possible non-threadsafe access to the session" error caused by stateless sessions

Build 3.2.0.Aplha2 (rev5715)
=============================
** Bug
    * [NH-2540] - Linq generates invalid boolean case statements (was: Linq ignoring configured query-substitutions)
    * [NH-2640] - HQL Having clause is ignored without preceeding group by
    * [NH-2641] - HQL does not throw exception on unexpected trailing tokens
    * [NH-2642] - BatcherDataReaderWrapper.GetValue has a typo
    * [NH-2643] - MSSQL configuration template is still using "use_outer_join"
    * [NH-2652] - SchemaMetadataUpdater does not take Dialect default properties

** Improvement
    * [NH-2644] - schemaaction is not supported in joinedsubclass

** New Feature
    * [NH-2533] - Support paging in HQL

** Task
    * [NH-2653] - Remove just added ExpressionTreeVisitor class

Build 3.2.0.Aplha1 (rev5664)
=============================
** Bug
    * [NH-1925] - Wrong SQL aliases generated for HQL subselect
    * [NH-2480] - AssertByIds test function with unordered Ids
    * [NH-2488] - Subclass join does not exclude lazy properties
    * [NH-2489] - AbstractPersistentCollection.ReadElementByIndex gives wrong result for missing element with lazy="extra"
    * [NH-2490] - Mapping.Join.IsLazy always returns true
    * [NH-2491] - ObjectNotFoundException in HQL query when referencing joined subclass
    * [NH-2498] - Lazy="no-proxy" does eager load
    * [NH-2554] - NHibernate Formula doesnt recognize varbinary as a keyword on Sql Server 2008 or 2008 R2
    * [NH-2565] - session.Persist does not work with entities with lazy properties (no-proxy)
    * [NH-2584] - An entity with a lazy property cannot be saved in new session
    * [NH-2603] - lazy="extra" return different count than initialized collection.
    * [NH-2604] - Problem with MSTest and Relinq (possibly due to ILMerge)
    * [NH-2607] - Proxifier should not try to proxy sealed and non public methods
    * [NH-2610] - ISQLExceptionConverter doesn't work with MultiCriteria and MultiQuery
    * [NH-2622] - Proxying fails for methods with out and ref arguments
    * [NH-2626] - LinqExtensionMethods.Query<T> implements wrong NhQueryable<T>
    * [NH-2627] - Cloning subcriteria loses WithClause
    * [NH-2628] - Fails to create proxy for class with method that has argument "ref of Dictionary<string, string>"
    * [NH-2632] - Lazy Properties Causing An Exception If Containing Class Is Set To Not Lazy
    * [NH-2633] - MapperByCode don't Register Component

** Improvement
    * [NH-1513] - MultiCriteria, MultiQuery improvements
    * [NH-2382] - HQL, Criteria, QueryOver need Set methods for all NHibernate types
    * [NH-2418] - Dialect.IsQuoted fails on empty name
    * [NH-2495] - Support ISqlQuery in MultiQuery
    * [NH-2518] - disable/truncate SQL parameter logging of BLOBs
    * [NH-2526] - Sybase ASE 15 support
    * [NH-2530] - Include WHERE clause in error message if we aren't able to locate a 'High' value
    * [NH-2531] - NHibernate.Impl.CriteriaImpl.cs: Fix for possible ArgumentNullException in sub-criteria alias handling
    * [NH-2550] - Allow public access to FieldInterceptor Session
    * [NH-2563] - Support calls to ToString() in Linq queries
    * [NH-2570] - Full SQLite Support
    * [NH-2573] - Ability to retrieve longest registered type for a specified DbType
    * [NH-2580] - "Unable to locate persister" exception message should be more helpful
    * [NH-2586] - Default ProxyFactory
    * [NH-2592] - Add ICriteria functionality missing in QueryOver
    * [NH-2593] - Default common values per dialect
    * [NH-2601] - Remove Dialect.HasAlterTable
    * [NH-2605] - Refactorize MultiQuery/MultiCriteria implementation to delegate responsibility to IDrive
    * [NH-2612] - Move the lambda con to the same namespace than Configuration
    * [NH-2630] - Truncate SQL parameter logging of very long strings

** New Feature
    * [NH-2015] - Implement Hibernate's Order.IgnoreCase() 
    * [NH-2426] - postgresql schema metadata
    * [NH-2591] - Insert ordering
    * [NH-2602] - Mapping <subselct> node in collection, subclass, join and so on
    * [NH-2635] - Mapping by code

** Patch
    * [NH-2548] - HQL Select Clause Parameters
    * [NH-2590] - Missed registration of Concat function for SQLCE4
    * [NH-2600] - Increase visibility of components in AbstractPersistentCollection

** Task
    * [NH-2561] - Consider current_timestamp semantics
    * [NH-2575] - Update documentation for immutable classes
    * [NH-2608] - Integrate Remotion 1.13.100 to fix duplicate mscorlib problem
    * [NH-2636] - Expose ExpressionTreeVisitor Members

Build 3.1.0.GA (rev5425)
=============================

** Known BREAKING CHANGES from NH3.0.0.GA to NH3.1.0.GA

    ##### Design time #####
        * [NH-2481] - Deprecated: ISession.SaveOrUpdateCopy methods - use ISession.Merge methods instead

    ##### Run time #####
        * [NH-2481] - An exception will now be thrown when an entity references a transient entity and cascade="merge|all" is not configured on the association

    ##### Possible Breaking Changes #####
        * [NH-2461] - Signature change for IQuery.SetParameterList
        * [NH-2556] - NH is too tolerante to incorrect naming when access="field.XXX" is used

** Sub-task
    * [NH-2525] - Wrong parameter used for limit claues in MySQL

** Bug
    * [NH-1985] - NHibernate is allowing deletion of immutable objects
    * [NH-2037] - Reattaching an entity with many-to-one inside a natural-id
    * [NH-2130] - Reporting query containing sum crashes when there are no rows
    * [NH-2179] - String constants are not useable in Linq query projection
    * [NH-2203] - problem with orderby in linq query
    * [NH-2280] - LINQ Query on Composite key creates invalid SQL
    * [NH-2311] - .Any() extension method does not work in most cases
    * [NH-2362] - GroupBy with multiple fields fails with exception
    * [NH-2375] - OfType with a where clause fails with a NotSupportedException
    * [NH-2381] - Fetch clause fails with a NotSupportedException
    * [NH-2386] - Unecessary update / invalid SQL generated when collection updated with a versioned (generated) parent entity
    * [NH-2400] - Linq query fail when using contains from an empty Collection
    * [NH-2407] - Linq provider doesn't support enums in VB.NET
    * [NH-2412] - OrderBy generates an inner join instead a left join
    * [NH-2433] - When using extensions methods with generic parameters the provider uses the first use even if the generic parameter is different.
    * [NH-2441] - Logical bool values are not mapped properly (query execution returns incorrect result with SQLite)
    * [NH-2443] - Error compiling NH with ShowBuildMenu.bat -> Cannot run Tests
    * [NH-2450] - Multi Query in MySQL no longer working in 3.0 (was in 2.1)
    * [NH-2459] - LINQ provider query plan cache issue with use of type check expression .Where(o=>o is SomeType)
    * [NH-2460] - version generator is not working with DateTime2 data type.
    * [NH-2464] - NHibernate DLLs not built with optimization in 'release' mode.
    * [NH-2467] - Futures in 3.0.0.GA go bananas when using PostgreSQL
    * [NH-2470] - PersistentIdentifierBag not creating snapshot correctly for new collections.
    * [NH-2482] - SerializationException when writing object to viewstate
    * [NH-2484] - Regression - Binary Blob SerializationException - MSSQL 2k8 / varbinary(max) 
    * [NH-2499] - Case statement does not handle multiple when clauses
    * [NH-2501] - Case statement does not allow a parameter in the first then clause
    * [NH-2503] - HQL subselect with addition fails
    * [NH-2507] - LINQ queries tha compare enumeration values with /checked+ compiler option throw NotSupportedException
    * [NH-2512] - QueryOver with Where clause and Take crashes
    * [NH-2524] - Linq converts enums to integers prematurely
    * [NH-2529] - Linq on Informix using take gives an exception
    * [NH-2536] - Second call to OfType don't change the query
    * [NH-2543] - IQueryOver support is not implemented for IStatelessSession
    * [NH-2549] - Disposing an Stateless Session that has already been closed causes a SessionException
    * [NH-2555] - Linq with Contains doesn't work with read only collections
    * [NH-2556] - NH is too tolerante to incorrect naming when access="field.XXX" is used

** Improvement
    * [NH-1342] - Very slow inserts for large BLOB
    * [NH-2023] - Batch operations - introduce SetBatchSize for IStatelessSession
    * [NH-2098] - Support for transaction isolation levels in stateless sessions.
    * [NH-2211] - Stateless Session Linq Support
    * [NH-2228] - Cascading StaleStateException doesn't show which Entity caused the problem
    * [NH-2425] - Cache the XmlSerializer for HbmMapping class
    * [NH-2449] - Add IStatelessSession.BeginTransaction(IsolationLevel) Method
    * [NH-2454] - Add auto-quote settings to main documentation
    * [NH-2455] - Centralization of proxy check to IProxyFactoryFactory (better support for static proxy)
    * [NH-2457] - Ability to use DetachedCriteria from stateless session
    * [NH-2461] - Allow parameter list as ienumerable and simplify IQuery
    * [NH-2471] - ShowBuildMenu.bat and Windows XP
    * [NH-2481] - Merge can fail when there is a transient entity reachable by multiple paths and at least one path does not cascade on merge
    * [NH-2502] - Fetch/Cacheable Should be Allowed to be Called Anywhere
    * [NH-2508] - Deprecate the ISession.SaveAndUpdateCopy API
    * [NH-2522] - ILMerge Antlr and ReLinq
    * [NH-2537] - Implement camelcase-m-underscore naming strategy
    * [NH-2557] - Improves log message, of CustomType not serializable, by adding additional data

** New Feature
    * [NH-908] - Implement read-only entities
    * [NH-2410] - Port <properties> from Hibernate

** Patch
    * [NH-2153] - Unused parameter in SetCommandTimeout method in DriverBase
    * [NH-2172] - Unrecognised method call in expression when using QueryOver queries in VB.Net
    * [NH-2445] - Add IStatelessSession.IsOpen and IStatelessSession.IsConnected
    * [NH-2473] - EntityName + inheritance doesn't work
    * [NH-2474] - Xsd for <properties> on subclass missing
    * [NH-2478] - Docs for <properties>
    * [NH-2513] - SetMaxResults issue with DB2400Dialect

** Task
    * [NH-2506] - Fix first example of ternary association in documentation
    * [NH-2541] - Upgrade ReLinq to 1.13.93

Build 3.0.0.GA (rev5290)
=============================
** Known BREAKING CHANGES from NH2.1.1.GA to NH3.0.0.GA

    ##### Design time #####
        * [NH-2392] - ICompositeUserType.NullSafeSet method signature changed

    ##### Run time #####
        * [NH-2199] - null values in maps/dictionaries are no longer silenty ignored/deleted
        * [NH-1894] - SybaseAnywhereDialect has been removed, and replaced with SybaseASA9Dialect.
                - Sybase Adaptive Server Enterprise (ASE) dialects removed.

    ##### Possible Breaking Changes #####
        * [NH-2251] - Signature change for GetLimitString in Dialect
        * [NH-2284] - Obsolete members removed
        * Related to [NH-2358]: DateTimeOffset type now works as a DateTimeOffset instead a "surrogate" of DateTime

** Bug
    * [NH-2222] - Wrong type for constant/parameter value used
    * [NH-2234] - Query on Property mapped with IUserType
    * [NH-2244] - Linq provider does not has full supporting of components in queries.
    * [NH-2370] - NHibernate.Linq simple where clause results in a table scan.
    * [NH-2394] - Comparing an enum (stored as a string with a user type) to an enum literal fails
    * [NH-2398] - Null equality uses non-boolean expression
    * [NH-2402] - LINQ equality should map to SQL equality
    * [NH-2403] - Linq boolean constants are of wrong type (integer)
    * [NH-2409] - Using WithClause in Criteria API causes NH to mix up query parameters
    * [NH-2416] - NHibernate.Linq does not support queries against <map> elements
    * [NH-2417] - NHibernate fails to correctly load a child collection if the parent contains a many-to-one
    * [NH-2420] - Cannot use distributed transactions while providing connection to the session
    * [NH-2438] - LINQ 'in' query not fully interpreted

** Improvement
    * [NH-2423] - NHibernate.Linq queries against Dictionaries with ContainsKey


** Patch
    * [NH-2413] - Micro optimization in DefaultFlushEntityEventListener
    * [NH-2437] - Typo

Build 3.0.0.CR1 (rev5265)
=============================

** Bug
    * [NH-1897] - boolean discriminator formulas broken on PostgreSQL
    * [NH-2154] - Booleans may not be used in expression HQL in PostgreSQLDialect

** Patch
    * [NH-2392] - ICompositeUserType support for cases where not all parameters should be set (such as dynamic-update)
        
Build 3.0.0.Beta2 (rev5254)
=============================

** Bug
    * [NH-1155] - SubselectFetch doesn't take into account paging
    * [NH-2371] - Exception is thrown when using SetMaxResults on query using MySQL
    * [NH-2374] - ForeignGenerator does not support EntityMode.Map

** Improvement
    * [NH-1799] - Change SQL Server dialect to support variable limits
    * [NH-2376] - Allow IDisposable for event-listeners

** Patch
    * [NH-2342] - Added XDocument type
    * [NH-2378] - Don't currently support idents of type Int16
    * [NH-2391] - Updated Chapter 4

Build 3.0.0.Beta1 (rev5241)
=============================

** Bug
    * [NH-2001] - Filter by  Null in Linq (hql ast version)  doesn't work  
    * [NH-2077] - SQL Server Dialect: Nhibernate fails to execute native queries with parameters, separated with ';'
    * [NH-2084] - Future + hql queries + same parameter name leads to "NHibernate.QueryException: The named parameter personId was used in more than one query. Either give unique names to your parameters, or use the multi query SetParameter() methods"
    * [NH-2331] - ICriteria: Correlated query throws "Could not find a matching criteria info provider to", works in 2.1.0 broken in 2.1.2
    * [NH-2352] - Null reference exception in GetDefaultConfigurationFilePath when AppDomain.CurrentDomain.RelativeSearchPath is null
    * [NH-2358] - DateTimeOffsetType doesnt properly convert to-from database; milliseconds are lost.
    * [NH-2364] - Dynamic entities with "full name" result in incorrect queries

** Improvement
    * [NH-1108] - Reference Data - Ability to load all rows from a table using an HBM file.
    * [NH-2313] - Better logging when SessionFactory is being built
    * [NH-2355] - Allow composite-id without class on dynamic entity

** New Feature
    * [NH-2309] - Add support for Future() with the new Linq provider
    * [NH-2367] - Native support for System.Uri as string

** Patch
    * [NH-2073] - Missing QuerySequencesString override in FirebirdDialect
    * [NH-2082] - AdoTransaction sometimes writes to log wrong information about IsolationLevel
    * [NH-2357] - Support for custom boolean functions in the linq provider (as FREETEXT).


Build 3.0.0.Alpha3 (rev5226)
=============================

** Bug
    * [NH-1927] - Criteria generates wrong sql when eager fetching one-to-many with filter
    * [NH-1928] - SQL line comments swallow next line
    * [NH-2024] - Max results parameter could not provided to subquery
    * [NH-2061] - Merge operation causes null exception for null components that contain many-to-many relations
    * [NH-2096] - IndexOutOfRangeException reading zero-length binary value from MySQL
    * [NH-2112] - Update executed on the DB during a Session.Merge of an unmodified entity
    * [NH-2138] - Entity name support in custom SQL is broken: sql-query/return/@entity-name attribute is ignored
    * [NH-2147] - default_batch_fetch_size has no effect
    * [NH-2188] - Exception occurs when configuration searches default config file and multiple search path were defined for current AppDomain.
    * [NH-2202] - Unable to use ICriteria with projection property that references a composite key relationship
    * [NH-2258] - Paging params in subquery breaks query execution.
    * [NH-2265] - Any linq query using oracle fails when restricting the number of results returned
    * [NH-2270] - NHibernatethrows MappingException on Linux/Mono 2.7
    * [NH-2279] - PersistentIdentifierBag fails to maintain ID map in many cases
    * [NH-2288] - The drop scripts from SchemaExport in SQL2005 dialect will not work for constraints when using DefaultSchema setting other than dbo
    * [NH-2289] - Linq query fail when using contains from ICollection<T> or IList<T>
    * [NH-2302] - MsSql Dialect, mapping an nvarchar(max) using string(10000) causes string truncation
    * [NH-2303] - Regression bug: hibernate-mapping/subclass element can no longer extend hibernate-mapping/class//subclass element
    * [NH-2322] - Performing updates in OnPostUpdate event causes enumeration error
    * [NH-2339] - After rev 5139 (apply NH-2335) NHibernate does not work under Medium Trust
    * [NH-2343] - NHibernate.Type.GenericBagType<T>.Wrap() incorrectly assumes collection implements IList<T>
    * [NH-2344] - Coalesce expression does not work on linq provider

** Improvement
    * [NH-626] - Adding XmlDoc to NH types
    * [NH-1618] - Lazy loading for one-to-one association
    * [NH-1894] - New SQL Anywhere NHibernate dialect
    * [NH-2135] - Compatible with Mono
    * [NH-2292] - Set Initialize in AbstractLazyInitializer as virtual
    * [NH-2301] - Castle Bytecode with last released 2.5
    * [NH-2321] - Recommended method for xml intellisense
    * [NH-2340] - Workaround, for some DataProviders, in AbstractCharType for char? 

** New Feature
    * [NH-866] - SQL Server 2005 XML Support
    * [NH-2348] - Support polymorphism with Get and Load

** Patch
    * [NH-2006] - Additional test to use-many-to-one
    * [NH-2111] - PersistentIdentifierBag has null reference exception when accessing SyncRoot on lazy loaded collection
    * [NH-2278] - PersistentGenericIdentifierBag instantiates wrong list type
    * [NH-2284] - Obsolete members can be removed
    * [NH-2293] - When query has only a "from" throw QuerySyntaxException instead of InvalidCastException
    * [NH-2307] - Fix ByteCode Framework Targets
    * [NH-2332] - Update SybaseAnywhereMetaData.cs to support fetching the reserved words
    * [NH-2335] - ReflectiveHttpContext support for different .NET versions
    * [NH-2336] - Leading and trailing ansi trim emulation functions are reversed
    * [NH-2346] - Dialect.TableTypeString is not used when creating schema.

** Task
    * [NH-2161] - Breaking change in naming strategy from 2.0 to 2.1
    * [NH-2315] - Spring version does not match antlr version
    * [NH-2338] - Upgrade to Castle.Core 2.5.1

Build 3.0.0.Alpha2 (rev5159)
=============================

** Bug
    * [NH-1653] - SubqueryExpression don't support Dialect with VariableLimit
    * [NH-1836] - AliasToBean transformer doesn't work correctly with MultiQuery
    * [NH-2133] - Incorrect number of command parameters
    * [NH-2148] - Not possible to call methods on Proxy for lazy-property
    * [NH-2149] - CAST() statements fail in MySql due to invalid type parameters
    * [NH-2158] - NVL Sql Function is broken
    * [NH-2160] - MSSql DateTime2 type is not supported when preparing
    * [NH-2162] - Formulas containing a DateTime data type incorrectly have that data type aliased with the outer entity alias
    * [NH-2224] - SQLite 'In'-Restriction with year function
    * [NH-2245] - AbstractEntityPersister ignores optimistic-lock when generating delete SQL on versioned objects
    * [NH-2251] - System.FormatException mixing Future and Skip/Take
    * [NH-2253] - SchemaExport/SchemaUpdate should take in account hbm2ddl.keywords
    * [NH-2257] - Parameter ordering not working when driver does not support Named Parameters
    * [NH-2261] - Linq Count function fails with MySQL Dialect
    * [NH-2273] - SqlClientBatchingBatcher doesn't set timeout on batches after the first
    * [NH-2277] - NHibernate.Linq  - Eager Fetching Superclass Collection Throws  NullReferenceException.

** Improvement
    * [NH-1378] - New Drivers using ADO.NET's DbProviderFactories
    * [NH-1421] - Better exception message for Invalid handling of empty parameter lists
    * [NH-2103] - Expose hbm mappings
    * [NH-2117] - many-to-one mapping with composite-id formula fails
    * [NH-2191] - Make a method FilterFragment of class AbstractEntityPersister a virtual
    * [NH-2217] - LinFu version 1.0.3 used is not thread-safe. (new LinFu1.0.4 available)
    * [NH-2220] - Support temporary tables within SQLite Dialect
    * [NH-2226] - Set custom bytecode provider type in app.config
    * [NH-2263] - Client Profile Support
    * [NH-2266] - better exception if no concrete subclasses exist
    * [NH-2267] - Prepared statements should be enabled for PostgreSQL
    * [NH-2268] - Substring and Replace functions for PostgreSQLDialect
    * [NH-2287] - Wrong HQL should throws QuerySyntaxException

** New Feature
    * [NH-1135] - Local & Utc DateTime Type
    * [NH-1554] - Logging Abstraction
    * [NH-1946] - Criteria API support for HQL 'with' clause
    * [NH-2256] - Add support for user-provided extensions to the Linq provider
    * [NH-2259] - Add a way to reset the Any cached type

** Patch
    * [NH-2026] - Fix: SchemaExport fails with foreign key constraints on Informix
    * [NH-2120] - CsharpSqlite managed/embedded SQL database driver
    * [NH-2142] - Register function Concat fo MySql to avoid null problem
    * [NH-2190] - Criteria Join Restrictions Support (HHH-2308 Port)
    * [NH-2252] - Added paging support for SQL CE 4
    * [NH-2255] - MsSql2005Dialect resets parameters' positions(for paging parameters) when lock in use.

Build 3.0.0.Alpha1 (rev5056)
=============================

** Sub-task
    * [NH-2045] - NH 2044 Fixed

** Bug
    * [NH-892] - <many-to-one> associated by property-ref generates wrong SQL
    * [NH-1849] - Using custom sql function "contains" causes an Antlr exception
    * [NH-1891] - Formula - Escape characters break formula
    * [NH-1899] - SaveOrUpdateCopy throws InvalidCastException
    * [NH-1902] - QBE don't set the '%' wildcards when using an other matchmode than Matchmode.Exact
    * [NH-1975] - QueryOver() on char Property yields exception
    * [NH-1981] - Multiple SQL parameters generated for same HQL parameter
    * [NH-1989] - Future query does not use second level cache
    * [NH-2009] - Many-to-one fails when using property-ref against a joined property
    * [NH-2020] - ISQLExceptionConverter does not get called if batch size enabled
    * [NH-2027] - NH sql-query does not support calling Stored Procedures in Packages
    * [NH-2030] - NHibernate.SqlTypes.SqlTypeFactory is not threadsafe
    * [NH-2035] - Wrong error "ORDER BY items must appear in the select list if SELECT DISTINCT is specified."
    * [NH-2044] - NHibernate.Criterion.Expression.Eq with chartype has a bug
    * [NH-2047] - OracleDataClientBatchingBatcher writes misleading log messages in a different format than SqlClientBatchingBatcher
    * [NH-2052] - CLONE -Getting identifier on a proxied class initializes it when identifier is defined in parent class
    * [NH-2064] - Filter definitions should not be mandatory to be used
    * [NH-2069] - When touching the identifier of a proxy object a call to the database is executed. 
    * [NH-2074] - SQL Server Dialect: unicode literals in formula results in incorrect SQL
    * [NH-2086] - MsSqlCeDialect fails when mapping contains schemas
    * [NH-2090] - ShemaValidator + Firebird
    * [NH-2092] - Constrained lazy loaded one to one relations using Castle DynamicProxy throws ArgumentNullException
    * [NH-2093] - When using Castle:s FieldInterceptionProxy, NHibernateProxyHelper.GuessClass() cannot guess the correct entity type.
    * [NH-2094] - When using Castle:s FieldInterceptorProxy, accessing an initialized property (even nonlazy) throws LazyInitializationException
    * [NH-2102] - Entity with constrained, lazy one-to-one relation should not generate field intercepting proxy
    * [NH-2113] - NH force eager loading of key-many-to-one entity with overriden GetHashCode
    * [NH-2122] - Nhibernate documentation refers to CriteriaUtil whitch is removed from 2.1
    * [NH-2129] - FutureValue Parameters Missing Quotes
    * [NH-2137] - list-index with one-to-many does not work
    * [NH-2155] - NHibernate project files contain reference to missing AssemblyInfo.cs file
    * [NH-2166] - Custom ISQLExceptionConverter is not called in the case when using query.UniqueResult<T>()
    * [NH-2168] - Statistics.QueryExecutionMaxTimeQueryString is empty
    * [NH-2173] - SetMaxResults fails when Dialect has BindLimitParametersFirst == true
    * [NH-2175] - Cannot Cache NHibernate Future Criteria Results
    * [NH-2189] - Fetch Join Not Consistently Working With Future
    * [NH-2192] - Thread safety issue with QueryParameters.PrepareParameterTypes
    * [NH-2199] - Map with element doesn't support nullable types
    * [NH-2205] - NHibernate.Loader.Loader.DoQuery can hide exceptions
    * [NH-2210] - Problem with merging detached entities with components
    * [NH-2219] - HQL Update of multiple columns only updates the first column
    * [NH-2221] - The tuplizer value specified for a component within a HBM file is ignored
    * [NH-2225] - New Embedded LINQ Provider & Bitwise Queries
    * [NH-2235] - IQueryOver.SelectList uses sub-type type instead of root type
    * [NH-2242] - Formula - Escape characters break formula

** Improvement
    * [NH-1248] - Check if result of Subquery is null with Criteria API
    * [NH-1838] - Guid support in MySql dialect
    * [NH-1850] - NHibernate should log query duration
    * [NH-1862] - Strongly typed configuration of SessionFactory properties 
    * [NH-1877] - Support for Projections.GroupBy(IProjection projection) 
    * [NH-1892] - Programatic configuration of Cache
    * [NH-1935] - Add new WcfSessionContext to the already available ICurrentSessionContext implementations
    * [NH-2021] - Exceptions serialization
    * [NH-2055] - hbm2ddl SchemaExport support batching (GO in ddl)
    * [NH-2065] - provide better exception details
    * [NH-2083] - Undocumented attributes on hibernate-mapping element
    * [NH-2150] - CreateCriteria / QueryOver inconsistency
    * [NH-2186] - Allow MultiCriteria to directly add IQueryOver
    * [NH-2215] - MsSql2005Dialect does not use parameters for paging parameters
    * [NH-2216] - EnumType<T> as IType
    * [NH-2230] - <parent> tag does not allow any accessor
    * [NH-2249] - DateType as IParameterizedType to customize the BaseDateValue for null

** New Feature
    * [NH-429] - Lazy load columns
    * [NH-1922] - Allow DetachedCriteria To Work with IStatelessSession
    * [NH-1978] - Add ability to delimit aliases in generated SQL
    * [NH-2152] - QueryOver equality to null should generate (x is null or x == value)

** Patch
    * [NH-2031] - Mod function in SqlDialect is broken
    * [NH-2041] - SchemaExport does not export Components in Joined tables properly
    * [NH-2046] - Release builds do not include PDB files
    * [NH-2101] - Missing IsNotIn for WhereRestrictionOn
    * [NH-2106] - DetachedCriteria.SetLockMode() is missing
    * [NH-2131] - SessionIdLoggingContext perf patch
    * [NH-2169] - ToUpper and ToLower functions are inverted in the new Linq provider
    * [NH-2194] - NHibernate.Util.PropertiesHelper class throwing FormatException when property values are in-compatible with the expected type
    * [NH-2201] - NDataReader doesn't reset the currentrow index when a move to NextResult is executed
    * [NH-2227] - Missing [Serializable] attribute on ReadOnlyAccessor
    * [NH-2236] - GetSequenceNextValString for Informix is wrong
    * [NH-2243] - 'foreign-key' ignored in join/key

** Task
    * [NH-2013] - HQL breaking change
    * [NH-2247] - Update FlushMode Documentation

Build 2.1.2.GA (rev4854)
=============================
** Bug
    * [NH-2011] - Many-to-many inside a component will not be saved when using SaveOrUpdateCopy or Merge
    * [NH-2283] - CLONE -one-to-many collection with table per subclass, using discriminator: wrong proxies in collection

** Improvement
    * [NH-2022] - Allow overriding in Query By Example

** Patch
    * [NH-2007] - SesssionIdLoggingContext patch for big resultsets
    * [NH-2019] - Clarification about the use of <import> for polymorphic queries

Build 2.1.1.GA (rev4814)
=============================

** Sub-task
    * [NH-1368] - Check same behavior for other persistent collection.

** Bug
    * [NH-1255] - key-many-to-one && not-found
    * [NH-1476] - filtering by key-many-to-one causes invalid sql
    * [NH-1760] - Missing table join when use a criteria on key-many-to-one part of a Composite Id
    * [NH-1785] - Invalid SQL generated for join on composite id using Criteria API 
    * [NH-1858] - Problem with MsSql2000 and 2005 Dialects GetLimitString when using use_sql_comments=true
    * [NH-1895] - delete-orphan mapping, NullReferenceException in DefaultDeleteEventListener.DeleteTransientEntity
    * [NH-1898] - HQL query parser can't determine parameter type when using native sql function in hql query.
    * [NH-1899] - SaveOrUpdateCopy throws InvalidCastException
    * [NH-1902] - QBE don't set the '%' wildcards when using an other matchmode than Matchmode.Exact
    * [NH-1904] - Protected properties and public properties cannot have the same name with different case
    * [NH-1905] - Join used together  with subquery generates wrong SQL
    * [NH-1907] - IQuery.SetParameter<T> should use DetermineType
    * [NH-1908] - Mishandling of filter parameters causes System.InvalidCastException
    * [NH-1911] - Aggregate parameters in projection are not substituted
    * [NH-1913] - AdoNet batcher not using CommandTimeout
    * [NH-1914] - Collections with out native ID generation is not working
    * [NH-1915] - CLONE -HQL AST-Parser: Null-Pointer Exception on Non-Exsistant Entity on Joins
    * [NH-1917] - Not retrieving AUTO_INCREMENT identifier on MySQL because of connection closing
    * [NH-1920] - Session Filters + collection + parametrized query = bug 
    * [NH-1926] - Oracle: Schema update crashes
    * [NH-1931] - NativeSQLQuerySpecification.Equals compares collections by reference
    * [NH-1938] - No 'lower' call in sql-query in LikeExpression with 'ignorecae' = true
    * [NH-1939] - Missing <param> element in NHibernate mapping schema.
    * [NH-1941] - Custom Enum-String mapping is not written to SQL statement
    * [NH-1948] - Hibernate mapping file does not allow a value of 0 for the "scale" attribute of the "property" element
    * [NH-1959] - Adding/Removing items to idbag in one transaction causes KeyNotFoundException
    * [NH-1963] - System.InvalidCastException on cacheable query with byte array query parameter
    * [NH-1964] - Byte array truncation to a length of 8000
    * [NH-1969] - Criteria API does not handle property of type "System.Type" correctly
    * [NH-1973] - DateTime sent to dataase is not accurate to millisecond
    * [NH-1979] - cast and parameter combination in HQL fails to parse
    * [NH-1983] - Blobs and Clobs with Sql Server CE
    * [NH-1985] - NHibernate is allowing deletion of immutable objects
    * [NH-1987] - MultiQuery does not update statistics
    * [NH-1990] - Subquery filter parameters are not set as variables in SQL
    * [NH-1992] - BasicFormatter throws exceptions for certain types of data
    * [NH-1997] - Original exception information lost when error occurs NHibernate.Engine.TransactionHelper.Work.DoWork
    * [NH-2000] - Problem when calling ISession.GetEnableFIilter with a not enabled filter name
    * [NH-2003] - IsNullable property is not set properly in ClassIdBinder.cs

** Improvement
    * [NH-847] - Oracle stored procedure with Ref Cursor out
    * [NH-1525] - IResultTransformer should override Equals and GetHashCode
    * [NH-1912] - Add decimal types to MySQL dialect.
    * [NH-1943] - Fix introduction in docs so it won't mention VS 2003
    * [NH-1980] - Ignore exception when trying to set the same type of CollectionTypeFactory

** New Feature
    * [NH-1922] - Allow DetachedCriteria To Work with IStatelessSession
    * [NH-1936] - Introduce new Interface IPostEvent in NHibernate.Event
    * [NH-1998] - Possibility to turn off many-to-one filters

** Patch
    * [NH-1903] - GetEnumerator().Current inconsistent for generic 
    * [NH-1970] - SQLite dialect - Fix to substring function
    * [NH-1993] - Patch for a bug in MySQLMetaData.cs

Build 2.1.0
========================
** Known BREAKING CHANGES from NH2.0.xGA to NH2.1.0
    ##### Run time #####
        * If you want work using lazy loading with LinFu.DynamicProxy now you must deploy NHibernate.ByteCode.LinFu.dll
        * If you want work using lazy loading with Castle.DynamicProxy2 now you must deploy NHibernate.ByteCode.Castle.dll
        * If you want work using lazy loading with Spring.Aop now you must deploy NHibernate.ByteCode.Spring.dll
        * compatible only with .NET2.0 SP1 or above (System.DateTimeOffset)
        * In SchemaExport.Execute the parameter "format" was removed; (NH-1701) enabled configuration property format_sql (default true)
        * Antlr3.Runtime.dll is required
        * the syntax foo.bar.baz.elements or foo.bar.baz.indices is not longer supported.  Use the alternative syntax of elements(foo.bar.baz) or indices(foo.bar.baz) instead
            Note: in some case, where a sub-select is needed, the collection is enough example: FROM m IN CLASS Master WHERE NOT EXISTS( FROM m.Details d WHERE NOT d.I=5 )
        * INamingStrategy.PropertyToColumnName does not include the component property path

    ##### Possible Breaking Changes #####
        * ISession interface has additional methods
        * ICriteria.SetProjection now takes a params array of projections, instead of a single projection
            Only a breaking change if you are implementing ICriteria, there is full source code compatability
        * IStatelessSession interface has additional methods
        * DefaultProxyFactoryFactory removed
        * IProxyFactoryFactory now provide the IProxyValidator implementation
        * Now filters are working even with many-to-one association for Criteria and HQL (NH-1293, NH-1179)

    ##### Initialization time #####
        * The ProxyValidator check for "internal virtual" (to be intercepted by proxy need "protected internal virtual")
        * The session-factory configuration property "proxyfactory.factory_class" is mandatory; You must choose one of the availables NHibernate.ByteCode

    ##### Breaking Changes #####
        * see NH-1633 if you are using SQL native queries
        * CriteriaUtil is gone. NHibernate.Transform.Transformers now returns predefined IResultTransformer.
        * ISessionFactory.Settings is gone (moved to ISessionFactoryImplementor.Settings)
        * Obsolete ORACLE dialects was removed (new implementations are available)
        * ISQLExceptionConverter was changed in order to have more flexibility about information available for the conversion and followed management.
        * ADOException now use string instead SqlString
        * IParameterizedType is using IDictionary<string, string>

Build 2.1.0.Beta2 (rev4501)
=============================
** Sub-task
    * [NH-1827] - SchemaUpdate exception 
    * [NH-1843] - Precision and scale for MySQL is not working, too

** Bug
    * [NH-1734] - NHibernate aggregate function sum() to return Int64 instead of floating point value
    * [NH-1810] - Use of custom sorted set leads to "collection not processed by flush" exception
    * [NH-1812] - Aggregates + IsNull bug (AST parser)
    * [NH-1821] - Wrong SQL executed when the SQL contains new lines
    * [NH-1822] - CLONE -NHibernate.Util.TypeNameParser doesn't parse correctly generic types
    * [NH-1830] - Missing MatchMode Parameter 
    * [NH-1831] - AST Parser & Bitwise queries
    * [NH-1834] - Formula node in Many-To-One is ignored
    * [NH-1835] - prepare_sql = true (creating prepared queries) makes NHibernate set up wrong size for byte arrays larger than 8000
    * [NH-1837] - UniqueResult<T>() executes sql query twice.

** Improvement
    * [NH-473] - order-by in <bag> is ignored if FetchMode is Join
    * [NH-1069] - Add context information to LazyInitializationException.
    * [NH-1097] - Should not parse column names, and consider them as failing HQL queries
    * [NH-1192] - Support bitwise operations
    * [NH-1266] - ISQLExceptionConverter for various Dialects
    * [NH-1672] - Unnecessary calls to planCache.Put
    * [NH-1820] - PostgreSQL: support for Temporary Tables
    * [NH-1824] - MySQL: support for Temporary Tables
    * [NH-1826] - PostgreSQL: support iff() function
    * [NH-1833] - OverflowException instead of expected FormatException when trying to parse a "long" literal 
    * [NH-1846] - DbTimestampType (from H3.3.1)

** New Feature
    * [NH-1623] - Configuration of UserCollection for any collection type
    * [NH-1817] - Allow <typedef> for Id generator class

** Patch
    * [NH-1829] - AbstractEntityPersister.Delete is not virtual
    * [NH-1842] - Type.CharBooleanType.ctor(SqlType) is internal for no reason. Making it protected supports better extensibility.


Build 2.1.0.Beta1 (rev4424)
=============================
** Bug
    * [NH-959] - HQL queries with math operators and aggregates fail
    * [NH-1092] - An Aggregate Count(*) on on an Abstract Base Class (Polymorphic) with UniqueResults returns 1 result per subclass when using the table per subclass approach
    * [NH-1171] - Named parameters in SQL query are not substituted when query contains comments with apostrophes
    * [NH-1182] - Calling session.delete() causes unnecessary update to timestamp before sql:delete
    * [NH-1400] - HQL string literals with dots in are tried loaded as types (classes) and fails
    * [NH-1427] - XML Comments inside <join> tag cause exception
    * [NH-1444] - broken implicit join
    * [NH-1487] - schema generation of unique-key with column involved in multiple unique constraints
    * [NH-1507] - NHibernate misplaces JOIN conditions when WHERE references their columns and others altoghether
    * [NH-1517] - SaveOrUpdateCopy does not call "public LifecycleVeto OnUpdate(ISession s)"
    * [NH-1601] - Problems when accessing lists through property
    * [NH-1617] - Formulas containing a data type incorrectly have that data type aliased with the outer entity alias
    * [NH-1735] - TicksType used as entity version causes exceptions on cache put operation.
    * [NH-1789] - A proxy sometimes doesn't call the overriden Equals() method (mapping interface instead class)
    * [NH-1801] - Cross join with a where clause where lhs and rhs are different types of associations breaks with the new AST Query Translator
    * [NH-1802] - Query Cache does not include filters in QueryKey.ToString
    * [NH-1805] - Does ignore <meta> on <subclass>
    * [NH-1813] - Not understandable exception message

** Improvement
    * [NH-1019] - Improve error message for HQL in when entity not recognised
    * [NH-1814] - Autoregister ReservedWords from MetaData

** New Feature
    * [NH-188] - Should Table/Column names be quoted automatically?

** Patch
    * [NH-1044] - IdBag for component not in XSD
    * [NH-1804] - Expiration property of session factory not handled when configured via XML

Build 2.1.0.Alpha3 (rev4378)
=============================

** Bug
    * [NH-1098] - Problem in filters with parameters and associated logging information
    * [NH-1179] - Filter not applied in explicit join
    * [NH-1264] - Eager fetching with Criteria/DetachedCriteria does not seem to be working properly
    * [NH-1307] - Parameter Postion incorrect in the sql query .
    * [NH-1343] - In HQL, when having only one Class for query it fails to work if we forget the Alias.
    * [NH-1388] - Map does not delete keys if value of the key is null
    * [NH-1574] - Stateless Session isn't ignoring untouched proxy properties on update
    * [NH-1725] - When using SELECT NEW <Entity>(iif(a=0, 2, 1)) From .... Returns error '(' expected after HQL function in SELECT
    * [NH-1727] - Hql parameter problems (Sql2005dialect)
    * [NH-1736] - NHibernate.Util.TypeNameParser doesn't parse correctly generic types
    * [NH-1741] - DetachedNamedQuery is ignoring mapped properties
    * [NH-1742] - Wrong parameters order in IQuery with SetParameterList and Filter. SQL Server 2005 and SQL Server 2000
    * [NH-1744] - Open/Close a session inside a TransactionScope fails.
    * [NH-1751] - DistinctRootEntityResultTransformer assumes source ILists are always ArrayLists
    * [NH-1754] - cast HQLFunction don't cast the result
    * [NH-1756] - Updating newly saved entity with generated version causes StaleObjectStateException (explicit flush before commit)
    * [NH-1764] - TableHiLoGenerator fail in a TransactionScope with MySQL database
    * [NH-1767] - Multiple TransactionScopes inside one Session do not work properly
    * [NH-1770] - Not posible to have system properties in web.config and session-factory properties in external hibernate.cfg.xml
    * [NH-1773] - HQL Queries with projection and join fetching fail with AST query translator
    * [NH-1775] - AST Parser & Bitwise queries
    * [NH-1776] - Query executed twice on session with enabled Filter will cause NullReferenceException
    * [NH-1780] - Section 18.4 - Incorrect method name IsUnsaved() 
    * [NH-1788] - Dynamic Update & generated timestamp cause NH to try to update the readonly timestamp column
    * [NH-1792] - Invalid Sql for Paging when Subquery contains Order By clause using MsSql2005Dialect

** Improvement
    * [NH-514] - Allow expansion of the "on" clause in joins.
    * [NH-1051] - Port AST-based HQL parser / QueryTranslator from H3
    * [NH-1093] - Invalid caching probably shouldn't throw exceptions, but should log warnings.
    * [NH-1516] - HQL doesn't support "update" statements
    * [NH-1553] - SQL Server 2005: Support for wrapping snapshot isolation update conflict SQLException into a NHibernate StaleObjectStateException.
    * [NH-1670] - MutiCriteria and MultiQuery results may be loaded directly into a generic List<T> instead of an ArrayList
    * [NH-1745] - SQL formatters for DDL and all others SQLs
    * [NH-1750] - Mark  NHibernate.Util.WeakHashtable  [Serializable]
    * [NH-1765] - Add ISessionImplementor property to PreDeleteEvent
    * [NH-1791] - Allow passing params of projections to ICriteria.SetProjectios
    * [NH-1794] - Allow query only properties and associations
    * [NH-1797] - MsSql2005Dialect uses paging query when no offset specified

** New Feature
    * [NH-322] - case when...then...else...end  in select clause
    * [NH-917] - Allow NHibernate to enlist in arbitrary IDbTransaction
    * [NH-1701] - format_sql property of hibernate
    * [NH-1786] - IObjectFactory (implementation responsibility by ByteCode provider) to concentrate all Activator.CreateInstance.

** Patch
    * [NH-1726] - ISessionFactory.Settings gone - breaking change
    * [NH-1769] - Transaction completion on rollback with TransactionScope can cause ObjectDisposedException
    * [NH-1777] - Removed some duplicated casts
    * [NH-1783] - DateType should store only the date part of a System.DateTime to a column
        
Build 2.1.0.Alpha2 (rev4167)
========================

** Sub-task
    * [NH-1688] - System.Boolean type incorrectly mapped to YesNoType when the criterion is created by using a projection instead of a property name

** Bug
    * [NH-1635] - <many-to-one formula="select id from..."> should not require a column
    * [NH-1671] - SoftLimitMRUCache has a softReferenceCache which is NOT soft
    * [NH-1693] -  Wrong parameters order in query with subselect and filter
    * [NH-1694] - SQL2005Dialect - Sorting fails on a Formula property containing a comma while using paging (MaxResults)
    * [NH-1700] - union-subclass with same name as abstract superclass causes NHibernate.DuplicateMappingException.
    * [NH-1706] - property-ref does not work for different data type than PK type
    * [NH-1710] - Decimal fields are not create correctly in SQL Server 2005/2008 using SchemaExport
    * [NH-1711] - Failure of DTC transaction with multiple durable enlistment will crash the process
    * [NH-1715] - Timespan type doesn't work with SqlServer 2005

** Improvement
    * [NH-1707] - MsSQL : prepare_sql should be true by-default
    * [NH-1716] - By default map TimeSpan as int64

** New Feature
    * [NH-1222] - <Join> elements: collections support
    * [NH-1718] - CurrencyType
    * [NH-1719] - Current TimeSpan moved to TimeAsTimeSpan and TimeSpanInt64 moved back to TimeSpan

** Patch
    * [NH-1708] - MS SQL CE Metadata implementation
    * [NH-1712] - Release notes missing info about removal of CriteriaUtil
    * [NH-1713] - NH-1707 results in buggy PrepareStatement behavior
        
Build 2.1.0.Alpha1
========================

** Sub-task
    * [NH-1379] - Allow <typedef> for version custom type
    * [NH-1649] - DateTime2 and DateTimeOffset data types support
    * [NH-1650] - FileStream data type support
    * [NH-1656] - Date and Time data types support

** Bug
    * [NH-1083] - When using a proxy with an interface access strategy on the Id does not get applied
    * [NH-1177] - Save/Delete/Evict/Save does not work if collections are mapped
    * [NH-1197] - Some tests related to paged subselect are failing under PostgreSQL
    * [NH-1251] - TypeFactory.GetSerializableType race condition
    * [NH-1253] - Named paramaters with numeric suffix may cause problems
    * [NH-1297] - <idbag> with native ID generator throws InvalidCastException
    * [NH-1329] - Expression.Sql with parameters (inside of functions) is broken
    * [NH-1345] - PersistentGenericList.GetEnumerator missing Read
    * [NH-1357] - ICriteria.ClearOrders is mispelled and belongs on DetachedCriteria too
    * [NH-1358] - SchemaUpdate fails for Firebird in released binaries only - NHibernate source and local builds from this source work fine
    * [NH-1385] - System.Collections.Generic.KeyNotFoundException exception in PersistentGenericMap.GetDeletes()
    * [NH-1395] - Unsaved value null for ValueType
    * [NH-1422] - incorrect parameter replacement when one variable is the prefix of another
    * [NH-1443] - default_catalog is not used in create table
    * [NH-1445] - CriteriaImpl.Clone does not propertly maintain the persistentClass
    * [NH-1446] - cast case sensitivity
    * [NH-1447] - boolean ConstantProjection fails with MSSQL2005
    * [NH-1480] - SchemaUpdate & Oracle
    * [NH-1495] - using access=field.camelcase with interface to create proxy
    * [NH-1499] - NullReferenceException construting Criteria query
    * [NH-1502] - Order by with projections uses invalid parameter characters
    * [NH-1505] - LikeExpression when using projections is invalid
    * [NH-1520] - SQLite Dialect does not properly escape names surrounded by backticks
    * [NH-1521] - The drop scripts from SchemaExport in SQL2005 dialect will not work when using DefaultSchema setting other than dbo
    * [NH-1522] - AdoTransaction.CloseIfRequerid
    * [NH-1526] - Cannot use projection for Count in OrderBy
    * [NH-1527] - Using projection on order by in conjuction with set max results with parameters passed to the projection will fail
    * [NH-1528] - Using order by with a parameter and set max results on 2005 mix up the parameters
    * [NH-1549] - Accessing Id of proxy with base class intializes proxy
    * [NH-1552] - Paging in NHibernate builds buggy SQL query string, when paging is used against a MS SQL 2005 Database
    * [NH-1556] - Cannot order by aggregates in HQL
    * [NH-1572] - Small typo in AbstractType.Compare()
    * [NH-1573] - "collable" typo in nhibernate-mapping.xsd
    * [NH-1578] - The "not" criteria does surround the following or inner criteria with parens only when using MySQLDialect.
    * [NH-1584] - one-to-one compositions to a joined subclass don't load
    * [NH-1587] - PocoEntityTuplizer don't use ReflectionOptimizer for instantiator
    * [NH-1590] - NHibernate.Util.ReflectHelper.TryGetMethod not returning inherited id-getter/setter
    * [NH-1593] - SchemaUpdate not create property index.
    * [NH-1594] - When setting property in hbm type="Decimal(precision, scale)" - "DECIMAL(19,5)" is always generated
    * [NH-1608] - LRUMap Memory Leak
    * [NH-1609] - MSSQL2005 dialect: paged query in multicriteria uses wrong parameter values when preceeded by other queries
    * [NH-1611] - One-To-One Mappings Fail with Composite ID
    * [NH-1612] - Native SQL queries for value collections fail with NullReferenceException
    * [NH-1619] - NHibernateUtil returns a wrong IType for Boolean on Postgres
    * [NH-1627] - lazy=extra causes the where=".." to be ignored when using collection.Count()
    * [NH-1633] - Native SQL queries with addJoin or <return-join/> return object arrays instead of single Entities
    * [NH-1637] - Oracle9Dialect Paging based on rownum is not valid.
    * [NH-1640] - FETCH JOIN query doesn't work in a StatelessSession
    * [NH-1654] - Reserved words in formula
    * [NH-1668] - Ingres .NET Data Provider name changed
    * [NH-1675] - Problem using distinct query with SetMaxResult
    * [NH-1677] - Bug in Criteria API with EntityMode == Map
    * [NH-1679] - System.Boolean type incorrectly mapped to YesNoType when the criterion is created by using a projection instead of a property name
    * [NH-1685] - Generated Version Not Reloaded After Update
    * [NH-1687] - Version tag are ignoring child column tag

** Improvement
    * [NH-298] - After, deleting an item which belongs to a <list> the list indices are not modified
    * [NH-545] - Distributed transactions support
    * [NH-645] - Support for scalar functions which don't return a value in where clause
    * [NH-727] - Allow using sql-insert with generator class="identity"
    * [NH-1047] - Add overloads to IQuery.SetParameter to accept System.Type
    * [NH-1053] - Allow short class name for collection-type
    * [NH-1202] - Improve the error messages when compiling queries
    * [NH-1274] - Give the option to exclude a mapped class from the SchemaExport.Create loop.
    * [NH-1291] - Example.Create with anonymous objects
    * [NH-1336] - Native id generator as default and make generator optional in config
    * [NH-1354] - Add support for keyed retrieval of MultiCriteria results
    * [NH-1381] - Add support for keyed retrieval of MultiQuery results
    * [NH-1396] - Allow override of EmptyInterceptor.GetEntityName
    * [NH-1398] - Allow access to EntityMode from ISession
    * [NH-1402] - Support Cache for Dynamic entities (entity-name without entity-class)
    * [NH-1468] - InFragment ToFragmentString() needs more information in error
    * [NH-1496] - Configuration.AddAssembly(Assembly) should do some logging if no mapping files where found
    * [NH-1500] - Spelling error of NHibernate.Cfg.ConfigurationSchema.ParseColectionsCache
    * [NH-1515] - Proxy validator doesn't check "internal" methods
    * [NH-1560] - AbstractDataBaseSchema: Make GetIndexInfo and GetIndexColumns virtual
    * [NH-1564] - Generic EnumString Mapping
    * [NH-1588] - "Relax" PocoEntityTuplizer
    * [NH-1589] - ReflectionOptimizer override CreateCreateInstanceMethod
    * [NH-1605] - Typedef support in sql-query/return-scaler/@type attribute
    * [NH-1613] - Allow custom action for schema script create/update
    * [NH-1643] - Allow to use ICollection<T> and HashSet<T> for <set>
    * [NH-1644] - Oracle Lite Driver With Working Query Parameters
    * [NH-1657] - TimeSpan as DbType.Time
    * [NH-1658] - current_timestamp_offset: current_timestamp for DateTimeOffset
    * [NH-1659] - current_timestamp in MsSql2008Dialect using SYSDATETIME()
    * [NH-1661] - DriverConnectionProvider.GetConnection doesn't dispose IDbConnection in case of an exception
    * [NH-1665] - Supports Hibernate-Quoting sequence name
    * [NH-1669] - Add guid.native support to MySQL5Dialect
    * [NH-1678] - Add a CreateCriteria<T> method to session
    * [NH-1684] - MS SQL Server Dialect - UNION ALL
    * [NH-1686] - IStatelessSession.CreateCriteria(System.Type entityType)
    * [NH-1703] - Configuration full serializable
    * [NH-1704] - AliasToBeanResultTransformer should hold ConstructorInfo

** New Feature
    * [NH-791] - Add always-wrap As a Configuration Option On Collections
    * [NH-855] - Port lazy="extra" from Hibernate 3
    * [NH-871] - Implement SelectGenerator
    * [NH-1033] - Add support for polymorphic criteria
    * [NH-1106] - SQL Anywhere 10 Driver and Dialect
    * [NH-1173] - Generic Ordered Set
    * [NH-1176] - Trigger generated identities
    * [NH-1188] - Provide a method to delete by Id
    * [NH-1232] - Enums as discriminators
    * [NH-1233] - EnumCharType
    * [NH-1305] - Add BuildMappings method to Configuration to eagerly configure mappings
    * [NH-1359] - Ability to create an IProjection from a DetachedCriteria
    * [NH-1370] - Allow short name for <type>
    * [NH-1371] - short name for UserType (<typedef>)
    * [NH-1373] - shorter name for UserCollectionType (<typedef>)
    * [NH-1393] - Ability to use Aggregate Projections on Projections
    * [NH-1394] - Ability to use "order by projection"
    * [NH-1397] - <tuplizer> from H3.2
    * [NH-1401] - Support for EntityMode.Map and for DefaultEntityMode in Settings
    * [NH-1416] - Support DEFAULTs, for properties values, in mappings
    * [NH-1451] - Port of <natural-id> from H3.2.6
    * [NH-1458] - Collections events (from H3.2.6)
    * [NH-1479] - Add Guid native generation
    * [NH-1493] - BackingField accessors
    * [NH-1518] - Log info per Operation Threshold in statistics (from H3.2.6)
    * [NH-1537] - Comments in Query
    * [NH-1538] - Configuration property use_sql_comments (from H3.2)
    * [NH-1561] - Dialect, Driver + MetaData for SQL Anywhere 9, and 10
    * [NH-1562] - SQLite MetaData
    * [NH-1563] - LinFu ProxyFactoryFactory (LinFu.DynamicProxy)
    * [NH-1571] - MSSQL 2008 Dialect
    * [NH-1596] - Support Connection to Oracle Lite
    * [NH-1621] - Read only property accessor
    * [NH-1632] - System.Transactions support issue
    * [NH-1646] - Support for IQuery.Future<T>()
    * [NH-1662] - sequence-identity generator from H3
    * [NH-1664] - Identity style generic generator support

** Patch
    * [NH-1094] - DecodeCaseFragment ignoring 'returnColumnName'
    * [NH-1127] - Use default assembly name and namespace from the <hibernate-mapping> element (more than at present).
    * [NH-1209] - TableHiLoGenerator Jumps 1 number each lo > maxLo
    * [NH-1280] - Adds HAVING support to CreateCriteria queries, Fixes parameter order bugs
    * [NH-1295] - ISynchronization support
    * [NH-1314] - Change signature of AbstractPersistentCollection.IdentityRemoveAll() from ICollection to IEnumerable for generics
    * [NH-1322] - DeleteEvent constructor does not check its parameter properly
    * [NH-1356] - Fixes Generic List of Composite Elements
    * [NH-1409] - Includes Patch : nant build scripts ignore -D:sign=false
    * [NH-1429] - Oracle GUID to Raw(16) 
    * [NH-1467] - some comment clean ups
    * [NH-1485] - MultiQueryImpl.GetResultList does not use Result Transformers correctly.
    * [NH-1491] - NoArgSQLFunction is not cls compliant
    * [NH-1503] - Support for Sybase ASE ADO.NET 2 Provider
    * [NH-1532] - Class called SystemConfiguration does not persist properly
    * [NH-1539] - Oracle dialect - incorrect CONCAT behaviour
    * [NH-1540] - Oracle dialect - allowing pagging in subqueries
    * [NH-1541] - Oracle Dialect - Extra lazy collection count not working under Oracle
    * [NH-1542] - Oracle dialect - Fix to some HQL functions
    * [NH-1543] - SQLite paging broken
    * [NH-1547] - SqLite Paqing does not page properly after the 2nd page
    * [NH-1550] - Oracle dialect - pagging correction (+left/right functions)
    * [NH-1551] - Update some tests to support Oracle
    * [NH-1555] - Add some helper methods for the transformers class
    * [NH-1570] - Revision 3859 broke paging support in SQL 2005 dialect for ordered queries
    * [NH-1575] - Revision 3860 introduced bug where paged Hql Queries can break unpaged Hql Queries in Sql 2005
    * [NH-1582] - DbType.Date support for SQLite
    * [NH-1586] - Informix driver
    * [NH-1591] - SetCacheable isn't exposed by DetachedCriteria
    * [NH-1592] - Informix dialect update
    * [NH-1595] - SQLite dialect does not support the "extract" function
    * [NH-1603] - MSSql2005Dialect - Better Data Paging Strategy
    * [NH-1606] - Timestamp  in Oracle8
    * [NH-1607] - Dictionary<T,U> should use ContainsKey to check for values
    * [NH-1614] - Add support to primitive type (es: unsigned type) to MySql Dialect
    * [NH-1660] - Faster retrieval of tuplizer
    * [NH-1691] - Nested component broken by fix for NH-1612
    * [NH-1695] - MySQL MetaData implementation
    * [NH-1698] - MS SQL Server 2005 creates a clustered primary key by default. Requesting nonclustered as a default to simplify the creation of optimized clustered indexes.
    * [NH-1702] - Make AliasToBeanResultTransformer able to return types with a non-public constructor

** Task
    * [NH-1511] - Correctly spell IPropertyAccessor.CanAccessTroughReflectionOptimizer


Build 2.0.1.GA
========================
** Bug
    * [NH-1293] - Changed behavior of Filters for many-to-one  associations brings up possible bug when used with outer joins.
    * [NH-1464] - C++ and Dispose method
    * [NH-1466] - current_session_context_class = thread_static doesn't work
    * [NH-1473] - IsEqual and Compare broken in EntityType
    * [NH-1481] - Named Hql queries w/ Named Parameters broken after upgrade to 2.0 from 1.2.1
    * [NH-1483] - Subclass Not Loaded From Cache as Baseclass
    * [NH-1488] - Table per class hierarchy and OUTER JOIN
    * [NH-1490] - Wrong order of parameters in query when session uses IFilter
    * [NH-1492] - Parameter mismatch enabling filters
    * [NH-1499] - NullReferenceException construting Criteria query

** Improvement
    * [NH-1484] - first chance exception 'NHibernate.MappingException' when starting a webapplication
    * [NH-1496] - Configuration.AddAssembly(Assembly) should do some logging if no mapping files where found
    * [NH-1500] - Spelling error of NHibernate.Cfg.ConfigurationSchema.ParseColectionsCache


** Patch
    * [NH-1034] - HQL functions - parameters support
    * [NH-1434] - Some unit test supplies non-character value to LIKE: not portable across every RDBMS
    * [NH-1435] - Explicitly order query in NH-1179 to ensure reliable results
    * [NH-1436] - Mapping of NH-1250 not portable across every RDBMS
    * [NH-1437] - Mapping of NH-1408 not portable across every RDBMS
    * [NH-1438] - Some queries from FooBarTest fixture are not portable across every RDBMS
    * [NH-1439] - Handle Dialect.GetIdentityColumnString(DbType type)
    * [NH-1459] - Sybase dialect
    * [NH-1462] - StringHelper.GetFullClassname fails to parse generic types

Build 2.0.0.GA
========================
** BREAKING CHANGES from NH1.2.1GA to NH2.0.0
    ##### Infrastructure #####
        * .NET 1.1 is no longer supported
        * Nullables.NHibernate is no longer supported (use nullable types of .NET 2.0)
        * Contrib projects moved to http://sourceforge.net/projects/nhcontrib

    ##### Compile time #####
        * NHibernate.Expression namespace was renamed to NHibernate.Criterion
        * IInterceptor have additional methods. (IsUnsaved was renamed IsTransient)
        * INamingStrategy
        * IType
        * IEntityPersister
        * IVersionType
        * IBatcher
        * IUserCollectionType
        * IEnhancedUserType
        * IPropertyAccessor
        * ValueTypeType renamed to PrimitiveType 

    ##### Possible Breaking Changes for external frameworks #####
        * Various classes were moved between namespaces
        * Various classes have been renamed (to match Hibernate 3.2 names)
        * ISession interface have additional methods
        * ICacheProvider
        * ICriterion
        * CriteriaQueryTranslator

    ##### Initialization time #####
        * <nhibernate> section, in App.config, is no longer supported and will be ignored. Configuration schema for configuration file and App.config is now identical, and the App.config section name is: <hibernate-configuration>
        * <hibernate-configuration> have a different schema and all properties names are cheked
        * configuration properties are no longer prefixed by "hibernate.", if before you would specify "hibernate.dialect", now you specify just "dialect"
        * All named queries will be validated at initialization time, an exception will be thrown if any is not valid (can be disabled if needed)
        * Stricter checks for proxying classes (all public methods must be virtual)

    ##### Run time #####
        * SaveOrUpdateCopy() returns a new instance of the entity without changing the original
        * AutoFlush will not occur outside a transaction - Database transactions are never optional, all communication with the database must occur inside a transaction, whatever you read or write data.
        * NHibernate will return long for count(*) queries on SQL Server
        * <formula> must contain parenthesis when needed
        * The HQL functions names may cause conflic in your HQL (reserved names are: substring,locate,trim,length,bit_length,coalesce,nullif,abs,mod,sqrt,upper,lower,cast,extract,concat,current_timestamp,sysdate,second,minute,hour,day,month,year,str)
        * <any> when meta-type="class" the persistent type is a string containing the Class.FullName (In order to set a parameter in a query you must use SetParameter("paraName", typeof(YourClass).FullName, NHibernateUtil.ClassMetaType) )

    ##### Mapping #####
        * <any> : default meta-type is "string" (was "class") 

Build 2.0.0.CR2
========================
** Sub-task
    * [NH-1407] - Actualize documentation of <any>

Build 2.0.0.CR1
========================
** Bug
    * [NH-1361] - ProxyTypeValidator: Non-virtual public methods are accepted
    * [NH-1389] - Sybase SQLAnywhere 8/9 support broken in Beta1 onword
    * [NH-1399] - Database constraint names and hash collisions
    * [NH-1403] - Support <any> with meta-type="class"
    * [NH-1405] - composite-id property is nulled when related composite many-to-one mapping returns null.
    * [NH-1406] - IQuery.SetTimeout work incorrect for ExecuteUpdate
    * [NH-1408] - CriteriaTransformer don't clone a DetachedCriteria with sub DetachedCriteria
    * [NH-1413] - Paging with multiple orders fail in MSSQL2005

** Improvement
    * [NH-1304] - Reflection optimizer on != property access
    * [NH-1415] - Adding multi query support to MySqlDataDriver 

** New Feature
    * [NH-1412] - Allow custom accessors to define if the ReflectionOptimizer can be used.

** Patch
    * [NH-1254] - Sybase ASA10 - Dialect + Driver
    * [NH-1390] - Union subclass support for PostgreSQL

** Task
    * [NH-1410] - Spelling mistake in error message: sublcass must be subclass

        
Build 2.0.0.Beta2
========================
** Bug
    * [NH-1030] - DB2400Dialect : mod(x,y) function triggers a parse exception
    * [NH-1077] - Pessimistic locking for SQL Server fails on cached objects
    * [NH-1258] - Oracle Sequences mappings without Schema information throwns InvalidKeyException
    * [NH-1279] - AggressiveRelease tests fail for MySQL
    * [NH-1300] - Detached Entities that have many-to-one associations improperly throw LazyInitializationExceptions when accessing the association outside the loading session
    * [NH-1355] - Custom Version type (IUserVersionType) not allowed
    * [NH-1362] - Nested cascades on ISession.Refresh()
    * [NH-1375] - Disable Multi Query support for Npgsql
    * [NH-1383] - Components with (non-C#) Nullables do not follow documentation sect. 7.1 "if all component columns are null, then the entire component is null"
    * [NH-1384] - Support for latest Npgsql2 (PostgreSQL) Data Provider

** Improvement
    * [NH-693] - Better error message when user forgets to supply table name
    * [NH-803] - Support DML type batch sql statements
    * [NH-824] - GetClassname cannot parse generic classnames
    * [NH-938] - Escape characters in Like expressions
    * [NH-978] - show_sql: Transaction Begin, Commit, Rollback
    * [NH-1101] - component directy detection should consider null component value to be equiv to all component member's being null
    * [NH-1151] - Improve Configuration to Support ASP.NET Configuration File Hierarchy and Inheritance
    * [NH-1216] - SchemaExport creates varchar(255) on MySQL when Property Type is StringClob
    * [NH-1236] - XML Entity support in mapping files broken 
    * [NH-1257] - lazy=true and fetch=join doesn't work together it will be nice to receive a WARN
    * [NH-1364] - LinkedHashMap.RemoveImpl can be improved (using try/catch for common scenario)
    * [NH-1382] - Oracle Dialect support for Unsigned Int (UInt32, UInt64)

** New Feature
    * [NH-1115] - Add support for "Refresh" cascade style
    * [NH-1367] - Add Interceptor or Event to Batcher


** Task
    * [NH-1144] - Apply patch for NH-1022 (Oracle command batching) to trunk
    * [NH-1210] - "table" attribute documented as required when in fact optional


Build 2.0.0.Beta1
========================
** Bug
    * [NH-1238] - NH_1155_ShouldNotLoadAllChildrenInPagedSubSelect fails for MsSql2000Dialect
    * [NH-1318] - Enum fields cannot be mapped to database on DB2
    * [NH-1329] - Expression.Sql with parameters (inside of functions) is broken
    * [NH-1346] - SchemaUpdate.Execute fails on MS SQL Server 2005 With Locale TURKISH_CI_AS
    * [NH-1347] - SetMaxResult does not work with SQLite (SQLiteDialect)
    * [NH-1348] - Cannot use multiple listeners for the same event type

** Improvement
    * [NH-1172] - ASA 10 Driver for NHibernate
    * [NH-1315] - ForeignGenerator.cs property Key is not found if the generator tag is empty causes exception
    * [NH-1335] - Performance improvment of PersistentEnumType class


** Patch
    * [NH-1254] - Sybase ASA10 - Dialect + Driver
    * [NH-1326] - ISession.Disconnect() creates zombied transactions
    * [NH-1327] - PostCommitXXXEventListeners invoked even when transaction fails


Build 2.0.0.Alpha2
========================

** Bug
    * [NH-1100] - Introduce exception if two columns are being selected, but only one being returned by NH
    * [NH-1145] - MultiCrieria Does Not Respect MaxResults on Criteria
    * [NH-1161] - Java mentioned in NHibernate Documentation
    * [NH-1203] - Problem to resolv property name
    * [NH-1205] - Various subselect bugs in MultiCriteria
    * [NH-1246] - Reading BinaryBlob triggers update when transaction is committed.
    * [NH-1250] - Failure with MsSql2005Dialect when paging in polymorphic queries with discriminator formula
    * [NH-1252] - Inconsistent behavior of ISession.Get() under certain conditions
    * [NH-1263] - CreateSchema works ok for mappings in different schemas but DropSchema not
    * [NH-1281] - Regression: Criteria Query does not deliver right result when compared to similar HQL query
    * [NH-1285] - Drop schema script generated by SchemaExport has bug
    * [NH-1290] - AuxiliaryDatabaseObject with no params causes crash
    * [NH-1296] - SQLite dialect does not support empty inserts
    * [NH-1301] - Cascade doesn't work for Refresh
    * [NH-1309] - Cannot recreate db when using schema and fK
    * [NH-1313] - SqlFunctionProjection does not look at custom sql functions
    * [NH-1332] - PostCommitDelete only fires when PostCommit is also used (in 2.0.0.alpha1)
    * [NH-1334] - SesssionFactoryImpl.BuildCurrentSessionContext does recognize "web" property
    * [NH-1340] - Ordering by Formula Property when paging will cause invalid SQL on SQL Server 2005

** Improvement
    * [NH-763] - NHibernate Does Not Recognize Dependent Resources
    * [NH-1158] - Upgrade to DynamicProxy 2
    * [NH-1283] - SetGuid is missing in IMultiQuery interface
    * [NH-1303] - UUIDStringGenerator#Generate Improvement

** New Feature
    * [NH-1134] - Allow property-ref for collection keys

** Patch
    * [NH-1058] - automatically create indexes for foreign keys in postgresql dialect
    * [NH-1140] - Getting NullReferenceException when using SimpleSubqueryExpression within another subexpression
    * [NH-1146] - Expose DetachedCriteria in SubqueryExpression
    * [NH-1162] - Add list-index element and property-ref attribute to key element in mapping schema
    * [NH-1163] - Add more complete identity column support to SQLiteDialect
    * [NH-1166] - Sql server lock patch, pessimistic locking for SQL Server 2000/2005
    * [NH-1201] - Patch: MultiQueryImpl.GetResultList does not use Result Transformers correctly.
    * [NH-1292] - No-Dialect Patch
    * [NH-1302] - Patches for Visual Studio 2008 / .Net 3.5
    * [NH-1308] - Patch to get a MappingException when association references unmapped class
    * [NH-1310] - IStatelessSession invalid return type from Get<T>()
    * [NH-1320] - CriteriaTransformer does not properly transforms to rowcount when using subcriteria
    * [NH-1325] - Source code does not compile

** Task
    * [NH-802] - Investigate possible use of MSBuild to build the project
    * [NH-1321] - Add NCache Express provider to documentation

Build 2.0.0.Alpha1
========================

** Bug
    * [NH-987] - Schema creation on SQL Server 2000 uses SQL 2005 system views
    * [NH-1028] - Duplicate column names in queries
    * [NH-1042] - MultiQuery force to use parameter in all queries
    * [NH-1045] - CastleLazyInitializer throws null pointer exception during proxy creation
    * [NH-1055] - Multi Criteria ignored Result Transformer
    * [NH-1059] - Join mapping for a subclass is incorrectly applied to the base class
    * [NH-1084] - Subclass with Join fail when trying to query
    * [NH-1088] - Wrong exception text referring to config property hibernate.dialect
    * [NH-1104] - RowCountProjection type should be Int64
    * [NH-1147] - Minor bug with AbstractFlushingEventListener
    * [NH-1149] - Second Level Caching with Quey Caching is not working
    * [NH-1154] - Delete object broken
    * [NH-1168] - HQL functions 'length()' and 'bit_length()' doesn't support a non-string argument type under PostgreSQL 8.3
    * [NH-1170] - Multiple queries issues for UniqueResult
    * [NH-1178] - Example.Create(exampleInstance).ExcludeZeroes().ExcludeNulls() seems has a bug.(version 1.2.0.400)
    * [NH-1179] - Filter not applied in explicit join
    * [NH-1181] - NHibernate.JetDriver - replace 'upper(' with 'ucase('
    * [NH-1187] - concat function fails when a parameter contains a comma, and using MaxResults  (MSSQL 2005)
    * [NH-1223] - To Change hibernate mapping.xml schma value change for at the runtime
    * [NH-1229] - Formula fails when using the pagging on MSSQL 2005 dialect
    * [NH-1234] - PersistentEnumType incorrectly assumes enum types have zero-value defined
    * [NH-1235] - SetMaxResults() returns one less row when SetFirstResult() is not used
    * [NH-1237] - Cannot set PostLoadEventListener event listeners.
    * [NH-1246] - Reading BinaryBlob triggers update when transaction is committed.
    * [NH-1249] - Bug in GetLimitString for MSSql 05 when ordering by aggregates
    * [NH-1255] - key-many-to-one && not-found
    * [NH-1259] - Recursive call in SetListener(type,null) causes stack overflow
    * [NH-1260] - SessionImpl.EnableFilter returns wrong filter if already enabled
    * [NH-1261] - HQL Functions with no arguments add the return type twice
    * [NH-1265] - Generated Id does not work for MySQL
    * [NH-1268] - one-to-one can never be lazy?
    * [NH-1275] - FOR UPDATE statements not generated for pessimistic locking
    * [NH-1286] - Binary types are not compared properly and always sent to update

** Improvement
    * [NH-364] - IdBag doesn't work with Identity columns
    * [NH-421] - Dialect Improvements
    * [NH-568] - year(), month(),date() and some other functions: not supported in HQL
    * [NH-628] - HQL functions mapping
    * [NH-865] - Change SQL Server dialect to use COUNT_BIG for count
    * [NH-913] - make Flush() - return int value for records affected
    * [NH-924] - ICriteria - Inspection/traversal, modification and cloning
    * [NH-969] - IIf for MS SQL
    * [NH-970] - OnPreLoad & OnPostLoad Lifecycle Events
    * [NH-975] - Add a way for the user to specify their own ProxyFactory
    * [NH-993] - Document MultiCriteria
    * [NH-1063] - NHibernate.Mapping.Attributes - Support ImportAttribute when serializing an assembly
    * [NH-1085] - When using multi query, allow missing parameters in queries

** New Feature
    * [NH-280] - Using constants in select clause of HQL
    * [NH-424] - Add [ Table per subclass, using a discriminator ] Support to Nhibernate
    * [NH-543] - Adding GetEntityName to IInterceptor (H3.0 feature)
    * [NH-786] - Port statistics from H3
    * [NH-831] - Add MutliCriteria
    * [NH-979] - Allow cloning of DetachedCriteria
    * [NH-1036] - IQuery.executeUpdate()
    * [NH-1111] - PostgreSQL 8.3 dialect with Guid type support

** Patch
    * [NH-387] - Rolling back identifiers
    * [NH-466] - Add join mapping element to map one class to several tables
    * [NH-982] - Patch for Castle DynamicProxy2 Support
    * [NH-1073] - Remove #if NET_2_0 directives
    * [NH-1078] - .NET 2.0 Configuration section to store nhibernate configuration
    * [NH-1109] - HQL functions 'current_timestamp', 'str' and 'locate' for PostgreSQL dialect
    * [NH-1110] - Enable Multi Query support for Npgsql (PostgreSQL) driver
    * [NH-1113] - Test DetachedQueryFixture.ExecutableNamedQuery fails on case-sensitive databases
    * [NH-1114] - Tests NHSpecificTest NH898 and NH958 failed on databases without DbType.Guid support
    * [NH-1231] - Add support for SetResultTransformer to ISQLQuery queries (auto-discovery of return types)
    * [NH-1240] - VetoInterceptor - Cancel Calls to Delete, Update, Insert via the IInterceptor Interface
    * [NH-1242] - Change path delimiter to '/' to be buildable on non-Windows platforms
    * [NH-1243] - NHibernate.Search is not CLS compliant.
    * [NH-1244] - NHibernate uses ConfigurationManager which is in System.Configuration.dll which is not referenced.
    * [NH-1245] - Update mono targets.
    * [NH-1273] - Generic version of AbstractQueryImp.UniqueResult<T>() called twice

** Task
    * [NH-1087] - Discard <nhibernate> section and substitute it whit <hibernate-configuration>
    * [NH-1221] - Implement FullTextQueryImpl.ExecuteUpdate()
    * [NH-1239] - Update build script to include configuration templates.

Build 1.2.1
========================

Bug Fixed:

    * [NH-111] - Oracle "Invalid identifier" exception
    * [NH-989] - Assemblies are not registered in the correct order
    * [NH-995] - Problem with CompositeId+"key-many-to-one"+Caching
    * [NH-999] - One Shot Delete doesn't work - and cause reference violations
    * [NH-1006] - Invalid SQL order generated by JetDriver
    * [NH-1011] - update=false attribute ignored
    * [NH-1012] - DetachedCriteria CreateAlias with joinType (new in1.2) is broken
    * [NH-1018] - 'DistinctRootEntity' result transformer throws InvalidCastException
    * [NH-1023] - using projections and transformer causes invalid column name when property and alias are the same
    * [NH-1039] - NullReferenceException  for dynamic-component containing a set
    * [NH-1061] - Schema name missing when quering for highest key value
    * [NH-1064] - wrong association owner when fetching eagerly
    * [NH-1068] - Typo in example-mappings.html
    * [NH-1086] - SerializationException when using MemCacheProvider as cache because some classes miss the SerializableAttribute.
    * [NH-1124] - Problem in NHibernate.Type.ComponentType.NullSafeSet
    * [NH-1155] - SubselectFetch doesn't take into account paging
    * [NH-1156] - MS2005Dialect doesn't handle same column & alias names correctly
    * [NH-1167] - SubCriteria.CreateCriteria(string associationPath, string alias, JoinType joinType) always uses JoinType.InnerJoin 

Improvements:

    * [NH-901] - ComponentType mappings for with value types (structs) cause incorrect dirty checking
    * [NH-1049] - classes which inherit Order can't override ToSqlString

New Features:

    * [NH-1022] - Add command batching support for OracleClient driver

Patches Applied:

    * [NH-585] - Unknown version when using replicate and joined-subclass
    * [NH-903] - IQuery.SetFirstResult and SetMaxResults break in MsSql2005Dialect for ISQLQuery using WITH keyword
    * [NH-990] - Abstract CurrentSessionContext management and add more implementations
    * [NH-1014] - NHibernate Cross Join Syntax Causes Issues With SQL Server 2000/2005
    * [NH-1054] - Add hibernate.transaction.factory_class setting
    * [NH-1056] - Command batching support for OracleDataClientDriver
    * [NH-1076] - Sybase11 Dialect
    * [NH-1080] - HQL parser incorrectly registers a many-to-one association as a one-to-one.
    * [NH-1119] - valuetypes in uniqueresult<T> give an error when query result is null
    * [NH-1160] - Parameter compatibility problem in cached Sql command.
    * [NH-1193] - Limit string in MsSql2005 dialect can sort incorrectly on machines with multiple processors

Task Completed:

    * [NH-1002] - Document undocumented configuration properties


Build 1.2.0.GA
========================

Patches Applied:

    * [NH-992] - AuxiliaryDatabaseObject enhancement

Bugs Fixed:

    * [NH-980] - Table name not quoted with increment generator

Improvements:

    * [NH-974] - Build and distribute a binary zip file along with the installer
    * [NH-976] - Better error description when subclass table name is wrong
    * [NH-985] - Map DbType.Guid to CHAR(38) for Oracle
    * [NH-988] - Proxy validator should complain on non-virtual internal members

Build 1.2.0.CR2
========================

Patches Applied:

    * [NH-859] - Improve SubselectFetch performance
    * [NH-931] - Error Message Improvement for SingleTableEntityPersister.cs
    * [NH-934] - Fix Spelling in comments and parameter lists
    * [NH-937] - Improve comments and parameter lists
    * [NH-954] - Fix build for mono-1.0 on Linux
    * [NH-955] - JetDriver breaks on non-standard cultures, on the DateTime fix
    * [NH-962] - Parent-Child relationships not properly persisted in certain cases

Bugs Fixed:

    * [NH-898] - ArgumentException from EntityKey constructor when running a HQL query
    * [NH-926] - Identity insert fails with SQL Ce dialect and aggresive connection release mode.
    * [NH-929] - session.Save(object) sets bogus ID fields using MySQL with default hibernate.connection.release_mode
    * [NH-930] - Schema Export generates duplicate constraints
    * [NH-932] - hbm2net: Troubles using "classname, AssemblyName" in Extends attribute of joined-subclass
    * [NH-933] - Expression.In does not support Generic lists
    * [NH-940] - domain model exception badly handled by proxy NHibernate
    * [NH-952] - AddAssembly doesn't seem to order joined-subclass correctly
    * [NH-958] - ISession.SaveOrUpdateCopy throws exception when class has <any> mapping
    * [NH-965] - Error with computed property (property ... formula="... ) inside <compsite-element> block
    * [NH-966] - Unsafe type cast code in DetachedCriteria.GetExecutableCriteria

New Features:

    * [NH-305] - Generated properties
    * [NH-428] - Support Multiple Collections join fetch
    * [NH-915] - Add pessimistic locking for SQL Server 2000/2005
    * [NH-936] - Sys Cache with SqlCacheDependencies

Improvements:

    * [NH-944] - Provide API for specifying JoinType in subqueries
    * [NH-947] - Add IInterceptor.SetSession
    * [NH-948] - Documentation needs update: "Copy the xsd files to ... directory for enabling IntelliSense"

Build 1.2.0.CR1
========================

Patches Applied:

    * [NH-859] - Improve SubselectFetch performance
    * [NH-874] - Named Parameters do not work in Having Clause
    * [NH-875] - Query cache does not work when filters are enabled
    * [NH-923] - The NHibernate.Expression.Order class doesn't implement ToString()

Bugs Fixed:

    * [NH-857] - Filter parameter is mandatory and should be optional
    * [NH-864] - Dynamic update of NULL column using Nullables.NullableInt32 with "dirty" optimistic locking fails
    * [NH-870] - Expression.Disjunction has wrong semantics when empty
    * [NH-872] - SetCacheable(true) with an enabled filter fails
    * [NH-873] - Setting hibernate.cache.use_second_level_cache to false throws NRE in SessionFactoryImpl constructor
    * [NH-876] - NullReferenceException on query exection with SetCacheable(true) and null parameters
    * [NH-882] - using binary type in filter does not work
    * [NH-883] - Update to Bag cannot be flushed more than once.
    * [NH-890] - hbm2net cannot handle wildcards without a path
    * [NH-891] - Parameters do not work in HQL array access expression
    * [NH-897] - An index attribute in the property tag does not create an index
    * [NH-906] - SubselectFetch does not properly handle forumla properties containing "from"
    * [NH-907] - Test WhereAttributesOnBags fail on PostgreSQL
    * [NH-909] - Test CastFunc() fails on PostgreSQL
    * [NH-911] - Allow subqueries with joins using Criteria API and Subqueries with DetachedCriteria
    * [NH-912] - NullReferenceException in TypedValue.ToString
    * [NH-914] - Test NH826 fails on PostgreSQL
    * [NH-916] - Test SelectSqlProjectionTest() fails on PostgreSQL
    * [NH-918] - wrong parameters passed to AddIdentitySelectToInsert()
    * [NH-920] - DB2400Dialect does not support "mod(x,y)" function

New Features:

    * [NH-888] - RFE: IQuery.SetGuid

Tasks Completed:

    * [NH-862] - Document that aggressive connection release does not work well with System.Transactions
    * [NH-867] - Write a migration guide from 1.0.x to 1.2.0

Improvements:

    * [NH-868] - Add optimistic-lock attribute to all elements that have it in H3
    * [NH-869] - Implement IInterceptor.BeforeTransactionCompletion and others
    * [NH-879] - Deprecate ILifecycle and IValidatable; move them to NHibernate.Classic.
    * [NH-880] - Move IUserType and ICompositeUserType to NHibernate.UserTypes
    * [NH-881] - Add Configuration.AddSqlFunction
    * [NH-887] - Support superclass property reference in property-ref
    * [NH-902] - Remove usage of string.Intern
    * [NH-910] - PostgreSQL 8.2 dialect with "IF EXISTS"
    * [NH-922] - PostgreSQL support for identity column using "SERIAL" type

Build 1.2.0.Beta3
========================

Breaking Changes
    * ConnectionReleaseMode support ported from Hibernate. By default, connections are released after every transaction,
      or after every operation if no NHibernate transaction is in progress.

Patches Applied:

    * [NH-807] - Criteria Tests
    * [NH-813] - CacheKey key is invalid - memcached fails to store objects.

Bugs Fixed:

    * [NH-793] - NHybridDataReader.ReadIntoMemory fails when the result is 0 records. "Invalid attempt to read when no data is present".
    * [NH-812] - PostgreSQL - for update no wait
    * [NH-815] - SQLQueryImpl fails to bind parameter lists
    * [NH-816] - Criteria using class with discriminator
    * [NH-818] - NHibernate.JetDriver Not Working at all in 1.2.0.Beta2 (encounters System.NullReferenceException)
    * [NH-819] - Memcached.Client library is using log4net 1.2.9, instead of 1.2.10
    * [NH-825] - QueryKey doesn't take into account the entity ID when generating ToString()
    * [NH-826] - Using Criteria to query for an item throws on Flush in some situations
    * [NH-829] - pagination select doesn't support 'distinct' for NHibernate.Dialect.FirebirdDialect
    * [NH-830] - ICriteria does not automatically flush the session for many-to-many association change
    * [NH-837] - Error using Limits with DB2400Dialect
    * [NH-839] - PersistentGenericMap GetSnapshotElement InvalidCastException
    * [NH-841] - generator class="native" not works with NHibernate.JetDriver
    * [NH-845] - Queries and imports in separate hmb.xml are not parsed (re-opening)
    * [NH-850] - Non-portable file path for generated source files by hbm2net

New Features:

    * [NH-370] - Add Configuration.SetDefaultAssembly and SetDefaultNamespace methods
    * [NH-752] - Informix Dialect
    * [NH-828] - Port connection release mode from H3

Tasks Completed:

    * [NH-796] - Document ISessionFactory.GetCurrentSession functionality
    * [NH-801] - Upgrade NAnt libraries to 0.85
    * [NH-833] - Document SQL Server command batching functionality
    * [NH-834] - Document hibernate.connection.connection_string_name

Improvements:

    * [NH-383] - SessionFactory should implement System.IDisposable
    * [NH-442] - Medium Trust level support
    * [NH-648] - NHibernate.Mapping.Attributes - Allow [(Jcs)Cache], [Discriminator] and [Key] at class-level
    * [NH-666] - IQuery.SetParameterList should support generics
    * [NH-729] - Add ICurrentSessionContext implementation for ASP.NET apps.
    * [NH-730] - make the bag Attribute protected instead of private in PersistentBag.cs
    * [NH-743] - change BatcherImpl to public
    * [NH-780] - Obsolete code in the tips 'n tricks
    * [NH-808] - Type of count(*) should be Int64
    * [NH-810] - Prevent use of many-to-one association in Expression.Eq
    * [NH-817] - DetachedCriteria Serializable
    * [NH-835] - Document MultiQuery
    * [NH-840] - Include Inner Exception on 'Duplicate identifier in table for:' exception msg
    * [NH-851] - More descriptive error message for 'Cannot find constructor' on projections
    * [NH-852] - Report proxy validator errors in bulk
    * [NH-856] - NHibernate.Mapping.Attributes - Allow mapping attributes on interfaces


Build 1.2.0.Beta2
========================

Breaking Changes:
    * XML schema versions have been changed from 2.0 to 2.2.
    * This version includes an updated Castle.DynamicProxy library. However,
      its maintainers have not changed the version number with the update. Remember
      to update Castle.DynamicProxy when updating NHibernate from an earlier version.

Patches Applied:

    * [NH-247] - Expression.InsensitiveLike support for Firebird
    * [NH-335] - discriminator formula
    * [NH-723] - SqlTest for Firebird
    * [NH-725] - null reference exception which attempting to flush a versioned object
    * [NH-747] - Invalid number of SQL parameters when calling ISession.Delete on an optimistic-locked object with 1 or more NULL properties
    * [NH-749] - NHb tests using Firebird
    * [NH-751] - hasDataTypeInIdentityColumn to support Informix and similar
    * [NH-757] - Patch for JetDriver
    * [NH-762] - Patch to fix errors in Expression.AbstractEmptiness
    * [NH-765] - Use "(" and ")" to enclose the ToString of LogicalExpression.cs

Bugs Fixed:

    * [NH-528] - Fix GROUP BY example in documentation (GROUP BY object instance does not work)
    * [NH-555] - Problems with complex aggregate queries
    * [NH-585] - Unknown version when using replicate and joined-subclass
    * [NH-593] - Throw a meaningful exception when using Expression.In with collection types
    * [NH-600] - TimestampType precision problems
    * [NH-622] - Collection of subtypes with discriminators not working
    * [NH-623] - Where attribute of collection not rendered when eager fetched
    * [NH-637] - Between Criterion Parameters Applied Incorrectly for Component
    * [NH-642] - ArgumentNullException if no setter exists and no access strategy was specified
    * [NH-681] - Generic List Error
    * [NH-697] - System.MissingMethodException: Method not found: Int32 System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(System.Object).
    * [NH-704] - Lock(obj, LockMode.None) not working when there is collection
    * [NH-716] - Dirty Checking exception (many-to-one, select-before-update)
    * [NH-732] - Can't use UserType for keys
    * [NH-734] - ArgumentOutOfRangeException when setting LIMIT parameters using MySQL
    * [NH-735] - Oracle Driver/Dialect
    * [NH-739] - Saving transient item in the PersistantBag results duplicate items
    * [NH-740] - Logging for tests is sometimes not configured properly
    * [NH-741] - Invalid parameter handling when using functions
    * [NH-742] - Error with computed property (property ... formula="... ) inside <component> block
    * [NH-746] - NHibernate.SqlCommand.Template quoted Token when not required
    * [NH-750] - <not-found> with many-to-many
    * [NH-753] - Composite ID with Positional Parameters in sql-query
    * [NH-768] - Delete fails when using optimistic-lock and bags
    * [NH-775] - IQuery.SetResultTransformer() doesn't work
    * [NH-776] - one-to-one to proxied types not handling missing associated classes correctly (as null)
    * [NH-777] - ArgumentNullException: Value cannot be null. Reflection exception.
    * [NH-782] - Update to latest DynamicProxy to fix race condition
    * [NH-798] - Custom insert/update/delete SQL ignored for collections

New Features:

    * [NH-432] - Port sessionFactory.getCurrentSession() from H3.1
    * [NH-499] - NHibernate filters
    * [NH-515] - Port subselect fetching from Hibernate 3.1
    * [NH-755] - Port DetachedCriteria from Hibernate 3
    * [NH-758] - Allow Schema Export to work directly against an IDbConnection or TextWriter
    * [NH-783] - Port Subquery support for the Criteria API
    * [NH-795] - Implement lazy="proxy|false" for *-to-one associations

Tasks Completed:

    * [NH-412] - Improve build files
    * [NH-663] - Update readme.html

Improvements:

    * [NH-372] - Allow insert="false", update="false" for components
    * [NH-575] - Enhance user types support
    * [NH-606] - Throw an meaningfull exception when collectionType.GetGenericArguments() returns 0 arguments.
    * [NH-608] - Add ICriteria.CreateCriteria and CreateAlias overloads taking a JoinType parameter.
    * [NH-614] - Optimize generic IQuery.List implementation
    * [NH-615] - Change XML schema names to -2.2
    * [NH-632] - Change the error message for a database driver assembly that wasn't found.
    * [NH-696] - upgrade to log4net 1.2.10.0
    * [NH-712] - Improve returned error message when default constructor is not present on a class mapped as a component
    * [NH-726] - Document that custom insert sql ignored when id generator not "assigned"
    * [NH-744] - Add DDL logging to SchemaExport
    * [NH-760] - Allow replacing a registered function in Dialect.RegisterFunction
    * [NH-761] - Change ISession.Get() to initialize a proxy if it returns one, like in H3.2
    * [NH-778] - Adding pascalcase-m (without the underscore)
    * [NH-792] - Do not wrap exceptions in DriverConnectionProvider.GetConnection

Build 1.2.0.Beta1
========================

Patches Applied:

    * [NH-604] - Excessive memory consumption bug with heavy HQL usage
    * [NH-636] - Add parametrized type
    * [NH-638] - Add tests for UserCollectionType
    * [NH-650] - DB2400Driver and DB2400Dialect
    * [NH-668] - Support Sqlite ADO.Net 2.0 DataProvider
    * [NH-673] - SQL Server 2005 Everywhere Edition Driver (SqlServerCeDriver)
    * [NH-680] - Updates to NHibernate.Tool.hbm2net-2.0 to map nullable types correctly (and more)
    * [NH-689] - NHibernate.SQL - Log the SQL parameters on the same log line as the statement
    * [NH-698] - Firebird Dialect Limit Support
    * [NH-701] - Log SchemaExport errors using log4net
    * [NH-713] - Port property level optimistic-lock functionality from Hibernate 3.0
    * [NH-715] - SQL00029 error on INSERT INTO DB2/400 (with identity column)

Bugs Fixed:

    * [NH-559] - Memory leak associated with HQL queries
    * [NH-621] - IdentifierGeneratorFactory.Get() should use Id's IType conversion methods
    * [NH-643] - Parent child problem when using SysCacheProvider
    * [NH-649] - Firebird dialect (repeated RegisterFunction)
    * [NH-669] - Generic map is not working
    * [NH-687] - ISession.Get() strange behavior (probably a bug)
    * [NH-690] - SupportsIdentitySelectInInsert property in Dialect class never used
    * [NH-705] - With SysCache impossible to strore object after the gc clears the cache
    * [NH-709] - CommandTimeout property should not be global
    * [NH-719] - Caching of "any" reference to lazy classes
    * [NH-720] - Cache regions are not being used

New Features:

    * [NH-258] - Stored Procedures
    * [NH-268] - "not-found" attribute on relation mappings
    * [NH-617] - Add support for projections in criteria queries
    * [NH-629] - Ingres Driver and Dialect
    * [NH-640] - IList parameter for Criteria.List

Improvements:

    * [NH-530] - Config loader error messages
    * [NH-535] - Allow all ID generators to return all integer types, not just Int16/32/64
    * [NH-541] - Error Message Improvement
    * [NH-581] - Make MsSql2005Dialect use nvarchar(max), varbinary(max), and varchar(max) instead of ntext, image, and text
    * [NH-613] - Guid for Firebird
    * [NH-625] - Add Configuration.AddUrl

NHibernate.Mapping.Attributes:

    * [NH-494] - RawXmlAttribute: Insert XML as-is in the mapping
    * [NH-684] - AttributeIdentifierAttribute: Change a string value in an Attribute (column name, ...)
    * [NH-589] - Registration of properties' types patterns: Transform FQNs of properties types
    * [NH-644] - Pass UnsavedValue as object: Use UnsavedValueObject (in Id, Version, ...)
    * [NH-651] - Add methods to HbmSerializer returning a stream
    * [NH-652] - Order (joined-)subclasses when they extend each others
    * [NH-587] - HbmWriter.WriteUserDefinedContent(): Improve extensibility
    * [NH-588] - MappingException: Exception thrown by this library

Build 1.2.0.Alpha1
========================

Important Breaking Changes:
    * Entities and collections are lazy by default. Change by setting default-lazy="false"
      in <hibernate-mapping>.
    * Types used as proxies are now validated (a check is done that all public members are
      virtual). Validation can be disabled by setting hibernate.use_proxy_validator to false.
    * ISession.Get/Load now obey where="..." attribute of <class>.
    * Assemblies are signed using a new, publicly available, key.
    * Assembly.LoadWithPartialName is no longer used to load assemblies. If you want NH to load
      an assembly from the GAC, use <qualifyAssembly> element in the configuration file to
      specify its fully qualified name. This change will primarily affect loading of ADO.NET
      data provider assemblies.

Patches Applied:

    * [NH-595] - Possible bug in SessionImpl.EndLoadingCollections method

Bugs Fixed:

    * [NH-242] - Hbm2Net looks for template file in the current directory but should in the program directory
    * [NH-467] - Many-to-one ignores "WHERE" class mapping element on associated Class
    * [NH-511] - IVersionType.Seed should be set to 1 instead of 0 for integer types
    * [NH-532] - PropertyNotFoundException ctor throws NullReferenceException
    * [NH-538] - config.AddDirectory doesn't work
    * [NH-540] - Register of AnsiChar type
    * [NH-544] - Small Issue about Iesi.Collection.Set
    * [NH-548] - Component Parent set to null on 2nd-level cache hit
    * [NH-550] - Incorrect SQL Generated when using SetMaxResults() with DB2
    * [NH-551] - Unable to use DB2 in .NET 1.1 when 1.1 & 2.0 installed side by side
    * [NH-552] - Collection of "nullifiables" not updated when object saved back
    * [NH-560] - Bad alias generated for Generic class
    * [NH-563] - Exception in NDataReader.cs when loading BinaryBlob
    * [NH-571] - class keyword in WHERE broken for table-per-subclass mappings
    * [NH-574] - sort="natural" doen't work when namespace and assemply were set
    * [NH-579] - Cannot load class="System.DayOfWeek"
    * [NH-580] - Possible bug in hbm2net
    * [NH-582] - All IType implementations should be serializable
    * [NH-607] - session.GetEntityIdentifierIfNotUnsaved can return null
    * [NH-609] - SysCache re-caches items without expiration policy

New Features:

    * [NH-449] - SQL Server 2005 dialect
    * [NH-553] - Driver for Adaptive Server Anywhere 9.0

Tasks:

    * [NH-155] - Look at TableHiLoGenerator Impl

Improvements:

    * [NH-179] - Add Proxy Validator
    * [NH-243] - Hbm2Net is unable to extent with own renderer
    * [NH-259] - Type-Safe Collections
    * [NH-338] - Support .NET 2.0 CLR/BCL features, esp Generics and Nullable Types
    * [NH-353] - Assembly.LoadWithPartialName is obsolete in .NET2
    * [NH-416] - Change default laziness of classes and collections to "true" to match Hibernate 3.1
    * [NH-441] - Make proxy validator optional
    * [NH-457] - SysCache slidingExpiration property doesn't work properly
    * [NH-547] - Add IL-based reflection optimizer
    * [NH-602] - Support for new Firebird provider

Build 1.0.2.0
========================

Bugs Fixed:

    * [NH-409] - Sybase - Polymorphics Queries - wrong SQL generation about aliases/quotes
    * [NH-418] - Custom persister cannot be instanciated.
    * [NH-464] - DateTime does not work in composite-element mapping
    * [NH-470] - Disconnect and Close should not close user-supplied connections
    * [NH-471] - Misspelled property in ICriteria throws NullReferenceException
    * [NH-476] - GetSetHelperFactory doesn't work with external dependencies
    * [NH-477] - IncrementGenerator reads Int64 even if Int32 or Int16 is used.
    * [NH-479] - One-To-One SaveAndUpdateCopy - Reference Identifier Bug
    * [NH-480] - Should use invariant culture with ToLower and other string calls
    * [NH-496] - Reflection optimizer should throw a more informative exception when a property is mapped using a wrong type
    * [NH-505] - Reflection optimizer does not work with structures
    * [NH-508] - changes to idbag collection not persisted correctly
    * [NH-509] - ILMerge is not packaged in the distribution
    * [NH-512] - Custom properties accessors do not work
    * [NH-523] - SaveOrUpdateCopy throws PersistentObjectException

New Features:

    * [NH-513] - FOR UPDATE NOWAIT in Postgresql 8.1

Improvements:

    * [NH-483] - Improve type resolution to handle dynamic assemblies
    * [NH-488] - Change log level for GetSetHelper messages to DEBUG so that users are not confused
    * [NH-489] - Remove logging from ADOException constructor
    * [NH-491] - SQLite dialect should use DATETIME type for date/time columns
    * [NH-493] - Correction in the NHibernate.Type.CharType.cs
    * [NH-497] - Add more Hibernate-compatible type names
    * [NH-506] - Make Environment.UseReflectionOptimizer property writable
    * [NH-516] - Log SQL parameter values
    * [NH-521] - Locking an unitialized entity causes its initialization
    * [NH-525] - Upgrade to latest DynamicProxy

Build 1.0.1.0
========================

Bugs Fixed:

    * [NH-406] - NHibernate.Cfg.Configuration.Configure("MyAssembly.dll.config") results in System.NullReferenceException
    * [NH-407] - session.Refresh(myObject) does not refresh/load the object from the datbase if it does not exist in the cache.
    * [NH-414] - Need to process <cache> and <collection-cache> in configuration files
    * [NH-417] - Column Alias bug
    * [NH-422] - <meta-value> child tag missing from <many-to-any>
    * [NH-440] - one-to-one unique foreign key mapping fails during query
    * [NH-415] - AddXmlString should rethrow exceptions it catches
    * [NH-463] - IncrementGenerator returns Int64 but uses an Int32 internally

New Features:

    * [NH-113] - drop table SQL will now check if the table exists on MS SQL
      to avoid unnecessary warnings.
    * [NH-450] - Added hbm2ddl NAnt task by James Geurts

Improvements:
    * [NH-403] - BinaryType.Get should now perform faster
    * [NH-398] - Bulk property get/set optimization in AbstractEntityPersister
      contributed by Roberto Paterlini. The optimization is enabled by default,
      set hibernate.use_reflection_optimizer property to false in your
      App.config file to disable it. Note that the property is global, thus
      it is only possible to set it in the app.config file in <nhibernate>
      session (see above).
    * [NH-443] - Added more details to "broken column mapping" message
    * [NH-448] - NHibernate configuration process is now closer to Hibernate:
      - hibernate.properties file corresponds to <nhibernate> section
        in app.config (mapped to NameValueSectionHandler)
      - configuration through hibernate.cfg.xml is supported
      - instead of hibernate.cfg.xml, <hibernate-configuration> section
        in app.config (mapped to NHibernate.Cfg.ConfigurationSectionHandler)
        can also be used.
      - creating a new configuration instance in version 1.0 would cause it
        to read <hibernate-configuration> section immediately. In 1.0.1 this
        was changed so that the section is only read when Configure() is called
    * HashCodeProvider is now merged into NHibernate assembly during build,
      thus it does not have to be distributed along with NHibernate.dll.

Build 1.0.0.0
========================

Improvements:
 * ITransaction.Commit and Rollback will not wrap exceptions that derive
   from HibernateException into TransactionExceptions, those exceptions
   will instead be propagated untouched.
 * FieldAccessor now includes correct type in PropertyNotFoundException.
 * Oracle9Dialect will now generate a column of type TIMESTAMP(4)
   for date fields mapped as "datetime".

Build 0.99.3.0 (1.0-rc3)
========================

Bug Fixes:
 * [NH-376] - Expression.In w/ an empty collection causes a SQL exception
 * [NH-382, NH-392] - problems with ADO transactions that plagued previous
   1.0-rcX versions should all be resolved now.
 * [NH-391] - Bug in ReadWriteCache when session is opened with existing
   connection
 * [NH-394] - NullReferenceException in debug print of session objects.
 * [NH-396] - User-provided class names should be trimmed before use
 * [NH-397] - ConfigurationSectionHandler doesn't reads empty properties

Improvements:
 * [NH-388] - Support for the "Any", "Meta-Value" tags
 * Added fetch attribute from Hibernate 3 with values "select"/"join".
   fetch="select" is equivalent to outer-join="false", and fetch="join"
   matches outer-join="true".

Build 0.99.2.0 (1.0-rc2)
========================

Bug Fixes:
 * [NH-377] - Allow whitespace around dialect name in cfg.xml
 * [NH-380] - Error with query after comitted transaction
 * [NH-385] - ADOException thrown instead of StaleObjectStateException when
   updating stale record
 * [NH-386] - Aliases generated for properties with initial underscores should
   NOT begin with an underscore
 * Using Expression.Eq on a many-to-one property now works again (it was broken
   by mistake in 1.0-rc1)

Improvements:
 * [NH-329] - If unsaved-value for <id> or <version> is not specified,
   NHibernate will now try to guess it by instantiating an empty object and
   retrieving default property values from it (as Hibernate 3 does it).
 * The documentation has an "installer" to integrate it in VS .NET Help.

Build 0.99.1.0 (1.0-rc1)
========================

Breaking changes to external API:
- Updated to a newer version of Castle.DynamicProxy.
  WARNING: this new version has the same number (1.1.5.0) as the version used
           by the previous release of NHibernate, but the binaries are in fact
           different and the old 1.1.5.0 will not work with 1.0-rc1.
- NHibernate no longer configures log4net internally. It is now up to the user
  to configure logging.
- Accessing a disposed or closed ISession or ITransaction now causes
  an ObjectDisposedException. HibernateException or TransactionException could
  be thrown in this case before, such cases were also changed to
  throw ObjectDisposedException.
- Renamed SQLExpression to SQLCriterion per Hibernate 2.1. Now, {alias} should
  be used instead of $alias in SQL criteria.
- Unused constructors for some exceptions were removed.

Breaking changes to NHibernate extension interfaces:
- Renamed IClassPersister.IsDefaultVersion to IsUnsavedVersion. It now takes
  as argument an array of property values instead of an object.
- Renamed IClassPersister.CurrentVersion to GetCurrentVersion to follow naming
  conventions closer.
- Fixed MatchMode.Start and MatchMode.End for Like expressions, their meanings
  were reversed.
- Dialect.AddIdentitySelectToInsert should now return null if the functionality
  is not supported, instead of throwing an exception.

Bug fixes and enhancements:
- Ported almost all remaining Hibernate 2.1 features to NHibernate:
  * subcriteria
  * meta attributes
  * optimistic-lock setting
  * query cache
  * select-before-update
  * batch lazy loading
  * dynamic components
  Missing features are Databinder, ScrollableResults and SchemaUpdate.
- Allow serializing an unflushed session (NH-292, Yves Dierick).
- Check that composite id classes override GetHashCode and Equals.
- Throw QueryException when attempting to fetch multiple collections in
  a query.
- Added a SectionHandler to allow using .cfg.xml syntax to configure NHibernate
  from App.config files. (This was already part of 0.9.1 release but was not
  announced in the release notes.)
- Fixed bug when using joined-subclass with key-many-to-one (NH-369).
- Added IType implementations and constants in NHibernateUtil for unsigned
  integer types.
- Added index attribute for <property>.
- SchemaExport now generates SQL to create an index when index attribute is
  used on <property> or <column>.
- SchemaExport will add an "if exists" clause to "drop table" statement,
  if supported by the dialect.
- Heavy refactoring of the documentation; it now contains the documentation for
  NHibernate Contributions.
- Fixed a bug when generating a TOP clause for MS SQL Server - the whole SQL
  string was being converted to lower case.

Build 0.9.1.0
========================
- Fixed bug in limit clause generation on MySQL.
- Fixed bug in Configuration.AddDocument.
- Fixed <version unsaved-value="negative" /> not working with ints or shorts.
- NHibernate now checks whether object identifier passed to its methods is of the right type.
- Fixed bug with YesNo type generating CHAR(255) column, it now generates CHAR(1).
- Implemented hibernate.show_sql feature, logging all SQL executed using NHibernate.SQL logger.

Build 0.9.0.0
========================
- Added ISession.Clear().
- Added configurable command timeout property (hibernate.command_timeout).
- Added named SQL query support.
- Allow to specify an isolation level when starting a transaction.
- Upgraded Castle.DynamicProxy library to the latest version (1.1.5).
- Upgraded log4net library to the latest version (1.2.9).
- Fixed bug with Get/Load loading wrong subclasses because of class discriminant not being included in the generated query (Alexander Popov).
- Fixed VersionNegative unsaved-value strategy not to treat 0 as the unsaved value.
- Fixed bug in SchemaExport for a many-to-many relationship, it now generates a table with non-null columns and a primary key.
- Added IncrementGenerator (Mark Holden).
- Fixed bug with <discriminator> insert attribute not being declared in the schema and having a wrong default value.
- Fixed bug in proxy Equals method always either returning true or failing with a NPE.
- Changed LazyInitializer to match Hibernate 2.1, proxies now don't have their own special implementation of Equals and GetHashCode, either System.Object's or the real class methods are used instead.
- Added more naming strategies (lower case, pascal-case underscored).
- Fixed bug with custom access strategy not working for components.
- Allow using structs (value types) as components.
- Added ISession.Replicate().
- Added support for using MS SQL TOP clause for paging (Yves Derrick).
- Added persister attribute for collection mappings.
- Fixed a NPE in Junction.ToString().
- Disabled nullability checks when deleting an object.
- Fixed SchemaExport not to generate duplicate foreign key constraints (this caused problems with Oracle).
- Implemented Copy methods for various ITypes, so that SaveOrUpdateCopy actually works.
- Changed visibility of CollectionEntry class to public to aid XML serializability of collections. It should not be expected to work in all cases since XML serialization has many limitations in .NET.
- Several Oracle-related improvements.
- More informative error message for a bad identifier generation strategy.
- Fixed bug with SchemaExport ignoring foreign-key attribute sometimes.
- Fixed bug with Get/Load not updating the internal nonExists collection of the session (Jerry Shea).
- More informative error message for foreign key problems.
- Throw a more informative exception when attempting to set the value of a non-existent query parameter.
- Do not allow reconnecting a closed session.
- More informative error message when executing ISession.Find("from NonexistentClass").
- Added more information to the exception thrown when expected and actual row counts from a command do not match.
- Remove underscores from the beginning of generated aliases for fields (Oracle cannot handle them).
- Search the current AppDomain's bin directory for hibernate.cfg.xml, in addition to the application directory.
- Added <cache> element as a synonym for <jcs-cache>.

Build 0.8.4.0
========================
- Added limited support for storing an enum type using its string representation. See the documentation of EnumStringType and TypesTest\EnumStringTypeFixture.cs for an example.
- Fixed bug with BatcherImpl cached commands being disposed. The caching functionality was removed.
- Fixed bug when property paths were used in criteria queries and caused an exception.
- Modified DB2Dialect, Oracle9Dialect and PostgreSQLDialect to use Int32 for limit and offset parameters.
- Various code clean-ups and commenting.

Build 0.8.3.0
========================
- Added name of Property to the PropertyNotFoundException message.
- Fixed bug with <joined-subclass> that has a <property formula="..." />.
- Fixed bug with extra "AND" being added to sql.
- Fixed NullReferenceException that could occur in InstantiationException.
- Improved efficiency of GuidCombGenerator (Marc C. Brooks).
- Modified BinaryType to work with MySql's buggy version of GetBytes().

Build 0.8.2.0
======================== 
- Fixed default value of "unsaved-value" for <version> in xsd.
- Fixed default value of "unsaved-value" for <timestamp> in xsd.
- Modified "proxy" to use "namespace" and "assembly" from <hibernate-mapping>

Build 0.8.1.0
======================== 
- Fixed bug with <version> defaulting to "null" instead of "undefined".

Build 0.8.0.0
======================== 
- Added "namespace" and "assembly" attributes to <hibernate-mapping>.
- Added lazy="true" as short hand for proxy="full type name"
- Added insert attribute to <discriminator>.
- Added ability to set INamingStrategy on Configuration class.
- Added property-ref attribute on <many-to-one> and <one-to-one>.
- Added "foreign-key" attribute to <many-to-one>, <one-to-one>, <many-to-many>, key allowing a different column to be the foreign key target
- Added check attribute to column element.
- Added <sql-query> element.
- Added "unsaved-value" to <version>/<timestamp> as DateTime can't support null, use 1/1/0001 to align with .NET default value for DateTime
- Added SaveOrUpdateCopy() which allows synchronisation for detached objects
- Added Expression.Example for Query By Example.
- Added IDriver and Dialect for Sybase (Steve Corbin).
- Added UniqueResult() to ICriteria and IQuery.
- Added default value of hibernate.connection.driver_class to Dialect so most of the time this configuration is not needed.
- Added SByteType to built in ITypes.
- Fixed <one-to-one> so that two queries are no longer issued when one side is null.
- Fixed bug with ISet.AddAll(ICollection) not being implemented. (Bill Hawes)
- Fixed bug with <set> being initialized from Cache.
- Fixed bug with hql "select new ClassName(...) from ..." where one parameter was an Enum. (Luca Altea)
- Fixed bug in mapping that required type="full.name.of.enum" to be required instead of NH correctly inferring type. (Luca Altea) 
- Fixed bug with a decimal <id> and unsaved-value.
- Fixed problem with loading ADO.NET Data Providers from GAC.
- Fixed issue with TableGenerator not disposing of IDbCommand.
- Improved memory consumption of Configuration, smaller footprint and releases objects faster. 
- Improved nhibernate-mapping schema to more schema constructs instead of direct dtd port.
- Improved message from NullableType when DataProvider can't cast the database value to .net class.
- Modified <discriminator> to use "null" or "not null" as the value.
- Modified Dialect to use Hibernate 2.1 methods.
- Modified Expression to return ICriterion instead of Expression class.  This will break existing code.
- Modified nhibernate-configuration-2.0.xsd to not require <mappings>.
- Modified TestFixtures in NHibernate.Test to only execute create/drop ddl in the TestFixtureSetUp/TestFixtureTearDown.
- Split QueryFunctionStandard into ISQLFunction interface and StandardSQLFunction.
- Upgraded to nant-0.85-rc3 and nunit-2.2.0.

Build 0.7.0.0
======================== 
- Renamed class NHibernate.NHibernate to NHibernate.NHibernateUtil.  This will break alot of code if you were using ISession.Find with parameters - migrate to IQuery instead.
- Fixed bug with DateTime type where any value less than 1/1/1753 was written to the database as null.  If you were relying on this then the Nullables library in NHibernateContrib is the way to code null values for DateTime properties.
- Added ISession.Get() as an alternative to ISession.Load() (Sergey Koshcheyev).
- Added IDisposable to EnumerableImpl, ISession, ITransaction, IBatcher, and IConnectionProvider.
- Added default value of hibernate.connection.driver_class to Dialects.
- Added default value of hibernate.prepare_sql="false" to MsSql2000Dialect.
- Added [ComVisible(false)] to NHibernate AssemblyInfo.
- Added OracleDataClientDriver for Oracle.DataAccess assembly (James Mills).
- Added IDriver and Dialect for SQLite (Ioan Bizau).
- Fixed messages in exceptions from GetGetter and GetSetter in BasicPropertyAccessor and NoSetterAccessor.
- Fixed problem of LazyInitializationException losing InnerException.
- Fixed problem of Collections not always getting cached.
- Fixed Id.TableGenerator so it works with Oracle.
- Fixed problem with SequenceHiLoGenerator and converting to Int64 (Yves Dierick). 
- Fixed problem of some NHibernate Exceptions not being serializable.
- Improved documentation in IQuery to explain how SetMaxResult is working.
- Improved messages in Exceptions thrown by ISetter.
- Improved messages in Exceptions for Persisters with problems parsing discriminator values.
- Improved Configuration.AddAssembly() to process hbm.xml files with subclass/joined-subclass files using "extends" in correct order (Mark Traudt).   Also added overload of AddAssembly(Assembly,bool) that can be used to skip ordering.
- Many internal cleanups from FxCop reccommendations.
- Modified ISession.Lock() to allow reassociating transient instances like hibernate 2.1 (Sergey Koshcheyev).
- Modified Exception thrown by Preparer when the IDbCommand.Prepare() method fails to ADOException.
- Modified SqlCommand.Parameter to be immutable.
- Modified how constraints are generated to work with MySql 4.1 (Bill Hawes).
- Modified Dialect to throw an ArgumentException when an unsupported DbType is used.
- Modified constructors on NHibernate Collections to be internal instead of public.
- Renamed Transaction to AdoTransaction.

Build 0.6.0.0
======================== 
- Added support for proxy="" on classes.  proxy="" must either specify an Interface or the properties that need to be proxied have to be virtual.
- Added a configuration parameter "hibernate.prepare_sql" to turn on or off calls to IDbCommand.Prepare().
- Added NHibernate Type for System.SByte. (Sergey Koshcheyev)
- Added support for mapping subclasses and joined-subclasses in different files through addition of extends attribute. (Andrew Mayorov)
- Added support for LIMIT to MySQLDialect. (Sergey Koshcheyev)
- Improved error messages when IDbCommand and IDbConnection can't be found by the IDriver.
- Improved error message when mapped class is missing a constructor with no args.
- Fixed problem with spaces in sql generated from hql and MySql.
- Fixed bug with Configuration when there is a class without a namespace.
- Fixed bug with Sql generated for an IN clause that contains a class/subclass with a discriminator-value="null".
- Fixed potential threading problem with QueryTranslator.
- Modified logging in Transaction to not generate as many messages.
- Modified how exceptions are rethrown so call stack of original exception is not lost.
- Moved NHibernate.Tasks and NHibernate.Tool.hbm2net to the NHibernateContrib package.
- Removed DbType {get;} from IUserType.

Build 0.5.0.0
======================== 
- Added Iesi.Collections Library that contains an ISet.  Code was taken from http://www.codeproject.com/csharp/sets.asp.
- Fixed hbm2net problem with spaces in arguments. (Kevin Williams)
- Added a NHibernateContrib project that contains Nullable Types for .net 1.1 designed for WinForm Databinding. (Donald Mull)
- Added DB2Driver and DB2Dialect to core of NHibernate. (Martijn Boland)
- Fixed IQuery.SetParameter() when the value is an Enum
- Updated to latest MySql Data Provider and changed classes to MySqlDataDriver.  Removed binaries from CVS since they are GPL now.
- Isolated test and classes that use DbType.Time into their own fixtures.  Data Drivers don't implement this consistently.
- Fixed problem where HQL was not parsing Enums correctly. (Peter Smulovics)
- Fixed Int16 not working as a <version> Property.
- Added CLSCompliantAttribute(true) attribute to NHibernate and Iesi.Collections.
- Fixed how Exceptions are rethrown to not lose the stack trace.
- Added more comments around ISession.Find and ISession.Enumerate to explain Cache usage.
- Fixed bug with dynamic-update generating SQL for all properties. (Sergey Koshcheyev)
- Add Clover.NET into NHibernate build process thanks to license donated by Cenqua (www.cenqua.com).
- Modified TableGenerator to default first id to "1" instead of "0" to work better with unsaved-value. (Karl Andersson)

Alpha Build 0.4.0.0
======================== 
- Started work on documentation.
- Improved Cache to use pluggable CacheProviders like Hibernate 2.1. (Kevin Williams)
- Removed properties UseScrollableResults, BatchSize, and FetchSize - not applicable to ADO.NET.
- Fixed problem with object not getting removed from Cache when Evicted from Session.
- Added to MySqlDialect a mapping from DbType.Guid to varchar(40) for schema-export. (Thomas Kock)
- Added lowercase-underscore naming strategy. (Corey Behrends)
- Fixed bug with access="field" and no type="" attribute causing Exception in ReflectHelper.
- Removed IVersionType implementation from TimeType and DateType.
- Moved Eg namespace from NHibernate core to NHibernate.Eg project.
- Added guid.comb id generator. (Donald Mull)
- Added ability to configure with a cfg.xml embedded as a resource in an assembly (Thomas Kock)
- Fixed PostgreSQLDialect binding of Limit Parameters. (Martijn Boland)
- Began restructure of lib folder to support net-1.0, net-1.1, net-2.0, and mono-1.0 in build.  Still only 'officially' supports net-1.1.

Alpha Build 0.3.0.0
======================== 
- Removed property AdoTransaction from Transaction.
- Added MsSql7Dialect.
- Added PostgreSQL Driver and Dialect (Oliver Weichhold & Martijn Boland).
- Fixed bug with Expression.Ge() not returning correct Expression.
- PersistentCollection now implements ICollection (Donald Mull).
- BatcherImpl and PreparerImpl were combined and code cleaned up thanks to problems found when using Ngpsql (Martijn Boland).
- ITransaction is now responsible for joining IDbCommand to IDbTransaction instead of IBatcher - if applicable.
- Modified code to help improve performance of Drivers that don't support multiple Open DataReaders on a single IDbConnection.
- Fixed bug with hbm2net and VelocityRenderer throwing Exception (Carlos Guzmán Álvarez & Peter Smulovics).
- Clean up of hbm2net (Peter Smulovics).
- Modified internals of AbstractEntityPersister to help with buiding on Mono (Oliver Weichhold).
- Renamed nhibernate.build to NHibernate.build to help with building on Mono (Oliver Weichhold).
- Removed Dialect.GetLimitString(string) should use Dialect.GetLimitString(SqlString) instead.
- SqlStringBuilders were modified to set an initial capacity for the ArrayList.
- Added properties to SqlString to help with SqlStringBuilders and Hql.
- Marked Exceptions as [Serializable].
- Fixed bug with Hql not being able to use a constant in an imported or mapped Class.
- DateTimeType.DeepCopyNotNull() cleaned up (Mark Traudt).
- Added VersionProperty to IClassMetadata.
- Renamed PrimitiveType to ValueTypeType to be more .net style consistent and fixed them up so they inherit from the appropriate class.
- Fixed bug with caching an ObjectType.
- Much code cleaned up for FxCop (Peter Smulovics).
- Fixed bug with <bag lazy="true">, doing an Add, and then a Flush() resulting in the entity in there twice.

Alpha Build 0.2.0.0
======================== 
- Removed support for <dynabean> mapping since it doesn't exist in .net.
- Fixed bug in nhibernate.build file when not signing NHibernate.dll.
- Fixed bug with Hql and SetParameter() where there were 2 parameters with same name.
- Fixed bug with Hql and "IN (:namedParam)".
- Fixed bug with Hql and multi column IType.
- Fixed bug with Hql and scalar queries 
- Fixed bug with NullReferenceException and TypeType class.
- ISession.Filter() is now working.
- Compiled Queries and Filters are now cached.
- Refactored Hql to use a SqlString instead of string containing sql.
- Dialect has had public API changed because of Sql to SqlCommand refactoring.
- IPreparer has had methods removed from public API.
- type="System.Object" no longer matches to SerializableType - instead it matches to ObjectType.  Use type="Serializable" instead.
- Added "access" attribute for NHibernate to get to fields and properties with no setters.  See NHibernate.Property.PropertyAccessorFactory for all valid value types and how to plug in your own implementation of IPropertyAccessor.
- Added Types to read BLOB/CLOB columns to a byte[]/string Property.
- Modified Expression.Sql() to require use of SqlString if parameters are used.
- TypeFactory was modified to allow the attribute "type" to be the Assembly Qualified Name, Full Name, NHibernate IType.Name, or Hibernate name to help with porting hibernate hbm.xml files and Net2Hbm that John is writing.
- hibernate.connection.isolation configuration now affects the IDbTransaction's IsolationLevel, it is parsed as the name value of the IsolationLevel enum - "Chaos", "ReadCommitted", "ReadUncommitted", "RepeatableRead", "Serializable", and "Unspecified".
- ICriteria.SetMaxResults() is now working.
- IQuery.SetMaxResults().Enumerable() is now working.
- Modifed Test Fixtures to help isolate problems caused by DataProviders.

PreAlpha Build 0.1.0.0
======================== 
- NHibernate and HashCodeProvider are now strong named assemblies.  The key used to sign the assemblies is not in CVS.
- Many more Tests implemented.
- Added Examples into CVS and zip.
- ConnectionProvider uses settings passed to it by ConnectionProviderFactory instead of default settings.
- Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams.
- Adding properties to Cfg instead of using app.config/web.config or cfg.xml now supported.
- In cfg.xml, an assembly where the resource can be found is now needed - ie: <mapping resource="" assembly="" />.
- nhibernate-configuration-2.0.xsd schema was updated to .net friendly names and all cfg.xml files are now validated.
- Fixed bug with classes having dynamic-insert and dynamic-update causing IndexOutOfRangeExceptions.
- Modified length of string for CultureInfoType.
- Added Firebird fixes contributed by Carlos Guzmán Álvarez.
- Changed TimestampType.Set to behaive like hibernate.  Will not write a null value anymore - instead replaces it with DateTime.Now.
- Removed IVersionType interface from DecimalType.
- Add PropertyExpressions contributed by Carlos Guzmán Álvarez.
- Fixed bug with referencing joined classes properties in hql.
- Fixed IndexOutOfRangeException with NormalizedEntityPersister for versioned entities.
- Added ObjectType to TypeFactory and NHibernate.
- Fixed problem with hql subselects referencing a class in main query.
- Limited support for Serializing a Session.  Sometimes a Refresh() is needed after Deserialization.      
- Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row.

PreAlpha Build 6
======================== 
- Fixed Configuration so app.config/web.config behaives like hibernate.properties and a hibernate.cfg.xml.  Settings in app.confg/web.config are no longer required if a cfg.xml file is used.
- Dialects now set default values for outer joins.  
- Fixed bug in ArrayHolder with null elements.
- Added IDisposable to ISession
- Fixed bug with lazy loaded SortedSet during Flush().
- Fixed problem with Loading using LockModes because of missing columns with Forumlas.
- Added SetAnsiString to IQuery
- Fixed bug with IDbCommands used in a Session that is Disconnected and Reconnected not being associated with the correct IDbTransaction.
- Driver can disable calls to IDbCommand.Prepare() for Data Providers that don't support it.
- Removed requirement to set length with type attribute - ie, can use type="String" instead of type="String(50)".
- schema-export now functions just like it does with hibernate 2.0.3
- Converting a SqlString to an IDbCommand is now a Driver specific function because different Driver's have different requirements for IDbCommands.
- Added HashCodeProvider.dll to remove problems with RuntimeHelpers.GetHashCode causing MissingMethodException with App Domain reloading with ASP.NET and NUnit.

PreAlpha Build 5
======================== 
- Added check in Configuration for 1.1 version of runtime.
- Removed reference in NHibernate.csproj to nunit.framework.dll.
- Fixed update="true" when values different than insert attribute.
- Enumerable with HQL now works with multiple results.
- Fixed NullReferenceException in EvictCollections.
- Fixed bug with lazy loaded sorted collections not loading correctly.
- Fixed problem with cascading deletes causing OutOfMemoryException.
- Implemented more TestFixtures.

PreAlpha Build 4
======================== 
- Implemented most DomainModel classes and hbms for testing 
- Implemented more TestFixtures (both migrated and new)
- Added Oracle Dialects and Drivers (thanks to feilng for contributing those!)
- Modified classes in Type namespace to support reading values from Oracle Driver
- Added DotNetMock.dll to NHibernate.Test assembly to help with testing Type namesapce
- Fixed parameter parsing so both Named Params (:name) and ? can be used in HQL
- Fixed problem with joins in HQL
- Fixed problem with <set>, <map>, and <bag> where lazy="true"
- Fixed problem with <idbag> being bound to a Bag instead of IdentifierBag
- Fixed problem with CollectionPersister.WriteRowSelect and IdentifierBags 
- Fixed problem with <array> when a null value was in the array
- Fixed problem with sending an unneeded Update before a Delete
- Fixed problem with null aliases and Parameter.Equals()
- Cleaned up HQL parsing so it internally throws fewer exceptions 
- ConnectionProvider's now provide internal IDbConnection cache like h2.0.3 - not on by default
- Fixed problem with StringHelper.Replace being passed a null template
- <property forumla="some sql forumla" ... /> is now supported
- <class dynamic-insert="true"> is now supported
- read only <property> and a read-write <property> can now refer to the same column without problems.
- changed value of Dialect.SupportForUpdateOf to false, like h2.0.3 has it
- Id generation strategies that use TableGenerator now work for all Drivers
- Modified IdentityMap to use SequencedHashMap instead of ListDictionary (thanks to feling for finding the performance problems that ListDictionary was causing)
- Fixed problem with Expresion.Juction.GetTypedValues() not returning correct TypedValue[]


PreAlpha Build 3 
======================== 
- Synched Cache Namespace with cache package in H2.0.3 
- Synched CollectionPersister with H2.0.3 
- Synched Config Namespace with config package in H2.0.3. 
- Synched Cascade strategies with H2.0.3 
- Synched Dialect Namespace with dialect package in H2.0.3 
- Started HQL Namespace synch with hql package in H2.0.3. There are still some issues in there. 
- Synched Id Namespace with id package in H2.0.3 
- Synched Mapping namespace with mapping package in H2.0.3. 
- Added ForUpdateFragment 
- hbm2net created. 
- Added AnsiStringType. 
- Added GuidType. 
- Fixed problem with IdentityMap that caused <set lazy="true"> to not work. 
- Added support for <bag> and <id-bag> mappings. 
- Implemented sorted collections. 
- Build files rewritten. 
- MsSql Dialect now issues one statement to Insert and retrieve identity value. 
- Fixed a bug with <generator class="sequence"> 
- Implemented SqlExpression for Criteria queries. 
- Initial fix of Multiple IDataReaders being opened with Entities that contain <component> mappings. 
- Fixed problems with Alias and Ms Sql Server. 

PreAlpha Build 2 
========================
- Continued to synchronize NHibernate with Hibernate 2.0.3's features. 
- Modifed BooleanType to use GetBoolean instead of GetByte 
- Modified MsSqlServer2000Dialect to maps a BooleanSqlType to a bit column type. 
- Fixed bug with IdentityMap that caused problems with Session.Flush() loading lazy collections 
- Added TicksType to TypeFactory 
- Fixed bug with SchemaExport committing a non existing IDbTransaction