Skip to content
Alex Zaytsev edited this page Sep 18, 2020 · 3 revisions

Below are the changes that make up our 1.2 release. This release is primarily a bug-fix release, with a few new features thrown in. The most significant changes are below, followed by everything else.

Significant changes

General

  • Obsoleted methods which'll be removed or changed in vNext 7019aa 5702ec
  • Made FluentNHibernate.dll CLS compliant c5d8de

Bug fixes

  • Model generation bugfixes f3e841 f3a846 151de3 94bbd0 d5200c
  • Fixed key column regression with References a71f81
  • Mono namespace bugfix 64b2ff
  • GeneratedBy returning wrong object a10125
  • Lazy on KeyReference was being set as True instead of Proxy 8f6900
  • Exception when mapping interface as user-type 3c1523
  • Conventions can now override access strategies set by the automapper 8294f2 de5964 53e23c
  • Formulas now remove columns 2c635c

Configuration

  • Added CollectionTypeFactory support 020deb
  • Made Mappings call repeatable 371554
  • Moved cache configuration from PersistentConfiguration to FluentConfiguration; moved methods CurrentSessionContext, ProxyFactoryFactory and CollectionTypeFactory to FluentConfiguration; added second level cache configuration. 448bba
  • Added DB2 support for the AS400 375f33
  • Sybase SQL Anywhere support 6d3b1d

Fluent interface

  • Added Access.ReadOnly() 259361
  • Added column prefixes to CustomType 7630ac
  • Added OptimisticLock on References 0c1867
  • Added name and length to key properties ac86a5
  • Added multi-column support for Joins 58be48
  • Validation warning for HasManyToMany collections with Inverse specified on both sides of the relationship 6215ca
  • Added boolean support to the fluent Where clause generator 405c50
  • Added HasMany support inside Joins c2aed1
  • Added SqlType to Discriminator b390e6

Conventions

  • Where and OrderBy added for child collections 4c96c4
  • Added ApplyFilter support for classes and collections fb8b9a
  • Can set collection element type and name d492cf ecef14

Automapping

  • Support nested classes ae546f
  • Support ComponentMap-based components 969fa0 3100cf
  • Support overrides from multiple assemblies 40abc6
  • Can control version property detection 620a39

Testing

  • Improved PersistenceSpecification.CheckProperty exception messages 4e64ff