From e141f8cb7b45459ce1877d8744b43ee2ee3f68d2 Mon Sep 17 00:00:00 2001 From: David Zuelke Date: Tue, 4 Jun 2024 17:15:23 +0200 Subject: [PATCH] bump PHP and Composer versions for bootstrapping --- buildpacks/php/CHANGELOG.md | 1 + buildpacks/php/src/bootstrap.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/buildpacks/php/CHANGELOG.md b/buildpacks/php/CHANGELOG.md index acaa4fd..d2a47e5 100644 --- a/buildpacks/php/CHANGELOG.md +++ b/buildpacks/php/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use Buildpack API 0.10 (requires `lifecycle` 0.17 or newer) - `buildpack.toml` declaration of `[[stacks]]` has been replaced with `[[targets]]`, currently supporting Ubuntu 20.04 and 22.04 (both `amd64`) +- Bump versions of Composer and minimal PHP for bootstrapping to 2.7.6 and 8.3.7 ## [0.1.2] - 2023-10-24 diff --git a/buildpacks/php/src/bootstrap.rs b/buildpacks/php/src/bootstrap.rs index 8d5171a..e78e613 100644 --- a/buildpacks/php/src/bootstrap.rs +++ b/buildpacks/php/src/bootstrap.rs @@ -7,8 +7,8 @@ use libcnb::layer_env::Scope; use libcnb::Env; use std::path::PathBuf; -const PHP_VERSION: &str = "8.1.12"; -const COMPOSER_VERSION: &str = "2.4.4"; +const PHP_VERSION: &str = "8.3.7"; +const COMPOSER_VERSION: &str = "2.7.6"; const CLASSIC_BUILDPACK_VERSION: &str = "heads/cnb-installer"; const CLASSIC_BUILDPACK_INSTALLER_SUBDIR: &str = "support/installer";