Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
## [13.2.0] Stable Release

### Changed

- **Use sys.all_objects for Accurate Function and Procedure Filtering** [#2705](https://github.com/microsoft/mssql-jdbc/pull/2705)
**What changed**: Differentiated stored procedures and functions using sys.all_objects instead of sp_stored_procedures.
**Who benefits**: Developers using getProcedures() and getFunctions() in JDBC.
**Impact**: Ensures correct metadata retrieval, preventing confusion from mixed results.

### Fixed issues

- **Fix trustStoreType JVM Property Consultation in SSL Connections** [#2724](https://github.com/microsoft/mssql-jdbc/pull/2724)
**What was fixed**: Ensured fallback to JVM system property javax.net.ssl.trustStoreType if connection property is unset.
**Who benefits**: Users configuring SSL via system properties.
**Impact**: Enables proper SSL trust store resolution, improving compatibility with system configurations.

- **Properly Insert Accented Characters with Bulk Copy and Non-Unicode Strings** [#2727](https://github.com/microsoft/mssql-jdbc/pull/2727)
**What was fixed**: Used correct database collation to convert byte arrays to strings during bulk insert.
**Who benefits**: Users inserting non-ASCII characters with useBulkCopyForBatchInsert=true and sendStringParametersAsUnicode=false.
**Impact**: Preserves accented and special characters in the database, fixing encoding issues.

- **Handle SQL Comments at Start of Query in getGenerateKeys() Method** [#2731](https://github.com/microsoft/mssql-jdbc/pull/2731)
**What was fixed**: Corrected detection of INSERT statements when preceded by SQL comments.
**Who benefits**: Developers using getGeneratedKeys() after commented SQL inserts.
**Impact**: Fixes previously failing key retrieval when comments are present before the query.

- **CodeQL Suppression Fixes** [#2728](https://github.com/microsoft/mssql-jdbc/pull/2728)
**What was fixed**: Suppressed CodeQL rule [SM05141] with justification for broader usage scenarios.
**Who benefits**: Developers maintaining code quality tools like CodeQL.
**Impact**: Prevents unnecessary alerts for valid usage in multi-environment libraries.


## [13.1.1] Preview Release

### Added
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
```
The driver can be downloaded from [Microsoft](https://aka.ms/downloadmssqljdbc). For driver version 12.1.0 and greater, please use the jre11 version when using Java 11 or greater, and the jre8 version when using Java 8.
Expand All @@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
```

Expand Down Expand Up @@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
<scope>compile</scope>
</dependency>

Expand All @@ -147,7 +147,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
<scope>compile</scope>
</dependency>

Expand All @@ -174,7 +174,7 @@ When setting 'useFmtOnly' property to 'true' for establishing a connection or cr
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

apply plugin: 'java'

version = '13.1.1'
def releaseExt = '-preview'
version = '13.2.0'
def releaseExt = ''
def jreVersion = ""
def testOutputDir = file("build/classes/java/test")
def archivesBaseName = 'mssql-jdbc'
Expand Down
2 changes: 1 addition & 1 deletion mssql-jdbc_auth_LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT JDBC DRIVER 13.1.1 FOR SQL SERVER
MICROSOFT JDBC DRIVER 13.2.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.

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1</version>
<version>13.2.0</version>
<packaging>jar</packaging>
<name>Microsoft JDBC Driver for SQL Server</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

final class SQLJdbcVersion {
static final int MAJOR = 13;
static final int MINOR = 1;
static final int PATCH = 1;
static final int MINOR = 2;
static final int PATCH = 0;
static final int BUILD = 0;
/*
* Used to load mssql-jdbc_auth DLL.
* 1. Set to "-preview" for preview release.
* 2. Set to "" (empty String) for official release.
*/
static final String RELEASE_EXT = "-preview";
static final String RELEASE_EXT = "";

private SQLJdbcVersion() {
throw new UnsupportedOperationException(SQLServerException.getErrString("R_notSupported"));
Expand Down
2 changes: 1 addition & 1 deletion src/samples/adaptive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/alwaysencrypted/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/azureactivedirectoryauthentication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/connections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/constrained/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/dataclassification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/datatypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/resultsets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down
2 changes: 1 addition & 1 deletion src/samples/sparse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.1.1.jre11-preview</version>
<version>13.2.0.jre11</version>
</dependency>
</dependencies>
<profiles>
Expand Down