Skip to content

Latest commit

 

History

History
218 lines (129 loc) · 7.14 KB

CHANGELOG.md

File metadata and controls

218 lines (129 loc) · 7.14 KB

Changelog

6.0.0 (2023-06-03)

⚠ BREAKING CHANGES

  • In Promise.all case, Parallel beginTransactionScope will create isolated transactions.

Features

  • use AsyncLocalStorage to refactor transaction, to make it more safe (#108) (ae327fa)

Bug Fixes

5.1.2 (2023-03-06)

Bug Fixes

5.1.1 (2023-03-05)

Bug Fixes

5.1.0 (2023-03-05)

Features

5.0.0 (2023-03-04)

⚠ BREAKING CHANGES

  • drop Node.js < 16 support

Features

4.1.0 (2023-01-01)

Features

4.0.3 (2022-12-22)

Bug Fixes

4.0.2 (2022-12-22)

Bug Fixes


4.0.1 / 2022-12-14

fixes

4.0.0 / 2022-12-14

features

3.4.1 / 2022-12-13

fixes

others

3.4.0 / 2020-07-16

features

3.3.1 / 2019-04-24

fixes

  • [52147de] - fix: query parameters are not allowed to be included in where (#67) (Hoyt <[email protected]>)

others

3.3.0 / 2018-12-11

features

3.2.0 / 2018-11-19

features

3.1.0 / 2018-09-30

features

fixes

others

3.0.1 / 2017-09-26

fixes

others

3.0.0 / 2017-04-02

  • feat: promiseify (#20)

2.7.0 / 2017-03-31

  • feat: wrap generator function to promise (#19)

2.6.1 / 2017-01-20

  • fix: where with empty object (#15)

2.6.0 / 2016-08-09

  • feat: support query(sql, object) (#12)
  • test: use travis ci local mysql server (#13)

2.5.0 / 2016-06-07

  • feat: support end()

2.4.0 / 2016-06-07

  • feat: add queryOne api (#9)

2.3.1 / 2016-06-02

  • fix: move sql to error stack (#8)

2.3.0 / 2016-05-15

  • feat: support transaction on one request ctx (#7)

2.2.0 / 2016-01-13

2.1.0 / 2015-06-08

  • feat: add *beginTransactionScope(scope)
  • docs: require ali-rds

2.0.0 / 2015-06-08

  • test: only test on iojs-2
  • feat: add count(table, where)
  • refactor: use const and let instead of var
  • feat: add Transaction
  • feat: support insert multi rows
  • break: remove fields property from result
  • refactor: use options params style
  • feat: add get(), list(), insert(), update()

1.1.0 / 2015-06-02

  • test: improve test coverage
  • test: make sure name prefix is different
  • feat: add options.needFields, default is true

1.0.0 / 2015-02-25

  • first release, only support MySQL