Skip to content

v0.15.0

Compare
Choose a tag to compare
@heroku-linguist heroku-linguist released this 25 Sep 13:09
· 123 commits to main since this release
56b4f4e

Added

  • libcnb:
    • LayerTypes now implements Copy and Clone. (#670).
  • libcnb-data:
    • ExecDProgramOutputKey, ProcessType, LayerName, BuildpackId and StackId now implement Ord and PartialOrd. (#658)
    • Added generic::GenericMetadata as a generic metadata type. Also makes it the default for BuildpackDescriptor, SingleBuildpackDescriptor, CompositeBuildpackDescriptor and LayerContentMetadata. (#664)
  • libcnb-test:
    • Added the BuildpackReference::WorkspaceBuildpack enum variant. This allows for the testing of any libcnb.rs or composite buildpack in the Cargo workspace, instead of only the buildpack of the current crate. Note: The testing of composite buildpacks requires pack CLI version >=0.30. (#666)

Changed

  • libcnb-data:
    • Renamed the buildpackage module to package_descriptor, and the Buildpackage* types within it to PackageDescriptor*. (#656)
    • Renamed multiple types to match the new composite vs component buildpack upstream terminology. Renamed SingleBuildpackDescriptor to ComponentBuildpackDescriptor, MetaBuildpackDescriptor to CompositeBuildpackDescriptor and BuildpackDescriptor::{Single,Meta} to BuildpackDescriptor::{Component,Composite}. (#682)
  • libcnb-cargo:
    • No longer outputs paths for non-libcnb.rs and non-meta buildpacks. (#657)
    • Build output for humans changed slightly, output intended for machines/scripting didn't change. (#657)
    • When performing buildpack detection, standard ignore files (.ignore and .gitignore) will be respected. (#673)
  • libcnb-test:
    • Renamed BuildpackReference::Crate to BuildpackReference::CurrentCrate. (#666)