Releases: cyjake/leoric
Releases · cyjake/leoric
v1.11.1
This version fixes lots of issues regarding logical operator in object conditions, such as:
Post.where({
$or: [
{ title: { $like: '%Cain%' }, authorId: 1 },
{ title: { $in: [ 's1', '21' ] }, authorId: 2 },
]
});
What's Changed
- fix: normalize logical operator conditions before formatting by @cyjake in #186
- fix: support len validator by @JimmyDaddy in #188
- fix: sequelize mode support HAVING, and select fields raw sql support by @JimmyDaddy in #187
- fix: logical operator with multiple conditions such as by @cyjake in #190
Full Changelog: v1.11.0...v1.11.1
v1.11.0
- feat: support BINARY(length), VARBINARY(length), and BLOB (#169)
- fix: logic operate should adapt one argument (#183)
- fix: Bone.load() should be idempotent, make sure associations is intact (#184)
- fix: selected instance isNewRecord is false (#182)
- fix: set options.busyTimeout to mitigate SQLITE_BUSY (#176)
- fix: turn on long stack trace of sqlite driver (#175)
- docs: how to contribute (#180)