github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/database/mysql/CHANGELOG.md (about)

     1  ## Version 1.2 (2014-06-03)
     2  
     3  Changes:
     4  
     5   - We switched back to a "rolling release". `go get` installs the current master branch again
     6   - Version v1 of the driver will not be maintained anymore. Go 1.0 is no longer supported by this driver
     7   - Exported errors to allow easy checking from application code
     8   - Enabled TCP Keepalives on TCP connections
     9   - Optimized INFILE handling (better buffer size calculation, lazy init, ...)
    10   - The DSN parser also checks for a missing separating slash
    11   - Faster binary date / datetime to string formatting
    12   - Also exported the MySQLWarning type
    13   - mysqlConn.Close returns the first error encountered instead of ignoring all errors
    14   - writePacket() automatically writes the packet size to the header
    15   - readPacket() uses an iterative approach instead of the recursive approach to merge splitted packets
    16  
    17  New Features:
    18  
    19   - `RegisterDial` allows the usage of a custom dial function to establish the network connection
    20   - Setting the connection collation is possible with the `collation` DSN parameter. This parameter should be preferred over the `charset` parameter
    21   - Logging of critical errors is configurable with `SetLogger`
    22   - Google CloudSQL support
    23  
    24  Bugfixes:
    25  
    26   - Allow more than 32 parameters in prepared statements
    27   - Various old_password fixes
    28   - Fixed TestConcurrent test to pass Go's race detection
    29   - Fixed appendLengthEncodedInteger for large numbers
    30   - Renamed readLengthEnodedString to readLengthEncodedString and skipLengthEnodedString to skipLengthEncodedString (fixed typo)
    31  
    32  
    33  ## Version 1.1 (2013-11-02)
    34  
    35  Changes:
    36  
    37    - Go-MySQL-Driver now requires Go 1.1
    38    - Connections now use the collation `utf8_general_ci` by default. Adding `&charset=UTF8` to the DSN should not be necessary anymore
    39    - Made closing rows and connections error tolerant. This allows for example deferring rows.Close() without checking for errors
    40    - `[]byte(nil)` is now treated as a NULL value. Before, it was treated like an empty string / `[]byte("")`
    41    - DSN parameter values must now be url.QueryEscape'ed. This allows text values to contain special characters, such as '&'.
    42    - Use the IO buffer also for writing. This results in zero allocations (by the driver) for most queries
    43    - Optimized the buffer for reading
    44    - stmt.Query now caches column metadata
    45    - New Logo
    46    - Changed the copyright header to include all contributors
    47    - Improved the LOAD INFILE documentation
    48    - The driver struct is now exported to make the driver directly accessible
    49    - Refactored the driver tests
    50    - Added more benchmarks and moved all to a separate file
    51    - Other small refactoring
    52  
    53  New Features:
    54  
    55    - Added *old_passwords* support: Required in some cases, but must be enabled by adding `allowOldPasswords=true` to the DSN since it is insecure
    56    - Added a `clientFoundRows` parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs
    57    - Added TLS/SSL support: Use a TLS/SSL encrypted connection to the server. Custom TLS configs can be registered and used
    58  
    59  Bugfixes:
    60  
    61    - Fixed MySQL 4.1 support: MySQL 4.1 sends packets with lengths which differ from the specification
    62    - Convert to DB timezone when inserting `time.Time`
    63    - Splitted packets (more than 16MB) are now merged correctly
    64    - Fixed false positive `io.EOF` errors when the data was fully read
    65    - Avoid panics on reuse of closed connections
    66    - Fixed empty string producing false nil values
    67    - Fixed sign byte for positive TIME fields
    68  
    69  
    70  ## Version 1.0 (2013-05-14)
    71  
    72  Initial Release