Repository navigation
3.31.0
·
82 commits
to main
since this release
Backward incompatibility
- Dropped support for Python 3.10. Snowflake CLI requires Python 3.11, 3.12, or 3.13.
Deprecations
New additions
- Streamlit entities support
include_project_definition: trueto opt in to uploading the project-rootsnowflake.ymlwithsnow streamlit deploy. When that file is uploaded, deploy emits a warning because stage readers can retrieve it. snow upgradeis now generally available. It upgrades a direct install of Snowflake CLI and is listed insnow --helpwithout a feature flag. Other install channels refuse and print the direct-install command.snow sqlaccepts!spool <file>and!spool off. Subsequent query results are appended to the file and still printed on the terminal. Until!spool off, TABLE is a static pipe table on both the terminal and the file: no Live refresh and no wrapping to the window. Format follows--format/!set output_format.snow sqlaccepts!set output_format=<format>(plain,table,json,json_ext,csv).plainprints query results without box drawing.--format PLAINselects the same layout.- A Streamlit entity in
snowflake.ymlaccepts five settings that Snowsight Workspaces writes, andsnow streamlit deployapplies them.execute_as(OWNERorRESTRICTED CALLER) andapp_warehouseapply toSYSTEM$WAREHOUSE_RUNTIME. A container runtime always usesOWNERand ignoresapp_warehousewith a warning.artifact_repositoriesandschedulesapply to container runtimes.idle_auto_shutdown_time_secondsapplies to each runtime.schedules(cron_exprs, maximum 5, andtimezone, default UTC) makes one warm-up task for each expression, named<app>__STREAMLIT_LIFECYCLE[_n]. A deploy changes only the tasks that are different. An emptycron_exprsdrops the tasks. An emptyartifact_repositoriesremoves the repositories. The tasks need CREATE TASK, EXECUTE TASK, and EXECUTE MANAGED TASK, and DROP STREAMLIT does not drop them. Ifsnowflake.ymldoes not set a value, the live value does not change. A setting on the incorrect runtime, or on a--legacydeploy, stops the deploy before the first SQL. Earlier CLI versions do not accept these keys.
Fixes and improvements
snow streamlit deploy --replacenow appliesmain_filechanges to existing versioned apps in place, preserving the app, grants and version history. Files are uploaded before the entrypoint changes;--pruneruns only after the change succeeds. Accounts that reject the update receive an actionable error.- Streamlit deploy now refuses to recreate an existing app with no live stage unless a legacy
ROOT_LOCATIONis known, and rejects--prunewith an unsetmain_filewhen the active entrypoint is absent from the bundle. - Upgraded the Python interpreter embedded in Linux binaries from 3.10.22 to 3.12.15. macOS and Windows binaries now embed Python 3.12 as well.
- Bumped lower bound of certifi to 2026.10.19.
- The direct install script restricts
connections.tomlandconfig.tomlto the current user when that user owns the file.snow upgradedoes the same before it checks permissions, and again before it points at the new version, so a file left readable by other accounts no longer stopssnow upgradeor the newsnowfrom starting. Symlinks and files owned by someone else are left unchanged. - Upgraded pip from 26.2.1 to 26.2.2.