Skip to content

Commit a0ea23a

Browse files
lilgreenbirdtkyc
andauthored
Updates for 12.10.0 (#2625)
--------- Co-authored-by: Terry Chow <v-terrychow@microsoft.com>
1 parent dea2010 commit a0ea23a

File tree

16 files changed

+62
-40
lines changed

16 files changed

+62
-40
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55

6+
## [12.10.0] Stable Release
7+
### Added
8+
- Added provision to set SQLServerBulkCopy options in PreparedStatement [#2555](https://github.com/microsoft/mssql-jdbc/pull/2555)
9+
### Changed
10+
- Changed the scope of BULK_COPY_OPERATION_CACHE to connection [#2594](https://github.com/microsoft/mssql-jdbc/pull/2594)
11+
- Added "requireSecret" exclude tag for tests which require adding a secret to app registration [#2596](https://github.com/microsoft/mssql-jdbc/pull/2596)
12+
- Added com.ibm.security.auth.module and com.sun.security.auth.module as option import [#2609](https://github.com/microsoft/mssql-jdbc/pull/2609)
13+
- Updated driver dependency versions [#2614](https://github.com/microsoft/mssql-jdbc/pull/2614)
14+
### Fixed issues
15+
- Introduced timeouts for MSAL calls [#2562](https://github.com/microsoft/mssql-jdbc/pull/2562)
16+
- Fixed getGeneratedKeys functionality for execute API [#2554](https://github.com/microsoft/mssql-jdbc/pull/2554)
17+
- Fixed ISQLServerConnection java doc reference [#2560](https://github.com/microsoft/mssql-jdbc/pull/2560)
18+
- Fixed OffsetDateTime conversion for pre-Gregorian dates [#2568](https://github.com/microsoft/mssql-jdbc/pull/2568)
19+
- Fix for driver cutting out the question mark from columns labels (aliases) [#2569](https://github.com/microsoft/mssql-jdbc/pull/2569)
20+
- Fixed issue with SQLServerBulkCopy from CSV with setEscapeColumnDelimerts set to true [#2575](https://github.com/microsoft/mssql-jdbc/pull/2575)
21+
- Fixed issue for finding `mssql-jdbc.properties` location in test environments [#2579](https://github.com/microsoft/mssql-jdbc/pull/2579)
22+
- Fixed issue for IBM Semeru Runtime Certified Edition for z/OS and Kerberos [#2581](https://github.com/microsoft/mssql-jdbc/pull/2581)
23+
- Set appropriate value to requestedEncryptionLevel for encrypt=STRICT [#2597](https://github.com/microsoft/mssql-jdbc/pull/2597)
24+
- Add test for ManagedIdentityWithEncryptStrict [#2599](https://github.com/microsoft/mssql-jdbc/pull/2599)
25+
- Check for null when getting DTV values (JDBC spec compliance - getBinaryStream /getAsciiStream will return null when the value is null) [#2600](https://github.com/microsoft/mssql-jdbc/pull/2600)
26+
- Removed scheme from URI before fetching path for CRL path check [#2622](https://github.com/microsoft/mssql-jdbc/pull/2622)
27+
628
## [12.9.0] Preview Release
729
### Added
830
- Added configurable retry logic feature, supporting both statement, and connection, retry [#2396](https://github.com/microsoft/mssql-jdbc/pull/2396)[#2519](https://github.com/microsoft/mssql-jdbc/pull/2519)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
8383
<dependency>
8484
<groupId>com.microsoft.sqlserver</groupId>
8585
<artifactId>mssql-jdbc</artifactId>
86-
<version>12.8.1.jre11</version>
86+
<version>12.10.0.jre11</version>
8787
</dependency>
8888
```
8989
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.
@@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
9494
<dependency>
9595
<groupId>com.microsoft.sqlserver</groupId>
9696
<artifactId>mssql-jdbc</artifactId>
97-
<version>12.8.1.jre11</version>
97+
<version>12.10.0.jre11</version>
9898
</dependency>
9999
```
100100

@@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
129129
<dependency>
130130
<groupId>com.microsoft.sqlserver</groupId>
131131
<artifactId>mssql-jdbc</artifactId>
132-
<version>12.8.1.jre11</version>
132+
<version>12.10.0.jre11</version>
133133
<scope>compile</scope>
134134
</dependency>
135135

@@ -147,7 +147,7 @@ Projects that require either of the two features need to explicitly declare the
147147
<dependency>
148148
<groupId>com.microsoft.sqlserver</groupId>
149149
<artifactId>mssql-jdbc</artifactId>
150-
<version>12.8.1.jre11</version>
150+
<version>12.10.0.jre11</version>
151151
<scope>compile</scope>
152152
</dependency>
153153

@@ -174,7 +174,7 @@ When setting 'useFmtOnly' property to 'true' for establishing a connection or cr
174174
<dependency>
175175
<groupId>com.microsoft.sqlserver</groupId>
176176
<artifactId>mssql-jdbc</artifactId>
177-
<version>12.8.1.jre11</version>
177+
<version>12.10.0.jre11</version>
178178
</dependency>
179179

180180
<dependency>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
apply plugin: 'java'
1313

14-
version = '12.9.0'
15-
def releaseExt = '-preview'
14+
version = '12.10.0'
15+
def releaseExt = ''
1616
def jreVersion = ""
1717
def testOutputDir = file("build/classes/java/test")
1818
def archivesBaseName = 'mssql-jdbc'

mssql-jdbc_auth_LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MICROSOFT SOFTWARE LICENSE TERMS
2-
MICROSOFT JDBC DRIVER 12.9.0 FOR SQL SERVER
2+
MICROSOFT JDBC DRIVER 12.10.0 FOR SQL SERVER
33

44
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.
55

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.microsoft.sqlserver</groupId>
77
<artifactId>mssql-jdbc</artifactId>
8-
<version>12.9.0</version>
8+
<version>12.10.0</version>
99
<packaging>jar</packaging>
1010
<name>Microsoft JDBC Driver for SQL Server</name>
1111
<description>
@@ -51,7 +51,7 @@
5151
Default testing enabled with SQL Server 2019 (SQLv15) -->
5252
<excludedGroups>xSQLv12,xSQLv15,NTLM,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos</excludedGroups>
5353
<!-- Use -preview for preview release, leave empty for official release. -->
54-
<releaseExt>-preview</releaseExt>
54+
<releaseExt></releaseExt>
5555
<!-- Driver Dependencies -->
5656
<org.osgi.core.version>6.0.0</org.osgi.core.version>
5757
<azure-security-keyvault-keys.version>4.9.2</azure-security-keyvault-keys.version>

src/main/java/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
final class SQLJdbcVersion {
99
static final int MAJOR = 12;
10-
static final int MINOR = 9;
10+
static final int MINOR = 10;
1111
static final int PATCH = 0;
1212
static final int BUILD = 0;
1313
/*
1414
* Used to load mssql-jdbc_auth DLL.
1515
* 1. Set to "-preview" for preview release.
1616
* 2. Set to "" (empty String) for official release.
1717
*/
18-
static final String RELEASE_EXT = "-preview";
18+
static final String RELEASE_EXT = "";
1919

2020
private SQLJdbcVersion() {
2121
throw new UnsupportedOperationException(SQLServerException.getErrString("R_notSupported"));

src/samples/adaptive/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>12.8.0.jre11</version>
18+
<version>12.10.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>
@@ -74,8 +74,8 @@
7474
<groupId>org.apache.maven.plugins</groupId>
7575
<artifactId>maven-compiler-plugin</artifactId>
7676
<configuration>
77-
<source>22</source>
78-
<target>22</target>
77+
<source>23</source>
78+
<target>23</target>
7979
</configuration>
8080
</plugin>
8181
<plugin>

src/samples/alwaysencrypted/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>12.8.0.jre11</version>
18+
<version>12.10.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>
@@ -42,8 +42,8 @@
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-compiler-plugin</artifactId>
4444
<configuration>
45-
<source>22</source>
46-
<target>22</target>
45+
<source>23</source>
46+
<target>23</target>
4747
</configuration>
4848
</plugin>
4949
<plugin>

src/samples/azureactivedirectoryauthentication/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>12.8.0.jre11</version>
17+
<version>12.10.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>
@@ -57,8 +57,8 @@
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
5959
<configuration>
60-
<source>22</source>
61-
<target>22</target>
60+
<source>23</source>
61+
<target>23</target>
6262
</configuration>
6363
</plugin>
6464
<plugin>

src/samples/connections/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>12.8.0.jre11</version>
17+
<version>12.10.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>
@@ -57,8 +57,8 @@
5757
<groupId>org.apache.maven.plugins</groupId>
5858
<artifactId>maven-compiler-plugin</artifactId>
5959
<configuration>
60-
<source>22</source>
61-
<target>22</target>
60+
<source>23</source>
61+
<target>23</target>
6262
</configuration>
6363
</plugin>
6464
<plugin>

src/samples/constrained/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<dependency>
1717
<groupId>com.microsoft.sqlserver</groupId>
1818
<artifactId>mssql-jdbc</artifactId>
19-
<version>12.8.0.jre11</version>
19+
<version>12.10.0.jre11</version>
2020
</dependency>
2121
</dependencies>
2222
<profiles>
@@ -44,8 +44,8 @@
4444
<artifactId>maven-compiler-plugin</artifactId>
4545
<version>3.8.0</version>
4646
<configuration>
47-
<source>22</source>
48-
<target>22</target>
47+
<source>23</source>
48+
<target>23</target>
4949
</configuration>
5050
</plugin>
5151
<plugin>

src/samples/dataclassification/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<dependency>
1717
<groupId>com.microsoft.sqlserver</groupId>
1818
<artifactId>mssql-jdbc</artifactId>
19-
<version>12.8.0.jre11</version>
19+
<version>12.10.0.jre11</version>
2020
</dependency>
2121
</dependencies>
2222
<profiles>
@@ -44,8 +44,8 @@
4444
<artifactId>maven-compiler-plugin</artifactId>
4545
<version>3.8.0</version>
4646
<configuration>
47-
<source>22</source>
48-
<target>22</target>
47+
<source>23</source>
48+
<target>23</target>
4949
</configuration>
5050
</plugin>
5151
<plugin>

src/samples/datatypes/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>12.8.0.jre11</version>
18+
<version>12.10.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>
@@ -74,8 +74,8 @@
7474
<groupId>org.apache.maven.plugins</groupId>
7575
<artifactId>maven-compiler-plugin</artifactId>
7676
<configuration>
77-
<source>22</source>
78-
<target>22</target>
77+
<source>23</source>
78+
<target>23</target>
7979
</configuration>
8080
</plugin>
8181
<plugin>

src/samples/resultsets/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>12.8.0.jre11</version>
17+
<version>12.10.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>
@@ -73,8 +73,8 @@
7373
<groupId>org.apache.maven.plugins</groupId>
7474
<artifactId>maven-compiler-plugin</artifactId>
7575
<configuration>
76-
<source>22</source>
77-
<target>22</target>
76+
<source>23</source>
77+
<target>23</target>
7878
</configuration>
7979
</plugin>
8080
<plugin>

src/samples/sparse/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>12.8.0.jre11</version>
17+
<version>12.10.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>
@@ -41,8 +41,8 @@
4141
<groupId>org.apache.maven.plugins</groupId>
4242
<artifactId>maven-compiler-plugin</artifactId>
4343
<configuration>
44-
<source>22</source>
45-
<target>22</target>
44+
<source>23</source>
45+
<target>23</target>
4646
</configuration>
4747
</plugin>
4848
<plugin>

src/test/java/com/microsoft/sqlserver/jdbc/bvt/BvtTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
@RunWith(JUnitPlatform.class)
3737
public class BvtTest extends AbstractTest {
38-
private static String driverNamePattern = "Microsoft JDBC Driver \\d+.\\d for SQL Server";
38+
private static String driverNamePattern = "Microsoft JDBC Driver \\d+.\\d+ for SQL Server";
3939
static DBTable table1;
4040
static DBTable table2;
4141

0 commit comments

Comments
 (0)