Releases: heroku/libcnb.rs
Releases · heroku/libcnb.rs
v0.25.0
v0.24.0
v0.23.0
v0.22.0
Added
libcnb:- A new API for working with layers has been added. See the
BuildContext::cached_layerandBuildContext::uncached_layerdocs for examples of how to use this API. (#814)
- A new API for working with layers has been added. See the
Changed
libcnb:
Fixed
libcnb-data:- The working directory for launch processes specifying a
WorkingDirectory::Directoryvalue is now respected. (#831)
- The working directory for launch processes specifying a
v0.21.0
v0.20.0
Added
libcnb:- Made
Target(the type ofDetectContext::targetandBuildContext::target) public. (#815)
- Made
Changed
v0.19.0
v0.18.0
Changed
- Now targets Buildpack API 0.10. Buildpacks need to upgrade the
apikey to0.10in theirbuildpack.toml. (#773) - Improved the consistency of cross-compilation assistance provided across all supported
target_tripleand host OS/architecture combinations. #769 - Added cross-compilation assistance for
aarch64-unknown-linux-musl(on macOS and ARM64 Linux) andx86_64-unknown-linux-musl(on ARM64 Linux). #769 - Raised Minimum Supported Rust Version (MSRV) to
1.76. (#774) libcnb:- Changed
Layerinterface from&selfto&mut self. (#669)
- Changed
Added
libherokubuildpack:MappedWrite::unwrapfor getting the wrappedWriteback out. (#765)
Removed
- Types, errors, macros and functions related to stacks. The concept of stacks has been removed from the CNB spec. Use
Targetinstead. (#773)
v0.17.0
Added
libcnb:- An optional
tracefeature has been added that emits OpenTelemetry tracing
data to a File Export. (#723)
- An optional
v0.16.0
Changed
- Raised Minimum Supported Rust Version (MSRV) to
1.74. (#747) - Improved the consistency of all user-facing libcnb.rs error message wordings. (#722)
- The assistance error message shown when the necessary cross-compilation tools are not found now also includes the
rustup target addstep. (#729) - Updated the documentation for
TestRunner::buildandTestContext::start_containerto mention when Docker resource teardown occurs. (#743)
Fixed
libcnb-test:- Fixed incorrect error messages being shown for buildpack compilation/packaging failures. (#720)
- The Docker volumes created by Pack for the build and launch layer caches are now cleaned up after each test. (#741)
- The Docker image cleanup process no longer makes duplicate attempts to remove images when using
TestContext::rebuild. (#741) - Test failures due to the Docker daemon not being installed or started no longer cause a non-unwinding panic abort with noisy traceback. (#741)
- Containers created by
TestContext::start_containerare now correctly cleaned up if the container failed to start. (#742)