Skip to content

Post-release: bump to 5.0.5-SNAPSHOT#292

Merged
bernardladenthin merged 5 commits into
mainfrom
claude/bump-snapshot-5.0.5
Jul 2, 2026
Merged

Post-release: bump to 5.0.5-SNAPSHOT#292
bernardladenthin merged 5 commits into
mainfrom
claude/bump-snapshot-5.0.5

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

5.0.4 is released on Maven Central. This opens the next development cycle.

Changes

  • Bump all three reactor poms to 5.0.5-SNAPSHOT, in lockstep:
    • pom.xml (root) — <version>
    • llama/pom.xml<parent><version>
    • llama-langchain4j/pom.xml<parent><version>
  • Point the README snapshot dependency examples at 5.0.5-SNAPSHOT.
  • The README release dependency examples stay at the just-released 5.0.4.

Notes

  • Branched fresh off main @ 5.0.4 — single commit, fast-forwards cleanly.
  • Version bumped across all three poms per the reactor's version-bump rule (the child <parent><version> literals are not single-sourced; changing root alone would fail the reactor build).

🤖 Generated with Claude Code

https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7


Generated by Claude Code

5.0.4 is released on Maven Central. Open the next development cycle:
bump all three reactor poms (llama-parent + llama + llama-langchain4j
<parent><version>) to 5.0.5-SNAPSHOT and point the README snapshot
dependency examples at 5.0.5-SNAPSHOT. The release dependency examples
stay at the just-released 5.0.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7
@claude

claude Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review complete. Found one missed snapshot version in the module README.

@claude

claude Bot commented Jul 2, 2026

Copy link
Copy Markdown

File llama-langchain4j/README.md line 65 still has 5.0.4-SNAPSHOT and should be updated to 5.0.5-SNAPSHOT for consistency.

… -SNAPSHOT)

The llama-langchain4j section shows a single "how to depend on it" snippet,
the analogue of the core's Quick Start release example (5.0.4) — not a
snapshot example (the core has a separate Snapshot-builds snippet for that).
It was mistakenly carrying -SNAPSHOT, and the post-release snapshot bump then
propagated it to 5.0.5-SNAPSHOT. Pin it to the released 5.0.4, matching the
core release example; the only -SNAPSHOT in the README is now the core
snapshot snippet.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7
@claude

claude Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review passed

This PR correctly opens the post-release development cycle after 5.0.4:

Verified:

  • ✅ All three reactor POMs bumped in lockstep (pom.xml root + llama + llama-langchain4j parent references) from 5.0.4 → 5.0.5-SNAPSHOT
  • ✅ README snapshot dependency updated to 5.0.5-SNAPSHOT
  • ✅ README langchain4j dependency corrected from mistaken -SNAPSHOT to 5.0.4 (release version, not snapshot)
  • ✅ Commit messages clearly explain the version bump rationale and the langchain4j correction
  • ✅ Follows CLAUDE.md version-bump rule (all three poms must change in lockstep)

No issues found. The changes are minimal, correct, and well-explained. Ready to merge.

The module README's "## Dependency" section is its primary usage snippet
(no separate snapshot snippet), so it should show the released version like
the root README's core Quick Start. It was carrying -SNAPSHOT and shipped
that way in 5.0.4. Unlike the root README it is not touched by the
release/snapshot version bumps, so it had drifted silently. Pin to 5.0.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7
@claude

claude Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Findings

The PR correctly bumps the version from 5.0.4 to 5.0.5-SNAPSHOT across all three reactor poms in lockstep:

  • Root pom.xml: 5.0.4 → 5.0.5-SNAPSHOT ✓
  • llama/pom.xml: parent version 5.0.4 → 5.0.5-SNAPSHOT ✓
  • llama-langchain4j/pom.xml: parent version 5.0.4 → 5.0.5-SNAPSHOT ✓

README examples correctly updated:

  • Core snapshot example: 5.0.5-SNAPSHOT ✓
  • langchain4j release example: 5.0.4 ✓ (ships in lockstep, mirrors release state)

Single clean commit, fast-forward from main@5.0.4 as described.

No blocking issues found — ready to merge.

The maintainer release procedure predated the llama/ reactor split and was
stale in four ways, each of which just bit this 5.0.4 release:
- "Strip -SNAPSHOT from pom.xml" (singular) -> the version now lives in all
  three reactor poms (root <version> + both <parent><version>); use
  `mvn versions:set` so they move in lockstep or the reactor build fails.
- No CHANGELOG step -> add finalizing [Unreleased] -> [VERSION] + compare links.
- No mention of llama-langchain4j/README.md's release dependency snippet, which
  is not covered by the root-README edits and drifted silently.
- "commit directly to main (no PR)" -> use a branch + PR, and spell out the
  actual deploy trigger (workflow_dispatch + publish_to_central=true on a v* tag).

Add a {PREV} placeholder for the CHANGELOG compare link.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7
@claude

claude Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review: Version inconsistency in llama-langchain4j/README.md

I found a critical inconsistency in this PR. The change to llama-langchain4j/README.md is incorrect:

Current change in the diff:

-    <version>5.0.4-SNAPSHOT</version>
+    <version>5.0.4</version>

The problem:
This changes the snapshot dependency example to show a released version (5.0.4) instead of the new snapshot version (5.0.5-SNAPSHOT). This is inconsistent with:

  1. The core README.md snapshot example, which is correctly updated to 5.0.5-SNAPSHOT
  2. The release procedure in RELEASE.md, which states that snapshot examples should point to the next development cycle

Expected change:

-    <version>5.0.4-SNAPSHOT</version>
+    <version>5.0.5-SNAPSHOT</version>

According to CLAUDE.md (Version bump section), when bumping after a release:

  • README.md snapshot dependency example → {NEXT_VERSION}-SNAPSHOT
    (the release examples — including llama-langchain4j/README.md — stay at {VERSION}).

Since llama-langchain4j/README.md line 65 is in a "Dependency" section (snapshot context), it should use 5.0.5-SNAPSHOT, not 5.0.4.

…upplement

The maintainer release procedure is now centralized in
workspace/workflows/release-process.md. Replace this repo's standalone copy
with a pointer to it plus the two java-llama.cpp-specific supplements: the
reactor all-three-poms version bump (via mvn versions:set) and the extra
llama-langchain4j/README.md release dependency snippet.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QEgh6vtcPWAgQ6scK8pJk7
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

@bernardladenthin bernardladenthin merged commit ce15cfd into main Jul 2, 2026
19 of 36 checks passed
@bernardladenthin bernardladenthin deleted the claude/bump-snapshot-5.0.5 branch July 2, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants