From c399b8b135c3503f93c4bc3b1bca90d3ad57fad9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 22 Mar 2025 16:13:54 +0000 Subject: [PATCH] Update module github.com/go-sql-driver/mysql to v1.9.1 (forgejo) (#7293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | require | minor | `v1.8.1` -> `v1.9.1` | --- ### Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql) ### [`v1.9.1`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v191-2025-03-21) [Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.9.0...v1.9.1) ##### Major Changes - Add Charset() option. ([#​1679](https://github.com/go-sql-driver/mysql/issues/1679)) ##### Bugfixes - go.mod: fix go version format ([#​1682](https://github.com/go-sql-driver/mysql/issues/1682)) - Fix FormatDSN missing ConnectionAttributes ([#​1619](https://github.com/go-sql-driver/mysql/issues/1619)) ### [`v1.9.0`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v190-2025-02-18) [Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.8.1...v1.9.0) ##### Major Changes - Implement zlib compression. ([#​1487](https://github.com/go-sql-driver/mysql/issues/1487)) - Supported Go version is updated to Go 1.21+. ([#​1639](https://github.com/go-sql-driver/mysql/issues/1639)) - Add support for VECTOR type introduced in MySQL 9.0. ([#​1609](https://github.com/go-sql-driver/mysql/issues/1609)) - Config object can have custom dial function. ([#​1527](https://github.com/go-sql-driver/mysql/issues/1527)) ##### Bugfixes - Fix auth errors when username/password are too long. ([#​1625](https://github.com/go-sql-driver/mysql/issues/1625)) - Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. ([#​1640](https://github.com/go-sql-driver/mysql/issues/1640)) - Fix auth switch request handling. ([#​1666](https://github.com/go-sql-driver/mysql/issues/1666)) ##### Other changes - Add "filename:line" prefix to log in go-mysql. Custom loggers now show it. ([#​1589](https://github.com/go-sql-driver/mysql/issues/1589)) - Improve error handling. It reduces the "busy buffer" errors. ([#​1595](https://github.com/go-sql-driver/mysql/issues/1595), [#​1601](https://github.com/go-sql-driver/mysql/issues/1601), [#​1641](https://github.com/go-sql-driver/mysql/issues/1641)) - Use `strconv.Atoi` to parse max_allowed_packet. ([#​1661](https://github.com/go-sql-driver/mysql/issues/1661)) - `rejectReadOnly` option now handles ER_READ_ONLY_MODE (1290) error too. ([#​1660](https://github.com/go-sql-driver/mysql/issues/1660))
--- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7293 Reviewed-by: Earl Warren Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 18381a6e1c..278ee05733 100644 --- a/go.mod +++ b/go.mod @@ -47,7 +47,7 @@ require ( github.com/go-git/go-git/v5 v5.13.2 github.com/go-ldap/ldap/v3 v3.4.6 github.com/go-openapi/spec v0.20.14 - github.com/go-sql-driver/mysql v1.8.1 + github.com/go-sql-driver/mysql v1.9.1 github.com/go-testfixtures/testfixtures/v3 v3.14.0 github.com/go-webauthn/webauthn v0.12.2 github.com/gobwas/glob v0.2.3 diff --git a/go.sum b/go.sum index b6d508faba..0997cdb85d 100644 --- a/go.sum +++ b/go.sum @@ -960,8 +960,8 @@ github.com/go-openapi/swag v0.22.7 h1:JWrc1uc/P9cSomxfnsFSVWoE1FW6bNbrVPmpQYpCcR github.com/go-openapi/swag v0.22.7/go.mod h1:Gl91UqO+btAM0plGGxHqJcQZ1ZTy6jbmridBTsDy8A0= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y= -github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= +github.com/go-sql-driver/mysql v1.9.1 h1:FrjNGn/BsJQjVRuSa8CBrM5BWA9BWoXXat3KrtSb/iI= +github.com/go-sql-driver/mysql v1.9.1/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U= github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=