Releases: heroku/libcnb.rs
Releases · heroku/libcnb.rs
libcnb v0.6.0
- Add
#[must_use]
toDetectResult
,DetectResultBuilder
,PassDetectResultBuilder
,FailDetectResultBuilder
,BuildResult
andBuildResultBuilder
(#288). - Add
additional_buildpack_binary_path!
macro to resolve paths to additional buildpack binaries. Only works when the buildpack is packaged withlibcnb-cargo
/libcnb-test
. (#320) - Increase minimum supported Rust version from 1.56 to 1.58 (#318).
- Add support for exec.d programs in layers. Use
LayerResultBuilder::exec_d_program
to add exec.d programs to a layer. (#326) - Add
libcnb::exec_d::write_exec_d_program_output
which writeslibcnb::data::exec_d::ExecDProgramOutput
in a spec conforming way. Use this to implement custom exec.d programs for your buildpack with libcnb.rs. (see exec.d example) (#326) - Update
libcnb-data
(which provides the types in thedata
module) from0.4.0
to0.5.0
- see the libcnb-data changelog. (#361) - Update
libcnb-proc-macros
from0.1.1
to0.2.0
- see the libcnb-proc-macros changelog. (#361)
libcnb-test v0.2.0
libcnb-test
now cross-compiles and packages all binary targets of the buildpack for an integration test. The main buildpack binary is either the only binary target or the target with the same name as the crate. This feature allows the usage of additional binaries for i.e. execd. (#314)- Increase minimum supported Rust version from 1.56 to 1.58 (#318).
- Add
assert_contains!
macro for easier matching ofpack
output in integration tests. (#322) - Fail tests early with a clearer error message, if expected cross-compilation toolchains are not found (#347).
- Update
libcnb-cargo
from0.2.1
to0.3.0
- see the libcnb-cargo changelog. (#361)
libcnb-proc-macros v0.2.0
libcnb-data v0.5.0
- Add
#[must_use]
toBuildPlan
andBuildPlanBuilder
(#288). - Add
exec_d
module with types representing the output of anexec.d
program (#324). - Increase minimum supported Rust version from 1.56 to 1.58 (#318).
- Adjust newtype generated compile-time validation macros so that they don't also perform redundant validation at runtime. In cases where only compile-time validation is being performed (for example
exec.d
scripts), this results in a significant reduction in binary size. (#331) - Update
libcnb-proc-macros
from0.1.1
to0.2.0
- see the libcnb-proc-macros changelog. (#361)
libcnb-cargo v0.3.0
- Update cross-compile assistance on macOS to use https://github.com/messense/homebrew-macos-cross-toolchains instead of https://github.com/FiloSottile/homebrew-musl-cross. Support for the latter has not been removed, existing setups continue to work as before. (#312)
libcnb-cargo
now cross-compiles and packages all binary targets of the buildpack. The main buildpack binary is either the only binary target or the target with the same name as the crate. This feature allows the usage of additional binaries for i.e. execd. (#314)- Increase minimum supported Rust version from 1.56 to 1.58 (#318).
- Upgrade CLI to Clap v3 (#329).
- Update
libcnb-data
from0.4.0
to0.5.0
- see the libcnb-data changelog. (#361)