Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mysql-connector-java for 
openSUSE:Factory checked in at 2023-01-28 20:00:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old)
 and      /work/SRC/openSUSE:Factory/.mysql-connector-java.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mysql-connector-java"

Sat Jan 28 20:00:00 2023 rev:40 rq:1061477 version:8.0.32

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes    
    2022-08-03 21:16:43.171445458 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-connector-java.new.32243/mysql-connector-java.changes
     2023-01-28 20:00:46.335596162 +0100
@@ -1,0 +2,89 @@
+Thu Jan 26 17:12:29 UTC 2023 - David Anes <david.a...@suse.com>
+
+- Update to 8.0.32:
+  - MysqlDataSource fails to URL encode database name when constructing JDBC 
URL.
+  - serverSideStatementCache ignores resultSetType.
+  - UpdatableResultSet does not properly handle unsigned primary key.
+  - Connector/J 8 query with explain can not return ResultRow.
+  - Add support to row alias on INSERT... ON DUPLICATE KEY UPDATE on batch 
mode.
+  - connectionCollation ignored if characterEncoding is set.
+  - Connector/J rejects UNION with CTE.
+  - Malformed packet generation for `COM_STMT_EXECUTE`.
+  - Connector/J client hangs after prepare & execute process with old version 
server.
+  - Contribution: Fix name of relocation POM file.
+  - Contribution: [PATCH] Remove superfluous use of boxing.
+  - Contribution: Recognize "ON DUPLICATE KEY UPDATE" in "INSERT SET" 
Statement.
+  - RPM and DEB builds broken after introducing javadoc for maven bundles.
+  - Sonatype compliant POM and maven bundles.
+  - Upgrade 3rd party libraries and tools.
+  - Upgrade Protocol Buffers dependency to protobuf-java-3.21.9.
+
+-------------------------------------------------------------------
+Thu Dec  8 06:21:44 UTC 2022 - David Anes <david.a...@suse.com>
+
+- Rebased javac-check.patch to new build.xml.
+
+- Changed ant target from "dist" to "build", as it's been renamed.
+
+- As Oracle renamed the package to "mysql-connector-j", we are
+  "providing" both names for now, but the package has to be renamed
+  to accommodate the change because the old name will be deprecated
+  at some point in the future without further notice.
+
+- Update to 8.0.31:
+  Functionality Added or Changed
+    * Important Change: To comply with proper naming guidelines, the
+      Maven groupId and artifactId for Connector/J have been changed
+      to the following starting with this release:
+        groupId: com.mysql
+        artifactId: mysql-connector-j
+
+    * The old groupId and artifactId can still be used for linking 
+      the Connector/J library, but they will point to a Maven 
+      relocation POM, redirecting users to the new coordinates. 
+      Please switch to the new coordinates as soon as possible, as 
+      the old coordinates could be discontinued anytime without 
+      notice. See Installing Connector/J Using Maven.
+
+    * Also, to go with these changes, the .jar library for 
+      Connector/J has been renamed to mysql-connector-j-x.y.z for 
+      all channels of distribution by Oracle, not just the Maven 
+      repository.
+
+    * Before release 8.0.29, Connector/J always interpolated byte
+      arrays as hexadecimal literals when obtaining a prepared 
+      statement's string representation by the toString() method. 
+      Since 8.0.29, all byte array values were displayed as 
+      ** BYTE ARRAY DATA ** when converted to strings. The same is 
+      also true for null values.
+
+    * To allow different ways to display byte array data and null 
+      values, a new connection property, maxByteArrayAsHex, has been
+      introduced: byte arrays shorter than the value of 
+      maxByteArrayAsHex are now shown as hexadecimal literals like
+      before release 8.0.29. Any byte arrays longer than this value
+      are interpolated generically as ** BYTE ARRAY DATA **.
+
+  Bugs Fixed
+    * X DevAPI: When parsing a string into a JSON string, some 
+      escape character sequences were not parsed properly, causing 
+      the Server to throw a com.mysql.cj.exceptions.WrongArgumentException 
+      when receiving the JSON value. This fix ensures that escape 
+      sequences are handled properly.
+
+    * X DevAPI: When using the modify() method on JSON documents, 
+      any backslashes inside a literal to be used for the modification 
+      were lost. This fix corrects the mistakes in the expression 
+      parser that caused the issue.
+
+    * Executing a PreparedStatment after applying setFetchSize(0) on
+      it caused an ArrayIndexOutOfBoundsException.
+
+    * Due to some old limitations, when used with Java applets, 
+      Connector/J found out the default character set on a system by
+      various workarounds like reading the system property 
+      file.encoding, using an OutpuStreamWriter, etc. With this fix,
+      Connector/J now uses Charset.defaultCharset(), the standard
+      method for the purpose.
+
+-------------------------------------------------------------------

Old:
----
  mysql-connector-java-8.0.30.tar.gz

New:
----
  mysql-connector-java-8.0.32.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mysql-connector-java.spec ++++++
--- /var/tmp/diff_new_pack.pet4cj/_old  2023-01-28 20:00:46.759598501 +0100
+++ /var/tmp/diff_new_pack.pet4cj/_new  2023-01-28 20:00:46.763598523 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mysql-connector-java
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,10 @@
 #
 
 
+%define new_name mysql-connector-j
+
 Name:           mysql-connector-java
-Version:        8.0.30
+Version:        8.0.32
 Release:        0
 Summary:        Official JDBC Driver for MySQL
 License:        GPL-2.0-or-later
@@ -47,6 +49,8 @@
 Requires:       slf4j
 Provides:       mm.mysql = %{version}
 Obsoletes:      mm.mysql < %{version}
+# we'll be providing the new package name until this one is deprecated
+Provides:       %{new_name}
 # manual is no longer distributed
 Provides:       %{name}-manual = %{version}
 Obsoletes:      %{name}-manual < %{version}
@@ -97,21 +101,26 @@
     -Dcom.mysql.cj.build.jdk=%{java_home} \
     -Dcom.mysql.cj.build.jdk.javac=%{javac} \
     -Dcom.mysql.cj.build.jdk.java=%{java} \
-    dist
+    build
 
 %install
 install -d -m 755 %{buildroot}%{_javadir}
 
-install build/%{name}-%{version}-SNAPSHOT/%{name}-%{version}-SNAPSHOT.jar 
%{buildroot}%{_javadir}/%{name}.jar
+install 
build/%{new_name}-%{version}-SNAPSHOT/%{new_name}-%{version}-SNAPSHOT.jar 
%{buildroot}%{_javadir}/%{new_name}.jar
 
-rm -rf %{buildroot}%{name}-%{version}/docs/release-test-output
+rm -rf %{buildroot}%{new_name}-%{version}/docs/release-test-output
 
-# Install the Maven build information
 install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 build/%{name}-%{version}-SNAPSHOT/pom.xml 
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-sed -i 's/-SNAPSHOT//' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
 
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+# Install the Maven build information as new name
+install -pm 644 build/%{new_name}-%{version}-SNAPSHOT/pom.xml 
%{buildroot}%{_mavenpomdir}/JPP-%{new_name}.pom
+sed -i 's/-SNAPSHOT//' %{buildroot}%{_mavenpomdir}/JPP-%{new_name}.pom
+%add_maven_depmap JPP-%{new_name}.pom %{new_name}.jar
+
+# Provide poms with "old name" mysql-connector-java (now it's 
mysql-connector-j)
+install -pm 644 build/%{new_name}-%{version}-SNAPSHOT/pom.xml 
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+sed -i 's/-SNAPSHOT//' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{new_name}.jar
 
 %files -f .mfiles
 %license LICENSE

++++++ javac-check.patch ++++++
--- /var/tmp/diff_new_pack.pet4cj/_old  2023-01-28 20:00:46.787598656 +0100
+++ /var/tmp/diff_new_pack.pet4cj/_new  2023-01-28 20:00:46.787598656 +0100
@@ -1,17 +1,17 @@
 Description: Disable the JDK check
 Author: Emmanuel Bourg <ebo...@apache.org>
 Forwarded: not-needed
-Index: mysql-connector-java-8.0.25/build.xml
+Index: mysql-connector-j-8.0.31/build.xml
 ===================================================================
---- mysql-connector-java-8.0.25.orig/build.xml
-+++ mysql-connector-java-8.0.25/build.xml
-@@ -401,7 +401,7 @@ See also com.mysql.cj.conf.PropertyDefin
+--- mysql-connector-j-8.0.31.orig/build.xml
++++ mysql-connector-j-8.0.31/build.xml
+@@ -405,7 +405,7 @@ See also com.mysql.cj.conf.PropertyDefin
  
  
-     <!-- Prepares files and settings for compiling driver. -->
--    <target name="init" depends="-extra-libs-check, -compiler-check, 
-init-copy, -init-notices-commercial, -init-notices-gpl, -init-info-files">
-+    <target name="init" depends="-extra-libs-check, -init-copy, 
-init-notices-commercial, -init-notices-gpl, -init-info-files">
-         <!-- The following is needed for source distributions as the 
classpath can't be dynamically altered, and not having this directory present 
causes the
-              build to fail. -->
-         <available property="com.mysql.cj.prebuiltDocsPresent" 
file="${com.mysql.cj.dist.dir.prebuilt.docs}" />
+     <!-- Initialize the build directory and check requirements for compiling 
the driver code. -->
+-    <target name="-init" depends="-extra-libs-check, -compiler-check, 
-copy-files, -copy-notices-commercial, -copy-notices-gpl, -init-info-files">
++    <target name="-init" depends="-extra-libs-check, -copy-files, 
-copy-notices-commercial, -copy-notices-gpl, -init-info-files">
+         <!-- The following is needed as the classpath can't be modified 
dynamically, and not having this library present causes the build to fail. -->
+         <available property="com.mysql.cj.c3p0Present" 
classname="com.mchange.v2.c3p0.QueryConnectionTester" 
classpathref="com.mysql.cj.build.classpath" />
+     </target>
 

++++++ mysql-connector-java-8.0.30.tar.gz -> mysql-connector-java-8.0.32.tar.gz 
++++++
++++ 19897 lines of diff (skipped)

Reply via email to