diff --git a/.tagpr b/.tagpr index e336312fea..b38803c0a1 100644 --- a/.tagpr +++ b/.tagpr @@ -2,6 +2,6 @@ vPrefix = true releaseBranch = main versionFile = - - command = just version-up 0.5.8 + command = just version-up 0.5.9 release = false changelog = true diff --git a/CHANGELOG.md b/CHANGELOG.md index b05b502b13..d999ca403e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,89 @@ # Changelog +## [v0.6.0](https://github.com/youki-dev/youki/compare/v0.5.7...v0.6.0) - 2026-02-20 +### ๐Ÿ’ช Improvements +- Add net device feature by @nayuta723 in https://github.com/youki-dev/youki/pull/3163 +- feat(info): add rustc, spec, and libseccomp version by @nayuta723 in https://github.com/youki-dev/youki/pull/3318 +- Implement Linux memory policy by @n4mlz in https://github.com/youki-dev/youki/pull/3230 +- feat: add io limits controller for systemd by @gokulmaxi in https://github.com/youki-dev/youki/pull/3235 +### ๐Ÿ’ฅ Breaking Changes +- fix hooks order by @saku3 in https://github.com/youki-dev/youki/pull/3256 +- mount info provider by @CheatCodeSam in https://github.com/youki-dev/youki/pull/3280 +- Use oci spec container process state for seccomp by @nayuta723 in https://github.com/youki-dev/youki/pull/3330 +- refactor(hooks): pass OCI-compliant state to lifecycle hooks by @nayuta723 in https://github.com/youki-dev/youki/pull/3346 +### ๐Ÿ› Bug Fixes +- Implement mount destination validation to ensure absolute paths in OCI Runtime Spec by @nayuta723 in https://github.com/youki-dev/youki/pull/3315 +- Fix default filemode for device creation by @you-matsuura in https://github.com/youki-dev/youki/pull/3276 +- fix(3293) Ambient capabilities are not applied as expected by @tommady in https://github.com/youki-dev/youki/pull/3294 +- fix(libcgroups): set `sz` field in `bpf_prog_load_opts` by @sou1118 in https://github.com/youki-dev/youki/pull/3340 +- Fix recursive mount_setattr handling for rec_attr and improve mounts_recursive tests by @saku3 in https://github.com/youki-dev/youki/pull/3345 +- fix(libcgroups): pass `full_path` to Devices controller instead of `cgroup_path` by @sou1118 in https://github.com/youki-dev/youki/pull/3355 +- refactor(tty): call setup_console after pivot_root, use syscall for mount_console by @nayuta723 in https://github.com/youki-dev/youki/pull/3333 +- Align with runc: use user's HOME when HOME is empty string by @bells17 in https://github.com/youki-dev/youki/pull/3269 +- Refactor checkpoint by @nayuta723 in https://github.com/youki-dev/youki/pull/3365 +### ๐Ÿ“– Documentation improvements +- chore: fix docs mdbook toml by @YJDoc2 in https://github.com/youki-dev/youki/pull/3307 +- Doc: delete redundant statement on youki.md in dev doc by @logica0419 in https://github.com/youki-dev/youki/pull/3310 +- Fix typos in documentation by @oglok in https://github.com/youki-dev/youki/pull/3343 +- (chore) Fix broken links in user document by @donkomura in https://github.com/youki-dev/youki/pull/3361 +- add tommady as reviewers into doc by @tommady in https://github.com/youki-dev/youki/pull/3369 +- added saku3 as committer into doc by @saku3 in https://github.com/youki-dev/youki/pull/3370 +- add nayuta723 as reviewer into doc by @nayuta723 in https://github.com/youki-dev/youki/pull/3373 +### ๐Ÿงช Test improvements and Misc Fixes +- Update netlink-packet dependencies to versions 0.8.1 and 0.25.1 in Cargo.toml and Cargo.lock by @nayuta723 in https://github.com/youki-dev/youki/pull/3297 +- Fixed minor spelling errors in libcontainer documentation. by @CheatCodeSam in https://github.com/youki-dev/youki/pull/3305 +- Add poststart hook test by @fspv in https://github.com/youki-dev/youki/pull/3292 +- Update/runc 1.4.0 by @nayuta723 in https://github.com/youki-dev/youki/pull/3304 +- chore: runc compatibility test improvements by @saku3 in https://github.com/youki-dev/youki/pull/3319 +- Replace once_cell with stdlib OnceLock/LazyLock by @yan-ace62 in https://github.com/youki-dev/youki/pull/3323 +- Update Kind and Kubernetes versions for k8s e2e tests by @IrvingMg in https://github.com/youki-dev/youki/pull/3328 +- ci(basic): pin Rust toolchain to 1.92.0 for cross-rs compatibility by @nayuta723 in https://github.com/youki-dev/youki/pull/3348 +- test: output contest logs to stdout by @saku3 in https://github.com/youki-dev/youki/pull/3349 +- Add poststart_fail hook test by @fspv in https://github.com/youki-dev/youki/pull/3313 +- Added new test "kill no effect" by @oneplus1000 in https://github.com/youki-dev/youki/pull/3332 +- Pass State directly to `run_hooks` instead of Container reference by @IrvingMg in https://github.com/youki-dev/youki/pull/3360 +- Batch running the test groups in test_framework by @donkomura in https://github.com/youki-dev/youki/pull/3372 +- refact mount_recursive test by @saku3 in https://github.com/youki-dev/youki/pull/3383 +- Add test poststop hook by @donkomura in https://github.com/youki-dev/youki/pull/3395 +- Add prestart hook test by @fspv in https://github.com/youki-dev/youki/pull/3382 +- Add create_runtime hook test by @fspv in https://github.com/youki-dev/youki/pull/3396 +- Sync the state to confirm hooks execution by @donkomura in https://github.com/youki-dev/youki/pull/3385 +- Include container status to IncorrectStatus error messaging by @CarloQuick in https://github.com/youki-dev/youki/pull/3411 +### Other Changes +- chore(deps): bump which from 7.0.2 to 8.0.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3287 +- (auto merged) chore(deps): bump the patch group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3302 +- (auto merged) chore(deps): bump tracing-journald from 0.3.1 to 0.3.2 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3303 +- (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3306 +- chore(deps): bump mockall from 0.13.1 to 0.14.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3301 +- chore(deps): bump wasmtime from 31.0.0 to 35.0.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3288 +- (auto merged) chore(deps): bump libc from 0.2.177 to 0.2.178 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3308 +- chore(deps): bump netlink-packet-route from 0.25.1 to 0.26.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3316 +- (auto merged) chore(deps): bump oci-spec from 0.8.3 to 0.8.4 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3329 +- (auto merged) chore(deps): bump tracing from 0.1.43 to 0.1.44 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3331 +- (auto merged) chore(deps): bump serde_json from 1.0.145 to 1.0.146 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3334 +- (auto merged) chore(deps): bump serde_json from 1.0.146 to 1.0.147 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3337 +- (auto merged) chore(deps): bump serde_json from 1.0.147 to 1.0.148 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3341 +- (auto merged) chore(deps): bump libc from 0.2.178 to 0.2.179 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3352 +- (auto merged) chore(deps): bump serde_json from 1.0.148 to 1.0.149 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3354 +- chore(deps): bump serial_test from 3.2.0 to 3.3.1 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3353 +- chore(deps): bump wasmtime from 35.0.0 to 40.0.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3335 +- chore(deps): bump tempfile from 3.23.0 to 3.24.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3338 +- (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3356 +- (auto merged) chore(deps): bump libc from 0.2.179 to 0.2.180 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3357 +- (auto merged) chore(deps): bump flate2 from 1.1.5 to 1.1.8 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3359 +- (auto merged) chore(deps): bump the patch group with 3 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3363 +- (auto merged) chore(deps): bump the patch group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3371 +- chore(deps): bump vergen-gitcl from 1.0.8 to 9.1.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3368 +- (auto merged) chore(deps): bump wasmtime from 40.0.2 to 40.0.3 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3376 +- (auto merged) chore(deps): bump pathrs from 0.2.2 to 0.2.3 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3379 +- (auto merged) chore(deps): bump bytes from 1.11.0 to 1.11.1 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3388 +- (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3389 +- (auto merged) chore(deps): bump libbpf-sys from 1.6.2+v1.6.2 to 1.6.3+v1.6.3 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3390 +- (auto merged) chore(deps): bump anyhow from 1.0.100 to 1.0.101 in the patch group by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3393 +- chore(deps): bump quickcheck from 1.0.3 to 1.1.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3401 +- chore(deps): bump rand from 0.9.2 to 0.10.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3397 +- chore(deps): bump tempfile from 3.24.0 to 3.25.0 by @dependabot[bot] in https://github.com/youki-dev/youki/pull/3400 + ## [v0.5.7](https://github.com/youki-dev/youki/compare/v0.5.6...v0.5.7) - 2025-11-05 ### ๐Ÿ’ช Improvements - Drop cgroup v1 in github workflows by @utam0k in https://github.com/youki-dev/youki/pull/3284 diff --git a/Cargo.lock b/Cargo.lock index 7c9ec2c379..80ef0f4611 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2264,7 +2264,7 @@ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" [[package]] name = "libcgroups" -version = "0.5.7" +version = "0.5.8" dependencies = [ "anyhow", "clap", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "libcontainer" -version = "0.5.7" +version = "0.5.8" dependencies = [ "anyhow", "caps", @@ -2341,7 +2341,7 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "liboci-cli" -version = "0.5.7" +version = "0.5.8" dependencies = [ "clap", ] @@ -6762,7 +6762,7 @@ dependencies = [ [[package]] name = "youki" -version = "0.5.7" +version = "0.5.8" dependencies = [ "anyhow", "caps", diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index ab83ea1897..2d3cf7e834 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcgroups" -version = "0.5.7" # MARK: Version +version = "0.5.8" # MARK: Version description = "Library for cgroup" license = "Apache-2.0" repository = "https://github.com/youki-dev/youki" diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 2a2047f204..c93844aaa4 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcontainer" -version = "0.5.7" # MARK: Version +version = "0.5.8" # MARK: Version description = "Library for container control" license = "Apache-2.0" repository = "https://github.com/youki-dev/youki" @@ -42,7 +42,7 @@ oci-spec = { version = "0.8.4", features = ["runtime"] } procfs = "0.17.0" prctl = "1.0.0" protobuf = "= 3.2.0" # https://github.com/checkpoint-restore/rust-criu/issues/19 -libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.7" } # MARK: Version +libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.8" } # MARK: Version libseccomp = { version = "0.4.0", optional = true } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/crates/liboci-cli/Cargo.toml b/crates/liboci-cli/Cargo.toml index 5d95f5ff87..640722af26 100644 --- a/crates/liboci-cli/Cargo.toml +++ b/crates/liboci-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "liboci-cli" -version = "0.5.7" # MARK: Version +version = "0.5.8" # MARK: Version description = "Parse command line arguments for OCI container runtimes" license = "Apache-2.0" repository = "https://github.com/youki-dev/youki" diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 90a3bcc349..bf449278d8 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "youki" -version = "0.5.7" # MARK: Version +version = "0.5.8" # MARK: Version description = "A container runtime written in Rust" license = "Apache-2.0" repository = "https://github.com/youki-dev/youki" @@ -30,9 +30,9 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con [dependencies] anyhow = "1.0.101" chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } -libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.7" } # MARK: Version -libcontainer = { path = "../libcontainer", default-features = false, version = "0.5.7" } # MARK: Version -liboci-cli = { path = "../liboci-cli", version = "0.5.7" } # MARK: Version +libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.8" } # MARK: Version +libcontainer = { path = "../libcontainer", default-features = false, version = "0.5.8" } # MARK: Version +liboci-cli = { path = "../liboci-cli", version = "0.5.8" } # MARK: Version nix = "0.29.0" pentacle = "1.1.0" procfs = "0.17.0" diff --git a/docs/src/user/basic_setup.md b/docs/src/user/basic_setup.md index 926d0ce264..4f0d173bc6 100644 --- a/docs/src/user/basic_setup.md +++ b/docs/src/user/basic_setup.md @@ -28,7 +28,7 @@ Install from the GitHub release as root: ```console -# curl -sSfL https://github.com/youki-dev/youki/releases/download/v0.5.7/youki-0.5.7-$(uname -m)-musl.tar.gz | tar -xzvC /usr/bin/ youki +# curl -sSfL https://github.com/youki-dev/youki/releases/download/v0.5.8/youki-0.5.8-$(uname -m)-musl.tar.gz | tar -xzvC /usr/bin/ youki ```