Releases: snowflakedb/snowflake-cli
Releases · snowflakedb/snowflake-cli
v3.1.0
Backward incompatibility
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
. - Completely removed the
snow app init
as it was replaced withsnow 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
andsnow 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
, andgenerated_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 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. - Fix for list fields in mixins applied twice
What's Changed
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
- mraba/generate-jwt-help-updated: update help message by @sfc-gh-mraba in #1750
- Cherry-picks to 3.1.0rc1 by @sfc-gh-turbaszek in #1752
- Bump rc version by @sfc-gh-turbaszek in #1754
- Cherry-picks for 3.1.0-rc2 by @sfc-gh-turbaszek in #1763
- Bump rc version by @sfc-gh-turbaszek in #1765
- Cherry-picks for 3.1.0 rc3 by @sfc-gh-turbaszek in https:...
v3.1.0-rc4
Backward incompatibility
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
. - Completely removed the
snow app init
as it was replaced withsnow 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
andsnow 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
, andgenerated_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 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. - Fix for list fields in mixins applied twice
What's Changed
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
- mraba/generate-jwt-help-updated: update help message by @sfc-gh-mraba in #1750
- Cherry-picks to 3.1.0rc1 by @sfc-gh-turbaszek in #1752
- Bump rc version by @sfc-gh-turbaszek in #1754
- Cherry-picks for 3.1.0-rc2 by @sfc-gh-turbaszek in #1763
- Bump rc version by @sfc-gh-turbaszek in #1765
- Cherry-picks for 3.1.0 rc3 by @sfc-gh-turbaszek in https:...
v3.1.0-rc3
Backward incompatibility
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
. - Completely removed the
snow app init
as it was replaced withsnow 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
andsnow 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
, andgenerated_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 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. - Fix for list fields in mixins applied twice
What's Changed
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
- mraba/generate-jwt-help-updated: update help message by @sfc-gh-mraba in #1750
- Cherry-picks to 3.1.0rc1 by @sfc-gh-turbaszek in #1752
- Bump rc version by @sfc-gh-turbaszek in #1754
- Cherry-picks for 3.1.0-rc2 by @sfc-gh-turbaszek in #1763
- Bump rc version by @sfc-gh-turbaszek in #1765
- Cherry-picks for 3.1.0 rc3 by @sfc-gh-turbaszek in https:...
v3.1.0-rc2
Backward incompatibility
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
.
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
andsnow 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
, andgenerated_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 aboutSNOWFLAKE_HOME
variable.
What's Changed
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
- mraba/generate-jwt-help-updated: update help message by @sfc-gh-mraba in #1750
- Cherry-picks to 3.1.0rc1 by @sfc-gh-turbaszek in #1752
- Bump rc version by @sfc-gh-turbaszek in #1754
- Cherry-picks for 3.1.0-rc2 by @sfc-gh-turbaszek in #1763
- Bump rc version by @sfc-gh-turbaszek in #1765
Full Changelog: v3.0.2...v3.1.0-rc2
v3.1.0-rc1
Backward incompatibility
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
.
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
andsnow 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
, andgenerated_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 aboutSNOWFLAKE_HOME
variable.
What's Changed
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
- mraba/generate-jwt-help-updated: update help message by @sfc-gh-mraba in #1750
- Cherry-picks to 3.1.0rc1 by @sfc-gh-turbaszek in #1752
- Bump rc version by @sfc-gh-turbaszek in #1754
Full Changelog: v3.0.2...v3.1.0-rc1
v3.1.0-rc0
Deprecations
- Added deprecation warning in the description of
snow spcs service status
andsnow spcs image-repository list-tags
.
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
andsnow 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
, andgenerated_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 service list-images
now displays image tag and digest.- Fix
snow stage list-files
for paths with directories.
Commits
- Defer fetching role and warehouse until they're needed by @sfc-gh-fcampbell in #1631
- SNOW-1694005: fix executable path by @sfc-gh-mraba in #1634
- Disable snowflake.local.yml migration by default, add flag to enable it by @sfc-gh-fcampbell in #1636
- Removed double grave accent in docs by @sfc-gh-astus in #1641
- Find deeply-nested manifest.yml when converting v1 to v2 by @sfc-gh-fcampbell in #1637
- Release notes cleanup by @sfc-gh-jsikorski in #1643
- version bump by @sfc-gh-jsikorski in #1653
- mraba/help-version-info: add version to tool description on help screen by @sfc-gh-mraba in #1655
- Update repo_meta.yaml by @sfc-gh-turbaszek in #1656
- Factories for test data by @sfc-gh-pjafari in #1592
- Add simple ws dump command to show final PDF model by @sfc-gh-fcampbell in #1648
- SNOW-1706990 Rename v2_to_v1_decorator.py to compat.py by @sfc-gh-fcampbell in #1658
- Don't let an invalid project definition file break telemetry by @sfc-gh-fcampbell in #1660
- SNOW-1694005: MacOS binary signing by @sfc-gh-mraba in #1640
- SNOW-1706990 Extract non action-related fields in ActionContext to new WorkspaceContext by @sfc-gh-fcampbell in #1652
- SNOW-1706990 Extract fields in compat module by @sfc-gh-fcampbell in #1663
- Run int and e2e test after push to main by @sfc-gh-astus in #1664
- Allow converting PDFv1 to PDFv2 in-memory only by @sfc-gh-fcampbell in #1670
- SNOW-1706990 Add decorator to extract a single app and package from a PDFv2 by @sfc-gh-fcampbell in #1667
- SNOW-1706990 Convert
snow app diff
to v2-native by @sfc-gh-fcampbell in #1671 - add Windows tests for connections.toml permissions by @sfc-gh-pczajka in #1677
- Enforce that paths used for BundleMap and NativeAppCompiler are always absolute by @sfc-gh-fcampbell in #1678
- Fix Snowpark type casting by @sfc-gh-turbaszek in #1657
- Add NADE ownership to tests_common/deflake.py by @sfc-gh-fcampbell in #1691
- SNOW-1727801 changes from 3.0.1 release by @sfc-gh-mraba in #1690
- SNOW-1706990 Convert
snow app deploy
to v2-native by @sfc-gh-fcampbell in #1672 - SNOW-1706990 Convert
snow app run
to v2-native by @sfc-gh-fcampbell in #1684 - SNOW-1706990 Convert
snow app open
to v2-native by @sfc-gh-fcampbell in #1685 - SNOW-1706990 Convert
snow app validate
to v2-native by @sfc-gh-fcampbell in #1686 - Snow 1711304 fix empty default handling in snowpark by @sfc-gh-pczajka in #1697
- Bump syrupy from 4.7.1 to 4.7.2 by @dependabot in #1683
- SNOW-1706990 Convert
snow app events
to v2-native by @sfc-gh-fcampbell in #1698 - Fixed error message in artifact logic by @sfc-gh-bdufour in #1700
- Make deflake plugin handle other types of reports by @sfc-gh-fcampbell in #1692
- Snow 1703629 log pip error message by @sfc-gh-pczajka in #1701
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1679
- Bump rich from 13.8.1 to 13.9.2 by @dependabot in #1680
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #1682
- Build and sign Windows installer by @sfc-gh-pjob in #1702
- Bump faker from 26.0.0 to 30.3.0 by @dependabot in #1696
- Fix
snow ws version drop
using the wrong action by @sfc-gh-fcampbell in #1703 - SNOW-1706990 Convert
snow app version
commands to v2-native by @sfc-gh-fcampbell in #1708 - Add connection generate-jwt command by @sfc-gh-turbaszek in #1712
- mraba/changes-from-v3.0.2: update release notes by @sfc-gh-mraba in #1719
- SNOW-1706990 Make
snow app teardown
only operate on v2 entities by @sfc-gh-fcampbell in #1709 - Stop running some nativeapp tests on v1 projects and ws command by @sfc-gh-fcampbell in #1699
- SNOW-1706990 Convert test_manager.py to use v2 entities by @sfc-gh-fcampbell in #1722
- Update more tests to get rid of NativeAppManager by @sfc-gh-fcampbell in #1724
- Bump coverage from 7.6.1 to 7.6.3 by @dependabot in #1718
- Add CI usage to telemetry by @sfc-gh-turbaszek in #1717
- Fix snow git execute for Python files by @sfc-gh-turbaszek in #1666
- run package post deploy with package role by @sfc-gh-pjafari in #1720
- Split special cases of test_nativeapp_post_deploy into separate v2-only by @sfc-gh-fcampbell in #1728
- SNOW-1706990 Remove NativeAppTeardownProcessor by @sfc-gh-fcampbell in #1733
- SNOW-1706990 Remove NativeAppVersionCreateProcessor by @sfc-gh-fcampbell in #1731
- SNOW-1734018 SPCS command fixes by @sfc-gh-sichen in #1710
- Introduce StagePath for working with files on stages by @sfc-gh-turbaszek in #1674
- SNOW-1706990 Update/remove tests that use NativeAppRunProcessor by @sfc-gh-fcampbell in #1726
- Fix stage list-files for directory paths by @sfc-gh-turbaszek in #1737
- introduce subclasses and add more telemetry for ProgrammingErrors by @sfc-gh-mchok in #1651
- Add python to git execute help by @sfc-gh-turbaszek in #1741
Full Changelog: v3.0.2...v3.1.0
v3.0.2
Backward incompatibility
Deprecations
New additions
Fixes and improvements
- Fixed the handling of empty default values for strings by
snow snowpark deploy
. - Added log error details if the
pip
command fails.
v3.0.1
Backward incompatibility
Deprecations
- Changing package name from
snowflake-cli-labs
tosnowflake-cli
.snowflake-cli-labs
points to the corresponding version ofsnowflake-cli
.
New additions
Fixes and improvements
v2.8.2
Backward incompatibility
Deprecations
- Changing package name from
snowflake-cli-labs
tosnowflake-cli
.snowflake-cli-labs
points to the corresponding version ofsnowflake-cli
.
New additions
Fixes and improvements
v3.0.0
Backward incompatibility
- Dropped support for Python below 3.10 version.
snow object stage
commands are removed in favour ofsnow stage
.snow snowpark init
,snow streamlit init
, andsnow app init
commands are removed in favor ofsnow 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 asdependencies.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 toprivate-key-file
, addedprivate-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 migratesnowflake.yml
file from V1 to V2. - Added
--package-entity-id
and--app-entity-id
options tosnow app
commands to allow targeting specific entities when thedefinition_version
insnowflake.yml
is2
or higher and it contains multipleapplication package
orapplication
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
andsnow 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 whenconnections.toml
file exists. - Add more readable error messages in
snow object create
command.