Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(traefik): track v3.7 security updates

Andras Bacsaif8df830e5e9c
diff --git a/other/nightly/versions.json b/other/nightly/versions.json
index c7f3e88968..7e9ded0c50 100644
--- a/other/nightly/versions.json
+++ b/other/nightly/versions.json
@@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
- "version": "4.2.0"
+ "version": "4.1.2"
},
"nightly": {
"version": "4.2.0"
@@ -17,13 +17,14 @@
}
},
"traefik": {
- "v3.6": "3.6.11",
+ "v3.7": "3.7.8",
+ "v3.6": "3.6.23",
"v3.5": "3.5.6",
"v3.4": "3.4.5",
"v3.3": "3.3.7",
"v3.2": "3.2.5",
"v3.1": "3.1.7",
"v3.0": "3.0.4",
- "v2.11": "2.11.40"
+ "v2.11": "2.11.52"
}
}
diff --git a/tests/Feature/Jobs/CheckTraefikVersionJobTest.php b/tests/Feature/Jobs/CheckTraefikVersionJobTest.php
index 86ebd8d169..e708c747ff 100644
--- a/tests/Feature/Jobs/CheckTraefikVersionJobTest.php
+++ b/tests/Feature/Jobs/CheckTraefikVersionJobTest.php
@@ -65,6 +65,21 @@ it('versions.json contains traefik branches with patch versions', function () {
expect($branch)->toMatch('/^v\d+\.\d+$/'); // e.g., "v3.6"
expect($version)->toMatch('/^\d+\.\d+\.\d+$/'); // e.g., "3.6.0"
}
+
+ // Track current supported branches so the checker can surface security patches
+ // (see https://github.com/coollabsio/coolify/issues/11025)
+ expect($traefikVersions)->toHaveKeys(['v3.7', 'v3.6', 'v2.11']);
+ expect(version_compare($traefikVersions['v3.7'], '3.7.8', '>='))->toBeTrue();
+ expect(version_compare($traefikVersions['v3.6'], '3.6.23', '>='))->toBeTrue();
+ expect(version_compare($traefikVersions['v2.11'], '2.11.52', '>='))->toBeTrue();
+
+ // Newest tracked branch should sort as the highest major.minor
+ $newestBranch = collect($traefikVersions)
+ ->keys()
+ ->map(fn (string $branch) => ltrim($branch, 'v'))
+ ->sort(SORT_NATURAL)
+ ->last();
+ expect($newestBranch)->toBe('3.7');
});
it('formats version with v prefix for display', function () {
diff --git a/versions.json b/versions.json
index c7f3e88968..7e9ded0c50 100644
--- a/versions.json
+++ b/versions.json
@@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
- "version": "4.2.0"
+ "version": "4.1.2"
},
"nightly": {
"version": "4.2.0"
@@ -17,13 +17,14 @@
}
},
"traefik": {
- "v3.6": "3.6.11",
+ "v3.7": "3.7.8",
+ "v3.6": "3.6.23",
"v3.5": "3.5.6",
"v3.4": "3.4.5",
"v3.3": "3.3.7",
"v3.2": "3.2.5",
"v3.1": "3.1.7",
"v3.0": "3.0.4",
- "v2.11": "2.11.40"
+ "v2.11": "2.11.52"
}
}