Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2d9b71d
added the metering code
Apr 7, 2026
1f6eaf5
added logging
Apr 8, 2026
4f74252
added the sap metering sidecar
Apr 9, 2026
b578089
updated the auth token usage
Apr 14, 2026
0452f16
updated the comments
Apr 14, 2026
241305f
updated the env vars
Apr 17, 2026
8fc3a83
Merge pull request #888 from bhavinshah-mendix/feature/sap-metering-s…
mayankmendix Apr 17, 2026
145110c
fix: update cryptography to 46.0.7 to address CVE-2026-39892
Apr 23, 2026
4e0365b
Bumped the cryptography module version to latest 47.0.0
Apr 27, 2026
244e12f
Merge pull request #889 from Pri1235/fix/update-cryptography-46.0.7
mayankmendix Apr 28, 2026
446fe36
Fix CVE-2026-25645 and CVE-2026-34073 by upgrading requests and crypt…
May 8, 2026
813d91d
Merge pull request #890 from PiyushTiwari-LowCode/fix-CVE-Cryptograph…
mayankmendix May 11, 2026
ef8bec4
Security/upgrade requests urllib3 CVE fix (#894)
bhavinshahM May 25, 2026
981b11a
Merge branch 'master' into develop
mayankmendix May 28, 2026
70bb176
Merge branch 'master' into develop
sailhenz May 29, 2026
89b2ec4
(fix) add typing extension lib (#898)
mayankmendix May 29, 2026
5f4fcf3
Expand static files caching (#901)
EnasAbdelrazek Jun 15, 2026
e316ef6
Security: Fix CVE-2026-45409 (idna) and GHSA-537c-gmf6-5ccf (cryptogr…
bhavinshahM Jul 3, 2026
4efd60a
Security: Upgrade nginx from 1.26.1 to 1.30.4 to fix CVE-2025-23419 a…
bhavinshahM Aug 12, 2026
e555256
Fix CVE-2026-69247(cryptography)andCVE-2026-59939(httplib2) (#907)
PiyushTiwari-LowCode Aug 12, 2026
6f11727
Add deprecation warning for Cloud Foundry Buildpack (#910)
mruiserrmendix Aug 13, 2026
29f557f
Merge branch 'master' into develop
mayankmendix Aug 13, 2026
8f15348
Fix PostgreSQL metrics query to filter by application database (#914)
bhavinshahM Sep 2, 2026
7ae5435
Feature/sap hana client jar stage (#915)
Pri1235 Sep 16, 2026
74618d6
Skip staging SAP HANA client JAR if already present in userlib or ven…
Pri1235 Sep 21, 2026
53442d5
Add RDS ap-southeast-7 support (#917)
bhavinshahM Sep 28, 2026
374cc4b
Merge branch 'master' into develop
mayankmendix Sep 28, 2026
4d314b7
Fix cert vulnerability (#920)
mayankmendix Oct 23, 2026
f11b894
Merge branch 'master' into develop
mayankmendix Oct 23, 2026
a364a19
Fix urllib3 security vulnerabilities (CVE-2026-97688, CVE-2026-97689,…
bhavinshahM Nov 2, 2026
c6e4bd0
Merge branch 'master' into develop
mayankmendix Nov 9, 2026
23f4984
Revise supported Mendix versions in README (#922)
mruiserrmendix Nov 12, 2026
db6f9dd
Add support for JDK 25 (#925)
bhavinshahM Nov 16, 2026
ceb44bb
Bump nginx to 1.30.7 (#927)
Pri1235 Nov 19, 2026
72da0f0
Security upgrade python from 3.10 to 3.15.2 (#924)
grootjans Nov 19, 2026
0de9713
Merge branch 'master' into develop
mayankmendix Nov 19, 2026
bddc433
Update java version in dependencies.yml (#929)
mayankmendix Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,18 @@ Additionally, we recommend a base level knowledge of Cloud Foundry. You should a

## Supported Mendix Versions

The latest [buildpack release](https://github.com/mendix/cf-mendix-buildpack/releases/latest) supports all [officially-supported](https://docs.mendix.com/releasenotes/studio-pro/lts-mts) Mendix versions (7, 8 and 9).
The latest [buildpack release](https://github.com/mendix/cf-mendix-buildpack/releases/latest) supports all [officially-supported](https://docs.mendix.com/releasenotes/studio-pro/lts-mts) Mendix versions.

The following table shows which specific buildpack release introduced or removed support for specific Mendix versions.

| Mendix Major Version | Supported | End-of-Support |
| -------------------- | --------- | -------------- |
| `10` | `v4.24.0` | - |
| `9` | `v4.24.0` | - |
| `8` | `v3.4.0` | - |
| `7` | `v3.1.0` | - |
| `6` | `v1.0` | `v4.16.0` |
| Mendix Major Version | Supported |
| -------------------- | --------- |
| `11` | `v5.0.15` |
| `10` | `v4.24.0` |
| `9` | `v4.24.0` |
| `8` | `v3.4.0` |
| `7` | `v3.1.0` |
| `6` | `v1.0` |

We recommend using a [maintained (LTS / MTS)](https://docs.mendix.com/releasenotes/studio-pro/lts-mts) Mendix version. Additionally, we recommend to always [use / "pin to" a specific buildpack release](#buildpack-releases-and-version-pinning).

Expand Down Expand Up @@ -442,7 +443,7 @@ This buildpack provides the [Adoptium](https://adoptium.net/) JDK and JRE.
### Java Version

The buildpack will automatically determine the Java version from metadata(it will have JavaVersion as json attribute). The default Java version is 8. For Mendix 8 and above, the default Java version is 11.
Metadata JavaVersion attribute will have these values "11", "17" or in the future "21".
Metadata JavaVersion attribute will have these values "11", "17", "21" or "25".

We do not recommend overriding the Java version for the buildpack. However, for cases where this is required, the `JAVA_VERSION` variable can be used to override the version number.

Expand Down
2 changes: 2 additions & 0 deletions buildpack/core/java.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def get_java_major_version(runtime_version, build_path=BASE_PATH):
result = 17
elif 21 == result:
result = 21
elif 25 == result:
result = 25
else:
result = 11
major_version = _get_major_version(result)
Expand Down
11 changes: 6 additions & 5 deletions dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ dependencies:
vendor: Adoptium
version:
- "8": 8u511
- "11": 11.0.33
- "17": 17.0.21
- "21": 21.0.13
- "11": 11.0.33.1
- "17": 17.0.21.1
- "21": 21.0.13.1
- "25": 25.0.5.1
logs:
mendix-logfilter:
artifact: logs/mendix-logfilter-{{version}}.tar.gz
Expand Down Expand Up @@ -79,10 +80,10 @@ dependencies:
version: 8.24.0
nginx:
artifact: nginx_{{ version }}_linux_x64_{{ fs }}_{{ commit }}.tgz
commit: 8ae9e822
commit: d4043e47
fs: cflinuxfs4
cpe: cpe:2.3:a:f5:nginx:{{ version }}:*:*:*:*:*:*:*
version: 1.30.4
version: 1.30.7
ruby:
artifact: ruby/ruby_{{ version }}_linux_x64_{{ fs }}_{{ commit }}.tgz
commit: 5fed98f8
Expand Down
2 changes: 1 addition & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 python:3.10
FROM --platform=linux/amd64 python:3.15.2

WORKDIR /app

Expand Down
15 changes: 14 additions & 1 deletion tests/unit/test_java_version_parsing.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from unittest import TestCase
from unittest.mock import patch

from lib.m2ee.client import M2EEResponse
from lib.m2ee.munin import (
_guess_java_version,
_get_jre_major_version_from_version_string,
)
from lib.m2ee.version import MXVersion
from buildpack.core.java import _get_major_version
from buildpack.core.java import _get_major_version, get_java_major_version


class TestJREVersionFromString(TestCase):
Expand All @@ -32,6 +33,7 @@ def test_jre_get_major_version(self):
("1.8.0_202", 8),
("8u233", 8),
("11.0.3", 11),
("25.0.5", 25),
)
for version_string, major_version in jre_versions:
with self.subTest():
Expand All @@ -41,6 +43,17 @@ def test_jre_get_major_version(self):
)


class TestGetJavaMajorVersion(TestCase):
@patch.dict("os.environ", {}, clear=True)
@patch("buildpack.core.java.runtime.get_metadata_value", return_value=25)
def test_java_25_from_metadata(self, _):
self.assertEqual(25, get_java_major_version(MXVersion("11.0.0")))

@patch.dict("os.environ", {"JAVA_VERSION": "25"}, clear=True)
def test_java_25_from_override(self):
self.assertEqual(25, get_java_major_version(MXVersion("11.0.0")))


class TestGuessJavaVersion(TestCase):
def test_guess_java8(self):
m2ee_about = M2EEResponse(
Expand Down