v2.2.0-rc0
Pre-release
Pre-release
Deprecations
snow snowpark package lookup
no longer performs check against PyPi. Using--pypi-download
or--yes
has no effect and will cause a warning. In this way the command has single responsibility - check if package is
available in Snowflake Anaconda channel.snow snowpark package create
:--pypi-download
or--yes
flags are deprecated, have no effect and will cause a warning.
create
command always checks against PyPi.--allow-native-libraries
is deprecated in favour of boolean flag--allow-shared-libraries
.
Using old flag will cause a warning.
snow snowpark build
:--pypi-download
flag is deprecated, have no effect and will cause a warning. Create command always check against PyPi.--check-anaconda-for-pypi-depts
is deprecated and using it will cause warning, the functionality is replaced by--ignore-anaconda
--package-native-libraries
is deprecated and using it will cause warning, the functionality is replaced by--allow-shared-libraries
snow object stage
commands are deprecated and using them will cause a warning.
Functionality is replaced bysnow stage
commands.
New additions
- Added support for fully qualified name (
database.schema.name
) inname
parameter in streamlit project definition - Added support for fully qualified image repository names in
spcs image-repository
commands. - Added
--if-not-exists
option tocreate
commands forservice
, andcompute-pool
. Added--replace
and--if-not-exists
options forimage-repository create
. - Added support for python connector diagnostic report.
- Added
snow app deploy
command that creates an application package and syncs the local changes to the stage without creating or updating the application. - Added
is_default
column tosnow connection list
output to highlight default connection. snow snowpark package create
:- new
--ignore-anaconda
flag disables package lookup in Snowflake Anaconda channel.
All dependencies will be downloaded from PyPi. - new
--skip-version-check
skips comparing versions of dependencies between requirements and Anaconda. - new
--index-url
flag sets up Base URL of the Python Package Index to use for package lookup.
- new
snow snowpark build
:- new
--skip-version-check
skips comparing versions of dependencies between requirements and Anaconda. - new
--index-url
flag sets up Base URL of the Python Package Index to use for package lookup.
- new
- Added
--recursive
flag for copy from stage, it will reproduce the directory structure locally. - Added support for snowgit. New commands:
snow git setup
- wizard setting up a git repository stage and creating all necessary objectssnow git fetch
- fetches latest changes from the origin repository into Snowflake repositorysnow git list-brahces
- lists all branches in the repositorysnow git list-tags
- lists all tags in the repositorysnow git list-files
- lists all files on provided branch/tag/commitsnow git copy
- copies files from provided branch/tag/commit into stage or local directorysnow git execute
- execute immediate files from repository
- Added command for execute immediate
snow object stage execute
- Fetching available packages list from Snowflake instead of directly from Anaconda with fallback to the old method (for backward compatibility).
As the new method requires a connection to Snowflake, it adds connection options to the following commands:snow snowpark build
snow snowpark package lookup
snow snowpark package create
Fixes and improvements
- Adding
--image-name
option for image name argument inspcs image-repository list-tags
for consistency with other commands. - Fixed errors during
spcs image-registry login
not being formatted correctly. - Project definition no longer accept extra fields. Any extra field will cause an error.
- Changing imports in function/procedure section in
snowflake.yml
will cause the definition update on replace - Adding
--pattern
flag tostage list
command for filtering out results with regex. - Fixed snowpark build paths for builds with --project option (fixed empty zip issue).
- More clear error messages in
snow snowpark build
command - Adding support for any source supported by
pip
insnow snowpark
. - Fixed version parsing for packages lookup on Snowflake Anaconda Channel
- Fix handling database/schema/role identifiers containing dashes
- Fix schema override bug in
snow connection test
- Hidden incorrectly working config permissions warning on Windows