All Versions
62
Latest Version
Avg Release Cycle
94 days
Latest Release
1770 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v2.0.11 Changes
May 03, 2013- ๐ Changes orm.connect() to return an EventEmitter
- Avoids saving an instance if a property is null and is marked as required ([#142](../../issues/142))
- Avoids passing property validations if property is null and is not required ([#142](../../issues/142))
- ๐ Fixes documentation where user should be used instead of username in connection options (closes [#145](../../issues/145))
- โ Adds postgresql schema support
- ๐ Fixes autoFetchLimit and cascadeRemove options not being used when set to 0 or false (fixes [#144](../../issues/144))
-
v2.0.10 Changes
April 25, 2013- โ Adds ChainFind.where() as a link to ChainFind.find()
- โ Adds support for -property on ChainFind.order()
- โฌ๏ธ Reduces the size of mysql driver
- โ Adds initial support for multi primary key models
- โก๏ธ Updates DB.define() and Model.get() to support tables with multiple primary keys ([#135](../../issues/135))
- Creates Model.all() as alias to Model.find(), adds simple example
- ๐ Fixes autoFetch option not being considered in Model.find() ([#120](../../issues/120))
- โ Adds support for chaining and rechaining with ChainFind
- ๐ Fixes bug about connection config object not having query key (fixes [#130](../../issues/130))
- โ Adds initial plugin architecture - .use() ([#121](../../issues/121))
- ๐ Fixes some bugs
- โ Adds more tests
-
v2.0.9 Changes
April 18, 2013- Correct 'returnAllErrors' setting behaviour
- โ Adds default settings properties.required = false ([#110](../../issues/110))
- ๐ Changes instance.save() to support an hash of changes before saving ([#111](../../issues/111))
- โ Adds setting connection.reconnect (default=false) to auto-reconnect (only mysql for now) ([#112](../../issues/112))
- โ Adds possibility of .order() to aggregate method ([#114](../../issues/114))
- โ Adds .select() aggregate function to support additional properties to be selected ([#114](../../issues/114))
- โ Adds .as() aggregate function to define alias to previous function ([#123](../../issues/123))
- โ Adds .distinct() aggregate function to all drivers ([#123](../../issues/123))
- ๐ Changes model.find() queries to specify columns instead of selecting * from tables ([#106](../../issues/106))
- ๐ Changes hasMany.addAccessor to support arrays of instances ([#97](../../issues/97))
- โ Adds support for descending ordering using "-property" ([#115](../../issues/115))
- โ Adds pool support to postgres driver
- โ Removes postgres axomic driver
- โก๏ธ Updates redshift driver to use new postgres driver
- โ Adds .validate() model to instances
- โ Adds more tests
- ๐ Some documentation updates
- ๐ Some bug fixes
-
v2.0.8 Changes
April 08, 2013- โ Adds more aggregate functions to the several drivers
- โ Adds groupBy to aggregate methods ([#99](../../issues/99))
- โ Adds possibility to use "-property" to indicate a descending order in Model.find()
- โ Adds setting instance.returnAllErrors (default: true)
- ๐ Changes hasMany.setAccessor to support passing an array of instances ([#97](../../issues/97))
- ๐ Fixes property defaultValue not being set if property is null (closes [#104](../../issues/104))
- โ Adds support for indexes on properties that are no associations ([#98](../../issues/98))
- โ Adds a new option to add multi-column indexes to models ([#98](../../issues/98))
- ๐ Bug fixes
-
v2.0.7 Changes
April 03, 2013- ๐ Fixed SQLite driver writing to console when it should not
- ๐ Changes Express middleware to wait for connections (errored or not) before processing requests ([#92](../../issues/92))
- Avoids loosing previously set limit (if set) on Model.fin() ([#93](../../issues/93))
- ๐ Fixes hasMany getAccessor when using an Array as only argument (specific properties)
- โ Adds ChainFind .last() (similar to .first())
- ๐ Fixes hasMany acessor names to correctly convert prop_name to PropName (underscores)
- โ Adds hasMany hasAcessor conditional to ChainFind ([#94](../../issues/94))
-
v2.0.6 Changes
March 22, 2013- ๐ 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
-
v2.0.5 Changes
March 13, 2013- ๐ Uses sql-query for SQL query building
- โ Adds initial middleware for Express
- ๐ Moves beforeCreate to near beforeSave so people can change instance just like beforeSave ([#69](../../issues/69))
- ๐ Fixes bug when creating Models without all data ([#69](../../issues/69))
- ๐ Changes drivers.count() to be able to pass options (related to [#68](../../issues/68))
- ๐ Changes postgres DDL to create ENUM types before table ([#71](../../issues/71))
- ๐ Changes hasOne.getAccessor to be able to fetch instance before association (if needed)
- โ Adds support for Object property type in DDL drivers ([#72](../../issues/72))
-
v2.0.4 Changes
March 07, 2013- ๐ Changes db.load() to behave like builtin require()
- ๐ Moves hook beforeSave to before checking validations ([#66](../../issues/66))
- ๐ Changes postgres driver to support ssl flag and pass it to pg driver
- โ Adds possibility to add order to hasMany getAccessor ([#58](../../issues/58))
- ๐ Fixes hasOne reversed associations not having setAccessor
- โ Adds db.ping() ([#57](../../issues/57))
- ๐ Changes db.load to avoid throwing and just create the error
- โ Added "afterRemove" hook
- โ Added "afterCreate" hook
- ๐ Support Model.find({ prop: null }) (closes [#59](../../issues/59))
- โ Adds LIKE operator
- ๐ Many bug fixes
-
v2.0.3 Changes
February 26, 2013- ๐ Fixes postgresql integer columns ([#52](../../issues/52))
- โ Adds boolean support for sqlite ([#50](../../issues/50))
- ๐ Fixes an issue where hasMany association properties were not being checked ([#49](../../issues/49))
- ๐ Changes hasMany associations to be able to make some call without callback
- ๐ Makes Instances trigger beforeRemove event
- ๐ Creates default option for instance.cascadeRemove (true)
- ๐ Fixes unique validator not using Model id property name (was using hard coded "id")
- ๐ Updated documentation
-
v2.0.2 Changes
February 21, 2013- ๐ฎ Forces hasMany association changes to check for instance saved (to ensure the instance has an id property)
- ๐ Fixes some bugs when not using "id" as instance id property
- โ Adds default setting instance.cache = true so people can tweak it globally
- โ Adds autoFetch and autoSave options to default settings
- โ Adds more documentation about Hooks, fixes Model options list ending