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-11-14 21:42:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old)
 and      /work/SRC/openSUSE:Factory/.mysql-connector-java.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mysql-connector-java"

Tue Nov 14 21:42:21 2023 rev:48 rq:1125718 version:8.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes    
    2023-09-26 22:04:01.425503599 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-connector-java.new.17445/mysql-connector-java.changes
     2023-11-14 21:42:25.479269731 +0100
@@ -1,0 +2,34 @@
+Mon Nov 13 16:34:19 UTC 2023 - David Anes <david.a...@suse.com>
+
+- Update to 8.2.0: 
+  - Added the missing implementation for 
+    Connection.releaseSavepoint(). (Bug #35811592)
+  - Connector/J now supports WebAuthn Authentication. See Connecting
+    Using Web Authentication (WebAuthn) Authentication for details. 
+    (WL #15197)
+  - The auto-deserialization function for BLOB objects, deprecated 
+    since release 8.1.0, is now removed. (WL #15747)
+  - The SessionStateChanges objects failed to provide proper values 
+    for section state changes. This was because Connector/J parsed 
+    the OK_Packet incorrectly, and this patch fixes the issue. 
+    (Bug #35358417)
+  - Using javax.sql.rowset.CachedRowSet#getDate() or 
+    javax.sql.rowset.CachedRowSet#getTimestamp() on DATETIME fields 
+    resulted in a ClassCastException. It was because the default 
+    return type of DATETIME fields by ResultSet.getObject() was 
+    java.time.LocalDateTime instead of java.sql.Timestamp. To 
+    prevent the exception, a new connection property, 
+    treatMysqlDatetimeAsTimestamp, now allows the return type of 
+    DATETIME by ResultSet.getObject() to be changed to 
+    java.sql.Timestamp. (Bug #107215, Bug #34139593)
+  - Obtaining a connection from a MysqlConnectionPoolDataSource made 
+    Connector/J reset its connection state unless the connection 
+    property paranoid was set to be true. During the reset, the 
+    autocommit mode of the session was restored to the default value
+    specified on the server by the system variable autocommit, while 
+    the JDBC specification mandates that autocommit be always 
+    enabled for a freshly created connection. With this patch, the 
+    connection reset will always enable autocommit in the situation. 
+    (Bug #91351, Bug #28225464)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ mysql-connector-java.spec ++++++
--- /var/tmp/diff_new_pack.oDsL82/_old  2023-11-14 21:42:26.163295051 +0100
+++ /var/tmp/diff_new_pack.oDsL82/_new  2023-11-14 21:42:26.163295051 +0100
@@ -18,7 +18,7 @@
 
 %define new_name mysql-connector-j
 Name:           mysql-connector-java
-Version:        8.1.0
+Version:        8.2.0
 Release:        0
 Summary:        Official JDBC Driver for MySQL
 License:        GPL-2.0-or-later

++++++ mysql-connector-java-8.1.0.tar.gz -> mysql-connector-java-8.2.0.tar.gz 
++++++
++++ 69286 lines of diff (skipped)

++++++ mysql-connector-java-remove-oci-support.patch ++++++
--- /var/tmp/diff_new_pack.oDsL82/_old  2023-11-14 21:42:26.611311635 +0100
+++ /var/tmp/diff_new_pack.oDsL82/_new  2023-11-14 21:42:26.615311784 +0100
@@ -1,27 +1,27 @@
-Index: 
mysql-connector-j-8.0.33/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
+Index: 
mysql-connector-j-8.2.0/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
 ===================================================================
---- 
mysql-connector-j-8.0.33.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
-+++ 
mysql-connector-j-8.0.33/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;
  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;
- import com.mysql.cj.protocol.a.authentication.MysqlNativePasswordPlugin;
-@@ -257,7 +256,6 @@ public class NativeAuthenticationProvide
+@@ -259,7 +258,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());
  
-         // plugins from authenticationPluginClasses connection parameter
-Index: 
mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
+Index: 
mysql-connector-j-8.2.0/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
 ===================================================================
---- 
mysql-connector-j-8.0.33.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
-+++ 
mysql-connector-j-8.0.33/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
  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}''.

Reply via email to