Releases: snowflakedb/snowflake-cli
Releases · snowflakedb/snowflake-cli
v1.2.3
Fixes and improvements
- Removed hardcoded values of instance families for
snow snowpark pool create
command.
v1.2.2
Fixes and improvements
- Fixed parsing of commands and arguments lists in specifications of snowpark services and jobs
v2.0.0-alpha.1
Backward incompatibility
-
Introduced
snow object
group withshow
,describe
anddrop
commands which replaces corresponding
functionalities of procedure/function/streamlit specific commands. -
snow stage
is nowsnow object stage
-
snow stage get
andsnow stage put
are replaced bysnow object stage copy [FROM] [TO]
-
snow warehouse status
is nowsnow object show warehouse
-
snow connection test
now outputs all connection details (except for the password), along with connection status -
Snowpark changes
- Removed
procedure
andfunction
subgroups. - Removed
snow snowpark function package
andsnow snowpark procedure package
in favour ofsnow snowpark build
. - Removed
snow snowpark function create
andsnow snowpark function update
. Functions can be deployed usingsnow snowpark deploy
. - Removed
snow snowpark procedure create
andsnow snowpark procedure update
. Procedures can be deployed usingsnow snowpark deploy
. - Procedures and functions use single zip artifact for all functions and procedures in project.
- Changed path to coverage reports on stage, previously created procedures with coverage will not work, have to be recreated.
- Previously created procedures or functions won't work with
deploy
command due to change in stage path of artefact. Previous code will remain under old path on stage. - Coverage commands are now under
snow snowpark coverage
. - Package commands are now under
snow snowpark package
.
- Removed
-
Snowpark Containers services commands
compute-pool
commands and its aliascp
were renamed topool
commands.jobs
commands were renamed tojob
.services
commands were renamed toservice
pool
,job
andservice
commands were moved fromsnowpark
group to a newcontainers
group.snow snowpark registry
was replaced withsnow registry
command.
-
Streamlit changes
snow streamlit deploy
is requiringsnowflake.yml
project file with a Streamlit definition.snow streamlit describe
is nowsnow object describe streamlit
snow streamlit list
is nowsnow object show streamlit
snow streamlit drop
is nowsnow object drop streamlit
New additions
- Added
snow streamlit get-url [NAME]
command that returns url to a Streamlit app. --temporary-connection
flag, that allows you to connect, without anything declared in config file- Added project definition for Streamlit
- Added
snow streamlit get-url [NAME]
command that returns url to a Streamlit app. - Added project definition for Snowpark procedures and functions.
- The
snowflake.yml
file is required to deploy functions or procedures. - Introduced new
deploy
command for project with procedures and functions. - Introduced new
build
command for project with procedure and functions
- The
- Added support for external access integration for functions and procedures
Fixes and improvements
- Allow the use of quoted identifiers in stages
- Fixed parsing of commands and arguments lists in specifications of snowpark services and jobs
v1.2.1
Fixes and improvements
- Fix homebrew installation
v1.2.0
Backward incompatibility
- Removed
snow streamlit create
command. Streamlit can be deployd usingsnow streamlit deploy
- Removed short option names in compute pool commands:
-n
for--name
, name of compute pool-d
for--num
, number of pool's instances-f
for--family
, instance family
- Renamed long options in Snowpark services commands:
--compute_pool
is now--compute-pool
--num_instances
is now--num-instances
--container_name
is now--container-name
New additions
snow streamlit init
command that creates a new streamlit project.snow streamlit deploy
support pages and environment.yml files.- Support for private key authentication
Fixes and improvements
- Adjust streamlit commands to PuPr syntax
- Fix URL to streamlit dashboards
v1.1.1
v1.1.1
Backward incompatibility
- Removed short version
-p
of--password
option.
New additions
- Added commands:
snow snowpark registry list-images
snow snowpark registry list-tags
Fixes and improvements
- Too long texts in table cells are now wrapped instead of cropped
- Split global options into separate section in
help
- Avoiding unnecessary replace in function/procedure update
- Added global options to all commands
- Updated help messages
- Fixed problem with Windows shortened paths
- If only one connection is configured, will be used as default
- Fixed registry token connection issues
- Fixes in commands belonging to
snow snowpark compute-pool
andsnow snowpark services
groups - Removed duplicated short option names in a few commands by:
- Removing
-p
short option for--password
option for all commands (backward incompatibility affecting all the commands using a connection) (it was conflicting with various options in a few commands) - Removing
-a
short option for--replace-always
insnow snowpark function update
command (it was conflicting with short version of--check-anaconda-for-pypi-deps
) - Removing
-c
short option for--compute-pool
insnow snowpark jobs create
(it was conflicting with short version of global--connection
option) - Removing
-c
short option for--container-name
insnow snowpark jobs logs
(it was conflicting with short version of global--connection
option)
- Removing
- Fixed parsing of specs yaml in
snow snowpark services create
command
v1.1.0
Backward incompatibility
- Global options
--debug
,--verbose
and--format
moved to command level (snow command --debug
instead ofsnow --debug command
)
New additions
- Possibility to override chosen connection parameters with flags like
--password
,--database
, ... (see the help text of any command using connection to Snowflake) (PRs: #267, #288, #289, #299, #303, #304, #307, #308, #336)
Fixes and improvements
- Standardised connection options added to commands using connection to Snowflake (PRs: #267, #288, #289, #299, #303, #304, #307, #308, #336)
- The same standardised options in all commands
- Global options
--debug
,--verbose
and--format
moved to command level (snow command --debug
instead ofsnow --debug command
)
- Official snowflake-connector-python version (fixes #344) (PRs: #283)
- Improved handling of multiple queries in a single command (PRs: #294)
- Added basic validation of connection port option (PRs: #298)
- Fixed zip created by snow snowpark package create (fixes #319) (PRs: #304)
- Fixed printing of chained exceptions (fixes #324) (PRs: #329)
- Glob patterns available for paths in snow stage put command (#331) (PRs: #332)
- Other bug fixes, improvements and internal refactors
Full changelog
v1.0.1
New additions
Fixes and improvements
- Fix function update logs (#262)
- Mask password in connection list (#255)
- Show --help as suggestion rather than -h (#251)
- Cache connections to allow for multiple snow commands with browser authentication (#247)
- Suppress logging from Snowflake python connector (#246)
- Fix for cursor not subscriptable (#227)
- Add more parameters for connection add (#218)
Full changelog
v1.0.0
What's Changed
[BREAKING]
- Unified configuration decoupled from snowsql dependency. For details check README. This requires updating of your existing configurations.
function
,procedure
,package
commands were moved undersnowpark
subgroup.snow login
andsnow configure
were removed and their function is replaced bysnow connection add
.
[NEW]
- Snowpark Containers commands to manage compute pools, jobs and services (#211)
- Add logging option controlled by
--verbose
and--debug
flags (#185) (#192) - JSON format support for multiple commands (#150)
- Add command for removing contents from stage (#201)
[FIXES]
- Fix streamlit deploy (#160)
Full Changelog: v0.2.9...v1.0.0