Skip to content

Commit 797de91

Browse files
authored
chore(dataplex): backfill release notes and fix override parser (#12952)
Update BEGIN_COMMIT_OVERRIDE parser to support standard conventional commit syntax (e.g., `feat(module):`) in addition to OwlBot bracket syntax (`feat: [module]`). Backfill missing Dataplex release notes that were previously excluded due to this parsing limitation. Includes a new integration test using Dataplex 1.86.0 to verify correct parsing of large squashed commits.
1 parent bf7ee1c commit 797de91

4 files changed

Lines changed: 68 additions & 9 deletions

File tree

.github/release-note-generation/generate_module_notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def parse_commit_overrides(commit_data, short_name, prefix_regex, commit_hash, c
120120

121121
should_include = False
122122
if short_name:
123-
if f"[{short_name}]" in line_stripped:
123+
if f"[{short_name}]" in line_stripped or f"({short_name})" in line_stripped:
124124
should_include = True
125125
else:
126126
should_include = True

.github/release-note-generation/test_generate_module_notes.py

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import subprocess
2+
import sys
23
import unittest
34
from pathlib import Path
45

@@ -17,7 +18,7 @@ def test_java_run_generation(self):
1718
expected_output = f.read()
1819

1920
cmd = [
20-
"python3",
21+
sys.executable,
2122
str(self.script_path),
2223
"--module",
2324
"google-cloud-run",
@@ -29,10 +30,9 @@ def test_java_run_generation(self):
2930
"run",
3031
]
3132
result = subprocess.run(
32-
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
33+
cmd, capture_output=True, text=True, check=True
3334
)
3435

35-
self.assertEqual(result.returncode, 0)
3636
self.assertEqual(result.stdout, expected_output)
3737

3838
def test_root_generation(self):
@@ -41,7 +41,7 @@ def test_root_generation(self):
4141
expected_output = f.read()
4242

4343
cmd = [
44-
"python3",
44+
sys.executable,
4545
str(self.script_path),
4646
"--module",
4747
"google-cloud-java",
@@ -51,10 +51,30 @@ def test_root_generation(self):
5151
"1.85.0",
5252
]
5353
result = subprocess.run(
54-
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
54+
cmd, capture_output=True, text=True, check=True
5555
)
5656

57-
self.assertEqual(result.returncode, 0)
57+
self.assertEqual(result.stdout, expected_output)
58+
59+
60+
def test_java_dataplex_generation(self):
61+
"""Test generating release notes for Dataplex module version 1.86.0."""
62+
args = [
63+
"--module", "google-cloud-dataplex",
64+
"--directory", "java-dataplex",
65+
"--version", "1.86.0",
66+
"--short-name", "dataplex"
67+
]
68+
69+
cmd = [sys.executable, str(self.script_path)] + args
70+
result = subprocess.run(
71+
cmd, capture_output=True, text=True, check=True
72+
)
73+
74+
golden_path = self.testdata_dir / "golden_java-dataplex_1.86.0.txt"
75+
with open(golden_path, "r") as f:
76+
expected_output = f.read()
77+
5878
self.assertEqual(result.stdout, expected_output)
5979

6080

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## [1.86.0](https://github.com/googleapis/google-cloud-java/compare/601ea6a901e...v1.82.0) (2026-03-20)
2+
3+
### ⚠ BREAKING CHANGES
4+
5+
* fix(dataplex)!: remove deprecated Explore-related methods and messages from public client libraries Breaking Changes: - Removed ContentService and all associated methods (CreateContent, UpdateContent, DeleteContent, GetContent, ListContent, etc.) and request/response messages. - Removed Environment and Session management methods from DataplexService (CreateEnvironment, UpdateEnvironment, DeleteEnvironment, ListEnvironments, GetEnvironment, ListSessions) and their associated messages. [googleapis/googleapis@69ca7ae](https://github.com/googleapis/googleapis/commit/69ca7ae2e66cd5623cafecc00971ef5397a4b258) ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
6+
7+
### Features
8+
9+
* feat(dataplex): add DataProductService to manage data products and underlying data assets ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
10+
* feat(dataplex): add MetadataFeed to CatalogService for tracking metadata changes ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
11+
* feat(dataplex): add LookupContext to CatalogService for LLM-generated resource context ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
12+
* feat(dataplex): add support for attaching aspects to EntryLinks ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
13+
* feat(dataplex): add UpdateEntryLink and LookupEntryLinks methods to CatalogService ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
14+
* feat(dataplex): support OneTime triggers for DataScan operations ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
15+
* feat(dataplex): add debug query support to Data Quality rules ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
16+
* feat(dataplex): allow selective generation scope for Data Documentation scans ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
17+
* feat(dataplex): add SKIPPED state to DataScan catalog publishing status ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
18+
19+
### Documentation
20+
21+
* docs(dataplex): remove deprecated metadata change warnings in Dataplex Catalog The DataProductService provides APIs to curate and manage collections of data assets as data products, enabling more organized sharing and usage for specific business cases. MetadataFeeds allow users to monitor metadata changes (CREATE, UPDATE, DELETE) within a specified scope (organization, project, or entry group) and publish them to Pub/Sub. CatalogService now includes a LookupContext API to provide LLM-generated context for resources, and enhanced EntryLink management, including the ability to attach aspects. DataScan operations now support a OneTime trigger for single-run scans, and Data Quality rules support DebugQueries to help investigate rule failures by returning diagnostic values. ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
22+

java-dataplex/CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
# Changelog
22

3-
## 1.86.0 (None)
3+
## 1.86.0 (2026-03-20)
44

5-
* No change
5+
### ⚠ BREAKING CHANGES
6+
7+
* fix(dataplex)!: remove deprecated Explore-related methods and messages from public client libraries Breaking Changes: - Removed ContentService and all associated methods (CreateContent, UpdateContent, DeleteContent, GetContent, ListContent, etc.) and request/response messages. - Removed Environment and Session management methods from DataplexService (CreateEnvironment, UpdateEnvironment, DeleteEnvironment, ListEnvironments, GetEnvironment, ListSessions) and their associated messages. [googleapis/googleapis@69ca7ae](https://github.com/googleapis/googleapis/commit/69ca7ae2e66cd5623cafecc00971ef5397a4b258) ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
8+
9+
### Features
10+
11+
* feat(dataplex): add DataProductService to manage data products and underlying data assets ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
12+
* feat(dataplex): add MetadataFeed to CatalogService for tracking metadata changes ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
13+
* feat(dataplex): add LookupContext to CatalogService for LLM-generated resource context ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
14+
* feat(dataplex): add support for attaching aspects to EntryLinks ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
15+
* feat(dataplex): add UpdateEntryLink and LookupEntryLinks methods to CatalogService ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
16+
* feat(dataplex): support OneTime triggers for DataScan operations ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
17+
* feat(dataplex): add debug query support to Data Quality rules ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
18+
* feat(dataplex): allow selective generation scope for Data Documentation scans ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
19+
* feat(dataplex): add SKIPPED state to DataScan catalog publishing status ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
20+
21+
### Documentation
622

23+
* docs(dataplex): remove deprecated metadata change warnings in Dataplex Catalog The DataProductService provides APIs to curate and manage collections of data assets as data products, enabling more organized sharing and usage for specific business cases. MetadataFeeds allow users to monitor metadata changes (CREATE, UPDATE, DELETE) within a specified scope (organization, project, or entry group) and publish them to Pub/Sub. CatalogService now includes a LookupContext API to provide LLM-generated context for resources, and enhanced EntryLink management, including the ability to attach aspects. DataScan operations now support a OneTime trigger for single-run scans, and Data Quality rules support DebugQueries to help investigate rule failures by returning diagnostic values. ([e29dd99](https://github.com/googleapis/google-cloud-java/commit/e29dd99559b04de62d2f91792a6352b5ce980438))
724

825
## 1.85.0 (2026-03-11)
926

0 commit comments

Comments
 (0)