Commit 0f8229f
committed
Release 1.0.0
[skip ci]
## 1.0.0 (2024-01-30)
### ⚠ BREAKING CHANGES
* In `Promise.all` case, Parallel beginTransactionScope will create isolated transactions.
* drop Node.js < 16 support
### Features
* add *beginTransactionScope(scope) ([0013a63](node-modules/rds@0013a63))
* add count(table, where) ([6286c46](node-modules/rds@6286c46))
* add get(), list(), insert(), update() ([9cae1cb](node-modules/rds@9cae1cb))
* add options.needFields, default is true ([18e0dea](node-modules/rds@18e0dea))
* add queryOne api ([#9](node-modules/rds#9)) ([19fc1bb](node-modules/rds@19fc1bb))
* add Transaction ([cfdcf26](node-modules/rds@cfdcf26))
* add unlock/lock tables ([#97](https://github.com/node-modules/myrds/issues/97)) ([4dc3452](node-modules/rds@4dc3452))
* add unlock/lock tables ([#97](https://github.com/node-modules/myrds/issues/97)) ([0a61be6](node-modules/rds@0a61be6))
* dynamic retrieval of database connection configuration ([#110](https://github.com/node-modules/myrds/issues/110)) ([f437efb](node-modules/rds@f437efb))
* export connection and query diagnostics_channel ([#111](https://github.com/node-modules/myrds/issues/111)) ([64aa75d](node-modules/rds@64aa75d))
* export sqlstring method ([#79](https://github.com/node-modules/myrds/issues/79)) ([2e99ab8](node-modules/rds@2e99ab8))
* impl with typescript ([#103](https://github.com/node-modules/myrds/issues/103)) ([1cf7814](node-modules/rds@1cf7814))
* promiseify ([#20](https://github.com/node-modules/myrds/issues/20)) ([e4aed30](node-modules/rds@e4aed30))
* stats 增加使用中的连接数 ([#115](https://github.com/node-modules/myrds/issues/115)) ([2b152a1](node-modules/rds@2b152a1))
* support custom query lifecricle ([#104](https://github.com/node-modules/myrds/issues/104)) ([5941c69](node-modules/rds@5941c69))
* support doomed transaction scope on test cases ([#58](https://github.com/node-modules/myrds/issues/58)) ([b227bc1](node-modules/rds@b227bc1))
* support end() ([b3eab93](node-modules/rds@b3eab93))
* support insert multi rows ([abb4804](node-modules/rds@abb4804))
* support mysql2 ([#1](node-modules/rds#1)) ([eb9f391](node-modules/rds@eb9f391))
* support query(sql, object) ([#12](node-modules/rds#12)) ([a55e82f](node-modules/rds@a55e82f))
* support transaction on one request ctx ([#7](node-modules/rds#7)) ([3bd4e44](node-modules/rds@3bd4e44))
* update multiple rows ([#55](https://github.com/node-modules/myrds/issues/55)) ([859d818](node-modules/rds@859d818))
* use AsyncLocalStorage to refactor transaction, to make it more safe ([#108](https://github.com/node-modules/myrds/issues/108)) ([ae327fa](node-modules/rds@ae327fa))
* where condition support NULL value ([#60](https://github.com/node-modules/myrds/issues/60)) ([0d4d4ab](node-modules/rds@0d4d4ab))
* wrap generator function to promise ([#19](https://github.com/node-modules/myrds/issues/19)) ([fe1b4a3](node-modules/rds@fe1b4a3))
### Bug Fixes
* `where` with empty object ([#15](node-modules/rds#15)) ([db0b90e](node-modules/rds@db0b90e))
* add default value now() of `gmt_modified` and `gmt_create` ([#56](https://github.com/node-modules/myrds/issues/56)) ([db6d596](node-modules/rds@db6d596))
* don't export protected methods ([#106](https://github.com/node-modules/myrds/issues/106)) ([b2757df](node-modules/rds@b2757df))
* don't redefined sqlstring.escape ([#39](https://github.com/node-modules/myrds/issues/39)) ([5ca4489](node-modules/rds@5ca4489))
* export pool getter from rds client ([#102](https://github.com/node-modules/myrds/issues/102)) ([4048807](node-modules/rds@4048807))
* handle concurrent transaction ([#85](https://github.com/node-modules/myrds/issues/85)) ([d983478](node-modules/rds@d983478))
* move sql to error stack ([#8](node-modules/rds#8)) ([54349cd](node-modules/rds@54349cd))
* mysql type not found ([#109](https://github.com/node-modules/myrds/issues/109)) ([6a9bc45](node-modules/rds@6a9bc45))
* query parameters are not allowed to be included in where ([#67](https://github.com/node-modules/myrds/issues/67)) ([52147de](node-modules/rds@52147de))
* should export conn property ([#101](https://github.com/node-modules/myrds/issues/101)) ([37afa42](node-modules/rds@37afa42))
* support multi lifecricle hooks ([#105](https://github.com/node-modules/myrds/issues/105)) ([53b0a70](node-modules/rds@53b0a70))
* use master branch ([758877d](node-modules/rds@758877d))1 parent eb9f391 commit 0f8229f
2 files changed
+53
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
3 | 55 | | |
4 | 56 | | |
5 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments