github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/go-sql-driver/mysql/CHANGELOG.md (about) 1 ## HEAD 2 3 Changes: 4 5 - Go 1.1 is no longer supported 6 - Use decimals field from MySQL to format time types (#249) 7 - Buffer optimizations (#269) 8 - TLS ServerName defaults to the host (#283) 9 10 Bugfixes: 11 12 - Enable microsecond resolution on TIME, DATETIME and TIMESTAMP (#249) 13 - Fixed handling of queries without columns and rows (#255) 14 - Fixed a panic when SetKeepAlive() failed (#298) 15 - Support receiving ERR packet while reading rows (#321) 16 - Fixed reading NULL length-encoded integers in MySQL 5.6+ (#349) 17 - Fixed absolute paths support in LOAD LOCAL DATA INFILE (#356) 18 - Actually zero out bytes in handshake response (#378) 19 - Fixed race condition in registering LOAD DATA INFILE handler (#383) 20 - Fixed tests with MySQL 5.7.9+ (#380) 21 - QueryUnescape TLS config names (#397) 22 - Fixed "broken pipe" error by writing to closed socket (#390) 23 24 New Features: 25 - Support for returning table alias on Columns() (#289, #359, #382) 26 - Placeholder interpolation, can be actived with the DSN parameter `interpolateParams=true` (#309, #318) 27 - Support for uint64 parameters with high bit set (#332, #345) 28 - Cleartext authentication plugin support (#327) 29 30 31 32 ## Version 1.2 (2014-06-03) 33 34 Changes: 35 36 - We switched back to a "rolling release". `go get` installs the current master branch again 37 - Version v1 of the driver will not be maintained anymore. Go 1.0 is no longer supported by this driver 38 - Exported errors to allow easy checking from application code 39 - Enabled TCP Keepalives on TCP connections 40 - Optimized INFILE handling (better buffer size calculation, lazy init, ...) 41 - The DSN parser also checks for a missing separating slash 42 - Faster binary date / datetime to string formatting 43 - Also exported the MySQLWarning type 44 - mysqlConn.Close returns the first error encountered instead of ignoring all errors 45 - writePacket() automatically writes the packet size to the header 46 - readPacket() uses an iterative approach instead of the recursive approach to merge splitted packets 47 48 New Features: 49 50 - `RegisterDial` allows the usage of a custom dial function to establish the network connection 51 - Setting the connection collation is possible with the `collation` DSN parameter. This parameter should be preferred over the `charset` parameter 52 - Logging of critical errors is configurable with `SetLogger` 53 - Google CloudSQL support 54 55 Bugfixes: 56 57 - Allow more than 32 parameters in prepared statements 58 - Various old_password fixes 59 - Fixed TestConcurrent test to pass Go's race detection 60 - Fixed appendLengthEncodedInteger for large numbers 61 - Renamed readLengthEnodedString to readLengthEncodedString and skipLengthEnodedString to skipLengthEncodedString (fixed typo) 62 63 64 ## Version 1.1 (2013-11-02) 65 66 Changes: 67 68 - Go-MySQL-Driver now requires Go 1.1 69 - Connections now use the collation `utf8_general_ci` by default. Adding `&charset=UTF8` to the DSN should not be necessary anymore 70 - Made closing rows and connections error tolerant. This allows for example deferring rows.Close() without checking for errors 71 - `[]byte(nil)` is now treated as a NULL value. Before, it was treated like an empty string / `[]byte("")` 72 - DSN parameter values must now be url.QueryEscape'ed. This allows text values to contain special characters, such as '&'. 73 - Use the IO buffer also for writing. This results in zero allocations (by the driver) for most queries 74 - Optimized the buffer for reading 75 - stmt.Query now caches column metadata 76 - New Logo 77 - Changed the copyright header to include all contributors 78 - Improved the LOAD INFILE documentation 79 - The driver struct is now exported to make the driver directly accessible 80 - Refactored the driver tests 81 - Added more benchmarks and moved all to a separate file 82 - Other small refactoring 83 84 New Features: 85 86 - Added *old_passwords* support: Required in some cases, but must be enabled by adding `allowOldPasswords=true` to the DSN since it is insecure 87 - Added a `clientFoundRows` parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs 88 - Added TLS/SSL support: Use a TLS/SSL encrypted connection to the server. Custom TLS configs can be registered and used 89 90 Bugfixes: 91 92 - Fixed MySQL 4.1 support: MySQL 4.1 sends packets with lengths which differ from the specification 93 - Convert to DB timezone when inserting `time.Time` 94 - Splitted packets (more than 16MB) are now merged correctly 95 - Fixed false positive `io.EOF` errors when the data was fully read 96 - Avoid panics on reuse of closed connections 97 - Fixed empty string producing false nil values 98 - Fixed sign byte for positive TIME fields 99 100 101 ## Version 1.0 (2013-05-14) 102 103 Initial Release