Skip to content

Commit 0f8229f

Browse files
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

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Changelog
22

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

557

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "myrds",
3-
"version": "7.0.0",
3+
"version": "1.0.0",
44
"description": "My RDS Client",
55
"main": "lib/client.js",
66
"types": "lib/client.d.ts",

0 commit comments

Comments
 (0)