Skip to content

Releases: containerd/runwasi

containerd-shim-wasmtime/v0.6.0

20 May 18:20
5680b21

Choose a tag to compare

Merge pull request #978 from Mossaka/batch-bump

chore: batch bump minor version of shim binaries

containerd-shim-wasmer/v0.6.0

20 May 18:21
5680b21

Choose a tag to compare

Merge pull request #978 from Mossaka/batch-bump

chore: batch bump minor version of shim binaries

containerd-shim-wasmedge/v0.6.0

21 May 17:22
5680b21

Choose a tag to compare

Merge pull request #978 from Mossaka/batch-bump

chore: batch bump minor version of shim binaries

containerd-shim-wamr/v0.2.0

20 May 18:17
5680b21

Choose a tag to compare

Merge pull request #978 from Mossaka/batch-bump

chore: batch bump minor version of shim binaries

containerd-shim-wasm/v1.0.0

23 Apr 17:32
5652bc9

Choose a tag to compare

Changed

  • containerd_shim_wasm::sandbox::shim::Cli -> containerd_shim_wasm::sandbox::shim::Shim and it is no longer public, because this was not intended to be used by users of the crate.
  • Breaking change: All methods in the Engine trait (except name and supported_layers_types) are now async. (#931)
  • The Engine trait is now being split into Shim, Sandbox and Compiler traits. (#936)
  • The container module is renamed to shim module. (#936)
  • The Instance trait is moved to the containerd_shimkit crate, which has it's own changelog, version and README. (#930)
  • Reorganized types, traits and macros in more meaningful modules. (#957)
  • Config is now locally defined instead of re-exported, and doesn't expose the no_reaper or no_sub_reaper options. (#957)

Removed

  • Removed the shim_main function. Use ShimCli::run trait method instead. (#944 and #943)
  • The with_lease macro, otel module and instance_utils module are now private. (#929)
  • The logging macros are removed. Now, the pod ID and container ID are unconditionally added to any logging coming from a sandbox process. (#953
  • Removed from RuntimeContext the methods: platform, pod_id, and container_id. (#971)

Full Changelog: containerd-shim-wasm/v0.10.0...containerd-shim-wasm/v1.0.0

containerd-shimkit/v0.1.1

28 Mar 19:16
0e579d7

Choose a tag to compare

Added

  • Added containerd_shimkit::set_logger_kv to allow for setting logger key values. This is useful for passing the container ID and pod ID to the shim.

containerd-shim-wasm/v1.0.0-rc.1

28 Mar 21:53
containerd-shim-wasm/v1.0.0-rc.1
a73e5bc

Choose a tag to compare

Pre-release

Changed

  • containerd_shim_wasm::sandbox::shim::Cli -> containerd_shim_wasm::sandbox::shim::Shim and it is no longer public, because this was not intended to be used by users of the crate.
  • Breaking change: All methods in the Engine trait (except name and supported_layers_types) are now async. (#931)
  • The Engine trait is now being split into Shim, Sandbox and Compiler traits. (#936)
  • The container module is renamed to shim module. (#936)
  • The Instance trait is moved to the containerd_shimkit crate, which has it's own changelog, version and README. (#930)
  • Reorganized types, traits and macros in more meaningful modules. (#957)
  • Config is now locally defined instead of re-exported, and doesn't expose the no_reaper or no_sub_reaper options. (#957)

Removed

  • Removed the shim_main function. Use ShimCli::run trait method instead. (#944 and #943)
  • The with_lease macro, otel module and instance_utils module are now private. (#929)
  • The logging macros are removed. Now, the pod ID and container ID are unconditionally added to any logging coming from a sandbox process. (#953

What's Changed

  • ci(benchmarks): ignore non-code files in benchmarks workflow by @Mossaka in #901
  • README: add badges by @Mossaka in #902
  • ci: Add GitHub Actions workflow for scorecard analysis by @Mossaka in #904
  • chore(deps): update url to 2.5.4 which bumps idna to 1.0.3 by @Mossaka in #908
  • chore(deps): Bumped openssl from 0.10.68 to 0.10.70 by @Mossaka in #909
  • ci(all): add read-all permission to all workflows by @Mossaka in #911
  • Revert "ci(all): add read-all permission to all workflows" by @Mossaka in #913
  • chore(deps): bump ring from 0.17.8 to 0.17.13 in the cargo group by @dependabot in #916
  • chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 by @dependabot in #897
  • Add systemd cgroup support for k3s and k8s by @z63d in #917
  • chore(deps): bump wasmparser from 0.226.0 to 0.227.1 by @dependabot in #920
  • chore(deps): bump tokio from 1.43.0 to 1.44.0 by @dependabot in #921
  • chore(deps): bump tempfile from 3.17.1 to 3.18.0 by @dependabot in #922
  • chore(deps): bump the patch group with 4 updates by @dependabot in #919
  • breaking: shim::cli is now crate public by @Mossaka in #927
  • containerd-shim-wasm/src/container: updated comments to doc comments for RuntimeContext and PathResolve traits. by @Mossaka in #926
  • Add plugin support to WasmEdge runtime by @CaptainVincent in #877
  • breaking: make with_lease macro, otel module and instance_utils module private by @Mossaka in #929
  • Move Instance API to a new crate shimkit by @jprendes in #930
  • docs: Add troubleshooting guide for runwasi shims by @Mossaka in #900
  • make the engine trait async by @jprendes in #931
  • all: Fix broken links and add GitHub Actions workflow for link checking by @Mossaka in #903
  • chore(deps): bump tempfile from 3.18.0 to 3.19.1 by @dependabot in #941
  • docs: update architecture doc to introduce the containerd-shimkit crate by @Mossaka in #933
  • chore(deps): bump github/codeql-action from 3.28.10 to 3.28.13 by @dependabot in #937
  • chore(deps): bump wat from 1.226.0 to 1.227.1 by @dependabot in #938
  • chore(deps): bump indexmap from 2.7.1 to 2.8.0 by @dependabot in #942
  • chore(deps): bump the patch group with 7 updates by @dependabot in #939
  • Simplify the signature of shim_main by @jprendes in #943
  • Split Engine trait by @jprendes in #936
  • Move shim_main from free function to method in a trait by @jprendes in #944
  • containerd-shim-wasm/changelog: tidy up by @Mossaka in #945
  • fix release pipeline shimkit by @Mossaka in #946
  • release: skip the ownership step if the crate is the initial release by @Mossaka in #947
  • RELEASE: fix the wrong variable name by @Mossaka in #948
  • RELEASE: update condition for crates.io ownership check by @Mossaka in #949
  • shimkit: Update CHANGELOG.md for v0.1.0 release by @Mossaka in #950
  • containerd-shim-wasm: bump version to 1.0.0 and updated CHANGELOG by @Mossaka in #951
  • [chore] Fix clippy on Windows by @jprendes in #952
  • Remove logging macros by @jprendes in #953
  • Update CHANGELOG.md by @Mossaka in #955
  • bump shimkit v0.1.1 by @Mossaka in #956
  • [chore] Fix more clippy on Windows by @jprendes in #958
  • .github/workflows/release: Update crates.io ownership check to use GH actor instead of runwasi committers by @Mossaka in #959
  • Move modules and items around by @jprendes in #957
  • containerd-shim-wasm: bump version to 1.0.0-rc.1 by @Mossaka in #960

Full Changelog: containerd-shim-wasm/v0.10.0...containerd-shim-wasm/v1.0.0-rc.1

containerd-shimkit/v0.1.0

26 Mar 18:44
aee137d

Choose a tag to compare

Added

  • Moved lower level (non wasi/wasm specific) APIs from containerd-shim-wasm to containerd-shimkit. (#930)

containerd-shim-wasm/v0.10.0

05 Mar 23:34
31ad4fb

Choose a tag to compare

Added

  • Support for parsing SystemdCgroup from the containerd config file (#864)\
  • Added more parameters info to the traces (must enable tracing feature) (#853)
  • Added structured logging macros to the crate (#879)

Changed

  • Engine trait now creates a dedicated Zygote process for each container to avoid the issue of libcontainer trying to change the shim process's global state. (#828)
  • Engine trait now uses systemd_cgroup from InstanceConfig to create the container's cgroup instead of hardcoding it to false. (#864)
  • containerd-shim-wasm now uses Rust Edition 2024.
  • Breaking change: The InstanceConfig struct now has public members instead of accessor methods. (#882)
  • Breaking change: Removed the Engine associated type from the Instance trait (#887)
  • Breaking change: The methods of the Instance trait are now async. (#890)
  • Internal refactor: The codebase of containerd-shim-wasm is now mostly asynchronous. (#890)

Removed

  • containerd_shim_wasm::container::PathResolve is now a private module (#837)

Fixed

  • Fixed the issue of not seeing pod metrics #821

Special Thanks

  • Huge thanks to @z63d for fixing the issue where pod-level metrics were not being surfaced. 🎉 #821

New Contributors

  • Welcome @ya0guang 🎉 They made their first contribution in #898

Full ChangeLog

  • feat(ci): run cargo publish --dry-run in CI by @Mossaka in #819
  • .github/workflows: add wasi-demo-app to the publish pipeline by @Mossaka in #733
  • feat(ci): Automatically assign labels to PRs by @Mossaka in #824
  • feat(*): use published images instead of locally built ones by @Mossaka in #820
  • feat(otel): modify the span naming logic by @Mossaka in #822
  • feat(ci): add stress test to CI by @Mossaka in #817
  • feat(otel): add context propogation from containerd to the shim by @Mossaka in #827
  • .github/labeler: add the missing changed-files to containerd-shim-wasm by @Mossaka in #829
  • chore(deps): bump the patch group with 2 updates by @dependabot in #833
  • chore(deps): bump tempfile from 3.15.0 to 3.16.0 by @dependabot in #835
  • chore(deps): bump hyper from 1.5.2 to 1.6.0 by @dependabot in #836
  • chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.7.0 by @dependabot in #832
  • chore(deps): bump anchore/sbom-action from 0.16.0 to 0.18.0 by @dependabot in #831
  • chore(deps): bump wat from 1.223.0 to 1.224.0 by @dependabot in #834
  • chore(deps): bump sigstore/cosign-installer from 3.7.0 to 3.8.0 by @dependabot in #843
  • chore(deps): bump clap from 4.5.27 to 4.5.28 in the patch group by @dependabot in #844
  • chore(deps): bump wasmparser from 0.223.0 to 0.224.0 by @dependabot in #845
  • chore(deps): bump wat from 1.224.0 to 1.225.0 by @dependabot in #846
  • README: add k8s kind and k3s demos by @Mossaka in #838
  • docs: improve the docs for containerd-shim-wasm crate by @Mossaka in #837
  • Use a dedicated zygote process per container by @jprendes in #828
  • change: Rename the image wasi-http to wasi-demo-http by @Mossaka in #840
  • fix: Corrected description of containerd_address from GRPC to ttrpc by @z63d in #850
  • Revert "fix: Corrected description of containerd_address from GRPC to ttrpc" by @z63d in #852
  • .github/workflows/benchmarks: fix the image path by @Mossaka in #851
  • tracing: add parameters info to the trace instead of skipping them by @Mossaka in #853
  • feat(stress-test): add a new stress-test that runs container workload with Containerd by @Mossaka in #830
  • chore(deps): bump tempfile from 3.16.0 to 3.17.1 by @dependabot in #859
  • chore(deps): bump wasmparser from 0.224.0 to 0.225.0 by @dependabot in #858
  • chore(deps): bump the patch group with 3 updates by @dependabot in #857
  • Add stress-test to the benchmark CI by @Mossaka in #855
  • chore: bump rust version to 1.85.0 and edition to 2024 by @Mossaka in #866
  • [stress-test] Add support for native containers by @jprendes in #865
  • docs: add benchmarks document by @Mossaka in #862
  • ci: Add oci and oci-artifact images to stress test by @Mossaka in #861
  • [stress-test] add default arguments for OCI image by @jprendes in #867
  • chore(deps): bump the patch group with 7 updates by @dependabot in #868
  • chore(deps): bump wasmparser from 0.225.0 to 0.226.0 by @dependabot in #870
  • chore(deps): bump wat from 1.225.0 to 1.226.0 by @dependabot in #871
  • [chore] Fix Cargo.lock by @jprendes in #873
  • fix: handling of cgroup driver setting by @z63d in #864
  • Tidy up the changelog by @Mossaka in #874
  • Initial work to add a mdbook documentation style by @dblnz in #856
  • Use async pid fd instead of blocking waitid to wait for a child process to exit by @jprendes in #745
  • chore(deps): bump sigstore/cosign-installer from 3.8.0 to 3.8.1 by @dependabot in #872
  • symlink higher level docs ./docs/src etc by @devigned in #880
  • [docs] Add mermaid preprocessor to book by @jprendes in #881
  • chore: refactor for handling of cgroup driver by @z63d in #876
  • feat: add tests of runtime options by @z63d in #884
  • [chore] Remove some redundant accessor methods by @jprendes in #882
  • Use async for the instance's wait method by @jprendes in #885
  • [CI] pin the k3s version by @jprendes in #888
  • Support for k3s using containerd 2.0 by @z63d in #891
  • [chore] Remove unused engine field by @jprendes in #887
  • chore(deps): bump the patch group with 6 updates by @dependabot in #892
  • chore(deps): bump sha256 from 1.5.0 to 1.6.0 by @dependabot in #894
  • chore(deps): bump bnjbvr/cargo-machete from 0.7.0 to 0.8.0 by @dependabot in #895
  • chore(deps): bump dorny/paths-filter from 2 to 3 by @dependabot in #896
  • change SIGINT to SIGQUIT by @ya0guang in #898
  • docs: improve readability by @Mossaka in #883
  • Further asyncify the codebase by @jprendes in #890
  • sandbox/cli: add logger to the container process by @Mossaka in #878
  • add container ID and pod ID to RuntimeContext and logs by @Mossaka in #879
  • Release containerd-shim-wasm: bump version to 0.10.0 by @Mossaka in #899

containerd-shim-wasm/v0.9.0

28 Jan 22:21
09d2a81

Choose a tag to compare

Added

  • Added test for signal handling issue #755 (#756)

Changed

  • Reuse and synchronise access to Container object instead of reloading form disk (#763)
  • Remove custom stdio redicrection: The run_wasi method doesn't receive the Stdio object anymore, and redirection is done before the method is called (#788)
  • Require Engine generic in Instance to implement Default (#774)
  • The method Instance::new now takes an &InstanceConfig instead of Option<&InstanceConfig> (#774)
  • Bumped containerd-shim to v0.8.0.

Removed

  • Removed containerd_shim_wasm::sandbox::instance_utils::get_instance_root and containerd_shim_wasm::sandbox::instance_utils::instance_exists functions (#763)
  • Removed Engine generic from InstanceConfig (#774)

Fixed

  • Fixed the undefined behavior issue in forked processes (#357) in #775, which decouples the global state of the shim from the state of the container process.
  • Fixed the issue related to signal handlings in containers (#755). The core of the issue was that the use of Tokio signal handlings is shared between the shim and the container process, and this shared state leads to broken signal handling. It was fixed by #775.