Skip to content

chore: update dependency org.mariadb.jdbc:mariadb-java-client to v4 - #1943

Open
renovate[bot] wants to merge 1 commit into
nightlyfrom
renovate/major-mariadbconnector
Open

renovate[bot] wants to merge 1 commit into
nightlyfrom
renovate/major-mariadbconnector

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.mariadb.jdbc:mariadb-java-client (source) 3.5.7 → 4.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

mariadb-corporation/mariadb-connector-j (org.mariadb.jdbc:mariadb-java-client)

v4.0.0

Compare Source

Full Changelog

4.0.0 includes every fix of 3.5.11, listed below.

Major Changes
  • CONJ-1361 - Java 17 is the minimum runtime, Java 8 and 11 are no longer supported (the 3.5 branch remains available for Java 8)
  • CONJ-1321 - TLS enabled by default: sslMode now defaults to verify-full
  • CONJ-1384 - AWS IAM authentication moves to the separate artifact mariadb-java-client-aws, the connector no longer
    depends on the AWS SDK; the plugin gains STS assume role support (CONJ-877, report by Adrian Samatan) and ships
    the RDS root certificates so that the default sslMode validates an RDS endpoint without configuration
  • CONJ-1306 - PreparedStatement.executeQuery() rejects statements that return no result set, as the JDBC
    specification requires; the permitNoResults option restores the former behavior (report by Christopher Schultz)
  • CONJ-651 - Stream LOB columns from the socket instead of loading them in memory (report by Ilya Zhavoronkov)
Key Enhancements
  • CONJ-1386 - New sslMode=allow: verify-full when the server announces TLS, unencrypted otherwise, for a mix of
    servers with and without TLS behind one connection string
  • CONJ-1347 - setSavepoint() throws in auto-commit mode instead of silently succeeding
  • CONJ-1262 - cachedCodecs option now defaults to true
  • CONJ-1370 - JNA dependency removed, Unix domain sockets use the JDK implementation
  • CONJ-1371 - useReadAheadInput option and ReadAheadBufferedStream removed
  • CONJ-1366 - First-class module-info.java (module org.mariadb.jdbc)
  • CONJ-1367 - Virtual threads: no carrier pinning in driver locks, verified by a JFR-based test
  • CONJ-1354 - GSSAPI authentication uses the native GSS-API where available
  • CONJ-1308 - Support MariaDB 12.3 XML data type
  • CONJ-1220 - Unix domain sockets on Windows, for SSH tunnels (report by DAIKOZ)
  • CONJ-1378 - Try every IP address a hostname resolves to when opening the socket
  • CONJ-1369 - Performance work on the Java 17 code base: packet reader and writer buffers, readNBytes, ranged
    Arrays.equals, no String.format on data paths
  • CONJ-1365 - Performance: VarHandle little-endian access in packet buffers
  • CONJ-1373 - Performance: JDK UTF-8 encoder for long strings in Writer.writeString / writeStringEscaped
  • CONJ-1375 - Performance: cache codec resolution for getObject(index, Class) and setObject
  • CONJ-1377 - Performance: faster client-side query parsing in ClientParser and NativeSql
  • CONJ-1368 - Build and test tooling: tests run against the built jar, GraalVM metadata refreshed, CI matrix on
    Java 17, 21 and 25
Issues Resolved
  • CONJ-1383 - Connection init rebuilds session_track_system_variables from @​@​global, discarding the session-level
    last_gtid set by MaxScale (report by Sawan Patel)
  • CONJ-1379 - Set an explicit session tracking list and guard character_set_results like character_set_client
    (report by fg0x0)
  • CONJ-1381 - Bound server-declared lengths by the packet before allocating and reading from them (report by fg0x0)
  • CONJ-1374 - Redirect URL password partially logged when containing '@​'
  • CONJ-1372 - caching_sha2_password full authentication fails over a Unix socket when SSL is disabled (report by
    工藤航)
  • CONJ-1360 - Incorrect dependency check in AwsIamCredentialPlugin (report by Dheeraj Nalluri)
  • CONJ-1344 - DatabaseMetaData imported/exported keys ignore lower_case_table_names when using SHOW CREATE TABLE
    (report by plantegg ren)

v3.5.11

Compare Source

Full Changelog

Key Enhancements
  • CONJ-1353 - Generate a CycloneDX 1.6 SBOM meeting the CISA 2026 minimum elements
  • CONJ-1356 - parsec authentication without BouncyCastle on Java 8/11 and without provider-dependent key derivation
  • CONJ-1355 - Add NonRegisteringDriver so that DataSources and pools never register the driver in DriverManager, which pinned the class loader (report by mario-schwede-hivemq)
  • CONJ-1348 - Reassembling packets larger than 16 MB copied the accumulated content once per fragment
Issues Resolved
  • CONJ-1383 - Connection init rebuilds session_track_system_variables from @​@​global, discarding the session-level
    last_gtid set by MaxScale (report by Sawan Patel)
  • CONJ-1379 - Set an explicit session tracking list and guard character_set_results like character_set_client
    (report by fg0x0)
  • CONJ-1381 - Bound server-declared lengths by the packet before allocating and reading from them (report by fg0x0)
  • CONJ-1357 - XA recover() must not trust server-supplied gtrid_length/bqual_length (report by fg0x0)
  • CONJ-1374 - Redirect URL password partially logged when containing '@​' (report by @​manus-pi)
  • CONJ-1372 - caching_sha2_password full authentication fails over a Unix socket when SSL is disabled (report by 工藤航)
  • CONJ-1360 - Incorrect dependency check in AwsIamCredentialPlugin (report by Dheeraj Nalluri)
  • CONJ-1358 - Client-side query timeout thread cannot be stopped and outlives an idle driver
  • CONJ-1352 - Batched statements fail when a trigger produces a result set (report by Christopher Schultz)
  • CONJ-1351 - Reading an invalid DATE value might throw unchecked exceptions instead of SQLException
  • CONJ-1346 - Log-and-throw antipattern: server errors and hostname verification failures logged at DEBUG instead of
    WARN/INFO (report by Alexander Schwartz)
  • CONJ-1345 - DatabaseMetaData#getURL() exposes database password since Connector/J 3.5.10 (report by Klaas)
  • CONJ-1344 - DatabaseMetaData imported/exported keys ignore lower_case_table_names when using SHOW CREATE TABLE
    (report by plantegg ren)
  • CONJ-1343 - DatabaseMetaData.getSQLKeywords() includes eight pairs of concatenated words (report by Adam Rauch)
  • CONJ-1349 - DatabaseMetaData.getBestRowIdentifier() returns primary key columns in an undefined order

v3.5.10

Compare Source

Full Changelog

Key Enhancements
  • CONJ-1333 - Add maxAllowedPacket connection option (send/receive limit)
  • CONJ-1339 - Add maxAllowedColumns option to bound server-announced column count (report by fg0x0)
  • CONJ-1330 - add infer test to CI
Issues Resolved
  • CONJ-1332 - Reject multipart (>16 MB) packets before authentication to prevent pre-auth OOM from a rogue server
  • CONJ-1342 - socketFactory option allows loading arbitrary bytecode via jar: URL, enabling RCE when JDBC URL is
    attacker-controlled (report by Qing Xu)
  • CONJ-1307 - Connection.setReadOnly(true) still allows DML statements to execute
  • CONJ-1326 - Unsafe escaping in enquoteLiteral()/enquoteNCharLiteral() (thanks to jmestwa-coder)
  • CONJ-1327 - Align SSL hostname verification with TLS libraries (thanks to jmestwa-coder)
  • CONJ-1329 - LOAD DATA LOCAL INFILE validation fails open when a bound parameter can't be rendered (thanks to
    jmestwa-coder)
  • CONJ-1331 - trustStore-configured TLS connections defer certificate-chain/identity validation instead of validating
    up front (thanks to jmestwa-coder)
  • CONJ-1340 - SQL injection via unescaped identifiers in updatable ResultSet generated statements (thanks to
    jmestwa-coder)
  • CONJ-1341 - MariaDbPoolDataSource.getConnection(user, password) ignores the user argument when the pool's own
    password is supplied (report by fg0x0)
  • CONJ-1328 - restrictedAuth allowlist is matched with substring contains() instead of equality (thanks to
    jmestwa-coder)
  • CONJ-1338 - Validate length-encoded integers fit a non-negative int before use as a length (report by fg0x0)
  • CONJ-1336 - CONJ-1282 regression: TLS connection fails when JDBC hostname is an absolute FQDN ending with a trailing
    dot (report by Shaswata, thanks to Pepo48 for PR)
  • CONJ-1335 - getGeneratedKeys() throws "integer overflow" after a batch insert when the auto-increment value exceeds
    Integer.MAX_VALUE, and returns bulk generated keys out of batch order

v3.5.9

Compare Source

Full Changelog

Key Enhancements
  • CONJ-1223 - cache TLS trust/key managers across connections to reduce SSL connection cost
  • CONJ-1314 - add SPI for interactive dialog (PAM) authentication callback
  • CONJ-1311 - add dedicated option useIpForKillQuery for query cancellation
  • CONJ-1310 - Add full native image support and CI coverage
Issues Resolved
  • CONJ-1320 - PAM (dialog) authentication must require a secure connection (report by fg0x0)
  • CONJ-1319 - Use constant-time comparison when validating the server certificate fingerprint (report by jmestwa-coder)
  • CONJ-1318 - enforce allowLocalInfile=false on the server's local-infile request, so a malicious server cannot read a client file despite the option being disabled
  • CONJ-1322 - match local infile filename case-sensitively (thanks to jmestwa-coder)
  • CONJ-1323 - LOAD LOCAL INFILE validation rejects statements preceded by line comments (thanks to sebdomdev)
  • CONJ-1315 - cap BigDecimal/BigInteger string parsing length to prevent CPU exhaustion if MitM (report by tonghuaroot)
  • CONJ-1317 - ensure non-UTF8 charset cannot be used for protocol exchanges (report by fg0x0)
  • CONJ-1304 - CallableStatement parameter metadata read from mysql.proc, with MySQL info_schema fallback
  • CONJ-1299 - keep VALUES literals after the last placeholder when rewriting batches
  • CONJ-1313 - race condition in HaMode#getAvailableHostInOrder can cause NPE
  • CONJ-1311 - Connection.cancelCurrentQuery fails with SslMode.VERIFY_FULL when client socket IP is set
  • CONJ-1264 - handle LocalDateTime as a zoneless wall-clock value
  • CONJ-1316 - pin Locale.ROOT on locale-sensitive call sites and date/time/Duration text formatting (fixes
    locale-dependent parsing/formatting, e.g. under tr_TR) (thanks to jmestwa-coder)
  • CONJ-1324 - fix SQL parser to correctly handle '--' in expressions and reset lastChar after block comments
  • CONJ-1323 - LOAD LOCAL INFILE validation rejects statements preceded by line comments (thanks to sebdomdev)
  • CONJ-1318 - allowLocalInfile=false does not block LOAD DATA LOCAL INFILE against a malicious server (thanks to tharavel)

v3.5.8

Compare Source

Full Changelog

Issues Resolved
  • CONJ-1305 - XAResource.isSameRM() incorrectly returns true when rewriteBatchedStatements differs between connections
  • CONJ-1303 - Statement.cancel() fails to kill running query during result streaming
Other
  • CONJ-1298 - Performance improvement: avoid decoding extended format

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the t: dependencies A pull request / issue targeting dependency updates label Nov 26, 2026
@renovate
renovate Bot requested review from 0utplay and derklaro November 26, 2026 05:47
@github-actions

Copy link
Copy Markdown

Test Results

   60 files  ±0     60 suites  ±0   3m 29s ⏱️ -48s
  707 tests  - 6    706 ✅  - 7  0 💤 ±0  1 ❌ +1 
1 082 runs   - 6  1 081 ✅  - 7  0 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 99df0f8. ± Comparison against base commit 4e182c8.

This pull request removes 7 and adds 1 tests. Note that renamed tests count towards both.
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testBasicOperations()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testChunkedDataRead()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testClearOperations()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testCollectionOperations()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testDatabaseProviderOperations()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testFindOperations()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ testSpecialKeysAndValues()
eu.cloudnetservice.modules.sql.impl.MariaDBDatabaseTest ‑ initializationError

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t: dependencies A pull request / issue targeting dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants