Skip to content

Releases: microsoft/mssql-jdbc

[7.2.2] Hotfix & Stable Release

16 Apr 21:29
Compare
Choose a tag to compare

Fixed Issues

  • Fixed issues with ActivityIDs not getting cleaned up properly #1028

[7.3.0] Preview Release

26 Mar 21:23
84484ed
Compare
Choose a tag to compare
Pre-release

Added

  • Added support in SQLServerBulkCopy to allow Pooled/XA Connection instances during object creation #968
  • Added support for FLOAT data type for bulk copy operation when using RowSet #986

Fixed Issues

  • Fixed a possible Statement leak in SQLServerConnection.isValid() API #955
  • Fixed rounding behavior when inserting datetime values into SQL Server version 2016 and later #962
  • Fixed SQLServerConnection.abort() API behavior to clear resources consistently #983
  • Fixed SQLServerConnection documentation #984
  • Fixed SQL Exception Error State length to respect SQLSTATE Standards #977

Changed

  • Refactored SELECT_METHOD in SQLServerConnection to not fetch the same connection property twice #987
  • Improved SQLServerParameterMetadata API implementations and code coverage #973

[7.2.1] Hotfix & Stable Release

11 Feb 23:35
5d592c0
Compare
Choose a tag to compare

Fixed Issues

  • Fixed parsing issues with certain parameterized queries #950

[7.2.0] Stable Release

31 Jan 23:50
5879de4
Compare
Choose a tag to compare

Added

  • Added Azure Pipelines CI configuration to trigger Windows Client testing with SQL Server 2017 and SQL Server 2008 R2 #940

Fixed Issues

  • Fixed issue with ThreadPoolExecutor thread preventing JVM from exiting #944
  • Fixed issues reported by Static Analysis Tool - SonarQube #928 #930 #933
  • Fixed Timestamp comparison with "Thai" locale in DataTypesTest #941

Changed

  • Changed timeout request handling implementation to use SharedTimer #920
  • Removed Appveyor CI and updated Travis CI configuration #940

[7.1.4] Preview Release

09 Jan 00:36
Compare
Choose a tag to compare
Pre-release

Added

  • Added APIs for DataSourceFactory and OSGI Framework #700
  • Added support for OffsetDateTime to be passed as 'type' in ResultSet.getObject() #830
  • Added support for Active Directory MSI Authentication #838
  • Added more datatype tests to JUnit test suite #878 #916
  • Added an option to perform JUnit testing against Azure Data Warehouse #903
  • Added new APIs to retrieve SQL Server error information received with SQLServerException #905

Fixed Issues

  • Fixed issue with java.time.OffsetDateTime value sent to the server being affected by the default timezone #831
  • Fixed SSL certificate validation to respect wildcards #836
  • Fixed Bulk Copy for batch insert operation to not error out against specific datatypes #912

Changed

  • Fixed synchronization on a non-final field #860
  • Removed hardcoded error messages from test file #904
  • Updated Issue and Pull Request templates #906
  • Updated JUnit tests by closing all resources consistently and updated Maven dependency versions to latest #919

[7.1.3] Preview Release

01 Dec 01:41
cf535df
Compare
Choose a tag to compare
Pre-release

Added

  • Added a new SQLServerMetaData constructor for string values of length greater than 4000 #876

Fixed Issues

  • Fixed an issue with Geography.point() having coordinates reversed #853
  • Fixed intermittent test failures #854 #862 #888
  • Fixed an issue with setAutoCommit() leaving a transaction open when running against Azure SQL Data Warehouse #881

Changed

  • Changed query timeout logic to use a single thread #842
  • Code cleanup #857 #873
  • Removed populating Lobs when calling ResultSet.wasNull() #875
  • Improved retry logic for intermittent TLS1.2 issue when establishing a connection #882

[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