Releases: heroku/libcnb.rs
Releases · heroku/libcnb.rs
v0.27.0
Changed
- Raised Minimum Supported Rust Version (MSRV) to
1.85
. (#913)
- Updated to Rust 2024 edition. (#913)
libcnb
:
- Implemented custom OTLP File Exporter instead of
opentelemetry-stdout
and updated opentelemetry
libraries to 0.28
. (#909)
v0.26.1
Fixed
libherokubuildpack
:
- Fixed
log_header
, log_error
and log_warning
to correctly reset the ANSI colour styles at the end of each line. (#890)
v0.26.0
Changed
libherokubuildpack
:
- Removed
buildpack_output
module. This functionality from (#721) was experimental. The API was not stable and it is being removed. A similar API is available at bullet_stream. (#852
v0.25.0
Added
libcnb-test
:
- Added
ContainerConfig::bind_mount
to support mounting a host machine file or directory into a container. (#871)
v0.24.0
Added
libherokubuildpack
:
- Added
inventory
module. (#861)
v0.23.0
Changed
libcnb-test
:
pack build
is now run with --trust-extra-buildpacks
to force the builder to be trusted after upstream changes in Pack CLI. Pack CLI v0.35.1+ is now required to use libcnb-test
. (#855)
v0.22.0
Added
libcnb
:
- A new API for working with layers has been added. See the
BuildContext::cached_layer
and BuildContext::uncached_layer
docs for examples of how to use this API. (#814)
Changed
libcnb
:
- The
Layer
trait and related types and functions have been deprecated. Please migrate to the new API. (#814)
- Errors related to layers have been restructured. While this is technically a breaking change, buildpacks usually don't have to be modified in practice. (#814)
Fixed
libcnb-data
:
- The working directory for launch processes specifying a
WorkingDirectory::Directory
value is now respected. (#831)
v0.21.0
Added
libcnb
:
Target
now implements Clone
and Debug
. (#821)
Changed
libcnb
:
- Changed the type of
Target
's distro_name
and distro_version
fields from Option<String>
to String
. (#821)
- The libcnb runtime now enforces that the
CNB_TARGET_DISTRO_NAME
and CNB_TARGET_DISTRO_VERSION
env vars have been set by lifecycle
. (#821)
v0.20.0
Added
libcnb
:
- Made
Target
(the type of DetectContext::target
and BuildContext::target
) public. (#815)
Changed
libcnb
:
WriteLayerError
changed to contain more specific error enums instead of generic ones. (#786)
libcnb-data
:
- Renamed
Target
to BuildpackTarget
to disambiguate it from the new libcnb::Target
. (#815)
v0.19.0
Added
libcnb-data
:
- Reintroduced support for deserializing
[[stacks]]
in buildpack.toml
.
(#789)
libherokubuildpack
:
- Added
buildpack_output
module. This will help buildpack authors provide consistent and delightful output to their buildpack users (#721)