diff --git a/Changelog.md b/Changelog.md index 42b7a71642..72acfe628a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,12 @@ # Changelog +## [3.4.3](https://github.com/sidorares/node-mysql2/compare/v3.4.2...v3.4.3) (2023-06-30) + + +### Bug Fixes + +* remove acquireTimeout invalid option ([#2095](https://github.com/sidorares/node-mysql2/issues/2095)) ([eb311db](https://github.com/sidorares/node-mysql2/commit/eb311dbb988a4d3adada9774d43a79806a453745)) + ## [3.4.2](https://github.com/sidorares/node-mysql2/compare/v3.4.1...v3.4.2) (2023-06-26) diff --git a/package-lock.json b/package-lock.json index 3e8ad07d88..b2cfaeffbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mysql2", - "version": "3.4.2", + "version": "3.4.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mysql2", - "version": "3.4.2", + "version": "3.4.3", "license": "MIT", "dependencies": { "denque": "^2.1.0", diff --git a/package.json b/package.json index 71db5b751d..e90a7b566e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mysql2", - "version": "3.4.2", + "version": "3.4.3", "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", "main": "index.js", "directories": { diff --git a/typings/mysql/lib/Pool.d.ts b/typings/mysql/lib/Pool.d.ts index d740105ff2..ef7cc30632 100644 --- a/typings/mysql/lib/Pool.d.ts +++ b/typings/mysql/lib/Pool.d.ts @@ -10,12 +10,6 @@ import { QueryableBase } from './protocol/sequences/QueryableBase.js'; import { ExecutableBase } from './protocol/sequences/ExecutableBase.js'; export interface PoolOptions extends ConnectionOptions { - /** - * The milliseconds before a timeout occurs during the connection acquisition. This is slightly different from connectTimeout, - * because acquiring a pool connection does not always involve making a connection. (Default: 10 seconds) - */ - acquireTimeout?: number; - /** * Determines the pool's action when no connections are available and the limit has been reached. If true, the pool will queue * the connection request and call it when one becomes available. If false, the pool will immediately call back with an error.