8000 Release v0.10.0 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.10.0

Compare
Choose a tag to compare
@Malax Malax released this 31 Aug 13:12
· 291 commits to main since this release
3a82376

Highlight of this release is the bump to Buildpack API 0.8 which brings support for SBOM to libcnb.rs. This is also the first release where all libcnb.rs crates are released at the same time and with the same version number. See the changelog below for other changes.

Changed

  • libcnb.rs now targets Buildpack API 0.8. Buildpacks need to upgrade the api key to 0.8 in their buildpack.toml. (#489)
  • In accordance to the CNB specification >=0.7, BuildpackId no longer permits sbom as a buildpack id. (#489)
  • Replace builder style functions from Launch with a dedicated LaunchBuilder to be more consistent with other builders in the library. Additionally, all fields of Launch can now be modified via the builder pattern. (#487)
  • Rename paths field in launch::Slice to path_globs and add docs to make it clearer that these strings are Go standard library globs. (#487)
  • Add explicit DeleteLayerError to provide more context when debugging layer handling problems. (#488)

Fixed

  • Fix BuildpackApi to use u64 instead of u32 for major and minor version parts. (#489)
  • Fix permission issues during layer handling when the layer contains read-only directories. (#488)

Added

  • Add BuildResultBuilder::build_sbom, BuildResultBuilder::launch_sbom and LayerResultBuilder::sbom to enable buildpack authors to attach SBOM data for layers and launch. (#489)
  • Add sbom::SbomFormat, describing supported SBOM formats. (#489)
  • Add Buildpack::sbom_formats field. (#489)
  • Add support for setting a working directory for launch processes. (#489)
  • Add TestContext::download_sbom_files to allow testing of SBOM logic. (#489)

Removed

  • Remove support for legacy BOM. Remove Launch::bom, Build::bom, bom::Bom, bom::Entry. (#489)
0