Skip to content

Commit aef7c5d

Browse files
version update (#2476)
1 parent 6b1c463 commit aef7c5d

File tree

15 files changed

+62
-62
lines changed

15 files changed

+62
-62
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ 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.8.0] Stable Release
7+
- No changes since previous release
8+
69
## [12.7.1] Preview Release
710
### Added
811
- Added JDK 22 support [#2414](https://github.com/microsoft/mssql-jdbc/pull/2414)

README.md

Lines changed: 10 additions & 10 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.6.0.jre11</version>
86+
<version>12.8.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.6.0.jre11</version>
97+
<version>12.8.0.jre11</version>
9898
</dependency>
9999
```
100100

@@ -129,14 +129,14 @@ 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.6.0.jre11</version>
132+
<version>12.8.0.jre11</version>
133133
<scope>compile</scope>
134134
</dependency>
135135

136136
<dependency>
137137
<groupId>com.azure</groupId>
138138
<artifactId>azure-identity</artifactId>
139-
<version>1.3.3</version>
139+
<version>1.12.2</version>
140140
</dependency>
141141

142142
```
@@ -147,20 +147,20 @@ 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.6.0.jre11</version>
150+
<version>12.8.0.jre11</version>
151151
<scope>compile</scope>
152152
</dependency>
153153

154154
<dependency>
155155
<groupId>com.azure</groupId>
156156
<artifactId>azure-identity</artifactId>
157-
<version>1.3.3</version>
157+
<version>1.12.2</version>
158158
</dependency>
159159

160160
<dependency>
161161
<groupId>com.azure</groupId>
162162
<artifactId>azure-security-keyvault-keys</artifactId>
163-
<version>4.2.8</version>
163+
<version>4.7.3</version>
164164
</dependency>
165165
```
166166

@@ -174,13 +174,13 @@ 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.6.0.jre11</version>
177+
<version>12.8.0.jre11</version>
178178
</dependency>
179179

180180
<dependency>
181181
<groupId>org.antlr</groupId>
182182
<artifactId>antlr4-runtime</artifactId>
183-
<version>4.9.2</version>
183+
<version>4.9.3</version>
184184
</dependency>
185185
```
186186

@@ -214,7 +214,7 @@ Preview releases happen approximately monthly between stable releases. This give
214214
You can see what is going into a future release by monitoring [Milestones](https://github.com/Microsoft/mssql-jdbc/milestones) in the repository.
215215

216216
### Version conventions
217-
Starting with 6.0, stable versions have an even minor version. For example, 6.0, 6.2, 6.4, 7.0, 7.2, 7.4, 8.2, 8.4, 9.2, 9.4, 10.2, 11.2, 12.2, 12.4, 12.6. Preview versions have an odd minor version. For example, 6.1, 6.3, 6.5, 7.1, 7.3, 8.1, 9.1, 10.1, 11.1, 12.1, 12.3, 12.5, and so on.
217+
Starting with 6.0, stable versions have an even minor version. For example, 6.0, 6.2, 6.4, 7.0, 7.2, 7.4, 8.2, 8.4, 9.2, 9.4, 10.2, 11.2, 12.2, 12.4, 12.6, 12.8. Preview versions have an odd minor version. For example, 6.1, 6.3, 6.5, 7.1, 7.3, 8.1, 9.1, 10.1, 11.1, 12.1, 12.3, 12.5, 12.7, and so on.
218218

219219
## Contributors
220220
Special thanks to everyone who has contributed to the project.

build.gradle

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

1212
apply plugin: 'java'
1313

14-
version = '12.7.1'
15-
def releaseExt = '-preview'
14+
version = '12.8.0'
15+
def releaseExt = ''
1616
def jreVersion = ""
1717
def testOutputDir = file("build/classes/java/test")
1818
def archivesBaseName = 'mssql-jdbc'
@@ -46,7 +46,7 @@ if (!hasProperty('buildProfile') || (hasProperty('buildProfile') && buildProfile
4646
targetCompatibility = 22
4747
}
4848

49-
if (!hasProperty('buildProfile') || (hasProperty('buildProfile') && buildProfile == "jre21")) {
49+
if (hasProperty('buildProfile') && buildProfile == "jre21") {
5050

5151
jreVersion = "jre21"
5252
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java'
@@ -143,29 +143,29 @@ repositories {
143143
dependencies {
144144
implementation 'org.osgi:org.osgi.core:6.0.0',
145145
'org.osgi:org.osgi.service.jdbc:1.1.0'
146-
compileOnly 'com.azure:azure-security-keyvault-keys:4.5.2',
147-
'com.azure:azure-identity:1.7.0',
146+
compileOnly 'com.azure:azure-security-keyvault-keys:4.7.3',
147+
'com.azure:azure-identity:1.12.2',
148148
'org.antlr:antlr4-runtime:4.9.3',
149-
'com.google.code.gson:gson:2.9.0',
150-
'org.bouncycastle:bcprov-jdk15on:1.70',
151-
'org.bouncycastle:bcpkix-jdk15on:1.70'
149+
'com.google.code.gson:gson:2.10.1',
150+
'org.bouncycastle:bcprov-jdk18on:1.78',
151+
'org.bouncycastle:bcpkix-jdk18on:1.78'
152152
testImplementation 'org.junit.platform:junit-platform-console:1.5.2',
153153
'org.junit.platform:junit-platform-commons:1.5.2',
154154
'org.junit.platform:junit-platform-engine:1.5.2',
155155
'org.junit.platform:junit-platform-launcher:1.5.2',
156156
'org.junit.platform:junit-platform-runner:1.5.2',
157157
'org.junit.platform:junit-platform-surefire-provider:1.3.2',
158-
'org.junit.jupiter:junit-jupiter-api:5.6.0',
159-
'org.junit.jupiter:junit-jupiter-engine:5.6.0',
160-
'org.junit.jupiter:junit-jupiter-params:5.6.0',
158+
'org.junit.jupiter:junit-jupiter-api:5.8.2',
159+
'org.junit.jupiter:junit-jupiter-engine:5.8.2',
160+
'org.junit.jupiter:junit-jupiter-params:5.8.2',
161161
'com.zaxxer:HikariCP:3.4.2',
162162
'org.apache.commons:commons-dbcp2:2.7.0',
163163
'org.slf4j:slf4j-nop:1.7.30',
164164
'org.antlr:antlr4-runtime:4.9.3',
165165
'org.eclipse.gemini.blueprint:gemini-blueprint-mock:2.1.0.RELEASE',
166-
'com.google.code.gson:gson:2.9.0',
167-
'org.bouncycastle:bcprov-jdk15on:1.70',
168-
'com.azure:azure-security-keyvault-keys:4.5.2',
169-
'com.azure:azure-identity:1.7.0',
170-
'com.h2database:h2:2.1.210'
166+
'com.google.code.gson:gson:2.10.1',
167+
'org.bouncycastle:bcprov-jdk18on:1.78',
168+
'com.azure:azure-security-keyvault-keys:4.7.3',
169+
'com.azure:azure-identity:1.12.2',
170+
'com.h2database:h2:2.2.220'
171171
}

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.7.1 FOR SQL SERVER
2+
MICROSOFT JDBC DRIVER 12.8.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 & 5 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.7.1</version>
8+
<version>12.8.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.7.3</azure-security-keyvault-keys.version>
@@ -347,9 +347,6 @@
347347
</profile>
348348
<profile>
349349
<id>jre21</id>
350-
<activation>
351-
<activeByDefault>true</activeByDefault>
352-
</activation>
353350
<build>
354351
<finalName>${project.artifactId}-${project.version}.jre21${releaseExt}</finalName>
355352
<plugins>

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

Lines changed: 3 additions & 3 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 = 7;
11-
static final int PATCH = 1;
10+
static final int MINOR = 8;
11+
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.6.0.jre11</version>
18+
<version>12.8.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>18</source>
78-
<target>18</target>
77+
<source>22</source>
78+
<target>22</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.6.0.jre11</version>
18+
<version>12.8.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>18</source>
46-
<target>18</target>
45+
<source>22</source>
46+
<target>22</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.6.0.jre11</version>
17+
<version>12.8.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>18</source>
61-
<target>18</target>
60+
<source>22</source>
61+
<target>22</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.6.0.jre11</version>
17+
<version>12.8.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>18</source>
61-
<target>18</target>
60+
<source>22</source>
61+
<target>22</target>
6262
</configuration>
6363
</plugin>
6464
<plugin>

0 commit comments

Comments
 (0)