2.21.0 (2026-09-10)
❗ Migration guide: v2.20.x -> v2.21.0
❗ BCR Migration guide
❗ Breaking change:
- Rename constraint column fields in preview
snowflake_iceberg_tableto plural names (columns,ref_columns) (b2f4dda)
🎉 What's new:
- Add preview Openflow resources and data sources for deployments, runtimes, and connectors (51a214c, e14d531, 59dfdf2, c6e06a2, 5898553, 3ec8e7c, 34f28ba, 83fff11, 06962a3, 6ca1b11)
- Allow migrating an existing warehouse to
snowflake_warehouse_adaptivein a single apply (cdefe9b), references #5201 - Accept unknown object types in grant and tag resources, and support
ON ALL EXPERIMENTSgrants (38c617c, ac9c277, c682dde, 810e18e, 8ffafb8, f5e6ab0), references #5084 - Add
is_from_organization_user_grouptoshow_outputforsnowflake_account_roleandsnowflake_account_roles(0bc153f) - Add preview
snowflake_hybrid_tablesdata source (731286a)
🔧 Misc:
- Promote selected preview resources and data sources to stable (5152699)
- Honor the resource create timeout when polling for a new account (0c22de0), references #5189
- Document BCR-2325 impact on
snowflake_procedure_pythonandsnowflake_function_pythonpackages (8f37add, 0ad9fa9), references #5116
🐛 Bug fixes:
- Allow destroying and replacing
snowflake_grant_privileges_to_database_roleafter an object type mismatch (14aabf5), references #5200 - Ignore
last_refreshed_onwhen detecting stage directory drift (65f860b) - Restore the session warehouse after creating an interactive warehouse (e73c474)
- Reject empty lists in session policy and external access integration fields that have a
noneoption (4b96ca8) - Stop experimental
SHOWcache invalidation from canceling unrelated in-flight reads (3897230) - Prevent perpetual
describe_outputupdates onsnowflake_storage_lifecycle_policy(ec7cb9b) - Prevent view, materialized view, and dynamic table statement drift when identifiers contain spaces (72528ed), references #5178
- Accept hyphenated CSV
ENCODINGaliases on import (6457473), references #5085 - Accept
DATABASE_ROLEgranted_onwhen reading ownership of a database role (BCR-2371) (a17ec20) - Fix grant drift for share names that contain dots (d74a979)
- Wait for postgres instance
ALTERoperations to complete (fc4cb83)
📦 Library updates:
Direct dependency changes (root go.mod)
| Package | Old | New | Notes |
|---|---|---|---|
pelletier/go-toml/v2
| v2.3.1 | v2.4.3 | |
snowflakedb/gosnowflake/v2
| v2.1.0 | v2.2.0 | AWS WIF outbound token option, min TLS env var, WIF host restriction, NUMBER precision, GET/local FS fixes |
stretchr/testify
| v1.11.1 | v1.12.1 | |
golang.org/x/crypto
| v0.54.0 | v0.56.0 | |
golang.org/x/text
| v0.40.0 | v0.41.0 | |
golang.org/x/tools
| v0.48.0 | v0.49.0 | |
mvdan.cc/gofumpt
| v0.10.0 | v0.11.0 |