Skip to content

Releases: snowflakedb/snowflake-cli

v.3.0.0-rc5

30 Sep 15:25
Compare
Choose a tag to compare
v.3.0.0-rc5 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init, snow streamlit init, and snow app init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.
    • snow snowpark package commands no longer fallback to Anaconda Channel metadata when fetching available packages info fails.
    • Added snow streamlit execute app-name command to run Streamlit apps in a Snowflake environment in headless mode.

Deprecations

  • Renamed private-key-path flag to private-key-file, added private-key-path as an alias for backward compatibility.

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow helpers v1-to-v2 command to migrate snowflake.yml file from V1 to V2.
  • Added --package-entity-id and --app-entity-id options to snow app commands to allow targeting specific entities when the definition_version in snowflake.yml is 2 or higher and it contains multiple application package or application entities.
  • Added templates expansion of arbitrary files for Native Apps through templates processor.
  • Added SNOWFLAKE_..._PRIVATE_KEY_RAW environment variable to pass private key as a raw string.
  • Added periodic check for newest version of Snowflake CLI. When new version is available, user will be notified.
  • Added support for imports in Streamlit definition.
  • Add --host and --port to connection flags.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier
  • Duplicated keys in snowflake.yml are now detected and reported.
  • snow streamlit deploy will check for existing streamlit instance before deploying anything.
  • Fixed snow git execute with / in name of the branch.
  • snow app commands don't enforce ownership of the objects they manage, and rely on RBAC instead.
  • snow app deploy for package entity now allows operating on application packages created outside the CLI
  • Fixes snow connection add behavior when connections.toml file exists.
  • Add more readable error messages in snow object create command.

v3.0.0-rc4

27 Sep 13:04
Compare
Choose a tag to compare
v3.0.0-rc4 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init, snow streamlit init, and snow app init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.
    • snow snowpark package commands no longer fallback to Anaconda Channel metadata when fetching available packages info fails.
    • Added snow streamlit execute app-name command to run Streamlit apps in a Snowflake environment in headless mode.

Deprecations

  • Renamed private-key-path flag to private-key-file, added private-key-path as an alias for backward compatibility.

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow helpers v1-to-v2 command to migrate snowflake.yml file from V1 to V2.
  • Added --package-entity-id and --app-entity-id options to snow app commands to allow targeting specific entities when the definition_version in snowflake.yml is 2 or higher and it contains multiple application package or application entities.
  • Added templates expansion of arbitrary files for Native Apps through templates processor.
  • Added SNOWFLAKE_..._PRIVATE_KEY_RAW environment variable to pass private key as a raw string.
  • Added periodic check for newest version of Snowflake CLI. When new version is available, user will be notified.
  • Added support for imports in Streamlit definition.
  • Add --host and --port to connection flags.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier
  • Duplicated keys in snowflake.yml are now detected and reported.
  • snow streamlit deploy will check for existing streamlit instance before deploying anything.
  • Fixed snow git execute with / in name of the branch.
  • snow app commands don't enforce ownership of the objects they manage, and rely on RBAC instead.
  • snow app deploy for package entity now allows operating on application packages created outside the CLI
  • Fixes snow connection add behavior when connections.toml file exists.
  • Add more readable error messages in snow object create command.

v.3.0.0-rc3

23 Sep 13:14
Compare
Choose a tag to compare
v.3.0.0-rc3 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init and snow streamlit init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.
    • snow snowpark package commands no longer fallback to Anaconda Channel metadata when fetching available packages info fails.

Deprecations

  • Renamed private-key-path flag to private-key-file, added private-key-path as an alias for backward compatibility.

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow helpers v1-to-v2 command to migrate snowflake.yml file from V1 to V2.
  • Added --package-entity-id and --app-entity-id options to snow app commands to allow targeting specific entities when the definition_version in snowflake.yml is 2 or higher and it contains multiple application package or application entities.
  • Added templates expansion of arbitrary files for Native Apps through templates processor.
  • Added SNOWFLAKE_..._PRIVATE_KEY_RAW environment variable to pass private key as a raw string.
  • Added periodic check for newest version of Snowflake CLI. When new version is available, user will be notified.
  • Added support for imports in Streamlit definition.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier
  • Duplicated keys in snowflake.yml are now detected and reported.
  • snow streamlit deploy will check for existing streamlit instance before deploying anything.
  • Fixed snow git execute with / in name of the branch.
  • snow app commands don't enforce ownership of the objects they manage, and rely on RBAC instead.
  • snow app deploy for package entity now allows operating on application packages created outside the CLI

v3.0.0-rc2

17 Sep 14:43
c17fde7
Compare
Choose a tag to compare
v3.0.0-rc2 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init and snow streamlit init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.
    • snow snowpark package commands no longer fallback to Anaconda Channel metadata when fetching available packages info fails.

Deprecations

  • Renamed private-key-path flag to private-key-file, added private-key-path as an alias for backward compatibility.

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow ws migrate command to migrate snowflake.yml file from V1 to V2.
  • Added --package-entity-id and --app-entity-id options to snow app commands to allow targeting specific entities when the definition_version in snowflake.yml is 2 or higher and it contains multiple application package or application entities.
  • Added templates expansion of arbitrary files for Native Apps through templates processor.
  • Added SNOWFLAKE_..._PRIVATE_KEY_RAW environment variable to pass private key as a raw string.
  • Added periodic check for newest version of Snowflake CLI. When new version is available, user will be notified.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier
  • Duplicated keys in snowflake.yml are now detected and reported.
  • snow streamlit deploy will check for existing streamlit instance before deploying anything.

v2.8.1

10 Sep 15:47
b1231dc
Compare
Choose a tag to compare

Backward incompatibility

Deprecations

New additions

Fixes and improvements

  • Fixed git execute not working with upper case in directory name.
  • Fixed snow git setup command behaviour for fully qualified repository names.
  • Fixed snow git setup command behaviour in case API integration or secret with default name already exists.
  • Fixed snow snowpark package create creating empty zip when package name contained capital letters.

v3.0.0-rc1

04 Sep 10:31
Compare
Choose a tag to compare
v3.0.0-rc1 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init and snow streamlit init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.
    • snow snowpark package commands no longer fallback to Anaconda Channel metadata when fetching available packages info fails.

Deprecations

  • Renamed private-key-path flag to private-key-file, added private-key-path as an alias for backward compatibility.

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow ws migrate command to migrate snowflake.yml file from V1 to V2.
  • Added templates expansion of arbitrary files for Native Apps through templates processor.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier
  • Duplicated keys in snowflake.yml are now detected and reported.
  • Fixed git execute not working with upper case in directory name.

v3.0.0-rc0

27 Aug 15:11
Compare
Choose a tag to compare
v3.0.0-rc0 Pre-release
Pre-release

Backward incompatibility

  • Dropped support for Python below 3.10 version.
  • snow object stage commands are removed in favour of snow stage.
  • snow snowpark init and snow streamlit init commands are removed in favor of snow init command.
  • Removed deprecated flags from snow snowpark commands.
  • Default Python version for Snowpark functions and procedures was bumped to 3.10 from 3.8.
  • Snowpark commands
    • snow snowpark build creates a .zip file for each specified artifact that is a directory. Non-Anaconda
      dependencies are packaged once as dependencies.zip.
    • snow snowpark deploy uploads all artifacts created during build step. Dependencies zip is upload once to
      every Snowpark stage specified in project definition.
    • The changes are compatible with V1 projects definition though the result state (file layout) is different.

Deprecations

New additions

  • Added snow spcs service execute-job command, which supports creating and executing a job service in the current schema.
  • Added snow app events command to fetch logs and traces from local and customer app installations.
  • Added support for external access (api integrations and secrets) in Streamlit.
  • Added support for <% ... %> syntax in SQL templating.
  • Support multiple Streamlit application in single snowflake.yml project definition file.
  • Added snow ws migrate command to migrate snowflake.yml file from V1 to V2.

Fixes and improvements

  • Fixed problem with whitespaces in snow connection add command.
  • Added check for the correctness of token file and private key paths when addind a connection.
  • Fix the typo in spcs service name argument description. It is the identifier of the service instead of the service pool.
  • Fix error handling and improve messaging when no artifacts provided.
  • Improved error message for incompatible parameters.
  • Fixed SQL error when running snow app version create and snow app version drop with a version name that isn't a valid Snowflake unquoted identifier

v2.8.0

27 Aug 09:47
Compare
Choose a tag to compare

Backward incompatibility

Deprecations

  • Added deprecation warning for native_app.package.scripts in project definition file.

New additions

  • Added support for project definition file defaults in templates.
  • Added support for native_app.package.post_deploy scripts in project definition file.
    • These scripts will execute whenever a Native App Package is created or updated.
    • Currently only supports SQL scripts: post_deploy: [{sql_script: script.sql}].

Fixes and improvements

  • Fix return values of snow snowpark list, describe and drop commands.
  • Show warnings returned by Snowflake when snow app run is successful.

v.2.8.0-rc1

26 Aug 11:26
Compare
Choose a tag to compare
v.2.8.0-rc1 Pre-release
Pre-release

Backward incompatibility

Deprecations

  • Added deprecation warning for native_app.package.scripts in project definition file.

New additions

  • Added support for project definition file defaults in templates.
  • Added support for native_app.package.post_deploy scripts in project definition file.
    • These scripts will execute whenever a Native App Package is created or updated.
    • Currently only supports SQL scripts: post_deploy: [{sql_script: script.sql}].

Fixes and improvements

  • Fix return values of snow snowpark list, describe and drop commands.
  • Show warnings returned by Snowflake when snow app run is successful.

v2.8.0-rc0

23 Aug 08:55
Compare
Choose a tag to compare
v2.8.0-rc0 Pre-release
Pre-release

Backward incompatibility

Deprecations

  • Added deprecation warning for native_app.package.scripts in project definition file.

New additions

  • Added support for project definition file defaults in templates.
  • Added support for native_app.package.post_deploy scripts in project definition file.
    • These scripts will execute whenever a Native App Package is created or updated.
    • Currently only supports SQL scripts: post_deploy: [{sql_script: script.sql}].

Fixes and improvements

  • Fix return values of snow snowpark list, describe and drop commands.
  • Show warnings returned by Snowflake when snow app run is successful.