github databricks/cli v1.25.0

one hour ago

CLI

  • databricks aitools install --output json now reports a more specific error_category (MANIFEST_NOT_FOUND, PERMISSION_DENIED, FILESYSTEM) for some failures it reported as UNCATEGORIZED. (#7380)
  • Suggest databricks auth logout --profile <profile-name> --delete when multiple profiles match the same workspace in databricks auth docker commands. (#7363)
  • Fix %pip in Jupyter notebooks opened over databricks ssh connect on serverless environment versions 5 and 6 and on dedicated clusters running recent Databricks Runtime versions, which fell back to the stock IPython magic instead of the Databricks one. (#7263)

AI Runtime

  • databricks air run now validates the config server-side while it uploads the run artifacts, instead of before, which shortens submission. (#7368)
  • Remove CRITICAL as a valid compute.priority_class value; the AI Runtime API no longer accepts it. (#7371)

Bundles

  • Built-in templates add the workspace ID to workspace.host (?w=<id>) when the profile or an environment variable sets it, so generated bundles select the right workspace on hosts shared by several workspaces. Welcome messages show the same URL, and dbt-sql also adds ?o=<id> to the HTTP path it suggests for dbt init. (#7350)
  • Fix grants of a renamed or recreated catalog, schema, volume or other UC resource staying recorded under the old name, which made the next bundle plan propose to apply them again. (#7345)
  • Fix permissions of a recreated pipeline, app, dashboard, model serving endpoint or other resource staying recorded under the old ID, which made every later bundle plan propose to apply them again. (#7361)
  • Add the postgres_data_apis resource (Private Preview) for enabling and configuring the Data API of a Lakebase Postgres database. (#7160)
  • Fixes #4012: registered model aliases are now set in Unity Catalog on deploy instead of being silently ignored. A model without an aliases section keeps the aliases set outside the bundle (for example by MLflow), and aliases: [] removes them. (#7163)
  • Include variable declarations and the source of each resolved value in the --include-locations output of bundle validate and bundle summary. (#7351)
  • Add .workspace.URLID to bundle templates: the workspace ID that .workspace.URL adds, or empty, so templates can use it without failing when the ID is unknown. (#7388)
  • Expose the workspace of the selected profile to bundle templates as .workspace, with Hostname, ID, and URL, so templates can address a workspace on a host shared by several workspaces. A template input named workspace takes precedence. (#7349)

Dependency Updates

  • Bump dependencies with known vulnerabilities. (#7394)
  • Upgrade github.com/mattn/go-runewidth to v0.0.31, which removes ~30ms of startup time from every command. (#7391)
  • Update the Go SDK to v0.194.0. (#7371)
  • Update the Go SDK to v0.195.0. (#7384)

Don't miss a new cli release

NewReleases is sending notifications on new releases.