Skip to content

v2.4.0

Compare
Choose a tag to compare
@sfc-gh-pczajka sfc-gh-pczajka released this 31 May 14:17
· 348 commits to main since this release

v2.4.0

Backward incompatibility

Deprecations

New additions

  • Added the --cascade option to snow app teardown command that drops all application objects owned by the application.
  • Add external access integration to snow object commands
  • Add aliases for snow object list/describe/drop commands under:
    • snow stage for stages
    • snow git for git repository stages
    • snow streamlit for streamlit apps
    • snow snowpark for procedures and functions
    • snow spcs compute-pool for compute pools
    • snow spcs image-repository for image repositories
    • snow spcs service for services
  • snow sql works now with snowflake.yml file. The variables defined in the new env section
    of snowflake.yml will be used to expand templates.
  • snow sql support executing multiple files. Users can use -f/--file flag more than once to execute queries
    from many files.
  • snow git execute and snow stage execute support passing input variables for SQL execution.
  • Added snow cortex commands:
    • complete - Given a prompt, the command generates a response using your choice of language model.
      In the simplest use case, the prompt is a single string. You may also provide a JSON file with conversation history including multiple prompts and responses for interactive chat-style usage.
    • extract-answer - Extracts an answer to a given question from a text document.
      The document may be a plain-English document or a string representation of a semi-structured (JSON) data object.
    • sentiment - Returns sentiment as a score between -1 to 1 (with -1 being the most negative and 1 the most positive, with values around 0 neutral) for the given English-language input text.
    • summarize - Summarizes the given English-language input text.
    • translate - Translates text from the indicated or detected source language to a target language.
    • search - for integration with Cortex Search Service
  • When invoked without command help is displayed by default with list of available commands.
  • Add tab-completion for snow command.

Fixes and improvements

  • Improved support for quoted identifiers.
  • Fixed creating patches with snow app version create when there are 2 or more existing patches on a version
  • Using --format=json adds trailing new line to avoid % being added by some terminals to signal no new line at the end of output.
  • Fixed --interactive flag to be enabled by default in interactive environments and added the --no-interactive flag to be able to turn off prompting.