From 1bf52c6fd0051264fad3477e720d64ce16b7725f Mon Sep 17 00:00:00 2001 From: Julien Schmidt Date: Thu, 26 Sep 2013 00:23:52 +0200 Subject: [PATCH 1/3] Add CHANGELOG Fixes issue #118 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..903de5af2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +## 1.1 (pending) + +Changes: + + - Go-MySQL-Driver now requires Go 1.1 + - Connections now use the collation 'utf8_general_ci' by default. Adding '&charset=UTF8' should not be necessary anymore + - Made closing rows and connections error tolerant. This allows for example deferring rows.Close() without checking for errors + - New Logo + - Changed the copyright header to include all contributors + - Optimized the read buffer + - Improved the LOAD INFILE documentation + - The driver struct is now exported to make the driver directly accessible + - Refactored the driver tests + - Added more benchmarks and moved all to a separate file + - Other small refactoring + +New Features: + + - Added 'old_passwords' support: Required in some cases, but must be enabled via a DSN parameter since it is insecure + - Added a 'clientFoundRows' parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs + - Added TLS/SSL support: Use a TLS/SSL encrypted connection to the server. Custom TLS configs can be registered and used + +Bugfixes: + + - Fixed MySQL 4.1 support: MySQL 4.1 sends packets with lengths which differ from the specification + - Convert to DB timezone when inserting time.Time + - Splitted packets (more than 16MB) are now merged correctly + + +## 1.0 (2013-05-14) + +Initial Release From 5cb986a3d55f83dbad81aeef2b4605eac74c978c Mon Sep 17 00:00:00 2001 From: Julien Schmidt Date: Thu, 26 Sep 2013 16:41:46 +0200 Subject: [PATCH 2/3] Add a note how old_passwords can be enabled +other small changes --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 903de5af2..9f2f5b2d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ Changes: - Go-MySQL-Driver now requires Go 1.1 - - Connections now use the collation 'utf8_general_ci' by default. Adding '&charset=UTF8' should not be necessary anymore + - Connections now use the collation `utf8_general_ci` by default. Adding `&charset=UTF8` to the DSN should not be necessary anymore - Made closing rows and connections error tolerant. This allows for example deferring rows.Close() without checking for errors - New Logo - Changed the copyright header to include all contributors @@ -16,8 +16,8 @@ Changes: New Features: - - Added 'old_passwords' support: Required in some cases, but must be enabled via a DSN parameter since it is insecure - - Added a 'clientFoundRows' parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs + - Added `old_passwords` support: Required in some cases, but must be enabled by adding `allowOldPasswords=true` to the DSN since it is insecure + - Added a `clientFoundRows` parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs - Added TLS/SSL support: Use a TLS/SSL encrypted connection to the server. Custom TLS configs can be registered and used Bugfixes: From 3fb6602318fd0064a637a764048359211dc73f2e Mon Sep 17 00:00:00 2001 From: Julien Schmidt Date: Thu, 26 Sep 2013 18:04:52 +0200 Subject: [PATCH 3/3] Change old_passwords markup --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f2f5b2d5..40b9938b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ Changes: New Features: - - Added `old_passwords` support: Required in some cases, but must be enabled by adding `allowOldPasswords=true` to the DSN since it is insecure + - Added *old_passwords* support: Required in some cases, but must be enabled by adding `allowOldPasswords=true` to the DSN since it is insecure - Added a `clientFoundRows` parameter: Return the number of matching rows instead of the number of rows changed on UPDATEs - Added TLS/SSL support: Use a TLS/SSL encrypted connection to the server. Custom TLS configs can be registered and used