From d080b007b996832d3f022cb3ad7d80430d0cf150d80350f1ffaa59f5037f2e2f Mon Sep 17 00:00:00 2001 From: David Anes Date: Tue, 2 Aug 2022 14:19:13 +0000 Subject: [PATCH] Accepting request 992003 from home:david.anes:branches:Java:packages - Update to 8.0.30: Functionality Added or Changed * X DevAPI: For document-modifying methods that are chained after modify() and take a document path expression as one of its arguments (that is, set(), unset(), arrayInsert(), arrayAppend()), Connector/J now throws an error when the document path is empty or is a null string. Bugs Fixed * Historically, MySQL Server has used utf8 as an alias for utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized (though deprecated) character set on its own for MySQL Server and to make things consistent, in release 8.0.30, any collations prefixed with utf8_ are now prefixed with utf8mb3_ instead. To go with that change, Connector/J has updated its character set and collation mapping accordingly in this release, and users are encouraged to update to Connector/J 8.0.30 to avoid potential issues when working with MySQL Server 8.0.30 or later. * A few links in the CONTRIBUTING.md file in the distribution packages were broken. They have now been fixed or removed. * The description for the connection property rewriteBatchedStatements has been corrected, removing the limitation that server-sided prepared statements could not take advantage of the rewrite option. * A spelling error has been fixed in the source file for the PropertyDefinitions class. Thanks to Weijie Wu for contributing the fix. * DatabaseMetaData.getTypeInfo always returned false for AUTO_INCREMENT for all data types. With this fix, Connector/J returns the correct value for each data type. Also, the OBS-URL: https://build.opensuse.org/request/show/992003 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=69 --- mysql-connector-java-8.0.29.tar.gz | 3 --- mysql-connector-java-8.0.30.tar.gz | 3 +++ mysql-connector-java.changes | 41 ++++++++++++++++++++++++++++++ mysql-connector-java.spec | 2 +- 4 files changed, 45 insertions(+), 4 deletions(-) delete mode 100644 mysql-connector-java-8.0.29.tar.gz create mode 100644 mysql-connector-java-8.0.30.tar.gz diff --git a/mysql-connector-java-8.0.29.tar.gz b/mysql-connector-java-8.0.29.tar.gz deleted file mode 100644 index c5b40bd..0000000 --- a/mysql-connector-java-8.0.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:438646ae72afa6ee8f873185e2cfab7f5abee619ccb5b480ee75f64bd8057a66 -size 1897372 diff --git a/mysql-connector-java-8.0.30.tar.gz b/mysql-connector-java-8.0.30.tar.gz new file mode 100644 index 0000000..185bd0b --- /dev/null +++ b/mysql-connector-java-8.0.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8bedd9f7fa153407ff6bdf73ab9915ffa0c54ffa72cb598d24a1736cb826872 +size 1893121 diff --git a/mysql-connector-java.changes b/mysql-connector-java.changes index bbd8f6d..12af683 100644 --- a/mysql-connector-java.changes +++ b/mysql-connector-java.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Mon Aug 1 10:44:23 UTC 2022 - David Anes + +- Update to 8.0.30: + Functionality Added or Changed + * X DevAPI: For document-modifying methods that are chained + after modify() and take a document path expression as one of + its arguments (that is, set(), unset(), arrayInsert(), + arrayAppend()), Connector/J now throws an error when the + document path is empty or is a null string. + Bugs Fixed + * Historically, MySQL Server has used utf8 as an alias for + utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized + (though deprecated) character set on its own for MySQL Server + and to make things consistent, in release 8.0.30, any + collations prefixed with utf8_ are now prefixed with utf8mb3_ + instead. To go with that change, Connector/J has updated its + character set and collation mapping accordingly in this + release, and users are encouraged to update to Connector/J + 8.0.30 to avoid potential issues when working with MySQL + Server 8.0.30 or later. + * A few links in the CONTRIBUTING.md file in the distribution + packages were broken. They have now been fixed or removed. + * The description for the connection property + rewriteBatchedStatements has been corrected, removing the + limitation that server-sided prepared statements could not + take advantage of the rewrite option. + * A spelling error has been fixed in the source file for the + PropertyDefinitions class. Thanks to Weijie Wu for + contributing the fix. + * DatabaseMetaData.getTypeInfo always returned false for + AUTO_INCREMENT for all data types. With this fix, Connector/J + returns the correct value for each data type. Also, the + missing types DOUBLE UNSIGNED and DOUBLE PRECISION UNSIGNED + have been added to the ResultSet. + * Contrary to the the MySQL requirement for comments, + Connector/J did not require a whitespace (or a control + character such as a newline) after "--" to mark the beginning + of a comment within a SQL statement. This fix aligns + Connector/J with the MySQL requirement. + ------------------------------------------------------------------- Thu Apr 28 09:47:16 UTC 2022 - David Anes diff --git a/mysql-connector-java.spec b/mysql-connector-java.spec index 22e88cf..dfbc951 100644 --- a/mysql-connector-java.spec +++ b/mysql-connector-java.spec @@ -17,7 +17,7 @@ Name: mysql-connector-java -Version: 8.0.29 +Version: 8.0.30 Release: 0 Summary: Official JDBC Driver for MySQL License: GPL-2.0-or-later