From 78bdefd7264f4caba230fb11aacfd4643eb9a483 Mon Sep 17 00:00:00 2001 From: lilgreenbird Date: Wed, 3 Apr 2024 14:18:06 -0700 Subject: [PATCH] Updates for 12.7.0 (#2375) --- CHANGELOG.md | 27 +++++++++++++++++++++++++-- mssql-jdbc_auth_LICENSE | 2 +- pom.xml | 2 +- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56107db32..af8d7d65d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) +## [12.7.0] Preview Release +### Added +- Server Message Handler and SQLException Chaining [#2251] (https://github.com/microsoft/mssql-jdbc/pull/2251) +- Finish support for RFC4180 for CSV bulk insert operations [#2338] (https://github.com/microsoft/mssql-jdbc/pull/2338) +- Allow constructing a microsoft.sql.DateTimeOffset instance from a java.time.OffsetDateTime value [#2340] (https://github.com/microsoft/mssql-jdbc/pull/2340) +- Added support for TDSType.GUID [#2370] (https://github.com/microsoft/mssql-jdbc/pull/2370) + +### Changed +- Remove synchronized from Socket overrides [#2337] (https://github.com/microsoft/mssql-jdbc/pull/2337) +- Default to RMFAIL instead of RMERR [#2348] (https://github.com/microsoft/mssql-jdbc/pull/2348) + +### Fixed issues +- Fix to allow connection retries to be disabled by setting connectRetryCount to 0 [#2293] (https://github.com/microsoft/mssql-jdbc/pull/2293) +- Fix to ensure metadata returned follows JDBC data type specs [#2326] (https://github.com/microsoft/mssql-jdbc/pull/2326) +- Added token cache map to fix use of unintended auth token for subsequent connections [#2341] (https://github.com/microsoft/mssql-jdbc/pull/2341) +- Fix calling procedures with output parameters by their four-part syntax [#2349] (https://github.com/microsoft/mssql-jdbc/pull/2349) +- Clear prepared statement handle before reconnect [#2364] (https://github.com/microsoft/mssql-jdbc/pull/2364) +- Reset socketTimeout to original value after a successful connection open [#2355] (https://github.com/microsoft/mssql-jdbc/pull/2355) +- Clear prepared statement cache when resetting statement pool connection [#2361] (https://github.com/microsoft/mssql-jdbc/pull/2361) +- Fixed ClassLoader leak of ActivityCorrelator ThreadLocal [#2366] (https://github.com/microsoft/mssql-jdbc/pull/2366) +- Check if TDSCommand counter is null before incrementing. [#2368] (https://github.com/microsoft/mssql-jdbc/pull/2368) +- Escape schema for getProcedures and getProcedureColumns in SQLServerDatabaseMetaData [#2369] (https://github.com/microsoft/mssql-jdbc/pull/2369) + ## [12.6.0] Stable Release ### Changed - Adjusted PreparedStatement cache, so it's cleared before every execute [#2272](https://github.com/microsoft/mssql-jdbc/pull/2272) @@ -12,8 +35,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) ### Fixed issues - Fixed the way ActivityID was defined and used to be more in line with the behavior of other Microsoft drivers [#2254](https://github.com/microsoft/mssql-jdbc/pull/2254) -- - Fixed missing getters and setters for `useBulkCopyForBatchInsert` [#2277](https://github.com/microsoft/mssql-jdbc/pull/2277) -- - Fixed an issue where, when using the TOP qualifier in a query, the driver returns an error concerning ParameterMetadata [#2287](https://github.com/microsoft/mssql-jdbc/pull/2287) +- Fixed missing getters and setters for `useBulkCopyForBatchInsert` [#2277](https://github.com/microsoft/mssql-jdbc/pull/2277) +- Fixed an issue where, when using the TOP qualifier in a query, the driver returns an error concerning ParameterMetadata [#2287](https://github.com/microsoft/mssql-jdbc/pull/2287) - Fixed an issue where insert statements with missing whitespace worked correctly in regular cases, but not when using batch inserts [#2290](https://github.com/microsoft/mssql-jdbc/pull/2290) - Fixed timezone not being properly applied to Timestamps when inserted using batch insert with bulkcopy [#2291](https://github.com/microsoft/mssql-jdbc/pull/2291) - Fixed locks in IOBuffer to prevent deadlock issues that could arise [#2295](https://github.com/microsoft/mssql-jdbc/pull/2295) diff --git a/mssql-jdbc_auth_LICENSE b/mssql-jdbc_auth_LICENSE index eddb50467..08725e032 100644 --- a/mssql-jdbc_auth_LICENSE +++ b/mssql-jdbc_auth_LICENSE @@ -1,5 +1,5 @@ MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT JDBC DRIVER 12.6.0 FOR SQL SERVER +MICROSOFT JDBC DRIVER 12.7.0 FOR SQL SERVER These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. diff --git a/pom.xml b/pom.xml index 642cc6490..5c4ac0dc1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.microsoft.sqlserver mssql-jdbc - 12.7.0-SNAPSHOT + 12.7.0 jar Microsoft JDBC Driver for SQL Server