Skip to content

Commit 8427e01

Browse files
committed
Prepare release 1.26.0
Signed-off-by: Yuri Shkuro <[email protected]>
1 parent 93adddd commit 8427e01

File tree

4 files changed

+95
-5
lines changed

4 files changed

+95
-5
lines changed

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changes by Version
22
==================
33

4+
1.26.0 (2021-09-06)
5+
-------------------
6+
### Backend Changes
7+
#### New Features
8+
* Add cassandra v4 support ([@Ashmita152](https://github.com/Ashmita152) in [#3225](https://github.com/jaegertracing/jaeger/pull/3225))
9+
* Add es-index-cleaner golang implementation ([@pavolloffay](https://github.com/pavolloffay) in [#3204](https://github.com/jaegertracing/jaeger/pull/3204))
10+
* Add CLI Option for gRPC Max Receive Message Size ([@js8080](https://github.com/js8080) in [#3214](https://github.com/jaegertracing/jaeger/pull/3214) and [#3192](https://github.com/jaegertracing/jaeger/pull/3192))
11+
* Automatically detect OpenSearch version ([@pavolloffay](https://github.com/pavolloffay) in [#3198](https://github.com/jaegertracing/jaeger/pull/3198))
12+
* Add SendGetBodyAs on elasticsearch ([@NatMarchand](https://github.com/NatMarchand) in [#3193](https://github.com/jaegertracing/jaeger/pull/3193))
13+
* Set lookback in ES rollover to distant past ([@pavolloffay](https://github.com/pavolloffay) in [#3169](https://github.com/jaegertracing/jaeger/pull/3169))
14+
15+
#### Bug fixes, Minor Improvements
16+
* Check for invalid --agent.tags ([@esnible](https://github.com/esnible) in [#3246](https://github.com/jaegertracing/jaeger/pull/3246))
17+
* Replace old linters with golangci-lint ([@albertteoh](https://github.com/albertteoh) in [#3237](https://github.com/jaegertracing/jaeger/pull/3237))
18+
* Fix panic on empty findTraces query ([@akuzni2](https://github.com/akuzni2) in [#3232](https://github.com/jaegertracing/jaeger/pull/3232))
19+
* Upgrade to Go v1.17 ([@Ashmita152](https://github.com/Ashmita152) in [#3220](https://github.com/jaegertracing/jaeger/pull/3220))
20+
* Add docker buildx make target ([@pavolloffay](https://github.com/pavolloffay) in [#3213](https://github.com/jaegertracing/jaeger/pull/3213))
21+
* Fix the name for elasticsearch integration tests ([@Ashmita152](https://github.com/Ashmita152) in [#3208](https://github.com/jaegertracing/jaeger/pull/3208))
22+
* Upgrade ES images in integration tests ([@pavolloffay](https://github.com/pavolloffay) in [#3185](https://github.com/jaegertracing/jaeger/pull/3185))
23+
24+
### UI Changes
25+
* UI pinned to version 1.16.0 - https://github.com/jaegertracing/jaeger-ui/releases/tag/v1.16.0
26+
427
1.25.0 (2021-08-04)
528
-------------------
629
#### New Features
@@ -109,7 +132,7 @@ Changes by Version
109132
* Remove incorrectly scoped downsample flags from the query service ([#2782](https://github.com/jaegertracing/jaeger/pull/2782), [@joe-elliott](https://github.com/joe-elliott))
110133
* `--downsampling.hashsalt` removed from jaeger-query
111134
* `--downsampling.ratio` removed from jaeger-query
112-
135+
113136
#### New Features
114137

115138
* Add TLS Support for gRPC and HTTP endpoints of the Query and Collector servers ([#2337](https://github.com/jaegertracing/jaeger/pull/2337), [#2772](https://github.com/jaegertracing/jaeger/pull/2772), [#2798](https://github.com/jaegertracing/jaeger/pull/2798), [@rjs211](https://github.com/rjs211))

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
1. Create a PR "Preparing release X.Y.Z" against master or maintenance branch ([example](https://github.com/jaegertracing/jaeger/pull/543/files)) by updating CHANGELOG.md to include:
44
* A new section with the header `<X.Y.Z> (YYYY-MM-DD)`
5-
* A curated list of notable changes and links to PRs. Do not simply dump git log, select the changes that affect the users. To obtain the list of all changes run `make changelog`.
5+
* A curated list of notable changes and links to PRs. Do not simply dump git log, select the changes that affect the users. To obtain the list of all changes run `make changelog` or use `scripts/release-notes.py`.
66
* The section can be split into sub-section if necessary, e.g. UI Changes, Backend Changes, Bug Fixes, etc.
77
* If the submodules have new releases, please also upgrade the submodule versions then commit, for example:
88
```
@@ -13,7 +13,7 @@
1313
```
1414
2. Add all merged pull requests to the milestone for the release and create a new milestone for a next release e.g. `Release 1.16`.
1515
3. After the PR is merged, create a release on Github:
16-
* Title "Release X.Y.Z"
16+
* Title "Release X.Y.Z"
1717
* Tag `vX.Y.Z` (note the `v` prefix) and choose appropriate branch
1818
* Copy the new CHANGELOG.md section into the release notes
1919
4. The release tag will trigger a build of the docker images. Since forks don't have jaegertracingbot dockerhub token, they can never publish images to jaegertracing organisation.
@@ -39,6 +39,6 @@ Here are the release managers for future versions with the tentative release dat
3939
| 1.26.0 | @yurishkuro | 1 September 2021 |
4040
| 1.27.0 | @joe-elliott | 6 October 2021 |
4141
| 1.28.0 | @albertteoh | 3 November 2021 |
42-
| 1.29.0 | @jpkrohling | 1 December 2021 |
42+
| 1.29.0 | @jpkrohling | 1 December 2021 |
4343
| 1.30.0 | @pavolloffay | 5 January 2022 |
4444
| 1.31.0 | @vprithvi | 2 February 2022 |

scripts/release-notes.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
2+
# This script can read N latest commits from one of Jaeger repos
3+
# and output them in the release notes format:
4+
# {title} ({author} in {pull_request})
5+
#
6+
# Requires personal GitHub token with default permissions:
7+
# https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
8+
#
9+
# Usage: python release-notes.py <github_token> <jaeger-repo> <num-commits>
10+
#
11+
12+
import json
13+
from urllib.request import (
14+
urlopen,
15+
Request
16+
)
17+
import urllib.parse
18+
import sys
19+
20+
def eprint(*args, **kwargs):
21+
print(*args, file=sys.stderr, **kwargs)
22+
23+
if len(sys.argv) < 4:
24+
eprint("Usage: python release-notes.py <github_token> <jaeger-repo> <num-commits>")
25+
sys.exit(1)
26+
27+
token=sys.argv[1]
28+
repo=sys.argv[2]
29+
num_commits=sys.argv[3]
30+
31+
accept_header="application/vnd.github.groot-preview+json"
32+
commits_url='https://api.github.com/repos/jaegertracing/{repo}/commits'.format(repo=repo)
33+
pulls_url="{commits_url}/{commit_sha}/pulls"
34+
35+
# load commits
36+
data = urllib.parse.urlencode({'per_page': num_commits})
37+
req=Request(commits_url + '?' + data)
38+
print(req.full_url)
39+
req.add_header('Authorization', 'token {token}'.format(token=token))
40+
commits=json.loads(urlopen(req).read())
41+
print('Retrieved', len(commits), 'commits')
42+
43+
# load PR for each commit and print summary
44+
for commit in commits:
45+
sha = commit['sha']
46+
msg_lines = commit['commit']['message'].split('\n')
47+
msg = msg_lines[0]
48+
req = Request(pulls_url.format(commits_url=commits_url,commit_sha=sha))
49+
req.add_header('accept', accept_header)
50+
req.add_header('Authorization', 'token {token}'.format(token=token))
51+
pulls = json.loads(urlopen(req).read())
52+
if len(pulls) > 1:
53+
print("More than one pull request for commit {commit}".format(commit=sha))
54+
# TODO handle commits without pull requests
55+
pull = pulls[0]
56+
pull_no = pull['number']
57+
pull_url = pull['html_url']
58+
author = pull['user']['login']
59+
author_url = pull['user']['html_url']
60+
msg = msg.replace('(#{pull})'.format(pull=pull_no), '').strip()
61+
print('* {msg} ([@{author}]({author_url}) in [#{pull}]({pull_url}))'.format(
62+
msg=msg,
63+
author=author,
64+
author_url=author_url,
65+
pull=pull_no,
66+
pull_url=pull_url,
67+
))

0 commit comments

Comments
 (0)