Releases: natesilva/snowflake-promise
Releases · natesilva/snowflake-promise
v5.0.0
A complete rewrite with improved TypeScript support and modern architecture while maintaining full backwards compatibility.
Documentation: https://natesilva.github.io/snowflake-promise/
🚀 What’s New
- New
promisifyConnection
API. This is a lightweight wrapper around the official Snowflake SDK that adds Promise support. - The official
snowflake-sdk
is now apeerDependency
for more flexibility, allowing you to stay up-to-date. - Dual Promise/Callback Support: Works with both Promises and callbacks. Existing callback-based code that uses the Snowflake SDK continues to work unchanged.
- Enhanced TypeScript support: complete type definitions and intelligent typing that recognizes when you are using Promises instead of callbacks, with strong typing.
- 100% test coverage
- CJS and ESM support
- New complete documentation website, with sections including: API Reference, Migration Guide, and an Authentication Guide that walks you through your options for Snowflake’s upcoming authentication changes.
⛓️💥 Breaking Changes
- The minimum Node.js version is now Node.js 20 or higher.
- No other breaking changes: version 5 is backwards compatible with version 4.
Full Changelog: v4.5.0...v5.0.0
v5.0.0-beta.2
⭐ This is a beta version, and is not the default installation yet. It can be manually installed using npm i snowflake-promise@beta
.
Changes
- The
snowflake-sdk
installation is now properly recognized as apeerDependency
instead of a direct dependency.
v5.0.0-beta.1
⭐ This is a beta version, and is not the default installation yet. It can be manually installed using npm i snowflake-promise@beta
.
Major Changes
- BREAKING CHANGE: Requires Node.js 18+ (previous versions no longer supported)
- Complete refactor of the library with improved TypeScript support
- Added
promisifyConnection
and related helper functions - Maintained full backwards compatibility with the previous version of this library
- Maintained full backwards compatibility with Snowflake’s callback API
- Modernized build system with ESM/CJS dual package support
Documentation
- New website with comprehensive documentation:
- Improved TypeScript examples and API reference
Testing
- 99.44% test coverage
- 100% branch and function coverage
- Comprehensive integration tests
v4.5.0
v4.4.0
v4.2.0
v4.1.0
v4.0.0
v2.2.0
- update to snowflake-sdk 1.3.2 78eb582
- Merge pull request #1 from sshivananda/feature/addSupportForKeepAlive 2717223
- Adds support for the
clientSessionKeepAlive
andclientSessionKeepAliveHeartbeatFrequency
connection options. Thanks to @sshivananda.
- Adds support for the
v2.0.1
- Promoted v2.0 (
next
) to the released version (latest
)