All Versions
62
Latest Version
Avg Release Cycle
94 days
Latest Release
1770 days ago

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