Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the libcnb group with 3 updates #192

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps the libcnb group with 3 updates: libcnb, libherokubuildpack and libcnb-test.

Updates libcnb from 0.17.0 to 0.20.0

Changelog

Sourced from libcnb's changelog.

[0.20.0] - 2024-04-12

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)

[0.19.0] - 2024-02-23

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)

[0.18.0] - 2024-02-12

Changed

  • Now targets Buildpack API 0.10. Buildpacks need to upgrade the api key to 0.10 in their buildpack.toml. (#773)
  • Improved the consistency of cross-compilation assistance provided across all supported target_triple and host OS/architecture combinations. #769
  • Added cross-compilation assistance for aarch64-unknown-linux-musl (on macOS and ARM64 Linux) and x86_64-unknown-linux-musl (on ARM64 Linux). #769
  • Raised Minimum Supported Rust Version (MSRV) to 1.76. (#774)
  • libcnb:
    • Changed Layer interface from &self to &mut self. (#669)

Added

  • libherokubuildpack:
    • MappedWrite::unwrap for getting the wrapped Write back out. (#765)

Removed

  • Types, errors, macros and functions related to stacks. The concept of stacks has been removed from the CNB spec. Use targets instead. (#773)
Commits
  • 78d218e Prepare release v0.20.0 (#817)
  • 292762e Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#816)
  • 348e2ba Make the run image Target public (#815)
  • 0764388 Correct ContextTarget references to distro image label names (#811)
  • 4d198b8 Fix lint errors with Rust 1.77 (#812)
  • 49776e5 Use Procfile CNB from its new Docker Hub repo (#809)
  • 8890d88 Bump buildpacks/github-actions from 5.5.3 to 5.5.4 (#808)
  • 6d2bdda Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#807)
  • 221b0d4 Bump softprops/action-gh-release from 0.1.15 to 2.0.4 (#806)
  • 12534b7 Update Procfile CNB GitHub repo URL (#804)
  • Additional commits viewable in compare view

Updates libherokubuildpack from 0.17.0 to 0.20.0

Release notes

Sourced from libherokubuildpack's releases.

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)

v0.18.0

Changed

  • Now targets Buildpack API 0.10. Buildpacks need to upgrade the api key to 0.10 in their buildpack.toml. (#773)
  • Improved the consistency of cross-compilation assistance provided across all supported target_triple and host OS/architecture combinations. #769
  • Added cross-compilation assistance for aarch64-unknown-linux-musl (on macOS and ARM64 Linux) and x86_64-unknown-linux-musl (on ARM64 Linux). #769
  • Raised Minimum Supported Rust Version (MSRV) to 1.76. (#774)
  • libcnb:
    • Changed Layer interface from &self to &mut self. (#669)

Added

  • libherokubuildpack:
    • MappedWrite::unwrap for getting the wrapped Write back out. (#765)

Removed

  • Types, errors, macros and functions related to stacks. The concept of stacks has been removed from the CNB spec. Use Target instead. (#773)
Changelog

Sourced from libherokubuildpack's changelog.

[0.20.0] - 2024-04-12

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)

[0.19.0] - 2024-02-23

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)

[0.18.0] - 2024-02-12

Changed

  • Now targets Buildpack API 0.10. Buildpacks need to upgrade the api key to 0.10 in their buildpack.toml. (#773)
  • Improved the consistency of cross-compilation assistance provided across all supported target_triple and host OS/architecture combinations. #769
  • Added cross-compilation assistance for aarch64-unknown-linux-musl (on macOS and ARM64 Linux) and x86_64-unknown-linux-musl (on ARM64 Linux). #769
  • Raised Minimum Supported Rust Version (MSRV) to 1.76. (#774)
  • libcnb:
    • Changed Layer interface from &self to &mut self. (#669)

Added

  • libherokubuildpack:
    • MappedWrite::unwrap for getting the wrapped Write back out. (#765)

Removed

  • Types, errors, macros and functions related to stacks. The concept of stacks has been removed from the CNB spec. Use targets instead. (#773)
Commits
  • 78d218e Prepare release v0.20.0 (#817)
  • 292762e Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#816)
  • 348e2ba Make the run image Target public (#815)
  • 0764388 Correct ContextTarget references to distro image label names (#811)
  • 4d198b8 Fix lint errors with Rust 1.77 (#812)
  • 49776e5 Use Procfile CNB from its new Docker Hub repo (#809)
  • 8890d88 Bump buildpacks/github-actions from 5.5.3 to 5.5.4 (#808)
  • 6d2bdda Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#807)
  • 221b0d4 Bump softprops/action-gh-release from 0.1.15 to 2.0.4 (#806)
  • 12534b7 Update Procfile CNB GitHub repo URL (#804)
  • Additional commits viewable in compare view

Updates libcnb-test from 0.17.0 to 0.19.0

Changelog

Sourced from libcnb-test's changelog.

[0.19.0] - 2024-02-23

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)

[0.18.0] - 2024-02-12

Changed

  • Now targets Buildpack API 0.10. Buildpacks need to upgrade the api key to 0.10 in their buildpack.toml. (#773)
  • Improved the consistency of cross-compilation assistance provided across all supported target_triple and host OS/architecture combinations. #769
  • Added cross-compilation assistance for aarch64-unknown-linux-musl (on macOS and ARM64 Linux) and x86_64-unknown-linux-musl (on ARM64 Linux). #769
  • Raised Minimum Supported Rust Version (MSRV) to 1.76. (#774)
  • libcnb:
    • Changed Layer interface from &self to &mut self. (#669)

Added

  • libherokubuildpack:
    • MappedWrite::unwrap for getting the wrapped Write back out. (#765)

Removed

  • Types, errors, macros and functions related to stacks. The concept of stacks has been removed from the CNB spec. Use targets instead. (#773)
Commits
  • b538cd3 Prepare release v0.19.0 (#793)
  • dc95de5 Reintroduce Stack, with weak validation (#789)
  • b89c4ae Update cyclonedx-bom requirement from 0.4.3 to 0.5.0 (#792)
  • fa4c1f9 Bump buildpacks/github-actions from 5.5.2 to 5.5.3 (#791)
  • e9072af Remove leftover TODO comment in buildpack_output (#785)
  • ac871cf Fix docs typo in build_output (#782)
  • 9f20d46 Add missing derive(Debug) for buildpack_output::state::Stream (#783)
  • d806cbd Add BuildpackOutput (#721)
  • 152b1a2 Replace MappedWrite's magic u8 constant with byte string literal (#780)
  • fbf3919 libcnb: Simplify layer tests (#778)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the libcnb group with 3 updates: [libcnb](https://github.com/heroku/libcnb.rs), [libherokubuildpack](https://github.com/heroku/libcnb.rs) and [libcnb-test](https://github.com/heroku/libcnb.rs).


Updates `libcnb` from 0.17.0 to 0.20.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.17.0...v0.20.0)

Updates `libherokubuildpack` from 0.17.0 to 0.20.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.17.0...v0.20.0)

Updates `libcnb-test` from 0.17.0 to 0.19.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.17.0...v0.19.0)

---
updated-dependencies:
- dependency-name: libcnb
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libherokubuildpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libcnb-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from edmorley as a code owner April 22, 2024 20:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Dependabot PRs that update Rust dependencies skip changelog Skip the check-changelog check labels Apr 22, 2024
@edmorley edmorley removed their request for review April 22, 2024 20:39
Copy link
Contributor Author

dependabot bot commented on behalf of github May 1, 2024

Superseded by #198.

@dependabot dependabot bot closed this May 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/libcnb-b4d58af21b branch May 1, 2024 19:29
edmorley added a commit that referenced this pull request May 2, 2024
…argets (#197)

A `libcnb.rs` release supports a single Buildpack API version, so
whenever we update to a libcnb release that now implements a newer
Buildpack API version, we must switch to that version in the buildpack
at the same time.

This change updates the buildpack to the latest libcnb release, which
requires both a switch to Buildpack API 0.10, a switch from stacks to
targets, and also some adjustments for layer API changes.

As part of the switch from stacks to targets, the buildpack now consumes
the Python runtime from the new S3 location/filenames (that use distro
name/version in the URL instead of stack ID), which were added in:
heroku/heroku-buildpack-python#1567

The new archives also now use Zstandard (aka zstd) for compression
instead of gzip, which results in a faster download due to the smaller
archive size (for example, the Ubuntu 22.04 Python 3.12.3 AMD64 archive
was 26% smaller) as well as faster decompression. This required
switching from the `flate2` crate to the `zstd` crate.

A side-effect of switching to the new S3 files is that the archives for
Python 3.7 are no longer available, since I intentionally did not build
them given that Python 3.7 is EOL. As such, this change also drops
support for Python 3.7 (something that the classic buildpack has already
done, and would have been done here already if it were not for being
blocked on #8).

The switch to targets unblocks Heroku-24/multi-architecture support,
which will be handled in a later PR.

See:
https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md#0210---2024-04-30
https://github.com/buildpacks/spec/releases/tag/buildpack%2Fv0.10
https://github.com/buildpacks/spec/blob/buildpack/0.10/buildpack.md#targets-1
https://docs.rs/zstd/latest/zstd/

Closes #192.
Closes #194.
GUS-W-15261168.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Dependabot PRs that update Rust dependencies skip changelog Skip the check-changelog check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants