Snowflake CLI release notes for 2025¶
This article contains the release notes for the Snowflake CLI, including the following when applicable:
- Behavior changes
- New features
- Customer-facing bug fixes
See Snowflake CLI for documentation.
Version 3.14.0 (Dec 09, 2025)¶
新功能和更新
-
Updated the
snow streamlit deploycommand to use the updated CREATE STREAMLIT syntax (FROM source_location) instead of the deprecated syntax (ROOT_LOCATION = ‘<stage_path_and_root_directory>’).Note
The deprecated syntax is still supported, but Snowflake recommends using the new syntax for better clarity and consistency. You can use the
snow streamlit deploy --legacyoption to continue using the deprecated syntax.
错误修复
- 无。
Version 3.13.1 (Dec 02, 2025)¶
新功能和更新
- 无。
错误修复
- Fixed an issue with parsing the
--varsvalues provided tosnow dbt executesubcommands. This fix allows you to pass variables the same way as you would to the dbt CLI, such as--vars '{"key": "value"}’.
Version 3.13.0 (Nov 03, 2025)¶
新功能和更新
-
Added the
--decimal-precisionglobal option to allow setting arbitrary precision for Python’sDecimaltype. -
Added support for the
auto_suspend_secsparameter in SPCS service commands (deploy,set,unset) to configure automatic service suspension after a period of inactivity. -
Added the
snow dbt describeandsnow dbt dropcommands. -
Added the
snow dbt execute ... retrysubcommand. -
Added the following
snow dbt deploycommand options:--default-targetto set a default target.--unset-default-targetto clear the default target.--external-access-integrationto set external access integrations (needed to pull external dependencies for altering a dbt project object).--install-local-depsto install dependencies located in the project.
-
Added support for running Streamlit apps on SPCS runtime.
-
Added grant privileges definitions to the Streamlit
snowflake.ymlfile. -
Updated snowflake-connector-python to version 3.18.0.
-
Relaxed dbt
profiles.ymlvalidation rules; added extra validation for role specified inprofiles.yml.
错误修复
- 无。
Version 3.12.0 (Sep 24, 2025)¶
新功能和更新
- Added the
!editcommand to thesnow sqlcommand to support external editors. - Added the
--partialoption to thesnow logscommand to support partial, case-insensitive matching of log messages. - Improved parsing
!sourcewith trailing comments. - Upgraded to
typer=0.17.3to improve the display of help messages. - Improved output handling with streaming queries in the
snow sqlcommand.
错误修复
- Fixed crashes with older x86_64 Intel CPUs.
- Fixed the
!commands insnow sqlcommands so they no longer require a trailing;for evaluation. - Fixed using
ctx.varinsnow sqlwith Jinja templating. - Fixed issues when pasting content with trailing new lines.
- Fixed an issue with
snow snowpark deployfailing on duplicated packages. - Fixed an issue causing a
snow spcs logsIndexOutOfRangeerror.
版本 3.9.0(2025 年 5 月 29 日)¶
新功能和更新
-
Added the
snow connection removecommand. -
Added support for the
runtime_environment_versionfield in notebook entity configurations to let you specify runtime environment version for containerized notebooks. -
Added the
snow auth oidccommands for managing workload identity federation authentication:snow auth oidc read-tokento read and display OIDC tokens from CI/CD environments.
Also included GitHub Actions provider support in these commands for password-less authentication in CI/CD pipelines.
错误修复
- 无。
版本 3.10.0(2025 年 7 月 17 日)¶
新功能和更新
- 无
错误修复
- Fixed
snow dbt deploycommand to properly handle fully qualified names. - Fixed
snow dbt deploycommand to properly handle local directories with dots in names.
版本 3.10.0(2025 年 7 月 17 日)¶
弃用
- This version deprecates the Snowpark processor in the Snowflake Native App Framework.
新功能和更新
-
Added support for passing an OAuth token with the
--tokenoption. -
Added the ability to suppress new Snowflake CLI version messages.
-
Added the following new
--formatoptions for outputting data:CSV, which formats query output as CSV.JSON_EXT, which outputs JSON as JSON objects instead of strings.
-
Added the
--enabled_templatingoption for thesnow sqlcommand that lets you specify which of the following templates to use when resolving variables:- Standard (
<% ... %>), enabled by default. - Legacy (
&{ ... }), enabled by default. - Jinja (
{{ ... }}), disabled by default.
- Standard (
-
Added a
packagesalias forartifact_repository_packagesin thesnowflake.ymlschema. -
Added the
snow stage copy @src_stage @dst_stagecommand for copying files directly between two named stages. -
Added support for the DBT
deploy,execute, andlistcommands.
错误修复
- Fixed an issue where the
snow sqlcommand would fail whensnowflake.ymlis invalid and the query has no templating. - Fixed an issue with JSON serialzation for the
Decimal,time, andbinarydata types.
版本 3.9.1(2025 年 6 月 9 日)¶
新功能和更新
- Added the
--private-linkoption tosnow spcs image-registry logincommand to log in using private link URLs.
错误修复
- 无。
版本 3.9.0(2025 年 5 月 29 日)¶
新功能和更新
- Added the
--encryptionoption to thesnow stage createcommand to define the type of encryption to use for all files on the stage.
错误修复
- Fixed errors that occurred for
usecommands if the current database is not set.
版本 3.8.3(2025 年 5 月 22 日)¶
新功能和更新
- 无
错误修复
- Added the
--private-linkoption to thesnow spcs image-registry urlcommand for retrieving private link URLs.
版本 3.8.2(2025 年 5 月 21 日)¶
新功能和更新
- 无
错误修复
- Changed the
enable_release_channelsproperty default fromFalseto None.
版本 3.8.1(2025 年 5 月 20 日)¶
新功能和更新
- 无
错误修复
- The upgrade message is now sent to
stderr. - Fixed a
snowflake.coreimport issue on newer Python versions.
版本 3.8.0(2025 年 5 月 16 日)¶
新功能和更新
- 添加了对 OAuth 令牌的支持。
- Added the following enhancements to the
snow sqlcommand:- 添加了交互模式。
- 添加了对异步 SQL 查询的支持。
- Added support for the
!queries,!result, and!abortSQL query commands. - Added the
--single-transactioncommand-line option to execute multiple SQL queries as an all-or-nothing batch, ensuring that all commands complete successfully before any of the changes are committed. - Added the
artifact_repositoryfield to the Snowpark Entity Model to support using non-anaconda packages.
错误修复
- Fixed an issue with deploying Snowpark project using the
!=operator inrequirements.txt. - Fixed an issue with escaping identifiers for
usecommands. - Moved the
enable_release_channelsparameter from the global level to the project level. - Fixed the
snow spcs service metricscommand to accept fully qualified service names.
版本 3.7.2(2025 年 5 月 12 日)¶
新功能和更新
- 无。
错误修复
- 修复了帮助消息中显示错误的问题。
版本 3.7.1(2025 年 4 月 28 日)¶
新功能和更新
- 无。
错误修复
- 修复了证书连接问题。
- Fixed a
snow spcs image-registrylogin slow query problem.
版本 3.7.0(2025 年 4 月 16 日)¶
新功能和更新
- Added the
--pruneoption to thesnow notebook deploy,snow snowpark deploy, andsnow streamlit deploycommands that removes files that exist in the stage, but not in the local filesystem. - Added the
snow logscommand for retrieving and streaming logs from the server. - Added the
snow helper check-snowsql-env-varsthat reports environment variables from SnowSQL with their Snowflake CLI replacements.
错误修复
- Updated the MacOS post-install script to update the
PATHenvironment variable, if needed, to ensure thesnowcommand is available.
版本 3.6.0(2025 年 4 月 2 日)¶
新功能和更新
- Added support for the
!sourcecommand in SQL queries to allow executing SQL from local files.
错误修复
- Fixed an issue with incompatible options in
snow spcs compute-poolcommands that didn’t raise error. - 更改了二进制构建,支持嵌入整个 Python 环境。
- 修复了在不平衡的目录树中递归复制到暂存区的问题。
- Fixed checking for a new Snowflake CLI version.
- Added file execution logs in
snow stageandsnow gitcommands.
版本 3.5.0(2025 年 3 月 10 日)¶
新功能和更新
-
Extended project definition (
snowflake.yml) support for the following SPCS (Snowpark Container Services) entities:- 计算池
- 镜像仓库
- 服务
-
Added the
snow spcs compute pool deploycommand that reads asnowflake.ymlproject definition file. -
Added the
snow spcs image repository deploycommand that reads asnowflake.ymlproject definition file. -
Added the
snow spcs service deploycommand that reads asnowflake.ymlproject definition file.
错误修复
- Fixed an issue with data type handling in the
snow sqlcommand when using JSON for the output format.
版本 3.4.0(2025 年 2 月 13 日)¶
新功能和更新
-
Added the optional
stage_subdirectoryfield to the application package entity. When this value is specified, application artifacts are uploaded to this subdirectory instead of to the root of the application package’s stage. -
Added the following
snow spcs servicecommands:snow spcs service eventsretrieves service-specific events.snow spcs service metricsfetches service metrics.
-
Added the following
snow app release-directivecommands:snow app release-directive add-accountsadds accounts to a release directive.snow app release-directive remove-accountsremoves accounts from a release directive.
-
Added the
snow app release-channel set-accountscommand to set accounts for release channels. -
Added the
--force-replaceoption to thesnow snowpark deploycommand to replace entities even if no changes are detected. -
添加了以下笔记本功能:
- Added the
snow notebook deploycommand that allows the creation of a notebook using a local file. - 添加了对容器化笔记本的支持。
- Added
notebookto the supported object types for thesnow objectcommands.
- Added the
-
Added support for glob patterns (except
**)in artifacts paths in Streamlit and Snowparksnowflake.yymlfiles.Note
Using glob patterns in Snowpark
snowflake.ymlfiles requires enabling the ENABLE_SNOWPARK_GLOB_SUPPORT feature flag. -
添加了对 Mac OS x86_64 架构的支持。
错误修复
- Fixed an MFA caching issue in the Snowflake CLI binary installation files.
- Fixed an auto-completion issue in the Snowflake CLI binary installation files.
版本 3.3.0(2025 年 1 月 21 日)¶
Note
On January 28, 2025, Snowflake updated the documentation for the snow add release channel commands to indicate that the feature is in Public Preview instead of General Availability.
新功能和更新
-
Added the following Snowflake Native Apps features and updates:
-
添加了以下命令以支持发布指令:
snow app release-directive listsnow app release-directive setsnow app release-directive unset
-
添加了对发布渠道的支持,包括以下内容:
- Added support release channels in the
snow app version createandsnow app version dropcommands. - Added the ability to specify a release channel when creating an application instance from a release directive (
snow app run --from-release-directive --channel=<channel>). - Added the
snow app release-channel listto list available release channels. - Added the
now app release-channel add-accountsandsnow app release-channel remove-accountscommands to support adding and removing accounts from release channels. - Added the
snow app release-channel add-versionandsnow app release-channel remove-versioncommands to add versions to and remove versions from release channels.
- Added support release channels in the
-
Added the
snow app publishcommand to simplify publishing versions to release channels and to update release directives. -
Made the following changes to the
snow app version createcommand:- 该命令现在以 JSON 格式返回版本、补丁和标签。
- Added the
--from-stageoption to allow version creation from the content of a stage without needing to re-synchronize to the stage.
-
-
Added the
snow helpers import-snowsql-connectionscommand to import connections from existing SnowSQL configurations. -
Added support for restricting user access to Snowflake CLI only. For more information, see Add an authentication policy that limits access to Snowflake CLI only.
错误修复
- 修复了无法将补丁添加到小写引号版本的问题。
- Fixed an issue with setting label to blank instead of
Nonewhen not provided. - Fixed the
snow connection generate-jwtcommand to preserve command-line connection options. - 修复了笔记本命令的暂存区路径处理。