Skip to content

v0.4.2

Compare
Choose a tag to compare
@cyjake cyjake released this 26 Apr 09:44
· 459 commits to master since this release
  • New: Spell#orWhere() and Spell#orHaving()
  • New: arithmetic operators
  • New: unary operators such as unary minus - and bit invertion ~
  • Fix: unset attribute should be overwritable
  • Fix: attributeChanged() should be false if attribute is unset and not overwritten
  • Fix: subclass with incomplete getter/setter should be complemented
  • Fix: sharding key validation on Bone.update() and Bone.save()
  • Fix: sharding key should be along with primary key on bone.remove()
  • Fix: Bone.cast() should leave null as is
  • Fix: INSERT ... UPDATE with id = LAST_INSERT_ID(id) in MySQL
  • Fix: Model.find({ name: { $op1, $op2 } }) object conditions with multiple operators
  • Fix: prefixing result set with qualifiers if query contains join relations and is not dispatchable
  • Fix: Spell#$get(index) with LIMIT
  • Docs: Model.transaction()
  • Docs: definition types with index.d.ts