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