From 188edb226af318c4f802ce63478a3bf6780fc689 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 28 Jul 2026 13:30:04 +0900 Subject: [PATCH 1/3] chore(dev/release): update blog announcement template --- dev/release/post-13-website.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/release/post-13-website.sh b/dev/release/post-13-website.sh index 950ac46f44..6f4c29952e 100755 --- a/dev/release/post-13-website.sh +++ b/dev/release/post-13-website.sh @@ -79,6 +79,7 @@ The subcomponents are versioned independently: - C/C++/GLib/Go/Python/Ruby: ${VERSION_NATIVE} - C#: ${VERSION_CSHARP} - Java: ${VERSION_JAVA} +- JavaScript: ${VERSION_JS} - R: ${VERSION_R} - Rust: ${VERSION_RUST} @@ -90,6 +91,7 @@ been made: we refer you to the [complete changelog][3]. + ## Contributors \`\`\` From f9124926bae0b23fd585359144e430fddba5da84 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 28 Jul 2026 15:08:48 +0900 Subject: [PATCH 2/3] update --- dev/release/post-13-website.sh | 7 ++++--- dev/release/utils-prepare.sh | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/dev/release/post-13-website.sh b/dev/release/post-13-website.sh index 6f4c29952e..30a85145df 100755 --- a/dev/release/post-13-website.sh +++ b/dev/release/post-13-website.sh @@ -68,7 +68,8 @@ limitations under the License. The Apache Arrow team is pleased to announce the version ${RELEASE} release of the Apache Arrow ADBC libraries. This release includes [**${RESOLVED_ISSUES} -resolved issues**][1] from [**${contributors} distinct contributors**][2]. +resolved issues**][1] and [**${MERGED_PRS}** merged pull requests][2] from +[**${contributors} distinct contributors**](#contributors). This is a release of the **libraries**, which are at version ${RELEASE}. The [**API specification**][specification] is versioned separately and is at @@ -109,8 +110,8 @@ We welcome questions and contributions from all interested. Issues can be filed on [GitHub][4], and questions can be directed to GitHub or the [Arrow mailing lists][5]. -[1]: ${MILESTONE_URL} -[2]: #contributors +[1]: ${ISSUES_URL} +[2]: ${PRS_URL} [3]: https://github.com/apache/arrow-adbc/blob/apache-arrow-adbc-${RELEASE}/CHANGELOG.md [4]: https://github.com/apache/arrow-adbc/issues [5]: {% link community.md %} diff --git a/dev/release/utils-prepare.sh b/dev/release/utils-prepare.sh index ba3a0a5a88..3b211ee132 100644 --- a/dev/release/utils-prepare.sh +++ b/dev/release/utils-prepare.sh @@ -223,7 +223,7 @@ set_resolved_issues() { --jq ".[] | select(.title | test(\"ADBC Libraries ${version}\$\"))") local -r milestone_number=$(echo "${milestone_info}" | jq -r '.number') - local -r graphql_query="query { + local -r resolved_issues_query="query { repository(owner: \"apache\", name: \"arrow-adbc\") { milestone(number: ${milestone_number}) { issues(states: CLOSED) { @@ -234,8 +234,20 @@ set_resolved_issues() { } " + local -r merged_prs_query="query { + search(type: ISSUE, query: \"type:pr repo:apache/arrow-adbc milestone:\\\"ADBC Libraries ${version}\\\" -author:app/dependabot\") { + issueCount + } +}" + + local -r urlencoded=$(echo -n "ADBC Libraries ${version}" | jq -sRr @uri) + export ISSUES_URL="https://github.com/apache/arrow-adbc/issues?q=is%3Aissue%20state%3Aclosed%20milestone%3A%22${urlencoded}%22" + export PRS_URL="https://github.com/apache/arrow-adbc/pulls?q=is%3Apr%20state%3Aclosed%20milestone%3A%22${urlencoded}%22%20-author%3Aapp%2Fdependabot" export MILESTONE_URL=$(echo "${milestone_info}" | jq -r '.html_url') export RESOLVED_ISSUES=$(gh api graphql \ - -f query="${graphql_query}" \ + -f query="${resolved_issues_query}" \ --jq '.data.repository.milestone.issues.totalCount') + export MERGED_PRS=$(gh api graphql \ + -f query="${merged_prs_query}" \ + --jq '.data.search.issueCount') } From 893035ae44369d84ec5525f1872760a0bb604893 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 28 Jul 2026 05:14:58 -0700 Subject: [PATCH 3/3] Update dev/release/post-13-website.sh Co-authored-by: Ian Cook --- dev/release/post-13-website.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/release/post-13-website.sh b/dev/release/post-13-website.sh index 30a85145df..670da98729 100755 --- a/dev/release/post-13-website.sh +++ b/dev/release/post-13-website.sh @@ -68,7 +68,7 @@ limitations under the License. The Apache Arrow team is pleased to announce the version ${RELEASE} release of the Apache Arrow ADBC libraries. This release includes [**${RESOLVED_ISSUES} -resolved issues**][1] and [**${MERGED_PRS}** merged pull requests][2] from +resolved issues**][1] and [**${MERGED_PRS} merged pull requests**][2] from [**${contributors} distinct contributors**](#contributors). This is a release of the **libraries**, which are at version ${RELEASE}. The