Skip to content

Commit 234d1c3

Browse files
authored
Merge branch 'main' into simonfaltum/sdk-bump-v0.110.0
2 parents b42022c + 505db2c commit 234d1c3

File tree

10 files changed

+90
-36
lines changed

10 files changed

+90
-36
lines changed

.release_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"timestamp": "2026-02-19 11:00:09+0000"
2+
"timestamp": "2026-02-19 14:49:01+0000"
33
}

CHANGELOG.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
11
# Version changelog
22

3+
## Release v0.289.1 (2026-02-19)
4+
5+
### Internal:
6+
* Pin docker version to fix release process.
7+
8+
39
## Release v0.289.0 (2026-02-19)
410

511
### CLI
6-
* Make auth profiles respect DATABRICKS_CLI_PATH env var (([#4467](https://github.com/databricks/cli/pull/4467)))
7-
* Fix arrow key navigation in prompts on Windows (([#4501](https://github.com/databricks/cli/pull/4501)))
12+
* Make auth profiles respect DATABRICKS_CLI_PATH env var ([#4467](https://github.com/databricks/cli/pull/4467))
13+
* Fix arrow key navigation in prompts on Windows ([#4501](https://github.com/databricks/cli/pull/4501))
814

915
### Bundles
1016
* Log artifact build output in debug mode ([#4208](https://github.com/databricks/cli/pull/4208))
1117
* Fix bundle init not working in Azure Government ([#4286](https://github.com/databricks/cli/pull/4286))
12-
* Allow single and double quotes in environment dependencies (([#4511](https://github.com/databricks/cli/pull/4511)))
13-
* Use purge option when deleting alerts (([#4505](https://github.com/databricks/cli/pull/4505)))
18+
* Allow single and double quotes in environment dependencies ([#4511](https://github.com/databricks/cli/pull/4511))
19+
* Use purge option when deleting alerts ([#4505](https://github.com/databricks/cli/pull/4505))
1420
* engine/direct: Replace server_side_default with more precise backend_default rule in bundle plan ([#4490](https://github.com/databricks/cli/pull/4490))
15-
* engine/direct: Extend pipelines recreate_on_changes configuration (([#4499](https://github.com/databricks/cli/pull/4499)))
21+
* engine/direct: Extend pipelines recreate_on_changes configuration ([#4499](https://github.com/databricks/cli/pull/4499))
1622
* engine/direct: Added support for UC external locations (direct only) ([#4484](https://github.com/databricks/cli/pull/4484))
1723

1824
### Dependency updates
19-
* Upgrade Go SDK to v0.106.0 (([#4486](https://github.com/databricks/cli/pull/4486)))
20-
* Upgrade Terraform provider to v1.106.0 (([#4542](https://github.com/databricks/cli/pull/4542)))
21-
* Upgrade Go to 1.25.7 (([#4547](https://github.com/databricks/cli/pull/4547)))
25+
* Upgrade Go SDK to v0.106.0 ([#4486](https://github.com/databricks/cli/pull/4486))
26+
* Upgrade Terraform provider to v1.106.0 ([#4542](https://github.com/databricks/cli/pull/4542))
27+
* Upgrade Go to 1.25.7 ([#4547](https://github.com/databricks/cli/pull/4547))
2228

2329

2430
## Release v0.288.0 (2026-02-12)
@@ -43,7 +49,7 @@
4349
* Add support for Lakebase resources (postgres_projects, postgres_branches, postgres_endpoints) ([#4423](https://github.com/databricks/cli/pull/4423))
4450
* Add missing values to SchemaGrantPrivilege enum ([#4380](https://github.com/databricks/cli/pull/4380))
4551
* Added support for UC catalogs (only in direct mode) ([#4342](https://github.com/databricks/cli/pull/4342))
46-
* engine/direct: Fix updates to fields being ignored for database_catalogs, synced_database_tables (([#4388](https://github.com/databricks/cli/pull/4388)))
52+
* engine/direct: Fix updates to fields being ignored for database_catalogs, synced_database_tables ([#4388](https://github.com/databricks/cli/pull/4388))
4753
* engine/direct: Fix migration for database_instances, database_catalog, synced_database_tables ([#4424](https://github.com/databricks/cli/pull/4424))
4854
* Show warning message if valueFrom is used instead of value_from in app config section ([$4429](https://github.com/databricks/cli/pull/4429))
4955

@@ -71,9 +77,9 @@
7177
* Pass additional Azure DevOps `SYSTEM_*` environment variables to Terraform for OIDC authentication: `SYSTEM_COLLECTIONURI`, `SYSTEM_DEFINITIONID`, `SYSTEM_HOSTTYPE`, `SYSTEM_JOBID`, `SYSTEM_TEAMPROJECT` ([#4318](https://github.com/databricks/cli/pull/4318))
7278
* Add support for valueFrom property (similar to app.yaml) inside Apps config field in bundle configuration ([#4297](https://github.com/databricks/cli/pull/4297))
7379
* engine/direct: Support bind & unbind. ([#4279](https://github.com/databricks/cli/pull/4279))
74-
* engine/direct: Ignore changes between nulls and empty slices/maps (([#4313](https://github.com/databricks/cli/pull/4313)))
75-
* engine/direct: Ignore changes between nulls and empty structs (([#4338](https://github.com/databricks/cli/pull/4338)))
76-
* On terraform `bundle plan -o json` will no longer include plan_version key, it's intended for direct engine only (([#4314](https://github.com/databricks/cli/pull/4314)))
80+
* engine/direct: Ignore changes between nulls and empty slices/maps ([#4313](https://github.com/databricks/cli/pull/4313))
81+
* engine/direct: Ignore changes between nulls and empty structs ([#4338](https://github.com/databricks/cli/pull/4338))
82+
* On terraform `bundle plan -o json` will no longer include plan_version key, it's intended for direct engine only ([#4314](https://github.com/databricks/cli/pull/4314))
7783

7884

7985
## Release v0.283.0 (2026-01-14)
@@ -185,7 +191,7 @@ To disable this, set the environment variable DATABRICKS_CACHE_ENABLED to false.
185191
### Bundles
186192
* Add `default-minimal` template for users who want a clean slate without sample code ([#3885](https://github.com/databricks/cli/pull/3885))
187193
* Add validation that served_models and served_entities are not used at the same time. Add client side translation logic. ([#3880](https://github.com/databricks/cli/pull/3880))
188-
* Filter out provided permissions, to select a single permissions level per principal (([#3904](https://github.com/databricks/cli/pull/3904))).
194+
* Filter out provided permissions, to select a single permissions level per principal ([#3904](https://github.com/databricks/cli/pull/3904)).
189195

190196

191197
## Release v0.276.0 (2025-11-05)

NEXT_CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# NEXT CHANGELOG
22

3-
## Release v0.289.1
3+
## Release v0.290.0
44

5-
Internal:
6-
* Pin docker version to fix release process.
5+
### Internal:

libs/template/templates/default/library/versions.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
3.12
4848
{{- end}}
4949

50-
{{define "latest_databricks_bundles_version" -}}0.289.0{{- end}}
50+
{{define "latest_databricks_bundles_version" -}}0.289.1{{- end}}

libs/template/templates/experimental-jobs-as-code/library/versions.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
>=15.4,<15.5
77
{{- end}}
88

9-
{{define "latest_databricks_bundles_version" -}}0.289.0{{- end}}
9+
{{define "latest_databricks_bundles_version" -}}0.289.1{{- end}}

python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Reference documentation is available at https://databricks.github.io/cli/python/
1313

1414
To use `databricks-bundles`, you must first:
1515

16-
1. Install the [Databricks CLI](https://github.com/databricks/cli), version 0.289.0 or above
16+
1. Install the [Databricks CLI](https://github.com/databricks/cli), version 0.289.1 or above
1717
2. Authenticate to your Databricks workspace if you have not done so already:
1818

1919
```bash
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.289.0"
1+
__version__ = "0.289.1"

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "databricks-bundles"
33
description = "Python support for Databricks Asset Bundles"
4-
version = "0.289.0"
4+
version = "0.289.1"
55

66
authors = [
77
{ name = "Gleb Kanterov", email = "[email protected]" },

python/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/update_github_links.py

Lines changed: 62 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,38 @@
1717

1818
DEFAULT_FILES = ("NEXT_CHANGELOG.md", "CHANGELOG.md")
1919

20-
# Regex that matches an *already converted* link, e.g.:
21-
# ([#1234](https://github.com/databricks/cli/pull/1234))
22-
# The groups capture the PR number in the text and in the URL respectively so
23-
# they can be compared for consistency.
20+
# Canonical form: ([#1234](https://github.com/databricks/cli/pull/1234))
2421
CONVERTED_LINK_RE = re.compile(
2522
r"\(\[#(?P<num_text>\d+)\]\(" # ([#1234](
2623
r"https://github\.com/databricks/cli/pull/(?P<num_url>\d+)" # …/pull/1234
2724
r"\)\)" # ))
2825
)
2926

30-
# Regex that matches a *raw* reference, `#1234`, that is **not** already inside
31-
# a converted link. The negative look-behind ensures the # is not preceded by
32-
# a literal '[' which would indicate an already converted link.
33-
RAW_REF_RE = re.compile(r"(?<!\[)#(?P<num>\d+)\b")
27+
# Double-paren form produced by a previous incorrect run:
28+
# (([#1234](https://github.com/databricks/cli/pull/1234)))
29+
DOUBLE_PAREN_LINK_RE = re.compile(
30+
r"\(\(\[#(?P<num>\d+)\]\("
31+
r"https://github\.com/databricks/cli/pull/\d+"
32+
r"\)\)\)"
33+
)
34+
35+
# Raw reference already wrapped in parens: (#1234)
36+
PAREN_RAW_REF_RE = re.compile(r"\(#(?P<num>\d+)\)")
37+
38+
# Bare raw reference not already part of a converted link or paren-wrapped ref.
39+
# Negative look-behinds: '[' means it's inside a converted link; '(' means
40+
# it will be handled by PAREN_RAW_REF_RE above.
41+
RAW_REF_RE = re.compile(r"(?<!\[)(?<!\()#(?P<num>\d+)\b")
3442

3543

3644
def find_mismatched_links(text):
37-
"""Return texts of mismatching converted links."""
45+
"""Return texts of mismatching converted links.
46+
47+
>>> find_mismatched_links("([#1234](https://github.com/databricks/cli/pull/1234))")
48+
[]
49+
>>> find_mismatched_links("([#1234](https://github.com/databricks/cli/pull/9999))")
50+
['Converted link numbers differ: text #1234 vs URL #9999 — …([#1234](https://github.com/databricks/cli/pull/9999))…']
51+
"""
3852
mismatches = []
3953
for m in CONVERTED_LINK_RE.finditer(text):
4054
num_text, num_url = m.group("num_text"), m.group("num_url")
@@ -45,13 +59,48 @@ def find_mismatched_links(text):
4559

4660

4761
def convert_raw_references(text):
48-
"""Convert raw `#1234` references to markdown links."""
62+
"""Convert raw `#1234` references to markdown links.
63+
64+
Already-converted single-paren links are left unchanged:
65+
66+
>>> convert_raw_references("([#1234](https://github.com/databricks/cli/pull/1234))")
67+
'([#1234](https://github.com/databricks/cli/pull/1234))'
68+
69+
Double-paren links from a previous incorrect run are collapsed to single-paren:
70+
71+
>>> convert_raw_references("(([#1234](https://github.com/databricks/cli/pull/1234)))")
72+
'([#1234](https://github.com/databricks/cli/pull/1234))'
73+
74+
A raw reference with surrounding parens becomes a single-paren link (not double):
4975
50-
def _repl(match):
51-
num = match.group("num")
76+
>>> convert_raw_references("(#3456)")
77+
'([#3456](https://github.com/databricks/cli/pull/3456))'
78+
79+
A bare raw reference gets wrapped in a single-paren link:
80+
81+
>>> convert_raw_references("#3456")
82+
'([#3456](https://github.com/databricks/cli/pull/3456))'
83+
84+
Idempotent: running twice produces the same result:
85+
86+
>>> t = "(#3456) and #7890"
87+
>>> convert_raw_references(convert_raw_references(t)) == convert_raw_references(t)
88+
True
89+
"""
90+
91+
def _make_link(num):
5292
return f"([#{num}](https://github.com/databricks/cli/pull/{num}))"
5393

54-
return RAW_REF_RE.sub(_repl, text)
94+
# Fix existing double-paren links produced by a previous incorrect run.
95+
text = DOUBLE_PAREN_LINK_RE.sub(lambda m: _make_link(m.group("num")), text)
96+
97+
# Convert (#1234) — parens already present, replace the whole token.
98+
text = PAREN_RAW_REF_RE.sub(lambda m: _make_link(m.group("num")), text)
99+
100+
# Convert bare #1234 — not preceded by [ (converted) or ( (paren-wrapped).
101+
text = RAW_REF_RE.sub(lambda m: _make_link(m.group("num")), text)
102+
103+
return text
55104

56105

57106
def process_file(path):

0 commit comments

Comments
 (0)