Releases: snowflakedb/snowflake-cli
Releases · snowflakedb/snowflake-cli
v3.3.0
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 tosnow 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
andsnow 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-rc1
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 tosnow 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
andsnow 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
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 tosnow 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
andsnow 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
Fixes and improvements
- Fix "No module named 'pandas'" warning.
v3.2.1
Fixes and improvements
- Fixed crashes with older x86_64 Intel CPUs.
v3.2.0
Deprecations
manifest
field ofapplication package
entity is now optional. This field does not have any functionality.
New additions
- Added
--retain-comments
option tosnow sql
command to allow passing comments to Snowflake. - Added
--replace
and--if-not-exists
options tosnow 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
andoptional_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 thetemplates
processor.- Added
--label
option tosnow 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 aboutSNOWFLAKE_HOME
variable.- Removed requirement of existence of any
requirements.txt
file for Python code execution viasnow 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 fromconnections.toml
toconfig.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
Deprecations
manifest
field ofapplication package
entity is now optional. This field does not have any functionality.
New additions
- Added
--retain-comments
option tosnow sql
command to allow passing comments to Snowflake. - Added
--replace
and--if-not-exists
options tosnow 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
andoptional_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 thetemplates
processor.- Added
--label
option tosnow 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 aboutSNOWFLAKE_HOME
variable.- Removed requirement of existence of any
requirements.txt
file for Python code execution viasnow 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 fromconnections.toml
toconfig.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
Deprecations
manifest
field ofapplication package
entity is now optional. This field does not have any functionality.
New additions
- Added
--retain-comments
option tosnow sql
command to allow passing comments to Snowflake. - Added
--replace
and--if-not-exists
options tosnow 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
andoptional_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 thetemplates
processor.- Added
--label
option tosnow 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 aboutSNOWFLAKE_HOME
variable.- Removed requirement of existence of any
requirements.txt
file for Python code execution viasnow 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 fromconnections.toml
toconfig.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
Deprecations
manifest
field ofapplication package
entity is now optional. This field does not have any functionality.
New additions
- Added
--retain-comments
option tosnow sql
command to allow passing comments to Snowflake. - Added
--replace
and--if-not-exists
options tosnow 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
andoptional_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 thetemplates
processor.- Added
--label
option tosnow 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 aboutSNOWFLAKE_HOME
variable.- Removed requirement of existence of any
requirements.txt
file for Python code execution viasnow 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 fromconnections.toml
toconfig.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
Deprecations
manifest
field ofapplication package
entity is now optional. This field does not have any functionality.
New additions
- Added
--retain-comments
option tosnow sql
command to allow passing comments to Snowflake. - Added
--replace
and--if-not-exists
options tosnow 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
andoptional_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 thetemplates
processor.- Added
--label
option tosnow 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 aboutSNOWFLAKE_HOME
variable.- Removed requirement of existence of any
requirements.txt
file for Python code execution viasnow 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 fromconnections.toml
toconfig.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.