Skip to content

Commit

Permalink
Prepare release v0.21.0 (#822)
Browse files Browse the repository at this point in the history
* Prepare release v0.21.0

* Add additional comment for #821

---------

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
Co-authored-by: Ed Morley <[email protected]>
  • Loading branch information
heroku-linguist[bot] and edmorley authored Apr 30, 2024
1 parent 101af17 commit a4e48fd
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 25 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.21.0] - 2024-04-30

### Added

- `libcnb`:
Expand Down Expand Up @@ -289,7 +292,8 @@ version number. See the changelog below for other changes.

- Remove support for legacy BOM. Remove `Launch::bom`, `Build::bom`, `bom::Bom`, `bom::Entry`. ([#489](https://github.com/heroku/libcnb.rs/pull/489))

[unreleased]: https://github.com/heroku/libcnb.rs/compare/v0.20.0...HEAD
[unreleased]: https://github.com/heroku/libcnb.rs/compare/v0.21.0...HEAD
[0.21.0]: https://github.com/heroku/libcnb.rs/compare/v0.20.0...v0.21.0
[0.20.0]: https://github.com/heroku/libcnb.rs/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/heroku/libcnb.rs/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/heroku/libcnb.rs/compare/v0.17.0...v0.18.0
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ members = [
]

[workspace.package]
version = "0.20.0"
version = "0.21.0"
rust-version = "1.76"
edition = "2021"
license = "BSD-3-Clause"
Expand All @@ -38,10 +38,10 @@ missing_errors_doc = "allow"
module_name_repetitions = "allow"

[workspace.dependencies]
libcnb = { version = "=0.20.0", path = "libcnb" }
libcnb-common = { version = "=0.20.0", path = "libcnb-common" }
libcnb-data = { version = "=0.20.0", path = "libcnb-data" }
libcnb-package = { version = "=0.20.0", path = "libcnb-package" }
libcnb-proc-macros = { version = "=0.20.0", path = "libcnb-proc-macros" }
libcnb-test = { version = "=0.20.0", path = "libcnb-test" }
libcnb = { version = "=0.21.0", path = "libcnb" }
libcnb-common = { version = "=0.21.0", path = "libcnb-common" }
libcnb-data = { version = "=0.21.0", path = "libcnb-data" }
libcnb-package = { version = "=0.21.0", path = "libcnb-package" }
libcnb-proc-macros = { version = "=0.21.0", path = "libcnb-proc-macros" }
libcnb-test = { version = "=0.21.0", path = "libcnb-test" }
toml = { version = "0.8.12" }
2 changes: 1 addition & 1 deletion examples/execd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rust-version.workspace = true
workspace = true

[dependencies]
fastrand = "2.0.2"
fastrand = "2.1.0"
libcnb.workspace = true

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion libcnb-cargo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ clap = { version = "4.5.4", default-features = false, features = [
libcnb-data.workspace = true
libcnb-package.workspace = true
pathdiff = "0.2.1"
thiserror = "1.0.58"
thiserror = "1.0.59"

[dev-dependencies]
libcnb-common.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions libcnb-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ include = ["src/**/*", "LICENSE", "README.md"]
workspace = true

[dependencies]
serde = { version = "1.0.197", features = ["derive"] }
thiserror = "1.0.58"
serde = { version = "1.0.199", features = ["derive"] }
thiserror = "1.0.59"
toml.workspace = true
4 changes: 2 additions & 2 deletions libcnb-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ workspace = true
[dependencies]
fancy-regex = { version = "0.13.0", default-features = false, features = ["std"] }
libcnb-proc-macros.workspace = true
serde = { version = "1.0.197", features = ["derive"] }
thiserror = "1.0.58"
serde = { version = "1.0.199", features = ["derive"] }
thiserror = "1.0.59"
toml.workspace = true
uriparse = "0.6.4"

Expand Down
2 changes: 1 addition & 1 deletion libcnb-package/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ indoc = "2.0.5"
libcnb-common.workspace = true
libcnb-data.workspace = true
petgraph = { version = "0.6.4", default-features = false }
thiserror = "1.0.58"
thiserror = "1.0.59"
uriparse = "0.6.4"
which = "6.0.1"
2 changes: 1 addition & 1 deletion libcnb-proc-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ workspace = true
cargo_metadata = "0.18.1"
fancy-regex = { version = "0.13.0", default-features = false, features = ["std"] }
quote = "1.0.36"
syn = { version = "2.0.58", features = ["full"] }
syn = { version = "2.0.60", features = ["full"] }
6 changes: 3 additions & 3 deletions libcnb-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ include = ["src/**/*", "LICENSE", "README.md"]
workspace = true

[dependencies]
fastrand = "2.0.2"
fastrand = "2.1.0"
fs_extra = "1.3.0"
libcnb-common.workspace = true
libcnb-data.workspace = true
libcnb-package.workspace = true
tempfile = "3.10.1"
thiserror = "1.0.58"
thiserror = "1.0.59"

[dev-dependencies]
indoc = "2.0.5"
libcnb.workspace = true
ureq = { version = "2.9.6", default-features = false }
ureq = { version = "2.9.7", default-features = false }
6 changes: 3 additions & 3 deletions libcnb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ libcnb-proc-macros.workspace = true
opentelemetry = { version = "0.21.0", optional = true }
opentelemetry_sdk = { version = "0.21.2", optional = true }
opentelemetry-stdout = { version = "0.2.0", optional = true, features = ["trace"] }
serde = { version = "1.0.197", features = ["derive"] }
thiserror = "1.0.58"
serde = { version = "1.0.199", features = ["derive"] }
thiserror = "1.0.59"
toml.workspace = true

[dev-dependencies]
serde_json = "1.0.115"
serde_json = "1.0.116"
tempfile = "3.10.1"
3 changes: 3 additions & 0 deletions libcnb/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ where
let os = env::var("CNB_TARGET_OS").map_err(Error::CannotDetermineTargetOs)?;
let arch = env::var("CNB_TARGET_ARCH").map_err(Error::CannotDetermineTargetArch)?;
let arch_variant = env::var("CNB_TARGET_ARCH_VARIANT").ok();
// Whilst the Buildpack API spec says these env vars are optional they will always be set in
// practice, so we treat them as mandatory to improve buildpack author UX. See:
// https://github.com/heroku/libcnb.rs/issues/820
let distro_name =
env::var("CNB_TARGET_DISTRO_NAME").map_err(Error::CannotDetermineTargetDistroName)?;
let distro_version =
Expand Down
6 changes: 3 additions & 3 deletions libherokubuildpack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ crossbeam-utils = { version = "0.8.19", optional = true }
# Ideally we'd use the fastest `zlib-ng` backend, however it fails to cross-compile:
# https://github.com/rust-lang/libz-sys/issues/93
# As such we have to use the next best alternate backend, which is `zlib`.
flate2 = { version = "1.0.28", default-features = false, features = ["zlib"], optional = true }
flate2 = { version = "1.0.30", default-features = false, features = ["zlib"], optional = true }
libcnb = { workspace = true, optional = true }
pathdiff = { version = "0.2.1", optional = true }
sha2 = { version = "0.10.8", optional = true }
tar = { version = "0.4.40", default-features = false, optional = true }
termcolor = { version = "1.4.1", optional = true }
thiserror = { version = "1.0.58", optional = true }
thiserror = { version = "1.0.59", optional = true }
toml = { workspace = true, optional = true }
ureq = { version = "2.9.6", default-features = false, features = ["tls"], optional = true }
ureq = { version = "2.9.7", default-features = false, features = ["tls"], optional = true }

[dev-dependencies]
indoc = "2.0.5"
Expand Down

0 comments on commit a4e48fd

Please sign in to comment.