Skip to content

Commit 4b74462

Browse files
authored
Prepare release 1.62.0 / 2.0.0-rc2 (#6057)
1 parent 1ec8303 commit 4b74462

File tree

5 files changed

+73
-22
lines changed

5 files changed

+73
-22
lines changed

CHANGELOG.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Changes by Version
99
<summary>next release template</summary>
1010

1111
next release v1.x.x / v2.x.x-rcx (yyyy-mm-dd)
12-
-------------------
12+
-------------------------------
1313

1414
### Backend Changes
1515

@@ -21,8 +21,45 @@ copy from UI changelog
2121

2222
</details>
2323

24+
1.62.0 / 2.0.0-rc2 (2024-10-06)
25+
-------------------------------
26+
27+
### Backend Changes
28+
29+
#### ⛔ Breaking Changes
30+
31+
* [query] change http and tls server configurations to use otel configurations ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#6023](https://github.com/jaegertracing/jaeger/pull/6023))
32+
* [fix][spm]: change default metrics namespace to match new default in spanmetricsconnector ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#6007](https://github.com/jaegertracing/jaeger/pull/6007))
33+
34+
#### 🐞 Bug fixes, Minor Improvements
35+
36+
* [grpc storage]: propagate tenant to grpc backend ([@frzifus](https://github.com/frzifus) in [#6030](https://github.com/jaegertracing/jaeger/pull/6030))
37+
* [feat] deduplicate spans based on their hashcode ([@cdanis](https://github.com/cdanis) in [#6009](https://github.com/jaegertracing/jaeger/pull/6009))
38+
39+
#### 🚧 Experimental Features
40+
41+
* [jaeger-v2] consolidate v1 and v2 configurations for grpc storage ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#6042](https://github.com/jaegertracing/jaeger/pull/6042))
42+
* [jaeger-v2] use environment variables in kafka config ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#6028](https://github.com/jaegertracing/jaeger/pull/6028))
43+
* [jaeger-v2] align cassandra storage config with otel ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#5949](https://github.com/jaegertracing/jaeger/pull/5949))
44+
* [jaeger-v2] refactor configuration for query service ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#5998](https://github.com/jaegertracing/jaeger/pull/5998))
45+
* [v2] add temporary expvar extension ([@yurishkuro](https://github.com/yurishkuro) in [#5986](https://github.com/jaegertracing/jaeger/pull/5986))
46+
47+
#### 👷 CI Improvements
48+
49+
* [ci] disable fail fast behaviour for ci workflows ([@mahadzaryab1](https://github.com/mahadzaryab1) in [#6052](https://github.com/jaegertracing/jaeger/pull/6052))
50+
* Testifylint: enable go-require ([@mmorel-35](https://github.com/mmorel-35) in [#5983](https://github.com/jaegertracing/jaeger/pull/5983))
51+
* Fix regex for publishing v2 image ([@yurishkuro](https://github.com/yurishkuro) in [#5988](https://github.com/jaegertracing/jaeger/pull/5988))
52+
53+
54+
### 📊 UI Changes
55+
56+
#### 🐞 Bug fixes, Minor Improvements
57+
58+
* Support uploads of .jsonl files ([@Saumya40-codes](https://github.com/Saumya40-codes) in [#2461](https://github.com/jaegertracing/jaeger-ui/pull/2461))
59+
60+
2461
1.61.0 / 2.0.0-rc1 (2024-09-14)
25-
-------------------
62+
-------------------------------
2663

2764
### Backend Changes
2865

@@ -83,7 +120,7 @@ Dependencies upgrades only.
83120

84121

85122
1.60.0 / 2.0.0-rc0 (2024-08-06)
86-
-------------------
123+
-------------------------------
87124

88125
### Backend Changes
89126

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cd jaeger-ui
2424
git checkout main
2525
git pull
26-
git checkout {new_ui_version} //e.g. v1.5.0
26+
git checkout {new_ui_version} # e.g. v1.5.0
2727
```
2828
* If there are only dependency bumps, indicate this with "Dependencies upgrades only" ([example](https://github.com/jaegertracing/jaeger-ui/pull/2431/files)).
2929
* If there are no changes, indicate this with "No changes" ([example](https://github.com/jaegertracing/jaeger/pull/4131/files)).
@@ -79,8 +79,8 @@ Here are the release managers for future versions with the tentative release dat
7979
8080
| Version | Release Manager | Tentative release date |
8181
|---------|-----------------|------------------------|
82-
| 1.62.0 | @albertteoh | 2 October 2024 |
8382
| 1.63.0 | @pavolloffay | 5 November 2024 |
8483
| 1.64.0 | @joe-elliott | 4 December 2024 |
8584
| 1.65.0 | @jkowall | 8 January 2025 |
86-
| 1.66.0 | @yurishkuro | 3 February 2024 |
85+
| 1.66.0 | @yurishkuro | 3 February 2025 |
86+
| 1.67.0 | @albertteoh | 5 March 2025 |

scripts/draft-release.py

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@
77
import re
88
import subprocess
99

10+
generic_release_header_pattern = re.compile(
11+
r".*(1\.\d+\.\d+)", flags=0
12+
)
1013

11-
release_header_pattern = re.compile(
14+
jaeger_release_header_pattern = re.compile(
1215
r".*(1\.\d+\.\d+) */ *(2\.\d+\.\d+-rc\d+) \(\d{4}-\d{2}-\d{2}\)", flags=0
1316
)
17+
1418
underline_pattern = re.compile(r"^[-]+$", flags=0)
1519

1620

1721
def main(title, repo):
18-
changelog_text, version_v1, version_v2 = get_changelog()
22+
changelog_text, version_v1, version_v2 = get_changelog(repo)
1923
print(changelog_text)
24+
header = f"{title} v{version_v1}"
25+
if repo == "jaeger":
26+
header += f" / v{version_v2}"
2027
output_string = subprocess.check_output(
2128
[
2229
"gh",
@@ -25,7 +32,7 @@ def main(title, repo):
2532
f"v{version_v1}",
2633
"--draft",
2734
"--title",
28-
f"{title} v{version_v1} / v{version_v2}",
35+
header,
2936
"--repo",
3037
f"jaegertracing/{repo}",
3138
"-F",
@@ -38,23 +45,28 @@ def main(title, repo):
3845
print("Please review, then edit it and click 'Publish release'.")
3946

4047

41-
def get_changelog():
48+
def get_changelog(repo):
4249
changelog_text = ""
4350
in_changelog_text = False
44-
version = ""
51+
version_v1 = ""
52+
version_v2 = ""
4553
with open("CHANGELOG.md") as f:
4654
for line in f:
47-
release_header_match = release_header_pattern.match(line)
55+
release_header_match = generic_release_header_pattern.match(line)
4856

49-
if release_header_match is not None:
57+
if release_header_match:
5058
# Found the first release.
51-
if not in_changelog_text:
52-
in_changelog_text = True
53-
version_v1 = release_header_match.group(1)
54-
version_v2 = release_header_match.group(2)
55-
else:
59+
if in_changelog_text:
5660
# Found the next release.
5761
break
62+
else:
63+
if repo == "jaeger":
64+
jaeger_release_match = jaeger_release_header_pattern.match(line)
65+
version_v1 = jaeger_release_match.group(1)
66+
version_v2 = jaeger_release_match.group(2)
67+
else:
68+
version_v1 = release_header_match.group(1)
69+
in_changelog_text = True
5870
else:
5971
underline_match = underline_pattern.match(line)
6072
if underline_match is not None:

scripts/release-notes.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,11 @@ def main(token, repo, branch, num_commits, exclude_dependabot, verbose):
175175

176176
# Print pull requests in the 'UNCATTEGORIZED' category
177177
if other_results:
178-
print(f'### 💩💩💩 The following commits cannot be categorized (missing changeglog labels):\n')
178+
print(f'### 💩💩💩 The following commits cannot be categorized (missing "changelog:*" labels):')
179179
for result in other_results:
180180
print(result)
181-
print()
181+
print(f'### 💩💩💩 Please attach labels to these ^^^ PRs and rerun the script.')
182+
print(f'### 💩💩💩 Do not include this section in the changelog.')
182183

183184
# Print warnings for commits with more than one changelog label
184185
if commits_with_multiple_labels:
@@ -190,7 +191,8 @@ def main(token, repo, branch, num_commits, exclude_dependabot, verbose):
190191
print()
191192

192193
if skipped_dependabot:
193-
print(f"(Skipped dependabot commits: {skipped_dependabot})")
194+
if verbose:
195+
print(f"(Skipped dependabot commits: {skipped_dependabot})")
194196

195197

196198
def get_pull_request_labels(token, repo, pull_number):

0 commit comments

Comments
 (0)