Skip to content

Releases: deislabs/wagi

v0.8.1: Bug Fix

10 Mar 16:26
ff730ba
Compare
Choose a tag to compare

This release contains a bug fix for an issue introduced in v0.8.0. The bug prevented binary files from being appropriately served. It is strongly recommended that all users upgrade.

$ shasum -a 256 wagi-v0.8.1-*
5e813b102dcc46ea0be1ae6aaaa84fb73fd4793e8830c6b91dbf67c31f15ae32  wagi-v0.8.1-linux-aarch64.tar.gz
fd1fae6dfdbff26cb077e46bff55d8a744d566a8d5932019366ac6f260a1351f  wagi-v0.8.1-linux-amd64.tar.gz
29d45fb6b0e35b692f4b5775090a8b54e13181c038e1f1e529249be7d53094a4  wagi-v0.8.1-macos-amd64.tar.gz
a6d296f776b51ea47d15d0d40a27e31c3b1ef2fb7be72add221090ce49bce3cc  wagi-v0.8.1-windows-amd64.tar.gz

Changelog

  • release 0.8.1 12fffc7 (Matt Butcher)
  • Add unit test for CRLF and WAT 9809f88 (Matt Butcher)
  • Remove CRs only in headers 65dd458 (Matt Butcher)

v0.8.0: Bug Fixes

09 Mar 20:32
8cff0bf
Compare
Choose a tag to compare

This release fixes two bugs:

  1. When parsing headers returned from a module, Wagi was assuming carriage returns were not included before newlines
  2. A unit test was hitting an endpoint whose behavior has changed, causing tests to fail

The first fix also fixes a bug with (Tiny)Go's net/http/cgi library (which inserts carriage returns).

shasum -a 256 wagi-v0.8.0-*
2d8fbb7478cba8990c4a042cdabe94067e9beb0b9239b2d7a3f939a7fa8f9ca9  wagi-v0.8.0-linux-aarch64.tar.gz
5ab2c8666b0a05e2d9ddc44676df63bd4f8002b997289ae1c6e3f3f31c14ddff  wagi-v0.8.0-linux-amd64.tar.gz
6ca2673b5eac617f79c0093bb5a4afb1358eb161412e76c8669a9c07741eec8a  wagi-v0.8.0-macos-amd64.tar.gz
7c5b5d0d87a49f88dae335198828b731a00c7371f630b0f4dd2760af9cbc89fc  wagi-v0.8.0-windows-amd64.tar.gz

Changelog

  • Release 0.8.0 54bb5c9 (Matt Butcher)
  • Ignore carriage returns in headers 2501e48 (Matt Butcher)
  • Fixed test that is failing because of an expired SSL cert dd131e6 (Matt Butcher)

v0.7.0: New Features & Minor Security Update

07 Mar 22:46
113749e
Compare
Choose a tag to compare

This release includes adding HTTP Basic-auth support for Bindle, adding an argv configuration parameter (for custom arguments), improving logging, internal refactoring, and making it possible to use Wagi as a library.

Security: This also updates Wasmtime to 0.34. Earlier versions of Wasmtime had a security issue, but not one exploitable via Wagi. Still, it is suggested that all users upgrade.

$ shasum -a 256 wagi-v0.7.0-*.tar.gz
903d946e9023696616ebfa48f8f8d3c9955d2931e34c453bc0b55e75edcb9a62  wagi-v0.7.0-linux-aarch64.tar.gz
8fe1976508e34c6cbac5b1a20c81702ca59d0e9e0e1b4d1fb32c7457d791cdfb  wagi-v0.7.0-linux-amd64.tar.gz
20a91819424833533eb26d667c58d23a09971a9a9199404f79d130624a38e051  wagi-v0.7.0-macos-amd64.tar.gz
2a0647929d84a773d9bfe13633e75b7e6251047ddd89d03fe58a58ca8362965c  wagi-v0.7.0-windows-amd64.tar.gz

Changelog

  • undo rustfmt to match current style c156fa1 (Brian Ketelsen)
  • feat: ✨ Add protocol to console output when server starts b063fd2 (Brian Ketelsen)
  • Prepare for release v0.7.0 0c37ad6 (Matt Butcher)
  • feat(*): add support for http basic auth to bindle server (#165) b3d1781 (Vaughn Dice)
  • add 'argv' argument to modules.toml and bindle c5b0385 (Matt Butcher)
  • chore(handlers): Log the body of the response on parsing error 899ad66 (Adam Reese)
  • chore: update Wasmtime to v0.34 4c8785d (Radu Matei)
  • Export the handlers and http_util modules b9c8192 (Radu Matei)
  • Format cide changes fea1835 (itowlson)
  • We can make the remote module resolver private to the loader pipeline too 2dcbb3a (itowlson)
  • Tidy and unpublic some bits f589326 (itowlson)
  • Slim down surface of loader system 2d42e58 (itowlson)
  • Checkpoint of encapsulating the loading stuff 4a83813 (itowlson)
  • Start to encapsulate the whole handler loading workflow aa56998 (itowlson)
  • Split metadata for easier mapping 83dec78 (itowlson)
  • Identify failed module in compile errors dbf39e6 (itowlson)
  • Move compilation out of the routing table e5060e2 (itowlson)
  • Move destructuring into the module wrapper type c9ca306 (itowlson)
  • Cleans grunkibles with fire abd4a84 (itowlson)
  • Unify config methods before we get to the dispatcher 079781f (itowlson)

Performance Improvements (and a re-re-release)

02 Feb 20:36
9fd2de6
Compare
Choose a tag to compare

After doing load analysis, we discovered a performance bottleneck. Version 0.6 fixes this bottleneck. See the release notes for 0.5 to catch up on other recent changes.

Acting as release manager, I (@technosophos ) have been having a little difficulty getting the release cut properly. 0.6.2 is the same as 0.6.1 and 0.6.0 except that it has the correct version number set in all the places.

Checksums

Generated on macOS with shasum:

shasum -a 256 *.tar.gz
1b8f53ee43b33cd3c3a79234c1a236f90c91f892bca1f267c86cf9b14da0fbc4  wagi-v0.6.2-linux-aarch64.tar.gz
232d623e8cd9c5b72e2b76d0668eda0049edbe18f7bb5d6d5f979da2e69d1738  wagi-v0.6.2-linux-amd64.tar.gz
8f594180205a13e31340942f116cf144f3a1d972c868f0426b3668cbc4239947  wagi-v0.6.2-macos-amd64.tar.gz
7605e21c970b8679ee3d16775129611dcc2297b937af33b041f9bd75fc2d7fd8  wagi-v0.6.2-windows-amd64.tar.gz

Change Log

  • Bump versions to 0.6.2 a909269 (Matt Butcher)
  • Release 0.6.1 88b2376 (Matt Butcher)
  • Load modules at startup, and clone per request cb1b830 (Matt Butcher)
  • ref(*): update bindle dependency and usage fa13832 (Vaughn Dice)
  • Add debugging to surface bottlenecks and performance issues 1a0e17f (Matt Butcher)
  • fix(CI): update git ref to check for main bc7c249 (Radu Matei)

Performance Improvements (Re-release)

02 Feb 16:37
049397d
Compare
Choose a tag to compare

After doing load analysis, we discovered a performance bottleneck. Version 0.6 fixes this bottleneck. See the release notes for 0.5 to catch up on other recent changes.

This is a corrected release of 0.6.0, whose assets were still incorrectly versioned 0.5.0.

Checksums

Generated on macOS with shasum:

shasum -a 256 *.tar.gz
7e6ef9078d96539ea5314b75d64325dfee2aa1c306579533a19fa329af1e0cb4  wagi-v0.6.1-linux-aarch64.tar.gz
dd8200b9269798d07496761536c0111d15425b08a8d89e49ddac8c926fcebda2  wagi-v0.6.1-linux-amd64.tar.gz
a7f98dc116dbce43dda00a690b9743924671904d9d282359dfbb877b0fb74afd  wagi-v0.6.1-macos-amd64.tar.gz
c9898d1015fac70781444a320a04b7f34be66ee4cf972cbb84daeaf5b21bda20  wagi-v0.6.1-windows-amd64.tar.gz

Change Log

  • Release 0.6.1 88b2376 (Matt Butcher)
  • Load modules at startup, and clone per request cb1b830 (Matt Butcher)
  • ref(*): update bindle dependency and usage fa13832 (Vaughn Dice)
  • Add debugging to surface bottlenecks and performance issues 1a0e17f (Matt Butcher)
  • fix(CI): update git ref to check for main bc7c249 (Radu Matei)

Wagi v0.5.0

31 Jan 17:48
6b9ac85
Compare
Choose a tag to compare

Wagi v0.5.0

This release brings a handful of bug fixes and dependency updates, as well as some refactors.

In addition, some new wasm functionality has been enabled, such as multi-memory and module linking.

Lastly, we are now including Linux ARM64/aarch64 binaries in our release assets. Enjoy!

Checksums

$ shasum -a 256 *.tar.gz
6103566ec5f34e0e004e52d78b68fd308aa5ba02c74372d59c1e329987d387d6  wagi-v0.5.0-linux-aarch64.tar.gz
2cd7450e6e628467ba5f972048fe3b4c27baa0fcadda76f4891aec423a7ae1c2  wagi-v0.5.0-linux-amd64.tar.gz
ce26eddaf8852053c950b998c608289001b5e36ddf0cf880f83b7a209ef6ef33  wagi-v0.5.0-macos-amd64.tar.gz
c13fbc0263175a55c031b9cd6704f739600cd09a4ddc01a5b01b336a517deb12  wagi-v0.5.0-windows-amd64.tar.gz

Changelog

  • chore(*): bump version to 0.5.0 caf7b46
  • remove unused target field in matrix 4fb7dfd
  • ci(release.yaml): add cross-compiled aarch64 config 0b1dc24
  • upgrade wasmtime 0.33 and experimental HTTP 0.8 271fc45
  • Include source code for HTTP example (#145) 7c0f6d3
  • Docs for new flag behaviour 8d7d511
  • Rationalise Wasm module source options cc7005a (itowlson)
  • Centralise Wasm linking and instantiation (#143) c51263b (itowlson)
  • Fix dispatcher not linking the HTTP library (#142) f941887 (Radu Matei)
  • Change use Bindle ID in help text 8cd7a59 (Adam Reese)
  • Fix spurious log on no assets (#133) d69ffd3 (itowlson)
  • feat: enable multi memory and module linking 045194a (Radu Matei)
  • fix(docs): fix spelling bath -> path ... bath is better tho a987858 (Michelle Noorali)
  • chore: update wasi-experimental-http-wasmtime c33accd (Radu Matei)
  • fix(docs): fix typo Fo -> For ec14e45 (Michelle Noorali)
  • Update Wasmtime to v0.31 fb9d160 (Radu Matei)
  • Fixed failed match when parent and dynamic both had slashes. Fixed /foo/... matching /foobar (blush) (#129) 3486d99 (itowlson)
  • Placate Clippy (#126) abecd21 (itowlson)
  • Major refactoring (#125) c48bdd6 (itowlson)

Security release

20 Sep 22:29
9abecad
Compare
Choose a tag to compare

This release updates to Wasmtime 0.3 and updates other Wasmtime-dependent dependencies.

Wasmtime 0.3 released a security patch (CVE 2021-39218). Wagi depends on Wasmtime, and is thus impacted by the issue. This release updates to the recently patched Wasmtime, and also updates additional dependencies.

All uses should update to Wagi 0.4.0.

shasum wagi-v0.4.0-*
91767bc21d6f9c9b5d8a9bd109b106775975c414  wagi-v0.4.0-linux-amd64.tar.gz
10bbcd1f7f1d369d2b3cf9b387cb71f84e9a9912  wagi-v0.4.0-macos-amd64.tar.gz
3752a10812585f31ced8e97fea9843d368def602  wagi-v0.4.0-windows-amd64.tar.gz

NOTE

The License for Wagi has been changed from MIT to Apache 2. This reflects our recent position that all code targeted for organizational donation (e.g. to Bytecode Alliance, Linux Foundation, or CNCF) should be licensed under Apache 2.

Changelog

  • Change version to 0.4.0 23efb4b (Radu M)
  • Update wasi-experimental-http-wasmtime crate to latest published version cdf4acc (Radu M)
  • Update wasi-experimental-http crate 1ea8d9d (Radu M)
  • Update Wasmtime to v0.30 db2fcf4 (Radu M)
  • Update license to Apache v2 4800e06 (Radu M)
  • Fetch credentials for priv registry if exists 6050e7e (Nitish Malhotra)

Wagi v0.3, now even MORE like CGI!

26 Aug 19:29
59d1b97
Compare
Choose a tag to compare

This release fixes a number of bugs in the CGI implementation, and also refactors some of the internals to be more manageable.

It is recommended that all Wagi users upgrade.

Checksums

$ shasum *.tar.gz
6a79d8e1c34295e367a85b263ed63c2259197a8b  wagi-v0.3.0-linux-amd64.tar.gz
c516bfd79d29c0ef14d52dc017c12e75460327ee  wagi-v0.3.0-macos-amd64.tar.gz
72e15a43f5d4eeec9fc345a439a65dd5977c44e2  wagi-v0.3.0-windows-amd64.tar.gz

Changelog

  • Fixe PATH_TRANSLATED and PATH_INFO 47b368d (Matt Butcher)
  • in the fray, I forgot to fix the initial bug with SCRIPT_NAME. 88e8053 (Matt Butcher)
  • fixes to bring this up to CGI/1.1 specification beaf6e2 (Matt Butcher)
  • fix SCRIPT_NAME to not disclose location on disk cca9620 (Matt Butcher)
  • Fixed SERVER_PROTOCOL to return HTTP version 4904f77 (Matt Butcher)
  • Nitishm/enhancement/42/module config concurrency param (#107) b0e3402 (Nitish Malhotra)
  • Address review comments 10301fa (Nitish Malhotra)
  • fix(examples): Fixes example bindle invoice dece80c (Taylor Thomas)
  • Add .vscode config dirs to gitignore 6a2547f (Nitish Malhotra)
  • Cleanup comments based on review 82cdd26 (Nitish Malhotra)
  • Switch from ctor to inline instantiation 788a3e0 (Nitish Malhotra)
  • Rename ModuleInfo to RouterInfo b3765f8 (Nitish Malhotra)
  • Created a moduleinfo struct to shorten execute signature/params 65bd275 (Nitish Malhotra)
  • Fix typo in --bindle-path help text (#105) f97c804 (itowlson)
  • revert PR 97 and add some inline docs b64cbcf (Matt Butcher)
  • Updated a bunch of things related to WAGI releases 2f3c199 (Matt Butcher)
  • Bumped version to 0.2.0 346e674 (Matt Butcher)

Wagi Runtime for WebAssembly

08 Jul 19:42
4711a3a
Compare
Choose a tag to compare

This release is the first binary release of Wagi.

Installing

The binary releases for Wagi are located at the bottom of this page. For installation instructions, see the installation guide

All checksums were generated on macOS with the command shasum *.tar.gz

ad4114b2ed9e510a8c24348d5ea544da55c685f5  wagi-v0.2.0-linux-amd64.tar.gz
463a60c5056b20eb8c82263560e05261e360e1d1  wagi-v0.2.0-macos-amd64.tar.gz
c8711f2c9464f6acc8a2175b2c0c219f0dee3ef2  wagi-v0.2.0-windows-amd64.tar.gz

Using as a Crate

This release does not support crate-based usage of Wagi.

Caveats

Wagi is considered pre-production, and should not be used in a production environment. Likewise, APIs, file formats, and protocols are subject to change between now and 1.0.0-beta.1.

Major Features

  • CGI/1.1 support
  • Bindle support
  • OCI registry support
  • Custom environment variables and hostname
  • Wasm caching

Bug Fixes

Bug fixes are not reported for this first version

Known Issues/Missing Features

  • The binary client may report itself to be 0.1.0
  • There is a known but un-diagnosed issue in which starting many Wagi instances on Windows can cause some instances to hang, contending for a port.

Breaking Changes

  • Many features from the unreleased 0.1.0, including virtual hosting, were removed or refactored out
  • modules.toml is different from the unreleased 0.1.0 version
  • Environment variables can no longer be specified in modules.toml

What's Next?

Wagi is rapidly evolving. Our next milestone is for cleanup and bugfixing.