Skip to content

Releases: snowflakedb/snowflake-cli

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

v3.1.0-rc4

23 Oct 17:29
Compare
Choose a tag to compare
v3.1.0-rc4 Pre-release
Pre-release

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

v3.1.0-rc3

23 Oct 17:09
Compare
Choose a tag to compare
v3.1.0-rc3 Pre-release
Pre-release

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