-
Notifications
You must be signed in to change notification settings - Fork 70
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ali-sdk/ali-rds
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: node-modules/rds
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
Can’t automatically merge.
Don’t worry, you can still create the pull request.
- 16 commits
- 24 files changed
- 8 contributors
Commits on Jan 30, 2024
-
- support mysql2 - rename to myrds Co-authored-by: raoha.rh <raohai.rh@antgroup.com>
Configuration menu - View commit details
-
Copy full SHA for eb9f391 - Browse repository at this point
Copy the full SHA eb9f391View commit details -
[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@0013a63)) * add count(table, where) ([6286c46](node-modules@6286c46)) * add get(), list(), insert(), update() ([9cae1cb](node-modules@9cae1cb)) * add options.needFields, default is true ([18e0dea](node-modules@18e0dea)) * add queryOne api ([#9](node-modules#9)) ([19fc1bb](node-modules@19fc1bb)) * add Transaction ([cfdcf26](node-modules@cfdcf26)) * add unlock/lock tables ([#97](https://github.com/node-modules/myrds/issues/97)) ([4dc3452](node-modules@4dc3452)) * add unlock/lock tables ([#97](https://github.com/node-modules/myrds/issues/97)) ([0a61be6](node-modules@0a61be6)) * dynamic retrieval of database connection configuration ([#110](https://github.com/node-modules/myrds/issues/110)) ([f437efb](node-modules@f437efb)) * export connection and query diagnostics_channel ([#111](https://github.com/node-modules/myrds/issues/111)) ([64aa75d](node-modules@64aa75d)) * export sqlstring method ([#79](https://github.com/node-modules/myrds/issues/79)) ([2e99ab8](node-modules@2e99ab8)) * impl with typescript ([#103](https://github.com/node-modules/myrds/issues/103)) ([1cf7814](node-modules@1cf7814)) * promiseify ([#20](https://github.com/node-modules/myrds/issues/20)) ([e4aed30](node-modules@e4aed30)) * stats 增加使用中的连接数 ([#115](https://github.com/node-modules/myrds/issues/115)) ([2b152a1](node-modules@2b152a1)) * support custom query lifecricle ([#104](https://github.com/node-modules/myrds/issues/104)) ([5941c69](node-modules@5941c69)) * support doomed transaction scope on test cases ([#58](https://github.com/node-modules/myrds/issues/58)) ([b227bc1](node-modules@b227bc1)) * support end() ([b3eab93](node-modules@b3eab93)) * support insert multi rows ([abb4804](node-modules@abb4804)) * support mysql2 ([#1](node-modules#1)) ([eb9f391](node-modules@eb9f391)) * support query(sql, object) ([#12](https://github.com/node-modules/myrds/issues/12)) ([a55e82f](node-modules@a55e82f)) * support transaction on one request ctx ([#7](node-modules#7)) ([3bd4e44](node-modules@3bd4e44)) * update multiple rows ([#55](https://github.com/node-modules/myrds/issues/55)) ([859d818](node-modules@859d818)) * use AsyncLocalStorage to refactor transaction, to make it more safe ([#108](https://github.com/node-modules/myrds/issues/108)) ([ae327fa](node-modules@ae327fa)) * where condition support NULL value ([#60](https://github.com/node-modules/myrds/issues/60)) ([0d4d4ab](node-modules@0d4d4ab)) * wrap generator function to promise ([#19](https://github.com/node-modules/myrds/issues/19)) ([fe1b4a3](node-modules@fe1b4a3)) ### Bug Fixes * `where` with empty object ([#15](https://github.com/node-modules/myrds/issues/15)) ([db0b90e](node-modules@db0b90e)) * add default value now() of `gmt_modified` and `gmt_create` ([#56](https://github.com/node-modules/myrds/issues/56)) ([db6d596](node-modules@db6d596)) * don't export protected methods ([#106](https://github.com/node-modules/myrds/issues/106)) ([b2757df](node-modules@b2757df)) * don't redefined sqlstring.escape ([#39](https://github.com/node-modules/myrds/issues/39)) ([5ca4489](node-modules@5ca4489)) * export pool getter from rds client ([#102](https://github.com/node-modules/myrds/issues/102)) ([4048807](node-modules@4048807)) * handle concurrent transaction ([#85](https://github.com/node-modules/myrds/issues/85)) ([d983478](node-modules@d983478)) * move sql to error stack ([#8](node-modules#8)) ([54349cd](node-modules@54349cd)) * mysql type not found ([#109](https://github.com/node-modules/myrds/issues/109)) ([6a9bc45](node-modules@6a9bc45)) * query parameters are not allowed to be included in where ([#67](https://github.com/node-modules/myrds/issues/67)) ([52147de](node-modules@52147de)) * should export conn property ([#101](https://github.com/node-modules/myrds/issues/101)) ([37afa42](node-modules@37afa42)) * support multi lifecricle hooks ([#105](https://github.com/node-modules/myrds/issues/105)) ([53b0a70](node-modules@53b0a70)) * use master branch ([758877d](node-modules@758877d))
Configuration menu - View commit details
-
Copy full SHA for 0f8229f - Browse repository at this point
Copy the full SHA 0f8229fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73941d1 - Browse repository at this point
Copy the full SHA 73941d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e90e9e - Browse repository at this point
Copy the full SHA 0e90e9eView commit details
Commits on Mar 26, 2024
-
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved module exports for better usability and access to types. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 66882d6 - Browse repository at this point
Copy the full SHA 66882d6View commit details -
[skip ci] ## [1.0.1](node-modules/rds@v1.0.0...v1.0.1) (2024-03-26) ### Bug Fixes * exports types ([#3](node-modules#3)) ([66882d6](node-modules@66882d6))
Configuration menu - View commit details
-
Copy full SHA for cd5a759 - Browse repository at this point
Copy the full SHA cd5a759View commit details
Commits on Apr 18, 2024
-
feat: auto use transaction in db.query (#5)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced database query flexibility by allowing the use of transactions or specific connections. - **Tests** - Implemented new tests to verify database queries within transactions and with specified connections. - **Chores** - Updated `.gitignore` to exclude IDE-specific settings files. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for ba7cd37 - Browse repository at this point
Copy the full SHA ba7cd37View commit details -
[skip ci] ## [1.1.0](node-modules/rds@v1.0.1...v1.1.0) (2024-04-18) ### Features * auto use transaction in db.query ([#5](node-modules#5)) ([ba7cd37](node-modules@ba7cd37))
Configuration menu - View commit details
-
Copy full SHA for 194062e - Browse repository at this point
Copy the full SHA 194062eView commit details
Commits on Aug 12, 2024
-
feat: impl PoolWaitTimeoutError (#7)
Throw error when get connection wait time great than poolWaitTimeout. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced connection management in the RDSClient with configurable timeout options. - Introduced a custom error handling mechanism for connection timeout scenarios. - New property added to RDSClientOptions for specifying pool wait timeout. - Unique identifier for RDSTransaction instances to improve tracking. - **Bug Fixes** - Improved error handling for connection timeouts, providing clearer feedback to users. - **Tests** - Added a suite of tests to validate connection pooling behavior under timeout conditions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for f42012d - Browse repository at this point
Copy the full SHA f42012dView commit details -
[skip ci] ## [1.2.0](node-modules/rds@v1.1.0...v1.2.0) (2024-08-12) ### Features * impl PoolWaitTimeoutError ([#7](node-modules#7)) ([f42012d](node-modules@f42012d))
Configuration menu - View commit details
-
Copy full SHA for b359064 - Browse repository at this point
Copy the full SHA b359064View commit details
Commits on Sep 6, 2024
-
fix: fix mysql2 invalid configuration option poolWaitTimeout (#8)
Unpicked `options` will become `mysqlOptions` and pass to mysql2, mean while mysql2 will console.error a message, causing egg fail to start.   <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced configurability of the RDSClient by adding a `poolWaitTimeout` option for improved connection management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 7293c2e - Browse repository at this point
Copy the full SHA 7293c2eView commit details -
[skip ci] ## [1.2.1](node-modules/rds@v1.2.0...v1.2.1) (2024-09-06) ### Bug Fixes * fix mysql2 invalid configuration option poolWaitTimeout ([#8](node-modules#8)) ([7293c2e](node-modules@7293c2e))
Configuration menu - View commit details
-
Copy full SHA for a40233b - Browse repository at this point
Copy the full SHA a40233bView commit details
Commits on Mar 9, 2025
-
fix: add missing sqlstring deps (#10)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Introduced a new “Local Development” section with clear instructions for starting a MySQL service, running tests, and stopping the service. - Updated the contributors display to use a dynamic image. - **New Features** - Added a streamlined Docker Compose setup for a MySQL service using the latest version. - **Chores** - Enhanced automation workflows to support additional Node.js and MySQL versions. - Adjusted dependency management and configuration handling to improve overall reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 7339921 - Browse repository at this point
Copy the full SHA 7339921View commit details -
[skip ci] ## [1.2.2](node-modules/rds@v1.2.1...v1.2.2) (2025-03-09) ### Bug Fixes * add missing sqlstring deps ([#10](node-modules#10)) ([7339921](node-modules@7339921))
Configuration menu - View commit details
-
Copy full SHA for db72b8e - Browse repository at this point
Copy the full SHA db72b8eView commit details -
feat: add custom logging (#122) (#11)
pick from #122 closes node-modules#9 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced configurable logging capabilities for database operations. Users can now enable logging to capture SQL queries along with execution details and error information. - **Tests** - Expanded test coverage validates the new logging functionality, ensuring queries are accurately captured and formatted during execution. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Dai Wenzhuo <rockdai321@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4b97cb0 - Browse repository at this point
Copy the full SHA 4b97cb0View commit details -
[skip ci] ## [1.3.0](node-modules/rds@v1.2.2...v1.3.0) (2025-03-09) ### Features * add custom logging ([#122](https://github.com/node-modules/rds/issues/122)) ([#11](node-modules#11)) ([4b97cb0](node-modules@4b97cb0))
Configuration menu - View commit details
-
Copy full SHA for eaf77dc - Browse repository at this point
Copy the full SHA eaf77dcView commit details
There are no files selected for viewing
This file was deleted.