Skip to content

Releases: fxjs-modules/orm

Synchronous query first ORM!

25 Apr 12:54
Compare
Choose a tag to compare

In 1.10.0, all query/request to databse is synchronous first! That means NO unnecessary callback composition-decomposition when you call APIs such as model.createSync, instance.saveSync, etc.

  • ✨ built-in knex object in DMLDriver, you can get it by orm.driver.knex
  • ✨ built-in database-connection-pool, fib-pool function would be called when query executed, enable pool-query by
    • passing pool option when connect database(such as mysql://root:@localhost:3306/schema?pool=true)
    • or setting connection.pool as true
      • ORM.settings.set('connection.pool', true)
      • model.settings.set('connection.pool', true))
  • All classical apis compatible 😊
  • 🚀 better model & association hooks.

v1.10.0-alpha.1

25 Apr 12:54
Compare
Choose a tag to compare
v1.10.0-alpha.1 Pre-release
Pre-release
Release v1.10.0-alpha.1

v1.10.0-alpha

25 Apr 12:56
Compare
Choose a tag to compare
v1.10.0-alpha Pre-release
Pre-release
Release v1.10.0-alpha

Fix bad implementation in past two MINOR versions

16 Apr 07:07
Compare
Choose a tag to compare

❗️At least the past two minor versions(1.9.x, 1.8.x), the process of batching model.create is unpredictable. It's WRONG, as it works in most cases.

✅ I fix this bug in v1.9.8, upgrade to avoid unpredictable issues/problems in you production.