Skip to content

Changelog generation is complicated / takes a long time #9332

Closed

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is me ranting (while waiting for the changlog generator to run)

The current instructions in https://github.com/apache/arrow-rs/blob/main/dev/release/README.md consumes far more time than it should in my opinion:

  1. I have to manually edit the script
  2. It takes many minutes to generate a CHANGELOG file
  3. I have to then manually touch up the various CHANGELOGs
  4. It doesn't seem to know how to deal with branches

For example, while creating a CHANGELOG for 57.3.0 (which has 4 commits on the branch) it produces this nonsense (includes commits from main).

This is even after I tried to tell it to use 57_maintenance as the base

diff --git a/dev/release/update_change_log.sh b/dev/release/update_change_log.sh
index 7f0195bbd7b..0617079171b 100755
--- a/dev/release/update_change_log.sh
+++ b/dev/release/update_change_log.sh
@@ -29,8 +29,8 @@

 set -e

-SINCE_TAG="57.1.0"
-FUTURE_RELEASE="57.2.0"
+SINCE_TAG="57.2.0"
+FUTURE_RELEASE="57.3.0"

 SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 SOURCE_TOP_DIR="$(cd "${SOURCE_DIR}/../../" && pwd)"
@@ -49,6 +49,8 @@ docker run -it --rm -e CHANGELOG_GITHUB_TOKEN="$ARROW_GITHUB_API_TOKEN" -v "$(pw
     --max-issues=300 \
     --exclude-tags-regex "^object_store_\d+\.\d+\.\d+$|-rc\d$" \
     --since-tag ${SINCE_TAG} \
+    --since-commit 2026-02-01 00:00:00 \
+    --release-branch 57_maintenance \
     --future-release ${FUTURE_RELEASE}
Details

Changelog

57.3.0 (2026-02-02)

Full Changelog

Implemented enhancements:

  • Optimize data page statistics conversion #9306
  • A more generic convenience method to create list arrays from nested iterators #9267 [arrow]
  • Speed up string view comparison #9253
  • Improve parquet BinaryView / StringView decoder performance #9238
  • Speedup filter (up to 1.5x) filter/BitIndexIterator/iter_set_bits_rev #9230
  • [Parquet] Optimize struct reading #9216
  • [Parquet] Add benchmarks for reading struct arrays from parquet #9209
  • Support casting negative scale decimals to numeric #9201
  • Add ability to reuse DictionaryTracker when creating new IPC Stream #9195
  • [regression] Sealing the Array trait broke downstream crates #9184
  • perf: optimize RowGroupIndexReader for single row group reads #9180
  • Support formatting ListView #9174
  • Row format support for ListView #9173
  • Add lossy flag in CastOptions #9172
  • Consolidate parquet examples into the doc comments #9154
  • Uncomment part of test_utf8_single_column_reader_test #9147
  • Document / Add an example of RowFilter usage #9096 [parquet]
  • Document / Add an example of preserving dictionary encoding when reading parquet #9095 [parquet]
  • Reduce overhead to create an Array from ArrayData (make_array) #9061
  • [arrow-avro] Add Explicit Projection API to ReaderBuilder #8923

...

This may be a function of not configuring the changelog generator correctly but it is really quite a pain

Describe the solution you'd like
Something that I don't have to spend much time working on changelogs

Describe alternatives you've considered
@andygrove made one in DataFusion that seems to work well; https://github.com/apache/datafusion/blob/main/dev/release/generate-changelog.py

Maybe @kylebarron or @Jefffrey have some suggestions for a better solution too

Additional context

Activity

  1. added
    enhancement
    on Feb 2, 2026
  2. kylebarron commented on Feb 2, 2026

    @kylebarron
    Member

    My Changelogs are hand-generated as well, using the github auto-generated release from the release page as a template.

    I know some people have had a good experience with conventional commits + https://github.com/googleapis/release-please or similar projects. I've started enforcing conventional commits on my projects and am trying out release-please: developmentseed/deck.gl-raster#197

  3. alamb commented on Feb 2, 2026

    @alamb
    ContributorAuthor

    I am very much a non-fan of conventional commits (but I know I am in the minority here), mostly because I find the categorization very arbitrary and forcing a commit format often means people cargo cult the format rather than really think about labeling the issue

    But that aside I'll see if I can find something better

  4. andygrove commented on Feb 2, 2026

    @andygrove
    Member

    I am very much a non-fan of conventional commits (but I know I am in the minority here), mostly because I find the categorization very arbitrary and forcing a commit format often means people cargo cult the format rather than really think about labeling the issue

    But that aside I'll see if I can find something better

    The scripts that I added in datafusion core and in comet use conventional commit titles by default, when they are present, but you can override with github labels. The version of the script in comet is probably farther along than the datafusion one.

  5. self-assigned this
    on Jul 28, 2026
  6. Jefffrey commented on Jul 28, 2026

    @Jefffrey
    Contributor

    currently playing around with git-cliff which seems promising 👀

    although it does promote conventional commits, this is configurable so we dont strictly need it and it still supports categorising by github labels

  7. added
    development-process
    on Jul 29, 2026
  8. added a commit that references this issue on Aug 3, 2026
    782e5a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

development-processenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions