Skip to content

Releases: microsoft/mssql-jdbc

[7.3.1] Preview Release

14 Jun 23:46
bc79aa1
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for NTLM Authentication #998
  • Added new connection property 'useFmtOnly' to retrieve parameter metadata #1044
  • Added support for JDK 12 with an additional "jre12" JAR #1050
  • Added 'keyVaultProviderClientId' and 'keyVaultProviderClientKey' connection properties to enhance Always Encrypted usability #902
  • Implemented hashCode() and equals() APIs for SQLServerDataTable and SQLServerDataColumn #1025
  • Added Maven Shade plugin configuration to package the driver jars in uber-jars #1043 #1078 #1081

Fixed Issues

  • Fixed DatabaseMetadata.getColumns() API to return ResultSet as per JDBC 4.3 Specifications #1016
  • Fixed issue with invalid Spatial data types by marking them valid by default #1035
  • Fixed issues with Login Timeout not getting applied appropriately #1049
  • Fixed SharedTimer implementation to use class level lock for thread safety #1046
  • Fixed issues with SQLServerDatabaseMetadata.getMaxConnections() API query #1009
  • Fixed issues with next ResultSet being consumed when reading warnings #991
  • Fixed exception handling in SQLServerPreparedStatement to make it consistent with SQLServerStatement #1003
  • Fixed misleading exception message in SQLServerCallableStatement implementation #1064
  • JUnit Test fixes and improvements #994 #1004 #1005 #1006 #1008 #1015 #1017 #1019 #1027 #1032 #1034 #1036 #1041 #1047 #1060

Changed

  • Improved performance of driver by continuously cleaning up ActivityIds stored in internal Map #1020
  • Improved performance by removing Enum.values() calls to avoid unnecessary array cloning #1065
  • Improved performance of SQLServerDataTable.internalAddRow() function #990

[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