Skip to content

Commit 12fe97d

Browse files
Update release notes for 5.1.0
1 parent ae853d1 commit 12fe97d

File tree

1 file changed

+121
-1
lines changed

1 file changed

+121
-1
lines changed

releasenotes.txt

Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release notes - NHibernate - Version 5.1.0
66
** Highlights
77
* NHibernate has gained two new target frameworks: .Net Core 2.0 and .Net Standard 2.0. NHibernate NuGet package
88
provides them, along with the .Net framework 4.6.1 build.
9+
* 104 issues were resolved in this release.
910

1011
##### Possible Breaking Changes #####
1112
* Since Ingres9Dialect is now supporting sequences, the enhanced-sequence identifier generator will default to
@@ -24,7 +25,126 @@ Release notes - NHibernate - Version 5.1.0
2425
* MsSql2000Dialect.GetSelectExistingObject(string name, Table table), replaced by
2526
GetSelectExistingObject(string catalog, string schema, string table, string name).
2627

27-
**
28+
** Bug
29+
30+
* #1605 MySql batcher may attempt initiating a new batch without closing open reader first.
31+
* #1604 MySql batcher disables db exception translation
32+
* #1602 Preserve original snapshot mode.
33+
* #1594 AsyncLocal leak in SystemTransactionContext
34+
* #1587 Prevent substitute garbage collection
35+
* #1562 Fix round registration
36+
* #1559 Deep removal of Fetch result operators when Any is used
37+
* #1556 Linq query with "Contains" on persistent collection fails
38+
* #1551 Assert for a null reference in a flaky test.
39+
* #1536 Avoid a null reference exception in ExpressionKeyVisitor
40+
* #1535 Fix some HQL functions registration
41+
* #1534 Fixed entity name retrieval for EntityProjection
42+
* #1526 ExpressionKeyVisitor does not produce unique keys for anonymous types coming from different assemblies
43+
* #1514 Fix exceptions serialization
44+
* #1511 Test Unicode string.
45+
* #1509 Add missing NHibernateLogLevel.Info in example web project
46+
* #1507 NH-3119 - fix test not supporting optimization
47+
* #1506 SQLite is bugged with distributed transactions: disable distributed t…
48+
* #1505 Chaining scopes with ODBC is bugged: disabling the test.
49+
* #1501 Fix NH-3023 test
50+
* #1496 Fix ManyToOneType.IsModified to handle both object instance and identifier passed to the parameter “old”.
51+
* #1491 Forgotten async generation for #1487
52+
* #1486 Fix IsModified so that a null equates empty components when using select-before-update.
53+
* #1484 Fix default types
54+
* #1478 Exception when using envers with the latest logging changes
55+
* #1468 Comparison with DateTime? produces wrong SQL
56+
* #1463 Fix a null reference case in session context
57+
* #1454 Fix ProxyFactory cache
58+
* #1445 Upgrade AsyncGenerator to 0.6.2 and regenerate.
59+
* #1442 Unable to use an entity with a `FieldInterceptor` property and a lazy loaded property
60+
* #1436 StackOverflowException in Merge Entity With Lazy Property
61+
* #1434 Replace remaining SetOptions with WithOptions
62+
* #1372 NH-3982 - Simple query with Cacheable, Fetch and SingleOrDefault throws exception (regression from 3.3.0)
63+
* #1371 NH-3898 - Configuring a property with generated="insert" turns "Property.IsUpdatable" into"false" even using update="true" in the xml mapping file.
64+
* #1363 NH-2500 - NH 3.0 Linq provider uses query parameters from first call in subsequent calls.
65+
* #1335 NH-3787 - Decimal truncation in Linq ternary expression
66+
* #1330 NH-3673 - Closure variable values locked in from expressions in NHibernate LINQ provider
67+
* #1226 NH-2534 - Join-fetching a many-to-one with property-ref results in select n+1 problem
68+
* #1196 NH-4087 - Decimal truncation occurs after 5 digits
69+
* #1119 NH-3084 - Class NHibernate.Loader.Loader logs SQL statement on INFO level
70+
* #1052 NH-3976 - Inconsistent Decimal/NHibernateUtil.Currency handling causing runtime error when using Oracle.ManagedDataAccess
71+
* #987 NH-1509 - MsSql2000Dialect does not use default schema when creating "if exists" statement
72+
* #448 NH-1285 - Drop/Create script with default_schema/default_catalog fix(SqlServer)
73+
74+
** New Feature
75+
76+
* #1588 Add a generic batcher for insert/update/delete statements, usable with PostgreSQL and others
77+
* #1545 Support to join not associated entities in Criteria (aka Entity Join)
78+
* #1451 New StaticProxyFactoryFactory
79+
* #1403 Add timeouts support to MultiCriteria
80+
* #1377 Logging refactoring
81+
* #954 NH-3807 - Support for .NET Core 2.0
82+
* #948 NH-3435 - Ability to select the root entity in a criteria projection
83+
* #908 NH-3470 - Allow Linq Query to load entities as read-only
84+
85+
** Improvement
86+
87+
* #1600 Set MySqlClientBatchingBatcher as a default batcher for MySqlDataDriver
88+
* #1597 Add support for single-argument truncate to dialects that do not support it natively
89+
* #1569 Modernize test example
90+
* #1567 Avoid Trim().Length as empty check and ToLowerInvariant() in string comparison
91+
* #1561 NAnt refactoring
92+
* #1558 Improved collection batch fetching
93+
* #1557 Aggregate named queries validation exceptions.
94+
* #1555 Catch practices: avoid losing catched exception information.
95+
* #1552 Obsolete UnmodifiableDictionary
96+
* #1549 Remove an override which was doing the same thing as the base
97+
* #1548 Add a missing short circuit in query parameter expansion.
98+
* #1546 Remove a redundant argument in Linq provider ExecuteQuery.
99+
* #1543 Various string manipulation optimizations
100+
* #1541 Cache subclass entity aliases in Loader
101+
* #1537 Avoid unnecessary persister lookup in Loader
102+
* #1529 Lazy mapping schema loading
103+
* #1521 Enable warning as error for all projects and configurations
104+
* #1519 Reuse SchemaExport in CreateSchema/DropSchema in tests
105+
* #1515 Make NHibernateUtil.Initialize / IsInitialized better reusable for sub-projects like Envers
106+
* #1504 More reliable SQLite handling in tests.
107+
* #1502 Upgrade Iesi to 4.0.3 in order to use a release assembly
108+
* #1498 Cease throwing bare Exception
109+
* #1494 Update to Oracle installation instructions.
110+
* #1490 Optimize empty arrays usages
111+
* #1483 Clean-up of TypeFactory
112+
* #1482 Refactored DefaultEntityAliases to avoid unnecessary calculations
113+
* #1477 Reuse the same generic EmptyMapClass instance across the project
114+
* #1475 Document expiration constraint on UpdateTimestampsCache region.
115+
* #1467 Reduce the number of calls to UpdateTimestampsCache
116+
* #1466 Obsolete EqualsHelper
117+
* #1465 Obsolete EnumerableExtensions
118+
* #1464 Obsolete ISessionImplementor.Initialize method
119+
* #1449 Document IsDirty potential side effects
120+
* #1441 Normalize TargetInvocationException unwrapping
121+
* #1417 Table counter for aliases should be stable
122+
* #1412 Store Linq query options in a query provider instead of a queryable
123+
* #1391 Performance regression in SessionIdLoggingContext
124+
* #843 NH-3879 - SequenceHiLoGenerator Jumps 1 number each lo > maxLo
125+
* #842 NH-3869 - Add a way of adding comments into LINQ queries
126+
* #837 NH-3804 - Register CHR/CHAR, NCHAR, UNICODE, and ASCII standard functions to the dialect(s)
127+
* #831 NH-3515 - Support for Decimal.Round, Decimal.Ceiling, Decimal.Floor and other static methods of Decimal class
128+
* #768 NH-3921 - Support sequences in Ingres9Dialect
129+
* #769 NH-3922 - The various timeout methods should indicate time unit
130+
131+
** Task
132+
133+
* #1603 Forgotten async generation of truncate test
134+
* #1598 Upgrade IESI to 4.0.4 for having a bumped file version.
135+
* #1589 Add framework info to example web project and enable .NET Core.
136+
* #1574 Fix encoding in NorthwindDbCreator.cs
137+
* #1563 Generate Async test for deep removal of fetch.
138+
* #1527 Adjust ignore rules for not ignoring DebugHelpers folder and contents
139+
* #1525 5.1.0 release
140+
* #1524 Reduce breaking changes due to Ingres9 sequence support
141+
* #1518 Upgrade to AsyncGenerator 0.8.1
142+
* #1512 Upgrade to NUnit 3.9
143+
* #1474 Upgrade AsyncGenerator to 0.7.0
144+
145+
** Tests
146+
147+
* #1539 Add more tests for constants in LINQ queries
28148

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

0 commit comments

Comments
 (0)