Repository navigation
v5.1.0
🎉 First GA Release
v5.1.0 is the first generally available (GA) release of the Go-based Java Buildpack.
Per RFC-0050 (Java Buildpack Migration to Golang), the v5.0.x series was an
experimental release intended to collect broad community feedback before committing to
API/behavior stability. Since v5.0.0, one container type was removed (see "Removed
since v5.0.0" below) and several bug fixes changed previously-buggy or inconsistent
runtime behavior (see "Notable fixes since v5.0.0" below) — review both sections before
upgrading.
v5.1.0 supersedes the experimental 5.0.x releases. The Ruby-based buildpack (4.x) is
no longer receiving feature updates; operators are encouraged to migrate to v5.1.0 or
later. See the Migration Guide for upgrade guidance,
and RUBY_VS_GO_BUILDPACK_COMPARISON.md for a
detailed Ruby vs. Go feature comparison.
Removed since v5.0.0
- Spring Boot CLI container support was removed in
v5.0.7(8c1816ec,
"Remove spring-boot-cli outdated container"). It was still present inv5.0.0–v5.0.6.
Applications previously detected and run via the Spring Boot CLI container (executable
Groovy scripts with thespring-boot-cliruntime) are no longer supported — this
was not called out in a prior release's notes. If your application relies on this,
stay onv5.0.0–v5.0.6/v4.xor migrate to a supported container (e.g. package as
a Spring Boot fat JAR).
Notable fixes since v5.0.0
Scanning commits between v5.0.0 and 86056b23 (main, as of this writing) shows no
other intentionally-breaking API/config changes (no other removed frameworks, no
default-value flips beyond what v5.0.0 already announced). However, several bug fixes
changed previously-buggy or inconsistent runtime behavior. These are fixes "for the
better" (bringing behavior in line with intent), but some upgrading apps could still
observe a difference:
- Fixed
JBP_CONFIG_JAVA_MAINnot taking effect when the app is detected as Spring Boot
— silently-ignored config now applies. - Fixed
SERVER_PORT/$PORTinjection for the Spring Boot JAR, Spring Boot CLI, and
genericprofile.dscripts (previously not shell-expanded correctly). - Fixed
LoadConfigreading the wrongJBP_CONFIG_*_JREvendor prefix — configs could
previously silently apply to the wrong JRE vendor. - Restricted
-XX:ActiveProcessorCountto HotSpot JREs only (previously applied
incorrectly to non-HotSpot JREs like IBM/OpenJ9). - Changed Tomcat's
server.xmlto setallowSchemeMismatch=true. - Fixed multiple Tomcat context-path/
ROOT.xml/WAR-filename XML-escaping issues —
changes the generated Tomcat context descriptors for non-root context paths. - Fixed multiple
JAVA_OPTS/USER_JAVA_OPTSassembly-script quoting/escaping issues
(multiline values,$DEPS_DIR/$HOMEsubstitution, bash 5.1 compatibility). - Clarified/fixed Java-version-detection fallback-to-default behavior.
💬 Feedback Welcome
Try it out and report any issues or unexpected behaviour:
- 🐛 Open an issue
- 💬 #buildpacks on CF Slack
- 📖 Migration Guide
Packaged binaries:
| name | version | cf_stacks |
|---|---|---|
| auto-reconfiguration | 2.12.0 | cflinuxfs4, cflinuxfs5 |
| azure-application-insights | 3.7.10 | cflinuxfs4, cflinuxfs5 |
| cf-metrics-exporter | 0.7.1 | cflinuxfs4, cflinuxfs5 |
| client-certificate-mapper | 2.1.0 | cflinuxfs4, cflinuxfs5 |
| container-security-provider | 1.20.0 | cflinuxfs4, cflinuxfs5 |
| contrast-security | 6.35.1 | cflinuxfs4, cflinuxfs5 |
| datadog-javaagent | 1.66.0 | cflinuxfs4, cflinuxfs5 |
| elastic-apm-agent | 1.57.0 | cflinuxfs4, cflinuxfs5 |
| google-stackdriver-profiler | 0.4.0 | cflinuxfs4, cflinuxfs5 |
| groovy | 4.0.33 | cflinuxfs4, cflinuxfs5 |
| jacoco | 0.8.15 | cflinuxfs4, cflinuxfs5 |
| java-cfenv | 3.5.3 | cflinuxfs4, cflinuxfs5 |
| java-cfenv | 4.0.2 | cflinuxfs4, cflinuxfs5 |
| java-memory-assistant | 0.5.0 | cflinuxfs4, cflinuxfs5 |
| java-memory-assistant-cleanup | 0.1.0 | cflinuxfs4, cflinuxfs5 |
| jprofiler-profiler | 16.2.1 | cflinuxfs4, cflinuxfs5 |
| jrebel | 2026.3.2 | cflinuxfs4, cflinuxfs5 |
| jvmkill | 1.17.0 | cflinuxfs4, cflinuxfs5 |
| luna-security-provider | 7.4.0 | cflinuxfs4, cflinuxfs5 |
| mariadb-jdbc | 3.5.10 | cflinuxfs4, cflinuxfs5 |
| memory-calculator | 4.1.0 | cflinuxfs4, cflinuxfs5 |
| memory-calculator | 4.2.0 | cflinuxfs4, cflinuxfs5 |
| metric-writer | 3.5.0 | cflinuxfs4, cflinuxfs5 |
| newrelic | 9.5.0 | cflinuxfs4, cflinuxfs5 |
| open-telemetry-javaagent | 2.31.1 | cflinuxfs4, cflinuxfs5 |
| openjdk | 8.0.504+1 | cflinuxfs4, cflinuxfs5 |
| openjdk | 11.0.32+11 | cflinuxfs4, cflinuxfs5 |
| openjdk | 17.0.20+10 | cflinuxfs4, cflinuxfs5 |
| openjdk | 21.0.12+10 | cflinuxfs4, cflinuxfs5 |
| openjdk | 25.0.4+9 | cflinuxfs4, cflinuxfs5 |
| postgresql-jdbc | 42.7.13 | cflinuxfs4, cflinuxfs5 |
| sapmachine | 17.0.20 | cflinuxfs4, cflinuxfs5 |
| sapmachine | 21.0.12 | cflinuxfs4, cflinuxfs5 |
| sapmachine | 25.0.4 | cflinuxfs4, cflinuxfs5 |
| sealights-agent | 4.0.2830 | cflinuxfs4, cflinuxfs5 |
| skywalking-agent | 9.6.0 | cflinuxfs4, cflinuxfs5 |
| splunk-otel-javaagent | 2.31.1 | cflinuxfs4, cflinuxfs5 |
| tomcat | 9.0.122 | cflinuxfs4, cflinuxfs5 |
| tomcat | 10.1.60 | cflinuxfs4, cflinuxfs5 |
| tomcat | 11.0.26 | cflinuxfs4, cflinuxfs5 |
| tomcat-access-logging-support | 3.4.0 | cflinuxfs4, cflinuxfs5 |
| tomcat-lifecycle-support | 3.4.0 | cflinuxfs4, cflinuxfs5 |
| tomcat-logging-support | 3.4.0 | cflinuxfs4, cflinuxfs5 |
| your-kit-profiler | 2026.3.176 | cflinuxfs4, cflinuxfs5 |
| zulu | 8.0.504 | cflinuxfs4, cflinuxfs5 |
| zulu | 11.0.32 | cflinuxfs4, cflinuxfs5 |
| zulu | 17.0.20 | cflinuxfs4, cflinuxfs5 |
Default binary versions:
| name | version |
|---|---|
| openjdk | 17.x |
| zulu | 11.x |
| sapmachine | 21.x |
| tomcat | 10.1.x |
| tomcat-access-logging-support | 3.x |
| tomcat-lifecycle-support | 3.x |
| tomcat-logging-support | 3.x |
| groovy | 4.0.x |
| jvmkill | 1.x |
| memory-calculator | 4.x |
| auto-reconfiguration | 2.x |
| java-cfenv | 3.x |
| client-certificate-mapper | 2.x |
| postgresql-jdbc | 42.x |
| mariadb-jdbc | 3.x |
| datadog-javaagent | 1.x |
| elastic-apm-agent | 1.x |
| azure-application-insights | 3.x |
| skywalking-agent | 9.x |
| splunk-otel-javaagent | 2.x |
| google-stackdriver-profiler | 0.x |
| open-telemetry-javaagent | 2.x |
| jacoco | 0.8.x |
| contrast-security | 6.x |
| jrebel | 2026.x |
| java-memory-assistant | 0.x |
| java-memory-assistant-cleanup | 0.x |
| your-kit-profiler | 2026.x |
| jprofiler-profiler | 16.x |
| sealights-agent | 4.x |
| container-security-provider | 1.x |
| luna-security-provider | 7.x |
| newrelic | 9.x |
| cf-metrics-exporter | 0.7.x |
| metric-writer | 3.x |
Packaging profiles:
minimal JDKs, CF utilities, Tomcat, and common frameworks only. No APM agents, profilers, or JDBC drivers.
standard Core + open-source APM, OTel, and JDBC drivers. No commercial agents or profilers.
- Uncached buildpack SHA256: 22db82ef458b056d3a6cd7d1a26264134a62afb1d0dd7ae1a7d128126e85806c
- Uncached buildpack SHA256: 1254659c6d5bdf07bdd458057215f665ccd65c0145e559e10cec752d65558def
What's Changed
- Prepare VERSION for GA release by @kiril-keranov in #1431
Full Changelog: v5.0.7...v5.1.0