con un clic
con un clic
| name | relnotes |
| description | Create release notes for a specific Quarkus CXF release version. |
| Usage | /relnotes <version> (e.g., /relnotes 3.33.2) or /relnotes <version> <previous-version> (e.g., /relnotes 3.35.0 3.33.1) |
Create release notes for a Quarkus CXF release.
The version number is passed as the first non-optional argument (e.g., 3.33.2).
Extract the version number from the first (required) argument. It must be a semantic version like 3.33.2 following the naming scheme <major>.<minor>.<micro or patch>.
If previous version is specified via the second command argument, use that one.
Otherwise determine the previous version by looking at existing git tags on the branch of the release notes version.
The name of the branch is either main for release notes versions ending with .0 or <major>.<minor> for Long Term
Support (LTS) branches).
Only tags matching <major>.<minor>.<micro>, where all of <major>, <minor> and <micro> must be numeric,
are relevant for release notes other tags can be ignored.
If the requested release notes version does not end with .0, the previous version is the tag immediately before
the requested version in sorted order.
Use:
git tag --list '<major>.<minor>.*' | sort -V
If the requested version ends with .0, the previous version is the highest patch of the previous minor,
e.g., for release notes version 3.34.0, find the latest 3.33.x tag, or the latest 3.32.x and so on.
Verify that the requested version tag exists in git:
git tag --list '<version>'
If you cannot find and suitable previous version, abort and inform the user.
Run these commands to understand what changed:
git log --oneline <previous-version>...<version>
Look at the commit messages for:
#1234, fixes #1234, etc.)For each GitHub issue or PR number referenced in commits, fetch details using:
gh issue view <number> --repo quarkiverse/quarkus-cxf
gh pr view <number> --repo quarkiverse/quarkus-cxf
Also list PRs merged between the two tags:
gh pr list --repo quarkiverse/quarkus-cxf --state merged --search "merged:$(git log -1 --format=%ci <previous-version> | cut -d' ' -f1)..$(git log -1 --format=%ci <version> | cut -d' ' -f1)" --limit 100
Read the following release note documents to learn the style:
docs/modules/ROOT/pages/release-notes/3.31.1.adocdocs/modules/ROOT/pages/release-notes/3.31.0.adocdocs/modules/ROOT/pages/release-notes/3.30.0.adocdocs/modules/ROOT/pages/release-notes/3.29.0.adocdocs/modules/ROOT/pages/release-notes/3.27.1.adocdocs/modules/ROOT/pages/release-notes/3.27.0.adocThe format follows these conventions:
Title: = {quarkus-cxf-project-name} <version> release notes (add LTS suffix for LTS releases — versions in LTS streams like 3.8.x, 3.15.x, 3.20.x, 3.27.x, 3.33.x)
Sections (include only those that apply):
== Important dependency upgrades — bullet list of upgraded dependencies. Each upgrade should contain:
docs/modules/ROOT/pages/release-notes/ to figure out where the given
project publishes their release notes and try to find the release notes for the version we upgraded to.https://github.com/<org>/<project>/compare/<old-version>+++...+++<new-version>== Enhancements — for new features or enhancements, each as a === subsection. Link GitHub issues in the heading like === https://github.com/quarkiverse/quarkus-cxf/issues/<issue-number>[#issue-number] <issue-title>== Bugfixes — bug fixes, each as a === subsection with issue links== Deprecations — deprecated features== Breaking changes — if anyFooter: Always end with:
== Full changelog
https://github.com/quarkiverse/quarkus-cxf/compare/<previous-version>+++...+++<version>
If there are no user-facing changes, use a minimal format:
= {quarkus-cxf-project-name} <version> release notes
There are no end user facing changes in this release.
== Full changelog
https://github.com/quarkiverse/quarkus-cxf/compare/<previous-version>+++...+++<version>
Use {quarkus-cxf-project-name} attribute instead of writing "Quarkus CXF" literally
When describing behavior changes, use the pattern: "Before {quarkus-cxf-project-name} , ... Since {quarkus-cxf-project-name} , ..."
Link configuration options using xref syntax: xref:reference/extensions/quarkus-cxf.adoc#quarkus-cxf_quarkus-cxf-...[quarkus.cxf....]
Credit contributors with Special thanks to https://github.com/<user>[@<user>]
Write the file to docs/modules/ROOT/pages/release-notes/<version>.adoc.
Do not ask the user whether the file can be created or updated, just create and/or update the file however you need.
Edit docs/modules/ROOT/nav.adoc. Add a new entry in the release notes section, maintaining version-descending order.
The entry goes after the ifeval::[{doc-is-main} == true] line, among the other ** xref:release-notes/... entries.
Format: ** xref:release-notes/<version>.adoc[<version>] (add LTS suffix if applicable).
Insert it in the correct position to maintain descending version order.
Edit docs/modules/ROOT/pages/release-notes/index.adoc. Add a new row in the table, maintaining version-descending order within the appropriate minor version group.
Format: | xref:release-notes/<version>.adoc[<version>] | <date in YYYY-MM-DD format, when the release was tagged> | | <cxf-version>
<cxf-version> is the value of cxf.version property in the project's pom.xml top level directory.LTS suffix to the version label if applicableAntoraTest.java if this is a .0 releaseIf this is a .0 release, change the following part of docs/src/test/java/io/quarkiverse/cxf/doc/it/AntoraTest.java:
final ZonedDateTime deadline = ZonedDateTime.parse("<yyyy>-<mm>-<tt>T23:59:59+01:00[Europe/Paris]");
if (ZonedDateTime.now(ZoneId.of("Europe/Paris")).isBefore(deadline)) {
ignorables.add("https://quarkus.io/blog/quarkus-<quarkus-major-version>-<quarkus-major-version>-released/");
//ignorables.add("https://quarkus.io/guides/proxy-registry");
}
deadline date to the Thursday next week<quarkus-major-version> and <quarkus-major-version> to match the Quarkus version
as in the quarkus.version property of the top level pom.xml file in the git source tree.Commit the changes in a new topic branch using:
git checkout -b "$(date +%y%m%d)-release-notes<version>"
git add -A
git commit -m "<version> release notes"