Skip to content

Commit 3861c4a

Browse files
authored
add changelog for 0.14.1 (#3944)
1 parent eb502ff commit 3861c4a

2 files changed

Lines changed: 59 additions & 1 deletion

File tree

dev/changelog/0.14.1.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
20+
# DataFusion Comet 0.14.1 Changelog
21+
22+
This release consists of 5 commits from 1 contributors. See credits at the end of this changelog for more information.
23+
24+
**Fixed bugs:**
25+
26+
- fix: [branch-0.14] backport #3802 - cache object stores and bucket regions to reduce DNS query volume [#3935](https://github.com/apache/datafusion-comet/pull/3935) (andygrove)
27+
- fix: [branch-0.14] backport #3924 - share unified memory pools across native execution contexts [#3938](https://github.com/apache/datafusion-comet/pull/3938) (andygrove)
28+
- fix: [branch-0.14] backport #3879 - skip Comet columnar shuffle for stages with DPP scans [#3934](https://github.com/apache/datafusion-comet/pull/3934) (andygrove)
29+
- fix: [branch-0.14] backport #3914 - use min instead of max when capping write buffer size to Int range [#3936](https://github.com/apache/datafusion-comet/pull/3936) (andygrove)
30+
- fix: [branch-0.14] backport #3865 - handle ambiguous and non-existent local times [#3937](https://github.com/apache/datafusion-comet/pull/3937) (andygrove)
31+
32+
## Credits
33+
34+
Thank you to everyone who contributed to this release. Here is a breakdown of commits (PRs merged) per contributor.
35+
36+
```
37+
5 Andy Grove
38+
```
39+
40+
Thank you also to everyone who contributed in other ways such as filing issues, reviewing PRs, and providing feedback on this release.

dev/release/generate-changelog.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,18 @@ def generate_changelog(repo, repo_name, tag1, tag2, version):
142142
print("Thank you also to everyone who contributed in other ways such as filing issues, reviewing "
143143
"PRs, and providing feedback on this release.\n")
144144

145+
def resolve_ref(ref):
146+
"""Resolve a git ref (e.g. HEAD, branch name) to a full commit SHA."""
147+
try:
148+
return subprocess.check_output(
149+
["git", "rev-parse", ref], text=True
150+
).strip()
151+
except subprocess.CalledProcessError:
152+
# If it can't be resolved locally, return as-is (e.g. a tag name
153+
# that the GitHub API can resolve)
154+
return ref
155+
156+
145157
def cli(args=None):
146158
"""Process command line arguments."""
147159
if not args:
@@ -153,12 +165,18 @@ def cli(args=None):
153165
parser.add_argument("version", help="The version number to include in the changelog")
154166
args = parser.parse_args()
155167

168+
# Resolve refs to SHAs so the GitHub API compares the same commits
169+
# as the local git log. Without this, refs like HEAD get resolved by
170+
# the GitHub API to the default branch instead of the current branch.
171+
tag1 = resolve_ref(args.tag1)
172+
tag2 = resolve_ref(args.tag2)
173+
156174
token = os.getenv("GITHUB_TOKEN")
157175
project = "apache/datafusion-comet"
158176

159177
g = Github(token)
160178
repo = g.get_repo(project)
161-
generate_changelog(repo, project, args.tag1, args.tag2, args.version)
179+
generate_changelog(repo, project, tag1, tag2, args.version)
162180

163181
if __name__ == "__main__":
164182
cli()

0 commit comments

Comments
 (0)