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 2024-05-28 17:29:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old)
and /work/SRC/openSUSE:Factory/.mysql-connector-java.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-connector-java"
Tue May 28 17:29:14 2024 rev:50 rq:1177174 version:8.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes
2024-02-22 20:58:48.491804594 +0100
+++
/work/SRC/openSUSE:Factory/.mysql-connector-java.new.24587/mysql-connector-java.changes
2024-05-28 17:30:09.958964701 +0200
@@ -1,0 +2,63 @@
+Mon May 27 10:09:41 UTC 2024 - Gus Kenion <[email protected]>
+- Patch mysql-connector-java-remove-opentelemetry-support.patch
+ removes OpenTelemetry support, which was added upstream
+- Refresh the following patches for updated codebase:
+ * javac-check.patch
+ * reproducible-build.patch
+ * mysql-connector-java-remove-oci-support.patch
+- Update to 8.4.0
+ * WL#16174, Support for VECTOR data type.
+ * Fix for Bug#36380711, Tests failing due to removal of
+ deprecated features.
+ * Fix for Bug#113600 (Bug#36171575), Contribution: Fix join
+ condition for retrieval of imported primary keys. Thanks to
+ Henning Pöttker for his contribution.
+ * WL#16196, GPL License Exception Update.
+ * Fix for Bug#111031 (Bug#35392222), Contribution: Update
+ SyntaxRegressionTest.java. Thanks to Abby Palmero for her
+ contribution.
+ * Fix for Bug#113599 (Bug#36171571), Contribution: Replace
+ StringBuffer with StringBuilder in ValueEncoders. Thanks to
+ Henning Pöttker for his contribution.
+ * Fix for Bug#91550 (Bug#28297874), DatabaseMetaData specifies
+ incorrect extra name characters.
+ * Fix for Bug#113129 (Bug#36043145), setting the FetchSize on a
+ Statement object does not affect.
+ * Fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS
+ NPE WHEN NOT ALL PARAMETERS ARE BOUND.
+ * WL#16147, Remove support for FIDO authentication.
+ * Fix for Bug#110286 (Bug#35152855), Only call
+ Messages.getString(...) when it's needed (when the SQLException
+ is thrown). Thanks to Janick Reynders for his contribution.
+ * Fix for Bug#23143279, CLIENT HANG WHEN LOADBALANCESTRATEGY IS
+ BESTRESPONSETIME.
+- Includes changes from 8.3.0
+ * Fix for Bug#107107 (Bug#34101635), Redundant "Reset stmt" when
+ setting useServerPrepStmts&cachePrepStmts to true. Thanks to
+ Marcos Albe for his contribution.
+ * Fix for Bug#19845752, COMMENT PARSING IS NOT PROPER IN
+ CONNECTOR JDBC.
+ * Fix for Bug#112884 (Bug#36043166), Setting a large timeout
+ leads to errors when executing SQL.
+ * WL#16077, Upgrade 3rd party libraries and tools.
+ * WL#16074, Upgrade Protocol Buffers dependency to
+ protobuf*java-3.25.1.
+ * Fix for Bug#35929119, Issue with mysql-connector-j 8.0.33
+ connector (XDEVAPI) - getsession is slow.
+ * Fix for Bug#111107 (Bug#36023972),
+ CallableStatement::getParameterMetaData reports incorrect
+ parameterCount.
+ * Fix for Bug#109546 (Bug#34958912), executeUpdate throws
+ SQLException on queries that are only comments.
+ * Fix for Bug#112195 (Bug#35749998), getWarnings() of
+ StatementImpl contains all warnings.
+ * Fix for Bug#111360 (Bug#35488208), Unexpected list of permitted ciphers.
+ * Fix for Bug#96582 (Bug#30222032),
+ jdbc.MysqlParameterMetadata#isNullable doesnt check whether to
+ be simple.
+ * Fix for Bug#95796 (Bug#29907618), Parameter metadata inferred
+ incorrectly when procedure or function doesn't exist.
+ * Fix for Bug#73774 (Bug#19531305), Can't execute a stored
+ procedure if exists function with same name.
+
+-------------------------------------------------------------------
Old:
----
mysql-connector-java-8.2.0.tar.gz
New:
----
mysql-connector-java-8.4.0.tar.gz
mysql-connector-java-remove-opentelemetry-support.patch
BETA DEBUG BEGIN:
New:Mon May 27 10:09:41 UTC 2024 - Gus Kenion <[email protected]>
- Patch mysql-connector-java-remove-opentelemetry-support.patch
removes OpenTelemetry support, which was added upstream
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-connector-java.spec ++++++
--- /var/tmp/diff_new_pack.Jb0vAh/_old 2024-05-28 17:30:11.215010631 +0200
+++ /var/tmp/diff_new_pack.Jb0vAh/_new 2024-05-28 17:30:11.215010631 +0200
@@ -18,7 +18,7 @@
%define new_name mysql-connector-j
Name: mysql-connector-java
-Version: 8.2.0
+Version: 8.4.0
Release: 0
Summary: Official JDBC Driver for MySQL
License: GPL-2.0-or-later
@@ -38,6 +38,7 @@
# therefore it's removed during prep phase
Patch1: %{name}-remove-oci-support.patch
Patch2: reproducible-build.patch
+Patch3: %{name}-remove-opentelemetry-support.patch
BuildRequires: ant
BuildRequires: ant-contrib
BuildRequires: apache-commons-logging
@@ -82,8 +83,9 @@
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
+%patch -P 3 -p1
-%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150200
+%if 0%{?suse_version} <= 1500
# ship protobuf generated files compatible with protobuf 3.9.2
# which is the version we have in SLE15 SP2, the files were taken
# from commit 6976d9d779b498c254fc5cab5e69cfc74fc3e4f0, which is
@@ -95,6 +97,11 @@
# remove OCI support
rm -rf
src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java
+# remove OpenTelemetry support
+rm -rf src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java
+rm -rf src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetrySpan.java
+rm -rf src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryScope.java
+
# extra libs
mkdir -p lib
mkdir -p src/lib
@@ -109,7 +116,7 @@
ant-contrib \
commons-logging \
slf4j \
- jdbc-stdext\
+ jdbc-stdext \
jta \
junit \
reload4j \
++++++ javac-check.patch ++++++
--- /var/tmp/diff_new_pack.Jb0vAh/_old 2024-05-28 17:30:11.239011509 +0200
+++ /var/tmp/diff_new_pack.Jb0vAh/_new 2024-05-28 17:30:11.243011655 +0200
@@ -1,11 +1,9 @@
Description: Disable the JDK check
Author: Emmanuel Bourg <[email protected]>
Forwarded: not-needed
-Index: mysql-connector-j-8.0.31/build.xml
-===================================================================
---- 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
+--- a/build.xml
++++ b/build.xml
+@@ -400,7 +400,7 @@ See also com.mysql.cj.conf.PropertyDefin
<!-- Initialize the build directory and check requirements for compiling
the driver code. -->
++++++ mysql-connector-java-8.2.0.tar.gz -> mysql-connector-java-8.4.0.tar.gz
++++++
++++ 58204 lines of diff (skipped)
++++++ mysql-connector-java-remove-oci-support.patch ++++++
--- /var/tmp/diff_new_pack.Jb0vAh/_old 2024-05-28 17:30:11.723029208 +0200
+++ /var/tmp/diff_new_pack.Jb0vAh/_new 2024-05-28 17:30:11.727029355 +0200
@@ -1,28 +1,24 @@
-Index:
mysql-connector-j-8.2.0/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
-===================================================================
----
mysql-connector-j-8.2.0.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
-+++
mysql-connector-j-8.2.0/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
-@@ -58,7 +58,6 @@ import com.mysql.cj.protocol.a.NativeCon
- import com.mysql.cj.protocol.a.authentication.AuthenticationFidoClient;
+---
a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
++++
b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
+@@ -48,7 +48,6 @@ import com.mysql.cj.protocol.a.NativeCon
+ import com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType;
import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient;
import
com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin;
-import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient;
import com.mysql.cj.protocol.a.authentication.AuthenticationWebAuthnClient;
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlClearPasswordPlugin;
-@@ -259,7 +258,6 @@ public class NativeAuthenticationProvide
+@@ -249,7 +248,6 @@ public class NativeAuthenticationProvide
pluginsToInit.add(new MysqlOldPasswordPlugin());
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
pluginsToInit.add(new AuthenticationKerberosClient());
- pluginsToInit.add(new AuthenticationOciClient());
- pluginsToInit.add(new AuthenticationFidoClient());
pluginsToInit.add(new AuthenticationWebAuthnClient());
-Index:
mysql-connector-j-8.2.0/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
-===================================================================
----
mysql-connector-j-8.2.0.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
-+++
mysql-connector-j-8.2.0/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
-@@ -49,18 +49,6 @@ AuthenticationLdapSaslClientPlugin.Missi
+ // plugins from authenticationPluginClasses connection parameter
+--- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
++++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
+@@ -35,18 +35,6 @@ AuthenticationLdapSaslClientPlugin.Missi
AuthenticationLdapSaslClientPlugin.FailCreateSaslClient=Failed creating a
SASL client for the authentication mechanism ''{0}''.
AuthenticationLdapSaslClientPlugin.ErrProcessingAuthIter=Error while
processing an authentication iteration for the authentication mechanism ''{0}''.
++++++ mysql-connector-java-remove-opentelemetry-support.patch ++++++
--- a/src/main/core-impl/java/com/mysql/cj/NativeSession.java
+++ b/src/main/core-impl/java/com/mysql/cj/NativeSession.java
@@ -37,7 +37,6 @@ import java.util.concurrent.CopyOnWriteA
import java.util.function.Supplier;
import com.mysql.cj.conf.HostInfo;
-import com.mysql.cj.conf.PropertyDefinitions.OpenTelemetry;
import com.mysql.cj.conf.PropertyKey;
import com.mysql.cj.conf.PropertySet;
import com.mysql.cj.conf.RuntimeProperty;
@@ -51,7 +50,6 @@ import com.mysql.cj.exceptions.MysqlErro
import com.mysql.cj.exceptions.OperationCancelledException;
import com.mysql.cj.interceptors.QueryInterceptor;
import com.mysql.cj.log.Log;
-import com.mysql.cj.otel.OpenTelemetryHandler;
import com.mysql.cj.protocol.ColumnDefinition;
import com.mysql.cj.protocol.NetworkResources;
import com.mysql.cj.protocol.ProtocolEntityFactory;
@@ -107,24 +105,6 @@ public class NativeSession extends CoreS
public NativeSession(HostInfo hostInfo, PropertySet propSet) {
super(hostInfo, propSet);
-
- // Check Telemetry option.
- RuntimeProperty<OpenTelemetry> openTelemetry =
this.propertySet.getEnumProperty(PropertyKey.openTelemetry);
- if (openTelemetry.getValue() == OpenTelemetry.PREFERRED ||
openTelemetry.getValue() == OpenTelemetry.REQUIRED) {
- if (!OpenTelemetryHandler.isOpenTelemetryApiAvailable()) {
- if (openTelemetry.getValue() == OpenTelemetry.REQUIRED) {
- throw
ExceptionFactory.createException(Messages.getString("Connection.OtelApiNotFound"));
- }
- if (openTelemetry.isExplicitlySet()) {
-
getLog().logInfo(Messages.getString("Connection.OtelApiNotFound"));
- }
- setTelemetryHandler(NoopTelemetryHandler.getInstance());
- } else {
- setTelemetryHandler(new OpenTelemetryHandler());
- }
- } else {
- setTelemetryHandler(NoopTelemetryHandler.getInstance());
- }
}
public void connect(HostInfo hi, String user, String password, String
database, int loginTimeout, TransactionEventHandler transactionManager)
++++++ reproducible-build.patch ++++++
--- /var/tmp/diff_new_pack.Jb0vAh/_old 2024-05-28 17:30:11.755030378 +0200
+++ /var/tmp/diff_new_pack.Jb0vAh/_new 2024-05-28 17:30:11.759030525 +0200
@@ -1,6 +1,6 @@
----
mysql-connector-j-8.1.0/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
2023-09-26 06:49:03.580772166 +0200
-+++
mysql-connector-j-8.1.0/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
2023-09-26 06:53:10.775563886 +0200
-@@ -30,7 +30,7 @@
+--- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
++++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
+@@ -21,7 +21,7 @@
package com.mysql.cj.conf;
import java.util.Collections;
@@ -9,7 +9,7 @@
import java.util.Map;
import com.mysql.cj.Messages;
-@@ -895,7 +895,7 @@
+@@ -894,7 +894,7 @@ public class PropertyDefinitions {
//
};