Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master post RTW 7.0 release #766

Merged
merged 24 commits into from
Jul 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3cd3a6a
Update Snapshot for upcoming RTW release v7.0.0
cheenamalhotra Jul 3, 2018
465018b
Merge pull request #735 from cheenamalhotra/update-snapshot
cheenamalhotra Jul 3, 2018
7fa7fa6
Change order of logic for checking the condition for using Bulk Copy …
peterbae Jul 4, 2018
38cddc6
Update CHANGELOG.md
cheenamalhotra Jul 5, 2018
7243eb5
Merge pull request #732 from cheenamalhotra/module (Export driver in …
cheenamalhotra Jul 6, 2018
9dec753
Update CHANGELOG.md
cheenamalhotra Jul 9, 2018
e2cf217
Change Sha1HashKey to CityHash128Key for generating PreparedStatement…
cheenamalhotra Jul 9, 2018
78c6a19
Add | Adding useBulkCopyForBatchInsert property to Request Boundary m…
ulvii Jul 9, 2018
c4b6e64
Apply the collation name change to UTF8SupportTest
ulvii Jul 9, 2018
ba62623
Package changes for CityHash with license information (#740)
cheenamalhotra Jul 10, 2018
eea5de2
Reformatted Code + Updated formatter (#742)
cheenamalhotra Jul 11, 2018
594e413
Fix policheck issue with 'Country' keyword (#745)
cheenamalhotra Jul 11, 2018
521e6b3
Adding a new test for beginRequest()/endRequest() (#746)
ulvii Jul 12, 2018
9e697a5
Fix | Fixes for issues reported by static analysis tools (SonarQube +…
rene-ye Jul 12, 2018
11e2bf4
handle buffer reading
rene-ye Jul 19, 2018
0fef350
Revert "handle buffer reading"
rene-ye Jul 19, 2018
2d0f906
updated javadocs (#754)
lilgreenbird Jul 25, 2018
07641b0
fixed some typos in javadocs (#760)
lilgreenbird Jul 25, 2018
aa0f653
API and JavaDoc changes for Spatial Datatypes (#752)
peterbae Jul 27, 2018
ca4558e
Disallow non-parameterized queries for Bulk Copy API for batch insert…
peterbae Jul 28, 2018
970f21a
Formatting | Change scope of unwanted Public APIs + Code Format (#757)
cheenamalhotra Jul 28, 2018
3bef06c
Release | Release 7.0 changelog and version update (#748)
cheenamalhotra Jul 28, 2018
07553db
Update Samples and add new samples for new features (#761)
cheenamalhotra Jul 31, 2018
c678352
Update License copyright (#767)
cheenamalhotra Jul 31, 2018
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
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ All notable changes to this project will be documented in this file.

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

## [7.0.0] Stable Release
### Added
- Added 'Automatic-Module-Name' manifest entry to jre10 Jar, allowing JDK 10 users to access driver module 'com.microsoft.sqlserver.jdbc' [#732](https://github.com/Microsoft/mssql-jdbc/pull/732)
- Added setUseBulkCopyForBatchInsert() to request boundary declaration APIs [#739](https://github.com/Microsoft/mssql-jdbc/pull/739)
- Added new test for validation of supported public APIs in request boundary declaration APIs [#746](https://github.com/Microsoft/mssql-jdbc/pull/746)

### Fixed Issues
- Fixed policheck issue with 'Country' keyword [#745](https://github.com/Microsoft/mssql-jdbc/pull/745)
- Fixed issues reported by static analysis tools (SonarQube, Fortify) [#747](https://github.com/Microsoft/mssql-jdbc/pull/747)

### Changed
- Reformatted code and updated mssql-jdbc-formatter [#742](https://github.com/Microsoft/mssql-jdbc/pull/742)
- Changed Sha1HashKey to CityHash128Key for generating PreparedStatement handle and metadata cache keys [#717](https://github.com/Microsoft/mssql-jdbc/pull/717)
- Changed order of logic for checking the condition for using Bulk Copy API [#736](https://github.com/Microsoft/mssql-jdbc/pull/736)
- Changed collation name in UTF8SupportTest [#741](https://github.com/Microsoft/mssql-jdbc/pull/741)
- Changed scope of unwanted Public APIs [#757](https://github.com/Microsoft/mssql-jdbc/pull/757)
- Changed behavior of Bulk Copy API for batch inserts to disallow non-parameterized queries [#756](https://github.com/Microsoft/mssql-jdbc/pull/756)
- Changed APIs and JavaDocs for Spatial Datatypes [#752](https://github.com/Microsoft/mssql-jdbc/pull/752)
- Improved Javadoc comments in driver [#754](https://github.com/Microsoft/mssql-jdbc/pull/754), [#760](https://github.com/Microsoft/mssql-jdbc/pull/760)

## [6.5.4] Preview Release
### Added
- Added new connection property "useBulkCopyForBatchInsert" to enable Bulk Copy API support for batch insert operation [#686](https://github.com/Microsoft/mssql-jdbc/pull/686)
Expand Down
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright(c) 2017 Microsoft Corporation
Copyright(c) 2018 Microsoft Corporation
All rights reserved.

MIT License
Expand All @@ -9,6 +9,6 @@ and / or sell copies of the Software, and to permit persons to whom the Software
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
IN THE SOFTWARE.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,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>6.4.0.jre9</version>
<version>7.0.0.jre10</version>
</dependency>
```
The driver can be downloaded from the [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=868287).
Expand All @@ -91,7 +91,8 @@ To get the latest preview version of the driver, add the following to your POM f
<version>6.5.4.jre10-preview</version>
</dependency>
```

### 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.


## Dependencies
Expand All @@ -118,7 +119,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>6.5.4.jre10-preview</version>
<version>7.0.0.jre10</version>
<scope>compile</scope>
</dependency>

Expand All @@ -134,7 +135,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>6.5.4.jre10-preview</version>
<version>7.0.0.jre10</version>
<scope>compile</scope>
</dependency>

Expand Down
12 changes: 8 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

apply plugin: 'java'

version = '6.5.4'
version = '7.0.0'
def jreVersion = ""
def testOutputDir = file("build/classes/java/test")
def archivesBaseName = 'mssql-jdbc'
Expand All @@ -29,7 +29,11 @@ if (!hasProperty('buildProfile') || (hasProperty('buildProfile') && buildProfile

jreVersion = "jre10"
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java'

jar {
manifest {
attributes 'Automatic-Module-Name': 'com.microsoft.sqlserver.jdbc'
}
}
sourceCompatibility = 10
targetCompatibility = 10
}
Expand All @@ -43,7 +47,7 @@ if((hasProperty('buildProfile') && buildProfile == "build42")) {
targetCompatibility = 1.8
}

jar.archiveName = "${archivesBaseName}-${version}.${jreVersion}-preview.jar"
jar.archiveName = "${archivesBaseName}-${version}.${jreVersion}.jar"
jar {
manifest {
attributes 'Title': "Microsoft JDBC Driver ${version} for SQL Server",
Expand Down Expand Up @@ -78,7 +82,7 @@ repositories {
}

dependencies {
compile 'com.microsoft.azure:azure-keyvault:1.0.0',
compileOnly 'com.microsoft.azure:azure-keyvault:1.0.0',
'com.microsoft.azure:adal4j:1.6.0'
testCompile 'junit:junit:4.12',
'org.junit.platform:junit-platform-console:1.2.0',
Expand Down
Loading