Skip to content

Publish less: from Envoy 1.36, only API changes, stub javadoc - #5

Merged
JonathanO merged 2 commits into
mainfrom
publish-less
Oct 25, 2026
Merged

JonathanO merged 2 commits into
mainfrom
publish-less

Conversation

@JonathanO

Copy link
Copy Markdown
Owner

Maven Central now limits how much each organization publishes a month. Each release was ~100 MB, and the daily run was set to publish all 39 Envoy releases from 1.31.0.

  • From 1.36.0: MIN_ENVOY_VERSION is the oldest Envoy release upstream still supports.
  • Only API changes: new .github/scripts/api-changes.sh builds each release's descriptors without source info, drops the module commit Buf stamps into each, and prints a release only if that differs from the release before. Comment changes don't count, since they don't change the generated classes. Comparing Buf commits wasn't enough: 1.36.3 and 1.36.4 export identical protos under different commits. In 1.36 to 1.40 this leaves 7 of 18 releases: 1.36.0, 1.36.3, 1.37.0, 1.37.1, 1.38.0, 1.39.0, 1.40.0. 1.36.0 and 1.40.0 are already out.
  • Stub javadoc: the javadoc jar holds only a README pointing to Envoy's API docs (plus LICENSE and NOTICE). Central still requires the jar; the sources jar serves IDEs. A release drops from ~105 MB to ~47 MB.
  • README says to use the newest version not newer than your Envoy, since skipped releases have no artifact.

Tested locally: api-changes.sh 1.36.0 prints the 7 releases above, and the 1.40.0 build produces a 5 KB javadoc jar.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW

JonathanO and others added 2 commits October 25, 2026 19:14
Maven Central now limits how much each organization publishes a month.

- Start at Envoy 1.36.0, the oldest release upstream still supports.
- Skip a release whose protos are the same as the release before:
  Envoy's Buf labels point at content-addressed commits, so those
  share a commit. In 1.36 to 1.40 that leaves 12 of 17 releases.
- The javadoc jar only holds a README pointing to Envoy's API docs.
  Javadoc of the generated code was ~55 MB of each ~100 MB release,
  and the sources jar already serves IDEs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
Buf's commit changes even when the protos don't (1.36.3 and 1.36.4
export identical files), and comment changes don't change the
generated classes. api-changes.sh compares descriptors built without
source info, minus the module commit Buf stamps into each. In 1.36 to
1.40 that leaves 7 of 18 releases instead of 12: most patch releases
change no protos, or only comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
@JonathanO
JonathanO merged commit 410d294 into main Oct 25, 2026
1 check passed
@JonathanO
JonathanO deleted the publish-less branch October 25, 2026 20:20
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.

1 participant