orm2 v2.0.6 Release Notes

Release Date: 2013-03-22 // about 11 years ago
    • ๐Ÿ”„ Changes orm.connect to check connection url/opts to avoid throwing some errors about missing protocol or database ([#75](../../issues/75))
    • Hardens some validators againt null/undefined, changes match validator to avoid compiling regex everytime it's called
    • ๐Ÿ”„ Changes back default instance properties to null instead of undefined
    • ๐Ÿ”„ Changes Express middleware to be able to have more than one connection ([#76](../../issues/76))
    • ๐Ÿ”„ Changes Singleton to avoid cache if save_check option is enabled and cached instance is not saved ([#78](../../issues/78))
    • โž• Adds Model.aggregate()
    • โž• Adds 'required' option to hasOne associations
    • ๐Ÿ”„ Changes singleton uid creation to use driver uid ([#86](../../issues/86))
    • ๐Ÿ”„ Changes Model.drop and Model.sync to be resistive to no callback
    • ๐Ÿ”„ Changes ORM.sync() to also be resistant to no callback
    • ๐Ÿ›  Many bug fixes