From 593ffb1aa4d55c6fbbc90bbd175b8c20b13e7739 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Tue, 25 Sep 2018 15:18:10 -0700 Subject: [PATCH] Release | Update changelog for v7.1.1 Preview Release (#808) --- CHANGELOG.md | 11 +++++++++++ README.md | 12 +++++++++--- build.gradle | 2 +- pom.xml | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad51b2223..b01ab74e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) +## [7.1.1] Preview Release +### Fixed Issues +- Fixed a bug where calling length() after obtaining a stream would close the stream for Clobs/NClobs [#799](https://github.com/Microsoft/mssql-jdbc/pull/799) +- Fixed issues in Bulk Copy exception handling [#801](https://github.com/Microsoft/mssql-jdbc/pull/801) +- Fixed closeable resource leaks in Junit tests [#797](https://github.com/Microsoft/mssql-jdbc/pull/797) +- Fixed issues with apostrophe being passed in table name [#780](https://github.com/Microsoft/mssql-jdbc/pull/780) +- Fixed statement leaks and improved exception handling in SQLServerParameterMetadata [#780](https://github.com/Microsoft/mssql-jdbc/pull/780) + +### Changed +- Changed error message to be thrown when data out of range for DECIMAL/NUMERIC types [#796](https://github.com/Microsoft/mssql-jdbc/pull/796) + ## [7.1.0] Preview Release ### Added - Added support for LocalDate, LocalTime and LocalDateTime to be passed as 'type' in ResultSet.getObject() [#749](https://github.com/Microsoft/mssql-jdbc/pull/749) diff --git a/README.md b/README.md index 6c304ec07..375137e46 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ For some features (e.g. Integrated Authentication and Distributed Transactions), Don't want to compile anything? We're now on the Maven Central Repository. Add the following to your POM file to get the most stable release: + ```xml com.microsoft.sqlserver @@ -84,13 +85,15 @@ We're now on the Maven Central Repository. Add the following to your POM file to The driver can be downloaded from the [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=868287). To get the latest preview version of the driver, add the following to your POM file: + ```xml com.microsoft.sqlserver mssql-jdbc - 7.1.0.jre10-preview + 7.1.1.jre10-preview ``` + ### Using driver as Java Module Starting from version 7.0.0, the driver Jars (jre10 and above) will expose 'Automatic-Module' as **'com.microsoft.sqlserver.jdbc'**. The supporting Jar can now be added to ModulePath to access this module. @@ -115,11 +118,12 @@ mvn dependency:tree Projects that require either of the two features need to explicitly declare the dependency in their pom file. ***For Example:*** If you are using *Azure Active Directory Authentication feature* then you need to redeclare *adal4j* dependency in your project's pom file. Please see the following snippet: + ```xml com.microsoft.sqlserver mssql-jdbc - 7.1.0.jre10-preview + 7.1.1.jre10-preview compile @@ -131,11 +135,12 @@ Projects that require either of the two features need to explicitly declare the ``` ***For Example:*** If you are using *Azure Key Vault feature* then you need to redeclare *azure-keyvault* dependency and *adal4j* dependency in your project's pom file. Please see the following snippet: + ```xml com.microsoft.sqlserver mssql-jdbc - 7.1.0.jre10-preview + 7.1.1.jre10-preview compile @@ -151,6 +156,7 @@ Projects that require either of the two features need to explicitly declare the 1.0.0 ``` + ***Please note*** as of the v6.2.2, the way to construct a `SQLServerColumnEncryptionAzureKeyVaultProvider` object has changed. Please refer to this [Wiki](https://github.com/Microsoft/mssql-jdbc/wiki/New-Constructor-Definition-for-SQLServerColumnEncryptionAzureKeyVaultProvider-after-6.2.2-Release) page for more information. ## Guidelines for Creating Pull Requests diff --git a/build.gradle b/build.gradle index 6109f6b97..34c86772c 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'java' -version = '7.1.1-SNAPSHOT' +version = '7.1.1' def jreVersion = "" def testOutputDir = file("build/classes/java/test") def archivesBaseName = 'mssql-jdbc' diff --git a/pom.xml b/pom.xml index 72a59bc10..f6de79670 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.microsoft.sqlserver mssql-jdbc - 7.1.1-SNAPSHOT + 7.1.1 jar Microsoft JDBC Driver for SQL Server