Skip to content

containerd-shim-wasm/v0.10.0

Choose a tag to compare

@github-actions github-actions released this 05 Mar 23:34
· 182 commits to main since this release
31ad4fb

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