diff --git a/.tagpr b/.tagpr index 111bdd230..0148217bc 100644 --- a/.tagpr +++ b/.tagpr @@ -2,6 +2,6 @@ vPrefix = true releaseBranch = main versionFile = - - command = just version-up 0.5.0 + command = just version-up 0.5.1 release = false changelog = true diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f02715bf..48fdb3fff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## [v0.5.0](https://github.com/youki-dev/youki/compare/v0.4.1...v0.5.0) - 2025-01-02 +### ๐Ÿ’ช Improvements +- libcontainer: support set stdios for container by @abel-von in https://github.com/youki-dev/youki/pull/2961 +- Add option to spawn processes as siblings by @jprendes in https://github.com/youki-dev/youki/pull/3012 +### ๐Ÿ’ฅ Breaking Changes +- libcontainer: use OwnedFd as console_socket in ContainerBuilder by @abel-von in https://github.com/youki-dev/youki/pull/2966 +### ๐Ÿ› Bug Fixes +- Fixed ENAMETOOLONG error in setup_console_socket by @morganllewellynjones in https://github.com/youki-dev/youki/pull/2915 +- fix(libcontainer) no_pivot args is not used by @xujihui1985 in https://github.com/youki-dev/youki/pull/2923 +- Fix/return multi errors on create failed by @xujihui1985 in https://github.com/youki-dev/youki/pull/2998 +- fix duplicate gids in container creation by @YJDoc2 in https://github.com/youki-dev/youki/pull/3019 +- Fix --preserve-fds, eliminate stray FD being passed into container by @aidanhs in https://github.com/youki-dev/youki/pull/2893 +### ๐Ÿ“– Documentation improvements +- Add the affiliations of youki maintainers by @utam0k in https://github.com/youki-dev/youki/pull/2947 +- docs: update github pages links by @tskxz in https://github.com/youki-dev/youki/pull/2969 +- switch from license-file to license by @jprendes in https://github.com/youki-dev/youki/pull/3023 +### ๐Ÿงช Test improvements and Misc Fixes +- ci: update action versions to fix deprecation warnings by @YJDoc2 in https://github.com/youki-dev/youki/pull/2918 +- deps: update wasmedge to 0.14.0 by @YJDoc2 in https://github.com/youki-dev/youki/pull/2928 +- Bump oci-spec to 0.7.0 by @kiokuless in https://github.com/youki-dev/youki/pull/2934 +- remove incorrect dependency in readme by @YJDoc2 in https://github.com/youki-dev/youki/pull/2940 +- Add seccomp into feature flags of youki to be compiled in by @musaprg in https://github.com/youki-dev/youki/pull/2924 +- Add unittest to expertiment seccomp programs by @sat0ken in https://github.com/youki-dev/youki/pull/2956 +- print "unknown" instead of defaults if we cannot get kernel config by @YJDoc2 in https://github.com/youki-dev/youki/pull/2964 +- Add test process rlimits by @sat0ken in https://github.com/youki-dev/youki/pull/2977 +- Add test process user by @sat0ken in https://github.com/youki-dev/youki/pull/2978 +- add test process_oom_score_adj by @saku3 in https://github.com/youki-dev/youki/pull/2987 +- Add process test by @sat0ken in https://github.com/youki-dev/youki/pull/2968 +- refactor(test): refine function create_container by @xujihui1985 in https://github.com/youki-dev/youki/pull/2973 +- Add test root readonly by @sat0ken in https://github.com/youki-dev/youki/pull/2976 +- Adding Discord link to docs by @crmejia in https://github.com/youki-dev/youki/pull/3005 +- Prepare for v0.5.0 by @utam0k in https://github.com/youki-dev/youki/pull/3016 +- Use later stable rust version 1.81.0 to fix the CI by @musaprg in https://github.com/youki-dev/youki/pull/3033 +- Don't specify the versionFile for tagpr by @utam0k in https://github.com/youki-dev/youki/pull/3036 +### Other Changes +- selinux: create Vagrantfile for SELinux by @Gekko0114 in https://github.com/youki-dev/youki/pull/2900 +- Cargo.toml: remove unused dependnecies by @Mossaka in https://github.com/youki-dev/youki/pull/2921 +- deps: update wasmtime by @YJDoc2 in https://github.com/youki-dev/youki/pull/2929 +- selinux: fix xattr and remove anyhow by @Gekko0114 in https://github.com/youki-dev/youki/pull/2936 +- .github/workflows/basic: check unused deps on 'check' job by @Mossaka in https://github.com/youki-dev/youki/pull/2941 +- seccomp: Update experiment seccomp program by @sat0ken in https://github.com/youki-dev/youki/pull/2946 +- create mount_rootfs method by @Gekko0114 in https://github.com/youki-dev/youki/pull/2953 +- Update deps: roll multiple dependabot PRs into one by @YJDoc2 in https://github.com/youki-dev/youki/pull/2993 + ## [v0.4.1](https://github.com/containers/youki/compare/v0.4.0...v0.4.1) - 2024-09-02 ### ๐Ÿงช Test improvements and Misc Fixes - prepare for version 0.4.1 by @YJDoc2 in https://github.com/containers/youki/pull/2897 diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index 52701c332..cae0385ad 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcgroups" -version = "0.4.1" # MARK: Version +version = "0.5.0" # MARK: Version description = "Library for cgroup" license = "Apache-2.0" repository = "https://github.com/containers/youki" diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index c5e215025..a07a326a8 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libcontainer" -version = "0.4.1" # MARK: Version +version = "0.5.0" # MARK: Version description = "Library for container control" license = "Apache-2.0" repository = "https://github.com/containers/youki" @@ -41,7 +41,7 @@ oci-spec = { version = "0.7.1", features = ["runtime"] } once_cell = "1.20.2" procfs = "0.17.0" prctl = "1.0.0" -libcgroups = { path = "../libcgroups", default-features = false, version = "0.4.1" } # MARK: Version +libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.0" } # MARK: Version libseccomp = { version = "0.3.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 1ad8b6d75..1b0795355 100644 --- a/crates/liboci-cli/Cargo.toml +++ b/crates/liboci-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "liboci-cli" -version = "0.4.1" # MARK: Version +version = "0.5.0" # MARK: Version description = "Parse command line arguments for OCI container runtimes" license = "Apache-2.0" repository = "https://github.com/containers/youki" diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 0fce9204a..bc52846dc 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "youki" -version = "0.4.1" # MARK: Version +version = "0.5.0" # MARK: Version description = "A container runtime written in Rust" license = "Apache-2.0" repository = "https://github.com/containers/youki" @@ -30,9 +30,9 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con [dependencies] anyhow = "1.0.95" chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } -libcgroups = { path = "../libcgroups", default-features = false, version = "0.4.1" } # MARK: Version -libcontainer = { path = "../libcontainer", default-features = false, version = "0.4.1" } # MARK: Version -liboci-cli = { path = "../liboci-cli", version = "0.4.1" } # MARK: Version +libcgroups = { path = "../libcgroups", default-features = false, version = "0.5.0" } # MARK: Version +libcontainer = { path = "../libcontainer", default-features = false, version = "0.5.0" } # MARK: Version +liboci-cli = { path = "../liboci-cli", version = "0.5.0" } # MARK: Version nix = "0.28.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 96359345b..8f6338ebe 100644 --- a/docs/src/user/basic_setup.md +++ b/docs/src/user/basic_setup.md @@ -83,7 +83,7 @@ Install from the GitHub release as root: ```console -# curl -sSfL https://github.com/containers/youki/releases/download/v0.4.1/youki-0.4.1-$(uname -m)-musl.tar.gz | tar -xzvC /usr/bin/ youki +# curl -sSfL https://github.com/containers/youki/releases/download/v0.5.0/youki-0.5.0-$(uname -m)-musl.tar.gz | tar -xzvC /usr/bin/ youki ```