Skip to content

Commit

Permalink
Update to libcnb.rs 0.21 and Buildpack API 0.10
Browse files Browse the repository at this point in the history
This now requires lifecycle 0.17 or later.

GUS-W-15935118
  • Loading branch information
dzuelke committed Jun 4, 2024
1 parent 3b80778 commit 91a8e28
Show file tree
Hide file tree
Showing 11 changed files with 161 additions and 151 deletions.
153 changes: 47 additions & 106 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions buildpacks/php/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- 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`)

## [0.1.2] - 2023-10-24

### Changed
Expand Down
6 changes: 3 additions & 3 deletions buildpacks/php/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ flate2 = { version = "1", default-features = false, features = ["zlib"] }
indoc = "2"
# libcnb has a much bigger impact on buildpack behaviour than any other dependencies,
# so it's pinned to an exact version to isolate it from lockfile refreshes.
libcnb = "=0.17.0"
libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["log"] }
libcnb = "=0.21.0"
libherokubuildpack = { version = "=0.21.0", default-features = false, features = ["log"] }
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand All @@ -30,4 +30,4 @@ warned = "0.1"
assert-json-diff = "2"
exponential-backoff = "1"
figment = { version = "0.10", features = ["toml"] }
libcnb-test = "=0.17.0"
libcnb-test = "=0.21.0"
Loading

0 comments on commit 91a8e28

Please sign in to comment.