Skip to content

Releases: aws/amazon-redshift-odbc-driver

v2.1.15

26 Mar 00:17

Choose a tag to compare

  1. Added new UseUnicode connection parameter to control SQL character data type behavior, enabling applications to receive wide character types (SQL_WCHAR, SQL_WVARCHAR, SQL_WLONGVARCHAR) instead of narrow types (SQL_CHAR, SQL_VARCHAR, SQL_LONGVARCHAR)
  2. Fixed SQLBrowseConnect to reset connection state on SQLDisconnect
  3. Fixed numeric overflow in SQLColumns and SQLProcedureColumns APIs for varchar columns exceeding smallint range

Full Changelog: v2.1.14...v2.1.15

v2.1.14

11 Mar 00:03

Choose a tag to compare

  1. Added logging of connection options and parameter status messages from the server to help diagnose connection issues and provide visibility into server-side configuration
  2. Updated root.crt with the latest CA certificate bundle from curl.se
  3. Fixed metadata retrieval to sanitize invalid negative and null values
  4. Added Subject Alternative Name (SAN) validation for SSL verify-full mode with Serverless
  5. Added support for Identity Enhanced Credentials authentication
  6. Upgraded installer build process from WiX 3 to WiX 6

Full Changelog: v2.1.13...v2.1.14

v2.1.13

13 Feb 19:18

Choose a tag to compare

  1. Improved error handling and SQL state reporting across SQLGetData, SQLPutData, SQLExtendedFetch, and SQLSetCursorName APIs
  2. Fixed SQLGetTypeInfo to dynamically return column names based on the application's ODBC version
  3. Added SQL_DESC_CONCISE_TYPE synchronization to comply with ODBC specification
  4. Corrected default values for ARD, APD, and IPD descriptors as per ODBC specification
  5. Added proper error messages when accessing non-readable or non-writable descriptor fields
  6. Added length indicators for non-string data types to comply with ODBC specification
  7. Enhanced escape clause handling by addressing gaps in existing implementation and adding support for previously missing functions
  8. Improved logging in IAMJwtPluginCredentialsProvider
  9. Fixed IdC Browser authentication plugin to respect configured HTTPS proxy settings, resolving authentication failures for users behind corporate proxies
  10. Prioritized configured region over DNS lookup for CNAME connections, resolving authentication issues when using custom domains with IAM authentication
  11. Fixed SQLGetData to return correct octet length for numeric types by using sizeof(SQL_NUMERIC_STRUCT)
  12. Fixed macOS build by converting std::string to C-string for snprintf compatibility
    Full Changelog: v2.1.12...v2.1.13

v2.1.12

14 Jan 22:15

Choose a tag to compare

  1. Added apple macOS support with ARM64 and x86_64 architecture compatibility
  2. Added support for both iODBC and unixODBC driver managers on apple macOS
  3. Added UTF-32 encoding support on macOS complementing the existing UTF-16 support
  4. Extended SQLSetEnvAttr and SQLSetConnectAttr to support SQL_ATTR_APP_UNICODE_TYPE, SQL_ATTR_APP_WCHAR_TYPE, and SQL_ATTR_DRIVER_UNICODE_TYPE attributes
  5. Enhanced all ODBC wide character APIs with improved Unicode conversions, comprehensive input and buffer validations, robust error handling, and ODBC specification-compliant return codes (SQL_SUCCESS, SQL_SUCCESS_WITH_INFO)

Full Changelog: v2.1.11...v2.1.12

v2.1.11

21 Nov 01:03

Choose a tag to compare

  1. Added the idp_partition parameter which allows users to authenticate against Azure Active Directory across different Microsoft cloud environments (e.g., Global, US Gov, China).
  2. Enhanced SQLTables and SQLColumns metadata APIs to support uppercase column names in server responses.
  3. Added warning messages when DEBUG or TRACE log levels are enabled.
  4. Removed unsupported PostgreSQL replication features.
  5. Added native ARM64 support for RPM-based Linux distributions.
  6. Enhanced database metadata retrieval logic in SQLTables(), SQLColumns(), SQLPrimaryKeys(), SQLForeignKeys(), SQLSpecialColumns(), SQLColumnPrivileges(), SQLTablePrivileges(), SQLProcedures(), and SQLProcedureColumns() API methods to enable data sharing capabilities while maintaining ODBC specification compliance.
  7. Fixed IDC authentication redirect URL for China regions.

Full Changelog: v2.1.10...v2.1.11

v2.1.10

14 Oct 20:10

Choose a tag to compare

  1. Standardized logging output to conform with ODBC logger format specifications.
  2. Updated SQLGetInfo to reflect existing String and Date/Time function support.
  3. Removed unsupported client/stdin Copy and Unload feature implementation that was no longer maintained or supported.
  4. Fixed SQLGetConnectAttr API to correctly return StringLengthPtr for NULL ValuePtr in string attribute scenarios.
  5. Fixed buffer length validation for integer attributes in SQLGetConnectAttr.
  6. Improvements for logging.

Full Changelog: v2.1.9...v2.1.10

v2.1.9

14 Aug 22:55

Choose a tag to compare

  1. Fixed row-wise parameter binding in SQLBindParameter by implementing correct length indicator pointer and stride calculations.

Full Changelog: v2.1.8...v2.1.9

v2.1.8

02 Jul 01:13

Choose a tag to compare

  1. Added support to change the connection to read-write using mode SQL_ATTR_ACCESS_MODE after the connection was established.
  2. Fixed the return data type for Date/Time columns in SQLColumns API to match the configured ODBC version set via SQL_ATTR_ODBC_VERSION.
  3. Fixed incorrect streaming cursor state handling after SQLTables API catalog list retrieval.
  4. Fixed an issue where the driver incorrectly treated NULL parameters as empty strings in SQLTables when using SQL_ALL_CATALOGS, which caused it to return a catalog list instead of the expected table list.
  5. Removed legacy code containing unused libpq quoting functions.
  6. Resolved build issues when compiling the Windows driver from GitHub source code.
  7. Added support for all Glue Data type in the SQLColumns metadata API, enabling accurate column type information retrieval from AWS Glue catalogs.
  8. Enhanced the ODBC driver's data retrieval functionality by implementing proper offset tracking and buffer management through SQLGetData API to correctly handle large data sets retrieved in chunks, ensuring sequential data access rather than repeated retrieval of initial data segments.
  9. Fixed a memory leak that occurred when initializing result set fields in SQLTables and SQLColumns API calls.

Full Changelog: v2.1.7...v2.1.8

v2.1.7

06 Mar 20:02

Choose a tag to compare

  1. Fixed an issue with batch insertion parameters where SQL_ATTR_PARAMSET_SIZE updates were not being properly applied between SQLPrepare and SQLExecute calls.
  2. Updated to latest OpenSSL 1.1.1.
  3. Fixed SQLTables metadata API to properly include external schemas when listing all schemas in the current database.
  4. Corrected SQLTables metadata API result ordering to properly sort by catalog name.
  5. Added support for serverless cluster authentication via GetClusterCredentials API - connect to workgroups by prefixing “redshift-serverless” to ClusterId field (server field optional).
  6. Added support for network load balancer (NLB) hostnames in server name fields.

Full Changelog: v2.1.6...v2.1.7

v2.1.6

24 Dec 08:12

Choose a tag to compare

  1. Introduced token caching support for Browser IdC Auth plugin.
  2. Updated the logic for retrieving database metadata through the SQLTables() and SQLColumns() API methods.
  3. Addressed security issues as detailed in CVE-2024-12746
  4. Fixed an issue where data types returned for the BUFFER_LENGTH, DECIMAL_DIGITS, NUM_PREC_RADIX, and NULLABLE columns in the SQLColumns ODBC API call result set for external schema did not conform to the ODBC specification.
  5. Increased buffer size of MAX_IDEN_LEN to support connection parameter inputs up to 1024 characters.
  6. Improved build system, removed prebuilt dependencies and introduced an automated script to build driver dependencies from source.

Full Changelog: v2.1.4...v2.1.6