v0.12.0
Highlight of this release is the bump to Buildpack API 0.9. This release contains breaking changes, please refer to the items below for migration advice.
Changed
- libcnb.rs now targets Buildpack API 0.9. Buildpacks need to upgrade the
api
key to0.9
in theirbuildpack.toml
. (#567)Process
no longer supports thedirect
flag. All processes are nowdirect
. Processes that need to use bash can use bash explicitly in the command. (#567)Process::command
has been changed to a sequence of values where the first one is the executable and any additional values are arguments to the executable. The already existingargs
field behaves slightly different now as its contents can now be overridden by the user. See the upstream CNB specification for details. (#567)
Env::get
now returnsOption<&OsString>
instead ofOption<OsString>
. This is more in line with expectations users have when dealing with a collection type. This is a breaking change, compile errors can be fixed by adding aOption::cloned
call afterEnv::get
to get the old behaviour. In some cases, cloning might not be necessary, slightly improving the code that usesEnv::get
. (#565)