- New: Add
ufront.ORMtype imports. Now you canimport ufront.ORM;for most common imports. - New: Add
ManyToMany.has()andManyToMany.toList()methods. - New: Added
DBSerializationToolsmacros to quickly and safely choose which fields to include in serialization withuser.with( groups, permissions )syntax. - Improved: Changes to custom serialization format. Please note if you have any objects serialized by the last version (for example, saved in a session), they will not be able to be unserialized by this version.
- Improved: Add type constraints to
HasOne,HasManyandBelongsTotypedefs. - Fixed: Initiate empty ManyToMany relationships on the client side.
- Fixed: Fixed various
ManyToManymethods that didn't take into account unsaved related objects.
This is a 1.0.0 release of ufront-orm
Small changes and bug fixes present.
-PHP Mysql : Fixes error in testValidateFieldFunction (Thanks Jon Borgonia)
-Fix compilation error when sys.db.Types is not imported and BelongsTo<> is used. (Thanks Kevin Leung)
-Remove sys.db.Manager patch that was only required for Haxe 3.1.3
-Improved unit test coverage.
Please note that this library is failing with the Haxe development version at the time of release. See bug 4470. Please use Haxe 3.2.0 for now.
For changes prior to 1.0.0, please see http://lib.haxe.org/p/ufront-orm/versions/