Skip to content

Releases: youki-dev/youki

v0.0.4 Release

14 Dec 16:04
174448a
Compare
Choose a tag to compare

What's Changed

With this release all the libraries of youki eco-system are available on crates.io, including youki itself 🎉 🎉 🎉

✨ New Features

💪 Improvements

  • Ensure pid and root path are canonicalized by @Furisto in #851
  • put the runtime feature into the oci-spec-rs crate. by @utam0k in #923
  • support the all option in the kill command. by @utam0k in #935
  • Use pnet_datalink instead of pnet. by @utam0k in #963
  • Prepare containerd integration test environment using youki by @guni1192 in #914
  • reduce the number of args. by @utam0k in #1042
  • build.sh enhancement for feature flags by @orimanabu in #1150
  • Canonicalize the bundle path when storing in the new container data by @YJDoc2 in #1154
  • Get the result of exec command by @utam0k in #1018
  • Make exec behaviour consistent with runc's exec by @YJDoc2 in #1252
  • Pass features across crates by @Silcet in #1330
  • Detect architecture by uname command by @udzura in #1352
  • Check capabilities in youki info subcommand by @udzura in #1389

🐛 Bug Fixes

  • Remove duplicated assignment by @cyyzero in #993
  • Fix some typos by @z1cheng in #1057
  • Fix bug that attempts is always 0 in delete_with_retry by @cyyzero in #1128
  • Fix how cgroup manager is created based on cgroups path by @YJDoc2 in #1288
  • Thaw a paused container in cgroup v1 when it is forcely deleted. by @cyyzero in #1204
  • Ignore error when killing, if error is 'process does not exist' by @YJDoc2 in #1339
  • Fixed set capability fail. by @higuruchi in #1349

📖 Documentation improvements

🧪 Test improvements And Misc Fixes

  • chore(rustdoc): Fix rustdoc warnings by @adoerr in #833
  • Add flat logos to docs folder by @scary4cat in #873
  • Remove the build dependency from some tests. by @utam0k in #909
  • Update cargo-llvm-cov and use rust 1.60.0 for coverage by @taiki-e in #898
  • chore: a separate target directory for runtimetest by @tony84727 in #981
  • test: hooks integration test by @tony84727 in #959
  • Added podman local system tests by @stefins in #1009
  • Automatically publish packages by @MostlyAmiable in #1000
  • Changed bats installation script to apt package manager by @stefins in #1125
  • Fix whitespaces: replace TABs to SPACEs by @orimanabu in #1167
  • Add git commit sha placeholder if .git not found by @YJDoc2 in #1251
  • Log result of the command before returning from main by @YJDoc2 in #1302
  • Add TestContainerKill required error message in kill command by @YJDoc2 in #1319
  • Upgrade to 1.65 and fix lint errors by @YJDoc2 in #1321
  • Improve the flow of the containerd test with youki by @utam0k in #1297
  • Fix TestContainerNoBinaryExists test, by making create behaviour similar to runc by @YJDoc2 in #1347
  • [actions] add workflow file for containerd integration testing by @guni1192 in #968
  • Change targets in the makefile by @YJDoc2 in #1383
  • Update makefile changes in containerd ci by @YJDoc2 in #1386
  • Add hostname test by @chermehdi in #1376
  • Fix release script and prepare for release by @YJDoc2 in #1397

🤝 New Contributors

Welcome and Thank you to all the new contributors! ✨

Full Changelog: v0.0.3...v0.0.4

v0.0.3 Release

03 Apr 12:25
541bf4a
Compare
Choose a tag to compare

✨ Big New Feature

wasm-demo.mp4

💪 Improvements

  • Add gitpod as development option by @Furisto in #576
  • Support umask by @Furisto in #642
  • adding HOME into envs when init containers by @mitnk in #681
  • Use buffered io for reading state file by @Furisto in #683
  • Refactor Directory structure by @YJDoc2 in #694
  • Add tests to crates/libcgroups/src/v2/devices/controller.rs by @cr0ax in #706
  • Add a description to 'create daemon.json' in Basic Usage in docs by @TomoroKobori in #707
  • Adds more mocked tests by @cr0ax in #711
  • add the rust-analyzer for gitpod. by @utam0k in #717
  • Use cgroup.kill file if available by @Furisto in #722
  • Add support for seccomp filter flags by @saschagrunert in #733
  • Use the libseccomp-rs/libseccomp-rs crate instead of youki original libseccomp-rs. by @utam0k in #741
  • Update oci-spec-rs to v0.5.5 by @saschagrunert in #744
  • Add the metadates for publishing a crate by @utam0k in #732
  • Support rust 1.59.0 by @utam0k in #745
  • Use close_range where possible by @Furisto in #758
  • Bump anyhow from 1.0.55 to 1.0.56 and fix warnings by @Furisto in #767
  • Introduce the root Makefile. by @utam0k in #774
  • Organize the workflows to adapt Makefile. by @utam0k in #780
  • Resolve deprecation warnings from clap by @YJDoc2 in #798
  • Release v0.0.3 by @utam0k in #816

🐛 Bug Fixes

  • Use /dev/null inside of the container by @adrianreber in #630
  • Fix some typos and align formatting by @Szymongib in #631
  • Always call setsid by @Furisto in #632
  • ready for integration test for the exec command. by @utam0k in #622
  • Ensure namespaces are entered in correct order by @Furisto in #674
  • Remove duplication from commands execution in Integration tests by @Szymongib in #673
  • make sure test_make_parent_mount_private() passes even when root is not a slave. by @utam0k in #682
  • make the rootless code testable by @utam0k in #634
  • Add tests to libcgroups/src/v2/devices/emulator.rs by @cr0ax in #704
  • remove cargo config by @junnplus in #712
  • Always use the same permissions for youki dir by @Szymongib in #705
  • Remove caching of OCI tests in CI by @YJDoc2 in #727
  • Fix Cargo.lock file that gets generated after build by @harche in #734
  • Bring back architecture diagrams to README. by @utam0k in #739
  • Handle relative paths by @Szymongib in #740
  • Create the pid file with integration test by @utam0k in #762
  • Fix a comment explaining that seccom_rule_add requires multiple args to be broken into multiple rules. by @yihuaf in #775
  • introduce the timeout for github actions by @utam0k in #777
  • fix log control env val not passing properly. by @utam0k in #778
  • update README.md for makefile. by @utam1k in #779
  • fix the release workflow. by @utam0k in #781
  • make dependabot work again. by @utam0k in #782

🤝 New Contributors

Full Changelog: v0.0.2...v0.0.3

v0.0.2 Release

22 Jan 08:02
0f662dd
Compare
Choose a tag to compare

⚠ Notes

  • Add minimum rust version requirement to libcgroups and libcontainers by @YJDoc2 in #626
    Due to CVE-2022-21658 found in Rust standard library, 1.58.1 will be the minimum supported version.

💪 Improvements

  • Resolved needs_to_handle TODO's by @SarthakSingh31 in #568
  • Add option to list test groups by @Furisto in #573
  • Add commit id to info cmd by @Furisto in #593
  • Readonly paths by @YJDoc2 in #582
  • clean up the shell script for youki integration test. by @utam0k in #600
  • Pin nightly version in CI as temporary fix to coverage issue by @YJDoc2 in #619
    • Nightly was sometimes broken
  • make the runtime-tools directory one level deeper. by @utam0k in #614
  • integration test: move config.json to the code. by @utam0k in #621

🐛 Bug Fixes

🤝 New Contributors

Full Changelog: v0.0.1...v0.0.2

v0.0.1 Release

26 Dec 15:54
91b7632
Compare
Choose a tag to compare

https://www.utam0k.jp/en/blog/2021/12/27/youki_first_release/

What's Changed * Add for local to README by @succie in https://github.com//pull/1 * Update README.md by @aoki in https://github.com//pull/3 * traial implementation of async/await. by @utam0k in https://github.com//pull/4 * introduce ci for checkinng codes by github actions. by @utam0k in https://github.com//pull/5 * implementation the controller of devices in cgroups. by @utam0k in https://github.com//pull/6 * Improvement to make easier to write tests by @utam0k in https://github.com//pull/7 * organize and add to the list of features. by @utam0k in https://github.com//pull/18 * add information about the pronunciation and the etymology of youki by @yuchiki in https://github.com//pull/19 * Support hugetlb cgroup by @Furisto in https://github.com//pull/15 * refactor a code of github actions. by @utam0k in https://github.com//pull/22 * add pids cgroup controller by @0xdco in https://github.com//pull/26 * Change logo by @cr0ax in https://github.com//pull/29 * add memory cgroup controller by @tsturzl in https://github.com//pull/16 * adjust the size of the logo. by @utam0k in https://github.com//pull/30 * Blkio cgroup support by @Furisto in https://github.com//pull/31 * Fix typo in README.md regarding opencontainers/runtime-tools by @akluth in https://github.com//pull/35 * cgroup v1 networking by @tsturzl in https://github.com//pull/34 * fix a memory subsystem by @utam0k in https://github.com//pull/36 * Add comments to main.rs by @YJDoc2 in https://github.com//pull/38 * Update Rust-Analyzer in Dockerfile by @nalpine in https://github.com//pull/40 * get oci_spec in seperate crate by @ferrell-code in https://github.com//pull/42 * extract the integration tests writen in the ci file as a script file. by @utam0k in https://github.com//pull/37 * revert asynchronous devices mounting. by @utam0k in https://github.com//pull/41 * organize the logger. by @utam0k in https://github.com//pull/47 * add default handling when there isn't cgroup path in config.json. by @utam0k in https://github.com//pull/45 * add the tutorial on using youki. by @utam0k in https://github.com//pull/49 * update README. by @utam0k in https://github.com//pull/50 * Initial support for cgroups v2 by @Furisto in https://github.com//pull/48 * make log level debug to get more information when ci failed. 4b260b0 by @utam0k in https://github.com//pull/53 * cargo clippy. by @utam0k in https://github.com//pull/52 * Align cgroup controller implementations by @Furisto in https://github.com//pull/54 * Consolidate cgroup test methods by @Furisto in https://github.com//pull/57 * Add 'Community' section to README.md by @nimrodshn in https://github.com//pull/59 * Update README.md by @aoki in https://github.com//pull/58 * Add comments to create.rs by @YJDoc2 in https://github.com//pull/43 * utam0k -> containers by @smorimoto in https://github.com//pull/61 * Support for cgroup v1 cpu and cpuset subsystem by @Furisto in https://github.com//pull/63 * Add comments to process module and minor refactoring by @YJDoc2 in https://github.com//pull/64 * Added install command for prerequisite in README by @PeterYordanov in https://github.com//pull/66 * Fixed spelling mistake in src/rootfs.rs by @PeterYordanov in https://github.com//pull/67 * add handling of WouldBlock error. by @utam0k in https://github.com//pull/68 * Change execution path and fix CI by @minakawa-daiki in https://github.com//pull/73 * Fix issues with cgroup v1 and v2 by @Furisto in https://github.com//pull/69 * Added Integration test template by @minakawa-daiki in https://github.com//pull/71 * Added doc comments modules by @PeterYordanov in https://github.com//pull/70 * add some widgets to README.md by @utam0k in https://github.com//pull/76 * Handle relative cgroup paths by @Furisto in https://github.com//pull/74 * Improved testing, property testing, device tests by @tsturzl in https://github.com//pull/75 * Document Container and Command modules by @YJDoc2 in https://github.com//pull/79 * Fix badges in README by @tsturzl in https://github.com//pull/80 * add create kill delete state in integration test by @duduainankai in https://github.com//pull/81 * Provide better error messages by @Furisto in https://github.com//pull/84 * Clean up use of unsafe by @tsturzl in https://github.com//pull/85 * Add info command by @Furisto in https://github.com//pull/83 * Fix README link typo by @sasurau4 in https://github.com//pull/88 * Add CODE-OF-CONDUCT.md and SECURITY.md by @utam0k in https://github.com//pull/86 * clean up around the tty. by @utam0k in https://github.com//pull/89 * Rename Cond to Pipe by @YJDoc2 in https://github.com//pull/90 * make sure to log any unimplemented controllers. by @utam0k in https://github.com//pull/91 * [WIP] Add support for cpuacct in cgroup v1. by @yjuba in https://github.com//pull/92 * use bail! insted of anyhow by @utam0k in https://github.com//pull/94 * Add a test for applying CpuAcct. by @yjuba in https://github.com//pull/96 * Add cgroup v1 freezer controller by @duduainankai in https://github.com//pull/93 * Experimental support for rootless containers by @Furisto in https://github.com//pull/98 * Add unit tests for tty module by @constreference in https://github.com//pull/102 * Extend info cmd with version and os by @Furisto in https://github.com//pull/101 * Use `assert!` instead of `assert_eq!` when comparing a boolean. by @utam0k in https://github.com//pull/104 * Add support for systemd managed cgroups by @nimrodshn in https://github.com//pull/46 * update README.md by @utam0k in https://github.com//pull/105 * Fix README.md Fedora & Centos instructions by @nimrodshn in https://github.com//pull/107 * Add list command by @Furisto in https://github.com//pull/108 * improve build time in CI by @utam0k in https://github.com//pull/97 * split the subcommands into their own files. by @utam0k in https://github.com//pull/110 * Update README.md by @bkochendorfer in https://github.com//pull/112 * Seperate adding tasks to cgroups and applying resource restrictions by @Furisto in https://github.com//pull/111 * Require only requested cgroups to be present by @Furisto in https://github.com//pull/114 * force delete container if it is running or created by @TinySong in https://github.com//pull/115 * add comments in intergration_test.sh about test case that runc no paas by @TinySong in https://github.com//pull/116 * remove unnecessary clone() in create.rs by @utam0k in https://github.com//pull/117 * add cgroup v2 pids controller by @TinySong in https://github.com//pull/119 * make String to signal conversion more simplify by using a Trait. by @utam0k in https://github.com//pull/122 * Reduce size of binary by @Furisto in https://github.com//pull/124 * Add cgroup v2 freezer controller by @duduainankai in https://github.com//pull/123 * Modularize container creation by @Furisto in https://github.com//pull/121 * Cgroupv2 io controller by @TinySong in https://github.com//pull/128 * fix the warnings shown by cargo clippy by @utam0k in https://github.com//pull/127 * Add format check ci by @duduainankai in https://github.com//pull/129 * Fix spec path in delete by @duduainankai in https://github.com//pull/130 * Fix same tmp dir in freezer v2 tests by @duduainankai in https://github.com//pull/133 * Document capabilities rs and refactor its drop_privileges function by @YJDoc2 in https://github.com//pull/131 * Document Info module by @YJDoc2 in https://github.com//pull/136 * cgroupsv2 hugetlb by @0xdco in https://github.com//pull/135 * Document list and logger modules by @YJDoc2 in https://github.com//pull/137 * Implement exec command by @Furisto in https://github.com//pull/138 * Add pause and resume command by @duduainankai in https://github.com//pull/139 * Adds spec cli command by @ferrell-code in https://github.com//pull/55 * memory cgv2 subsystem implemented by @tsturzl in https://github.com//pull/141 * add serde_support to caps by @ferrell-code in https://github.com//pull/151 * Correctly handle the rootfs path with bundle by @yihuaf in https://github.com//pull/153 * Refactor the container creation to use `clone(2)` instead of fork. by @yihuaf in https://github.com//pull/143 * prepare Vagrant instead of devcontainer for platforms other than linux. by @utam0k i...
Read more