All Versions
10
Latest Version
1.6
Avg Release Cycle
320 days
Latest Release
298 days ago

Changelog History

  • v1.6 Changes

    April 01, 2021

    🔄 Changes:

    • Migrate the CI service from travis-ci to GitHub Actions (#1176, #1183, #1190)
    • NullTime is deprecated (#960, #1144)
    • Reduce allocations when building SET command (#1111)
    • Performance improvement for time formatting (#1118)
    • Performance improvement for time parsing (#1098, #1113)

    🆕 New Features:

    • Implement driver.Validator interface (#1106, #1174)
    • Support returning uint64 from Valuer in ConvertValue (#1143)
    • Add json.RawMessage for converter and prepared statement (#1059)
    • Interpolate json.RawMessage as string (#1058)
    • Implements CheckNamedValue (#1090)

    🛠 Bugfixes:

    • Stop rounding times (#1121, #1172)
    • Put zero filler into the SSL handshake packet (#1066)
    • Fix checking cancelled connections back into the connection pool (#1095)
    • Fix remove last 0 byte for mysql_old_password when password is empty (#1133)
  • v1.5 Changes

    January 07, 2020

    🔄 Changes:

    • Dropped support Go 1.9 and lower (#823, #829, #886, #1016, #1017)
    • Improve buffer handling (#890)
    • Document potentially insecure TLS configs (#901)
    • Use a double-buffering scheme to prevent data races (#943)
    • Pass uint64 values without converting them to string (#838, #955)
    • Update collations and make utf8mb4 default (#877, #1054)
    • Make NullTime compatible with sql.NullTime in Go 1.13+ (#995)
    • Removed CloudSQL support (#993, #1007)
    • Add Go Module support (#1003)

    🆕 New Features:

    • Implement support of optional TLS (#900)
    • Check connection liveness (#934, #964, #997, #1048, #1051, #1052)
    • Implement Connector Interface (#941, #958, #1020, #1035)

    🛠 Bugfixes:

    • Mark connections as bad on error during ping (#875)
    • Mark connections as bad on error during dial (#867)
    • Fix connection leak caused by rapid context cancellation (#1024)
    • Mark connections as bad on error during Conn.Prepare (#1030)
  • v1.4.1 Changes

    November 14, 2018

    🛠 Bugfixes:

    • Fix TIME format for binary columns (#818)
    • Fix handling of empty auth plugin names (#835)
    • Fix caching_sha2_password with empty password (#826)
    • Fix canceled context broke mysqlConn (#862)
    • Fix OldAuthSwitchRequest support (#870)
    • Fix Auth Response packet for cleartext password (#887)
  • v1.4.0 Changes

    June 03, 2018

    🚀 Major Release

    • 👍 Multi-Results support
    • 👍 context.Context support
    • 👍 ColumnType support
    • caching_sha2_password (MySQL 8 default) and sha256_password authentication support
    • 👍 Transaction isolation level support
    • 👍 Read-Only transactions support
    • 🛠 Many, many bugfixes

    👀 See CHANGELOG.md for full details

  • v1.3.0 Changes

    December 01, 2016

    🚀 Major Release

    • Microsecond resolution on date and time fields
    • Placeholder interpolation
    • 👌 Support for cleartext and native authentication plugins
    • 📜 Config struct and ParseDSN / FormatDSN funtctions exported
    • Read / Write timeouts
    • 👌 Support for JSON field type
    • 👌 Support for multi-statements and multi-results
    • 🛠 Many, many bugfixes

    👀 See CHANGELOG.md for full details

  • v1.2.0 Changes

    June 03, 2014

    🚀 Major release

    • 🛠 Several important bug fixes
    • 👍 Custom dial function support
    • 👍 Custom logger support
    • 👍 Google CloudSQL support
    • 🆕 New parameter to set the connection collation

    👀 See CHANGELOG.md for full details

  • v1.1.0 Changes

    November 02, 2013

    🚀 Major release

    • 🖨 Lowered Memory Footprint
    • 👌 Improved Stability
    • 🐎 Slightly improved Performance

    🆕 New Features:

    • old_passwords: Old password auth mechanism
    • clientFoundRows: Number of matching rows instead of the number of rows changed
    • TLS/SSL: TLS/SSL encrypted connections

    👀 See CHANGELOG.md for full details

  • v1.0.3 Changes

    November 01, 2013

    🛠 Minor Bugfix release

    • 👉 Make Close idempotent
    • 🛠 Fix sign byte for positive TIME fields
    • No panic on closed connection reuse
    • Avoid false nil values for empty strings
  • v1.0.2 Changes

    October 24, 2013

    🛠 Minor Bugfix release

    • 🛠 Fixed false positive io.EOF errors
  • v1.0 Changes

    May 14, 2013

    🎉 Initial Release