Node.js Driver release notes for 2024

This article contains the release notes for the Node.js Driver, including the following when applicable:

  • Behavior changes

  • New features

  • Customer-facing bug fixes

Snowflake uses semantic versioning for Node.js Driver updates.

See Node.js Driver for documentation.

Version 1.14.0 (October 02, 2024)

New features and updates

  • Added support for structured types.

  • Extended logs for the configuration layer.

Bug fixes

  • Fixed a callback parameter heartbeat issue.

  • Fixed SSO token authentication.

  • Extended log levels and added new methods in the driver types definition.

Version 1.13.1 (September 04, 2024)

New features and updates

  • None.

Bug fixes

  • Fixed a compilation error with the types file.

Version 1.13.0 (September 03, 2024)

New features and updates

  • Added support for the passcode and passcodeInPassword parameters in the MFA authentication process.

Bug fixes

  • Deleted query IDs exposed to users on failed requests.

  • Added axios error and response sanitization.

  • Fixed error handling issues in the getResultsFromQueryId method.

  • Fixed an issue related to re-authentication for JWT and SAML authentication.

  • Fixed an issue with returned types for async methods in the driver types definition.

Version 1.12.0 (August 05, 2024)

New features and updates

  • Added SSO and MFA token caching to the node.js driver .

  • Picked a top-level domain for Snowflake hosts.

  • Added support for reading the connection information from a file.

  • Added the cwd (current working directory) parameter to use for GET/PUT execution when it differs from the connector directory.

  • Added support for AES 256 encryption/decryption.

Bug fixes

  • Fixed a bug related o reusing the jwt token for login retries.

  • Fixed azure-storage-blob version compatibility with node version 14.

  • Fixed an issue that caused enum type errors when the isolatedModule option is set.

  • Fixed an issue the type definitions, by adding the missing cancel method and set the complete field in StatementOption as optional in driver types.

  • Fixed an issue with regex expressions in account name validation.

Version 1.11.0 (May 28, 2024)

New features and updates

  • Added the disableSamlURLCheck parameter to disable SAML URL checks.

  • Added the representNullAsStringNull configuration parameter to specify how the fetchAsString method returns null values. When disabled, fetchAsString returns null values as NULL instead of as the string, “NULL”.

  • Released Snowflake’s official d.ts type declaration file to support TypeScript users.

  • Removed the following unused dependencies:

    • agent-base

    • debug

    • extend

Bug fixes

  • Fixed an issue with millisecond precision.

  • Fixed an issue with creating paths on Windows when using the PUT command.

Version 1.10.1 (April 08, 2024)

New features and updates

  • None.

Bug fixes

  • Fixed unhandled promise rejections on keypair authorization.

  • Fixed an issue with reading a timestamp type with high precision.

  • Fixed external browser authentication.

  • Fixed an issue with native Okta URL validation.

  • Fixed the data format in bulk upload .csv files.

  • Fix validation for short account names.

  • Bumped axios to version 1.6.8.

Version 1.10.0 (February 27, 2024)

New features and updates

  • Added support for setting the log level in a logging configuration file.

  • Added the forceGCPUseDownscopedCredential flag to force sending a custom HTTP request instead of the one from gcp library. Default: false.

  • Added proxy support for files operations on AWS S3.

  • Updated google-cloud version to 7.7.0.

Bug fixes

  • Fixed an issue where an error was thrown when getting a query status.

  • Fixed an issue where OKTA authentication failed when receiving an HTTP 429 error.

Version 1.9.3 (January 17, 2024)

New features and updates

  • Added the host configuration parameter.

  • Added support for multiple SAML integrations.

  • Added logging for mapping resultset columns.

  • Updated the following libraries:

    • axios to version 1.6.5.

    • Removed the tmp module.

Bug fixes

  • Fixed an issue with the SESSION_TOKEN_EXPIRED error when destroying connections.