Skip to content

Releases: snowflakedb/snowflake-cli

v3.3.0-rc1

17 Jan 13:03
428ea09
Compare
Choose a tag to compare
v3.3.0-rc1 Pre-release
Pre-release

Deprecations

  • Added deprecation message for default Streamlit warehouse.

New additions

  • Add support for Release Directives by introducing the following commands:
    • snow app release-directive list
    • snow app release-directive set
    • snow app release-directive unset
  • snow app version create now returns version, patch, and label in JSON format.
  • Add --from-stage flag to snow app version create to allow version creation from the content of the stage without re-syncing to the stage.
  • Add support for release channels:
    • Add support for release channels feature in native app version creation/drop.
    • Add ability to specify release channel when creating application instance from release directive: snow app run --from-release-directive --channel=<channel>.
    • Add ability to list release channels through snow app release-channel list command.
    • Add ability to add and remove accounts from release channels through snow app release-channel add-accounts and snow app release-channel remove-accounts` commands.
    • Add ability to add/remove versions to/from release channels through snow app release-channel add-version and snow app release-channel remove-version commands.
  • Add publish command to make it easier to manage publishing versions to release channels and updating release directives: snow app publish.
  • Add support for restricting Snowflake user authentication policy to Snowflake CLI-only.
  • Added a new command: snow helpers import-snowsql-connections allowing to import configuration of connections from SnowSQL.

Fixes and improvements

  • Fixed inability to add patches to lowercase quoted versions.
  • Fixes label being set to blank instead of None when not provided.
  • Fixes generate-jwt command to preserve command line connection options.
  • Fixed stage path handling for notebook commands.

v3.3.0-rc0

14 Jan 15:37
88c05f3
Compare
Choose a tag to compare
v3.3.0-rc0 Pre-release
Pre-release

Deprecations

  • Added deprecation message for default Streamlit warehouse.

New additions

  • Add support for Release Directives by introducing the following commands:
    • snow app release-directive list
    • snow app release-directive set
    • snow app release-directive unset
  • snow app version create now returns version, patch, and label in JSON format.
  • Add --from-stage flag to snow app version create to allow version creation from the content of the stage without re-syncing to the stage.
  • Add support for release channels:
    • Add support for release channels feature in native app version creation/drop.
    • Add ability to specify release channel when creating application instance from release directive: snow app run --from-release-directive --channel=<channel>.
    • Add ability to list release channels through snow app release-channel list command.
    • Add ability to add and remove accounts from release channels through snow app release-channel add-accounts and snow app release-channel remove-accounts` commands.
    • Add ability to add/remove versions to/from release channels through snow app release-channel add-version and snow app release-channel remove-version commands.
  • Add publish command to make it easier to manage publishing versions to release channels and updating release directives: snow app publish.
  • Add support for restricting Snowflake user authentication policy to Snowflake CLI-only.
  • Added a new command: snow helpers import-snowsql-connections allowing to import configuration of connections from SnowSQL.

Fixes and improvements

  • Fixed inability to add patches to lowercase quoted versions.
  • Fixes label being set to blank instead of None when not provided.

v3.2.2

12 Dec 17:01
35792e9
Compare
Choose a tag to compare

Fixes and improvements

  • Fix "No module named 'pandas'" warning.

v3.2.1

03 Dec 07:47
2926efd
Compare
Choose a tag to compare

Fixes and improvements

  • Fixed crashes with older x86_64 Intel CPUs.

v3.2.0

25 Nov 17:01
Compare
Choose a tag to compare

Deprecations

  • manifest field of application package entity is now optional. This field does not have any functionality.

New additions

  • Added --retain-comments option to snow sql command to allow passing comments to Snowflake.
  • Added --replace and --if-not-exists options to snow object create command.
  • Added support for event sharing, which now can be specified under the telemetry section of an application entity. Two fields are supported: share_mandatory_events and optional_shared_events.
  • snow stage copy supports --recursive flag to copy local files and subdirectories recursively to stage. Including
    glob support.
  • snow helpers v1-to-v2 now converts v1 template references to v2 in Native App artifacts that use the templates processor.
  • Added --label option to snow app version create command to allow adding labels to versions and patches.
  • Enhanced snow spcs service logs command with new parameters for improved log retrieval and monitoring.
    • --previous-logs: Retrieve logs from the last terminated container.
    • --since: Start log retrieval from a specified UTC timestamp.
    • --include-timestamps: Include timestamps in log entries for log streaming.
    • --follow: Stream logs in real-time.
    • --follow-interval: Set custom polling intervals during log streaming.
  • snow connection add supports --no-interactive flag to skip interactive prompts.

Fixes and improvements

  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fixed saving of the config file updates when connections.toml exists.
    Removed incorrect copying of connections from connections.toml to config.toml.
  • Fixes snow connection generate-jwt to work with keys with no passphrase.
  • The privilege to create a schema or stage is no longer required to run snow app version create if the schema and stage already exist.
  • Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted
    default permissions.

v3.2.0-rc3

25 Nov 14:47
Compare
Choose a tag to compare
v3.2.0-rc3 Pre-release
Pre-release

Deprecations

  • manifest field of application package entity is now optional. This field does not have any functionality.

New additions

  • Added --retain-comments option to snow sql command to allow passing comments to Snowflake.
  • Added --replace and --if-not-exists options to snow object create command.
  • Added support for event sharing, which now can be specified under the telemetry section of an application entity. Two fields are supported: share_mandatory_events and optional_shared_events.
  • snow stage copy supports --recursive flag to copy local files and subdirectories recursively to stage. Including
    glob support.
  • snow helpers v1-to-v2 now converts v1 template references to v2 in Native App artifacts that use the templates processor.
  • Added --label option to snow app version create command to allow adding labels to versions and patches.
  • Enhanced snow spcs service logs command with new parameters for improved log retrieval and monitoring.
    • --previous-logs: Retrieve logs from the last terminated container.
    • --since: Start log retrieval from a specified UTC timestamp.
    • --include-timestamps: Include timestamps in log entries for log streaming.
    • --follow: Stream logs in real-time.
    • --follow-interval: Set custom polling intervals during log streaming.
  • snow connection add supports --no-interactive flag to skip interactive prompts.

Fixes and improvements

  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fixed saving of the config file updates when connections.toml exists.
    Removed incorrect copying of connections from connections.toml to config.toml.
  • Fixes snow connection generate-jwt to work with keys with no passphrase.
  • The privilege to create a schema or stage is no longer required to run snow app version create if the schema and stage already exist.
  • Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted
    default permissions.

v3.2.0-rc2

22 Nov 17:06
Compare
Choose a tag to compare
v3.2.0-rc2 Pre-release
Pre-release

Deprecations

  • manifest field of application package entity is now optional. This field does not have any functionality.

New additions

  • Added --retain-comments option to snow sql command to allow passing comments to Snowflake.
  • Added --replace and --if-not-exists options to snow object create command.
  • Added support for event sharing, which now can be specified under the telemetry section of an application entity. Two fields are supported: share_mandatory_events and optional_shared_events.
  • snow stage copy supports --recursive flag to copy local files and subdirectories recursively to stage. Including
    glob support.
  • snow helpers v1-to-v2 now converts v1 template references to v2 in Native App artifacts that use the templates processor.
  • Added --label option to snow app version create command to allow adding labels to versions and patches.
  • Enhanced snow spcs service logs command with new parameters for improved log retrieval and monitoring.
    • --previous-logs: Retrieve logs from the last terminated container.
    • --since: Start log retrieval from a specified UTC timestamp.
    • --include-timestamps: Include timestamps in log entries for log streaming.
    • --follow: Stream logs in real-time.
    • --follow-interval: Set custom polling intervals during log streaming.
  • snow connection add supports --no-interactive flag to skip interactive prompts.

Fixes and improvements

  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fixed saving of the config file updates when connections.toml exists.
    Removed incorrect copying of connections from connections.toml to config.toml.
  • Fixes snow connection generate-jwt to work with keys with no passphrase.
  • The privilege to create a schema or stage is no longer required to run snow app version create if the schema and stage already exist.
  • Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted
    default permissions.

v3.2.0-rc1

20 Nov 11:49
6f5f0cc
Compare
Choose a tag to compare
v3.2.0-rc1 Pre-release
Pre-release

Deprecations

  • manifest field of application package entity is now optional. This field does not have any functionality.

New additions

  • Added --retain-comments option to snow sql command to allow passing comments to Snowflake.
  • Added --replace and --if-not-exists options to snow object create command.
  • Added support for event sharing, which now can be specified under the telemetry section of an application entity. Two fields are supported: share_mandatory_events and optional_shared_events.
  • snow stage copy supports --recursive flag to copy local files and subdirectories recursively to stage. Including
    glob support.
  • snow helpers v1-to-v2 now converts v1 template references to v2 in Native App artifacts that use the templates processor.
  • Added --label option to snow app version create command to allow adding labels to versions and patches.
  • Enhanced snow spcs service logs command with new parameters for improved log retrieval and monitoring.
    • --previous-logs (-p): Retrieve logs from the last terminated container.
    • --since: Start log retrieval from a specified UTC timestamp.
    • --include-timestamps: Include timestamps in log entries for log streaming.
    • --follow (-f): Stream logs in real-time.
    • --follow-interval: Set custom polling intervals during log streaming.
  • snow connection add supports --no-interactive flag to skip interactive prompts.

Fixes and improvements

  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fixed saving of the config file updates when connections.toml exists.
    Removed incorrect copying of connections from connections.toml to config.toml.
  • Fixes snow connection generate-jwt to work with keys with no passphrase.
  • The privilege to create a schema or stage is no longer required to run snow app version create if the schema and stage already exist.
  • Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted
    default permissions.

v3.2.0-rc0

18 Nov 15:11
Compare
Choose a tag to compare
v3.2.0-rc0 Pre-release
Pre-release

Deprecations

  • manifest field of application package entity is now optional. This field does not have any functionality.

New additions

  • Added --retain-comments option to snow sql command to allow passing comments to Snowflake.
  • Added --replace and --if-not-exists options to snow object create command.
  • Added support for event sharing, which now can be specified under the telemetry section of an application entity. Two fields are supported: share_mandatory_events and optional_shared_events.
  • snow stage copy supports --recursive flag to copy local files and subdirectories recursively to stage. Including
    glob support.
  • snow helpers v1-to-v2 now converts v1 template references to v2 in Native App artifacts that use the templates processor.
  • Added --label option to snow app version create command to allow adding labels to versions and patches.
  • Enhanced snow spcs service logs command with new parameters for improved log retrieval and monitoring.
    • --previous-logs (-p): Retrieve logs from the last terminated container.
    • --since: Start log retrieval from a specified UTC timestamp.
    • --include-timestamps: Include timestamps in log entries for log streaming.
    • --follow (-f): Stream logs in real-time.
    • --follow-interval: Set custom polling intervals during log streaming.
  • snow connection add supports --no-interactive flag to skip interactive prompts.

Fixes and improvements

  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fixed saving of the config file updates when connections.toml exists.
    Removed incorrect copying of connections from connections.toml to config.toml.
  • Fixes snow connection generate-jwt to work with keys with no passphrase.
  • The privilege to create a schema or stage is no longer required to run snow app version create if the schema and stage already exist.

v3.1.0

24 Oct 13:04
Compare
Choose a tag to compare

Backward incompatibility

Deprecations

  • Added deprecation warning in the description of snow spcs service status and snow spcs image-repository list-tags.
  • Completely removed the snow app init as it was replaced with snow init in Snowflake CLI 3.0

New additions

  • Added snow connection generate-jwt command to generate JWT token for Snowflake connection.
  • Added snow spcs service list-instances, snow spcs service list-containers and snow spcs service list-roles commands, which support fetching information about all instances/containers/service roles in a service.
  • snow spcs service set now supports --eai-name to update external access integrations for a service.

Fixes and improvements

  • Fixed a bug that would cause the deploy_root, bundle_root, and generated_root directories to be created in the current working directory instead of the project root when invoking commands with the --project flag from a different directory.
  • Align variables for snow stage|git execute. For Python files variables are stripped of leading and trailing quotes.
  • snow spcs image-repository list-images now displays image tag and digest.
  • Fix snow stage list-files for paths with directories.
  • snow --info callback returns information about SNOWFLAKE_HOME variable.
  • Removed requirement of existence of any requirements.txt file for Python code execution via snow git execute command.
    Before the fix the file (even empty) was required to make the execution working.
  • Fix for list fields in mixins applied twice

What's Changed

Read more