Skip to content

Releases: heroku/libcnb.rs

v0.29.0

02 May 14:54
b8d6835
Compare
Choose a tag to compare

Important

Run cargo install libcnb-cargo to update the libcnb.rs CLI tools.

Changed

  • libcnb-cargo
    • The default for the --target argument of cargo libcnb package will now be based on an architecture that matches the host machine instead of x86_64-unknown-linux-musl. (#922)

v0.28.1

25 Mar 19:26
d6abb28
Compare
Choose a tag to compare

Changed

  • libcnb:
    • OTLP File Exports are now correctly newline-separated. (#926)
  • libcnb-package:
    • The cargo build command used when packing the buildpack is now run using --locked when the CI env var is set. (#925)

v0.28.0

03 Mar 22:31
1fc7d32
Compare
Choose a tag to compare

Added

  • libcnb:
    • The tracing crate is now setup for OTLP File Exports. Buildpacks using tracing will inherit tracing context from libcnb.rs. (#918)

Changed

  • libcnb:
    • Tracing spans, events, and errors from libcnb.rs are now generated via the tracing library, and tracing data output has changed. (#918)

v0.27.0

27 Feb 19:20
0938dc5
Compare
Choose a tag to compare

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

10 Dec 10:56
b9d14a5
Compare
Choose a tag to compare

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

18 Nov 17:18
5f9f5dd
Compare
Choose a tag to compare

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

23 Oct 16:51
6c01e85
Compare
Choose a tag to compare

Added

  • libcnb-test:
    • Added ContainerConfig::bind_mount to support mounting a host machine file or directory into a container. (#871)

v0.24.0

17 Oct 12:23
de993a4
Compare
Choose a tag to compare

Added

  • libherokubuildpack:
    • Added inventory module. (#861)

v0.23.0

28 Aug 07:49
8d4d3f6
Compare
Choose a tag to compare

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

18 Jun 12:05
8f74590
Compare
Choose a tag to compare

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)