Skip to content

Releases: cyjake/leoric

v1.4.0-alpha.1

16 Apr 15:03
f24b88c
Compare
Choose a tag to compare
v1.4.0-alpha.1 Pre-release
Pre-release
  • feat: support multiple order rules in one single string or one-dimensional array (#92)
  • feat: realm.raw('SELECT ...') and Model.raw('SELECT ...')
  • feat: Model.truncate() now uses TRUNCATE if possible
  • feat: Model.find().optimizerHints('SET_VAR(foreign_key_checks=OFF)')
  • fix: make sure connection is passed around in all queries carried out within transaction
  • docs: migrations, validations, hooks, and sequelize adapter

v1.3.0

01 Mar 06:52
Compare
Choose a tag to compare
  • feat: hook support
  • feat: dirty check (changes() & previousChanges())
  • feat: compatible with mysql longtext conversion
  • feat: NOT condition

v1.2.0

11 Dec 05:27
f7e47bd
Compare
Choose a tag to compare
  • Feat: Realm.prototype.transaction() with async function support
  • Feat: Realm.prototype.query() for raw queries
  • Feat: logger.logQuery(sql, duration, { Model, command })
  • Feat: logger.logQueryError(sql, err, duration, { Model, command })

v1.1.0

24 Nov 01:43
6c8f1f0
Compare
Choose a tag to compare
  • Feat: JSON and JSONB data types
  • Feat: support stringifyObjects option for mysql client
  • Feat: aggregate functions for sequelize adapter
  • Feat: Spell.prototype.nodeify()

v1.0.3

16 Mar 08:29
d2d50c6
Compare
Choose a tag to compare
  • Fix: replace deep-equal with util.isDeepStrictEqual()

v1.0.2

04 Mar 11:19
Compare
Choose a tag to compare
  • Fix: driver.alterTable() with multiple columns to add in SQLite

v1.0.1

25 Feb 08:51
64728ef
Compare
Choose a tag to compare
  • Fix: bulkCreate in sequelize shim

v1.0.0 Victoria

24 Feb 02:59
Compare
Choose a tag to compare

Features added since 0.4.x:

  • schema definition related methods, such as createTable(), alterTable(), ...
  • migrations (premature) and Bone.sync()
  • a sequelize API adaptor to ease transition
  • SQLite support (without need of fork)
  • loggers

v0.5.3

22 Feb 09:06
ff55840
Compare
Choose a tag to compare
  • (kinda breaking) fix: differentiate opts.dialect & opts.client with a specific opts.sequelize
  • fix: prevent queries on models that are not connected yet

v0.5.2

21 Feb 08:22
Compare
Choose a tag to compare
  • Fix: drop the default and unused require('sqlite3')