Releases: containerd/runwasi
Releases · containerd/runwasi
containerd-shim-wasmtime/v0.6.0
Merge pull request #978 from Mossaka/batch-bump chore: batch bump minor version of shim binaries
containerd-shim-wasmer/v0.6.0
Merge pull request #978 from Mossaka/batch-bump chore: batch bump minor version of shim binaries
containerd-shim-wasmedge/v0.6.0
Merge pull request #978 from Mossaka/batch-bump chore: batch bump minor version of shim binaries
containerd-shim-wamr/v0.2.0
Merge pull request #978 from Mossaka/batch-bump chore: batch bump minor version of shim binaries
containerd-shim-wasm/v1.0.0
Changed
containerd_shim_wasm::sandbox::shim::Cli->containerd_shim_wasm::sandbox::shim::Shimand it is no longer public, because this was not intended to be used by users of the crate.- Breaking change: All methods in the
Enginetrait (exceptnameandsupported_layers_types) are now async. (#931) - The
Enginetrait is now being split intoShim,SandboxandCompilertraits. (#936) - The
containermodule is renamed toshimmodule. (#936) - The
Instancetrait is moved to thecontainerd_shimkitcrate, which has it's own changelog, version and README. (#930) - Reorganized types, traits and macros in more meaningful modules. (#957)
Configis now locally defined instead of re-exported, and doesn't expose theno_reaperorno_sub_reaperoptions. (#957)
Removed
- Removed the
shim_mainfunction. UseShimCli::runtrait method instead. (#944 and #943) - The
with_leasemacro,otelmodule andinstance_utilsmodule 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
RuntimeContextthe methods:platform,pod_id, andcontainer_id. (#971)
Full Changelog: containerd-shim-wasm/v0.10.0...containerd-shim-wasm/v1.0.0
containerd-shimkit/v0.1.1
Added
- Added
containerd_shimkit::set_logger_kvto 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
Changed
containerd_shim_wasm::sandbox::shim::Cli->containerd_shim_wasm::sandbox::shim::Shimand it is no longer public, because this was not intended to be used by users of the crate.- Breaking change: All methods in the
Enginetrait (exceptnameandsupported_layers_types) are now async. (#931) - The
Enginetrait is now being split intoShim,SandboxandCompilertraits. (#936) - The
containermodule is renamed toshimmodule. (#936) - The
Instancetrait is moved to thecontainerd_shimkitcrate, which has it's own changelog, version and README. (#930) - Reorganized types, traits and macros in more meaningful modules. (#957)
Configis now locally defined instead of re-exported, and doesn't expose theno_reaperorno_sub_reaperoptions. (#957)
Removed
- Removed the
shim_mainfunction. UseShimCli::runtrait method instead. (#944 and #943) - The
with_leasemacro,otelmodule andinstance_utilsmodule 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::cliis 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
InstanceAPI to a new crateshimkitby @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-shimkitcrate 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_mainby @jprendes in #943 - Split Engine trait by @jprendes in #936
- Move
shim_mainfrom 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
Added
- Moved lower level (non wasi/wasm specific) APIs from
containerd-shim-wasmtocontainerd-shimkit. (#930)
containerd-shim-wasm/v0.10.0
Added
- Support for parsing SystemdCgroup from the containerd config file (#864)\
- Added more parameters info to the traces (must enable
tracingfeature) (#853) - Added structured logging macros to the crate (#879)
Changed
Enginetrait 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)Enginetrait now usessystemd_cgroupfromInstanceConfigto create the container's cgroup instead of hardcoding it tofalse. (#864)containerd-shim-wasmnow uses Rust Edition 2024.- Breaking change: The
InstanceConfigstruct now has public members instead of accessor methods. (#882) - Breaking change: Removed the
Engineassociated type from theInstancetrait (#887) - Breaking change: The methods of the
Instancetrait are now async. (#890) - Internal refactor: The codebase of containerd-shim-wasm is now mostly asynchronous. (#890)
Removed
containerd_shim_wasm::container::PathResolveis now a private module (#837)
Fixed
- Fixed the issue of not seeing pod metrics #821
Special Thanks
New Contributors
Full ChangeLog
- feat(ci): run
cargo publish --dry-runin 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
SIGINTtoSIGQUITby @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
Added
Changed
- Reuse and synchronise access to
Containerobject instead of reloading form disk (#763) - Remove custom stdio redicrection: The
run_wasimethod doesn't receive theStdioobject anymore, and redirection is done before the method is called (#788) - Require
Enginegeneric inInstanceto implementDefault(#774) - The method
Instance::newnow takes an&InstanceConfiginstead ofOption<&InstanceConfig>(#774) - Bumped containerd-shim to v0.8.0.
Removed
- Removed
containerd_shim_wasm::sandbox::instance_utils::get_instance_rootandcontainerd_shim_wasm::sandbox::instance_utils::instance_existsfunctions (#763) - Removed
Enginegeneric fromInstanceConfig(#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.