Changes:
strict
mode (#676)max_allowed_packet
by default (#680)ConvertValue()
to match the database/sql/driver implementation (#760)0000-00-00T00:00:00
as the time.Time zero value (#783)New Features:
rejectReadOnly
DSN option (#604)context.Context
support (#608, #612, #627, #761)NewConfig
function which initializes a config with default values (#679)ColumnType
interfaces (#667, #724)ConvertValue
(#623)NamedValueChecker
, improving support for uint64 with high bit set (#690, #709, #710)caching_sha2_password
authentication plugin support (#794, #800, #801, #802)driver.SessionResetter
(#779)sha256_password
authentication plugin support (#808)Bugfixes:
tls=true
(#564, #718)Changes:
New Features:
interpolateParams=true
(#309, #318, #490)Bugfixes:
Changes:
go get
installs the current master branch againNew Features:
RegisterDial
allows the usage of a custom dial function to establish the network connectioncollation
DSN parameter. This parameter should be preferred over the charset
parameterSetLogger
Bugfixes:
Changes:
utf8_general_ci
by default. Adding &charset=UTF8
to the DSN should not be necessary anymore[]byte(nil)
is now treated as a NULL value. Before, it was treated like an empty string / []byte("")
New Features:
allowOldPasswords=true
to the DSN since it is insecureclientFoundRows
parameter: Return the number of matching rows instead of the number of rows changed on UPDATEsBugfixes:
time.Time
io.EOF
errors when the data was fully readInitial Release