Skip to content

Releases: microsoft/mssql-jdbc

[7.1.2] Preview Release

30 Oct 19:56
b331c3b
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for JDK 11 #824 #837 #807
  • Updated SQL keywords in DatabaseMetaData #829
  • Improvements in DatabaseMetadata to prevent Statement leaks and enhance Statement caching #806

Fixed Issues

  • Fixed slf4j warning message in tests #841
  • Fixed potential NullPointerException in logException() #844
  • Fixed intermittent failures in JUnit - LobsTest #827
  • Fixed useBulkCopyForBatchInserts API to respect Statement timeout value #817

Changed

  • Updated JUnit tests to remove hard-coded names #809
  • Removed illegal reflection access in Kerberos Authentication #839
  • Enabled non-running JUnit tests #847
  • Updated Clobs to use StandardCharsets.US_ASCII instead of hard-coded string #855
  • Code cleanup #821 #825

[7.1.1] Preview Release

28 Sep 00:08
593ffb1
Compare
Choose a tag to compare
Pre-release

Added

  • Added streaming capabilities for Clob.getAsciiStream() #799

Fixed Issues

  • Fixed a bug where calling length() after obtaining a stream would close the stream for Clobs/NClobs #799
  • Fixed Clob/NClob encoding issues #799
  • Fixed issues in Bulk Copy exception handling #801
  • Fixed closeable resource leaks in Junit tests #797
  • Fixed issues with apostrophe being passed in table name #780
  • Fixed statement leaks and improved exception handling in SQLServerParameterMetadata #780

Changed

  • Changed error message to be thrown when data out of range for DECIMAL/NUMERIC types #796

[7.1.0] Preview Release

29 Aug 21:51
b7e0e31
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for LocalDate, LocalTime and LocalDateTime to be passed as 'type' in ResultSet.getObject() #749
  • Added support to read SQL Warnings after ResultSet is read completely #785

Fixed Issues

  • Fixed Javadoc warnings and removed obselete HTML tags from Javadocs #786
  • Fixed random JUnit failures in framework tests #762

Changed

  • Improved performance of readLong() function by unrolling loop and using bitwise operators instead of additions #763
  • Removed logging logic which caused performance degradation in AE #773

[7.0.0] Stable Release

31 Jul 21:05
c678352
Compare
Choose a tag to compare

Added

  • Added 'Automatic-Module-Name' manifest entry to jre10 Jar, allowing JDK 10 users to access driver module 'com.microsoft.sqlserver.jdbc' #732
  • Added setUseBulkCopyForBatchInsert() to request boundary declaration APIs #739
  • Added new test for validation of supported public APIs in request boundary declaration APIs #746

Fixed Issues

  • Fixed policheck issue with 'Country' keyword #745
  • Fixed issues reported by static analysis tools (SonarQube, Fortify) #747

Changed

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

[6.5.4] Preview Release

30 Jun 00:37
Compare
Choose a tag to compare
Pre-release

Added

  • Added new connection property "useBulkCopyForBatchInsert" to enable Bulk Copy API support for batch insert operation #686
  • Added implementation for Java 9 introduced Boundary method APIs on Connection interface #708
  • Added support for "Data Classification Specifications" on fetched resultsets #709
  • Added support for UTF-8 feature extension #722

Fixed Issues

  • Fixed issue with escaping catalog name when retrieving from database metadata #718
  • Fixed issue with tests requiring additional dependencies #729

Changed

  • Made driver default compliant to JDBC 4.2 specifications #711
  • Updated ADAL4J dependency version to 1.6.0 #711
  • Cleaned up socket handling implementation to generalize functionality for different JVMs and simplified the logic for single address case #663

[6.5.3] Preview Release

01 Jun 22:50
405c704
Compare
Choose a tag to compare
Pre-release

Added

  • Added removed constructor back to AKV Provider which supports authentication with a customized method to fetch accessToken #675
  • Added support for JDK 10 for both Maven and Gradle #691
  • Added a resource bundle to handle junit error strings #698

Fixed Issues

  • Fixed the driver disposing user created credentials when using Kerberos Constrained Delegation #636
  • Fixed an issue with HostnameInCertificate when redirected while connected to Azure #644
  • Fixed an intermittent issue with Prepared Statement handle not found #648
  • Fixed a conflict with JDBC Compliance where the driver was returning marked columns as SS_IS_COMPUTED instead of IS_GENERATED #695
  • Fixed maven build warnings and deprecated Java API warnings #701
  • Fixed some Javadoc related warnings #702

[6.5.2] Preview Release

04 May 23:24
6815b08
Compare
Choose a tag to compare
Pre-release

Added

  • Added new connection property "cancelQueryTimeout" to cancel QueryTimeout on Connection and Statement #674

Fixed Issues

  • Improved performance degradation while maintaining JDBC compliance with results from sp_fkeys #677
  • Fixed an issue where ResultSetMetaData instances created by a ResultSet that has been closed were not persisting #685
  • Fixed an issue with PreparedStatement.setBigDecimal when no scale is passed #684
  • Fixed an issue with Clobs/NClobs not persisting after ResultSet/Connection closes #682

Changed

  • Updated the samples to be usable with Eclipse directly, and updated the driver version used by the samples to 6.4.0.jre9 #679
  • Updated Gradle script for building JDBC Driver #689
  • Updated Maven dependencies for test suite #676
  • Updated multiple Maven dependency and plugin versions #688

[6.5.1] Preview Release

07 Apr 01:18
Compare
Choose a tag to compare
Pre-release

Added

  • Test cases for Date, Time, and Datetime2 data types. #558

Fixed Issues

  • Fixed an issue where ResultSetMetadata returned incorrect columnType for Geometry and Geography data types #657
  • Fixed server side CPU Affinity problems caused by uneven connection distribution across NUMA Nodes when multiSubnetFailover is true #662
  • Fixed an issue where Driver wasn't parsing TDS Packets completely to capture exceptions raised inside executed stored procedures #664
  • Fixed an issue where driver throws exception when using setMaxRows() followed by query execution when SHOWPLAN_TEXT is ON #666

Changed

  • Removed unused imports which forced users to import the ADAL4J library #652

[6.5.0] Preview Release

09 Mar 22:15
0766990
Compare
Choose a tag to compare
Pre-release

Added

  • Support for spatial datatypes #642

Fixed Issues

  • Fixed blobs becoming unavailable when the Result Set cursor moves or the Result Set closes #595
  • Fixed an issue when attempting to insert an empty or null value into an encrypted column #632
  • Fixed a misleading error message thrown by the driver when a user doesn't have execute permissions #635
  • Fixed statements throwing SQLServerException instead of java.sql.SQLTimeoutException when the query times out #641

Changed

  • Unit tests now use SQLException in most cases instead of SQLServerException.

[6.4.0] Stable Release for Java 8, 9

27 Feb 22:21
e8ad454
Compare
Choose a tag to compare

Added

  • Support added for AAD Integrated Authentication with ADAL4J on Windows/Linux/Mac OS #603
  • Enable Recover after MSDTC is restarted #581
  • Added Version Update configuration rules to project #541
  • JDK 9 Compatibility + JDBC 4.3 API support added to the driver [#601 (https://github.com//pull/601)

Fixed Issues

  • Re-introduced Retry Logic for Prepared Statement Caching implementation and remove detect change context function #618 and #620
  • Fixes for SonarQube Reported issues #599
  • Fixes for Random Assertion Errors #597

Changed

  • Updated Appveyor to use JDK9 building driver and running tests #619
  • JDK 7 compilation support removed from the driver #601