1.0.0-alpha.10 (2018-03-30)

Bug Fixes

  • package.json to reduce vulnerabilities (#168) (d91c7ea)
  • lib/adapters/mysql: fix conn error (771dade)
  • lib/adapters/mysql: fix transaction insert error (bce7cad)
  • package: update lodash to version 4.17.5 (#167) (0a1bb39)

1.0.0-alpha.9 (2018-03-09)

Bug Fixes

  • package: update lodash to version 4.17.5 (#167) (0a1bb39)
  • package.json to reduce vulnerabilities (#168) (d91c7ea)

1.0.0-alpha.8 (2017-12-18)

Bug Fixes

  • package: update async to version 2.6.0 (032d73b)
  • package: update eventemitter2 to version 5.0.0 (ef38612)

Features

1.0.0-alpha.7 (2017-10-27)

Bug Fixes

  • "DELETE ... FROM ... LIMIT 0, 1" will have syntax error (d2d69d3)
  • a bug in findWithCache in mysql adapter with single option (a1f411c)
  • a bug in yukari delete (5446a64)
  • a type in Yukari (6923a1a)
  • add --recursive in Makefile (c2e83cf)
  • add try in makeSql (ad2a44d)
  • Model._fields be compatible with 0.x (694676e)
  • some bugs in query and base adapter (2b03dc4)
  • toJSON error (7c3e20d)
  • toJSON in yukari (cb57ede)
  • update base adapter's execute (c539243)
  •  query  find with no callback (8cf2d79)

Features

  • add delete by query (8d6d522)
  • add execute function to adapters (f0494a0)
  • add force index in query (87a6882)
  • add promise support in query (adb99d5)
  • add promise support in query count (008bcc8)
  • add some functions in model (4ed5864)
  • add update function in base adapter (4f78292)
  • base adapter and mysql adapter with some tests (6fc46b0)
  • toJSON of yukari (d4e41e1)
  • mysql: add between symbol (5bfb0ee)
  • compatible with showSql (84ce8a2)
  • count in query (2b72ede)
  • delete by query of mysql (60672fe)
  • delete in yukari (2d30750)
  • field class finished (3cd305b)
  • find with cache in mysql (8257a67)
  • findById (c04f23d)
  • finish mysql adapter makeFieldWhere (eb7076e)
  • get function parameter names (7240c0b)
  • improve base adapter (13e0391)
  • let be compitable with 0.9 (a1a78cb)
  • let toshihiko support promise (333ff81)
  • makeLimit in mysql adapter (a651805)
  • makeOrder in mysql adapter (c998ca4)
  • mysql insert (5d40852)
  • query feature started (d1ddc9c)
  • update data by query (684fda8)
  • update for mysql adapter (3191759)
  • update model and query's execute (51ba00b)
  • use bluebird as promise (0e5bdcf)
  • use common.extend to instead of config.util (353e260)
  • yukari insert (0463626)

0.8.3 (2016-07-29)

0.8.2 (2016-06-19)

Bug Fixes

  • error when use string in query(field) (be7b688)

0.8.1 (2016-06-12)

Bug Fixes

  • lib/query.js: fix bug the model update and delete callback null (dff7c57)
  • test: make test correct after updating shouldjs to 9.* (2ab9410)

0.8.0 (2016-06-12)

Bug Fixes

  • lib/query.js: fix bug the model update and delete callback null (dff7c57)
  • test: make test correct after updating shouldjs to 9.* (2ab9410)

0.7.7 (2016-03-11)

Bug Fixes

  • lib/yukari.js: fix the bug memcache should be delete but not when update (b599506)
  • lib/yukari.js: fix the bug: null is not equl to false(or 0, '') (6fd7c12)

0.7.6 (2016-03-09)

Bug Fixes

  • lib/yukari.js: add another condition branch with no insertId when insert (f82f624)

0.7.5 (2016-03-08)

Bug Fixes

  • lib/field_type/datetime.js: Datetime.toJSON "Invalid date" error when datetime value is null (86dc5a8)

0.7.4 (2016-03-02)

0.7.3 (2016-02-29)

Bug Fixes

Features

  • add a AUTO_INCREMENT field in model (cb8a871)
  • add a new optional column for field -> autoIncrement (e891d6e)

0.7.2 (2016-01-20)

Bug Fixes

  • fix #34, Model.count 的时候,在 callback 函数里面 throw Error 会触发两次 callback (e567060), closes #34
  • use count to instead of result[0]['COUNT(0)'] (c335b84)

Features

  • add a test case for #34 (57daa41)
  • package.json: update denpendencies (22ec1c2)

0.7.1 (2016-01-09)

Features

0.7.0 (2016-01-07)

Features

  • add commit message validation to git precommit hook (8e178f2)
  • re-add toshihiko-memcached as the default cache layout (a84f93c)
  • update package.json to v0.7.0 (b57f469)
  • use ghooks instead of precommit-hooks (0c3ebd4)

2016-01-05, Version 0.6.4, @XadillaX

Notable Changes

  • Rename all *.js source files into underscore filenames. eg. fieldType to field_type. - see #31
  • Fix a bug that generated an invalid SQL while use Array in $neq. - see #32

Commits

  • [df37bd062e] - Make the code more friendly with scope.
  • [c088f3f7eb] - Rename filenames to underscore ones.
  • [3b319f71c2] - Change the require order in source files. (System > Denpendencies > Local)
  • [eda60efc38] - Fix a bug that generated an invalid SQL while use Array in $neq.

2015-12-15, Version 0.6.3, @XadillaX

Notable Changes

  • Cancel error when update in Yukari without change. - see #9d222d5367

Commits

2015-11-24, Version 0.6.2, @Luicfer

Notable Changes

  • Find in memcached first when findById. - see #29

Commits

2015-11-2, Version 0.6.1, @XadillaX

Notable Changes

  • Add 0 field type support. - see #27

Commits

  • [fca5f18744] - Add Boolean field type support and test cases.
  • [7ee1c910cb] - Remove npm-shrinkwrap.json.

2015-10-23, Version 0.6.0, @XadillaX

Notable Changes

  • Remove SugarJs dependency, and use lodash insteaded. (My supervisor told that do not use invasive package)
  • Remove SugarJs - see #26
  • Fix migration bugs - see 7458203

Commits

2015-10-19, Version 0.5.5, @XadillaX

Notable Changes

  • Add warning output when defining a model without primary key(s) because of query cache optimization.

Commits

  • [3a067ee30e] - Add warning output when defining a model without primary key(s).