-
-
Notifications
You must be signed in to change notification settings - Fork 670
Comparing changes
Open a pull request
base repository: sidorares/node-mysql2
base: v3.21.0
head repository: sidorares/node-mysql2
compare: v3.21.1
- 11 commits
- 14 files changed
- 4 contributors
Commits on Apr 9, 2026
-
1
Configuration menu - View commit details
-
Copy full SHA for 01c3977 - Browse repository at this point
Copy the full SHA 01c3977View commit details -
fix: use Number.isSafeInteger for supportBigNumbers boundary check (#…
…4225) * fix: use Number.isSafeInteger for supportBigNumbers boundary check (#3597) The previous toString() round-trip check incorrectly returned ±2^53 (MAX_SAFE_INTEGER ± 1) as numbers because that value is exactly representable as a double. Number.isSafeInteger is the correct predicate — it returns false for ±2^53 and the values are now returned as strings. Fixes #3597 * test: add integration test for supportBigNumbers boundary (#3597) Verifies that values at ±(MAX_SAFE_INTEGER+1) are returned as strings when supportBigNumbers is enabled, on both text and binary protocols. * fix: update test expectations for supportBigNumbers boundary fix (#3597) - test-insert-bigint: 9007199254740992 (2^53) is now correctly returned as a string with supportBigNumbers enabled - test-support-big-numbers-boundary: fix prettier formatting
Configuration menu - View commit details
-
Copy full SHA for 295264b - Browse repository at this point
Copy the full SHA 295264bView commit details -
fix: limit client flags to server capabilities (#4227)
* Limit client flags to server capabilities * fix: default serverFlags for backward compatibility in fromPacket When fromPacket is called without serverFlags (e.g. in tests or external consumers), (clientFlags & undefined) evaluates to NaN, making all isSet() checks return 0. Default to 0xFFFFFFFF (all bits set) so omitting serverFlags preserves the original behavior. * test: add unit tests for fromPacket server flags masking Covers the fix for #2261 where clients set CONNECT_ATTRS without including the attributes payload: - All flags match: every field parsed correctly - CONNECT_ATTRS stripped by server: attributes skipped, no buffer overrun - Both sides omit CONNECT_ATTRS: clean parse without attribute data - Raw clientFlags preserved in returned args despite server masking - No serverFlags argument: backward-compatible full parse * test: add integration test for server handshake without CONNECT_ATTRS Uses a custom Command to create a fake MySQL server that advertises capabilities without CONNECT_ATTRS. Verifies that: - fromPacket masks out CONNECT_ATTRS when parsing the client response - connectAttributes is undefined in the parsed result - raw clientFlags still contain the original CONNECT_ATTRS bit - the handshake completes and a query succeeds afterward * docs: update query attributes and server API documentation - Rephrase "Disabling Query Attributes" to clarify automatic negotiation - Document capabilityFlags masking behavior in server API docs - Fix prettier formatting across all changed files --------- Co-authored-by: Kris Braun <kris.braun@letscollide.io>
Configuration menu - View commit details
-
Copy full SHA for e1930b8 - Browse repository at this point
Copy the full SHA e1930b8View commit details -
build(deps): bump lucide-react from 1.7.0 to 1.8.0 in /website (#4234)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.8.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.8.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ec230ae - Browse repository at this point
Copy the full SHA ec230aeView commit details -
build(deps-dev): bump @docusaurus/types from 3.9.2 to 3.10.0 in /webs…
…ite (#4233) Bumps [@docusaurus/types](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-types) from 3.9.2 to 3.10.0. - [Release notes](https://github.com/facebook/docusaurus/releases) - [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/docusaurus/commits/v3.10.0/packages/docusaurus-types) --- updated-dependencies: - dependency-name: "@docusaurus/types" dependency-version: 3.10.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c0d5b8e - Browse repository at this point
Copy the full SHA c0d5b8eView commit details -
build(deps): bump sass from 1.98.0 to 1.99.0 in /website (#4232)
Bumps [sass](https://github.com/sass/dart-sass) from 1.98.0 to 1.99.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.98.0...1.99.0) --- updated-dependencies: - dependency-name: sass dependency-version: 1.99.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 754d472 - Browse repository at this point
Copy the full SHA 754d472View commit details -
build(deps-dev): bump @typescript-eslint/eslint-plugin (#4231)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.57.0 to 8.58.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.58.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c196471 - Browse repository at this point
Copy the full SHA c196471View commit details -
build(deps-dev): bump rollup from 4.60.0 to 4.60.1 (#4230)
Bumps [rollup](https://github.com/rollup/rollup) from 4.60.0 to 4.60.1. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.60.0...v4.60.1) --- updated-dependencies: - dependency-name: rollup dependency-version: 4.60.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for 1f9198c - Browse repository at this point
Copy the full SHA 1f9198cView commit details -
build(deps-dev): bump @pokujs/multi-suite from 1.0.0 to 1.0.1 (#4228)
Bumps [@pokujs/multi-suite](https://github.com/pokujs/multi-suite) from 1.0.0 to 1.0.1. - [Release notes](https://github.com/pokujs/multi-suite/releases) - [Changelog](https://github.com/pokujs/multi-suite/blob/main/CHANGELOG.md) - [Commits](pokujs/multi-suite@v1.0.0...v1.0.1) --- updated-dependencies: - dependency-name: "@pokujs/multi-suite" dependency-version: 1.0.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 207a465 - Browse repository at this point
Copy the full SHA 207a465View commit details -
build(deps-dev): bump @types/node from 25.5.0 to 25.5.2 (#4229)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.5.0 to 25.5.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.5.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0fc476b - Browse repository at this point
Copy the full SHA 0fc476bView commit details
Commits on Apr 10, 2026
-
chore(master): release 3.21.1 (#4226)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 79a4fda - Browse repository at this point
Copy the full SHA 79a4fdaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.21.0...v3.21.1