Skip to content

Releases: deislabs/wagi-fileserver

v0.6.0: Control browser-side caching

02 Feb 20:28
7627d71
Compare
Choose a tag to compare

Wagi-Fileserver now supports configuring the Cache-Control headers for various media types. For example, you can now pass Wagi -e CSS_CACHE_CONTROL=no-cache to disable browser-side caching of CSS. Read more

Checksum

shasum -a 256 fileserver.gr.wasm 
ffc0d397d7b264fc5041d5cfa33f6ffa95849e6c09ecadb93bb3c99b408a7f49  fileserver.gr.wasm

Change Log

  • Added CACHE_CONTROL env vars to set cache control headers a639c0e (Matt Butcher)

0.5.0: Improved path support

21 Jan 23:53
39eebc0
Compare
Choose a tag to compare

This release makes it easier to work with Hippo by providing a way to do some limited path rewriting.

Changelog

  • Update README.md 5941cef (Matt Butcher)
  • Add support for PATH_REFIX 5c84837 (Matt Butcher)

v0.4.0

09 Dec 19:06
ec6aafd
Compare
Choose a tag to compare

This release updates the internals of Wagi-Fileserver to use newer features introduced by Grain 0.4. Most importantly, HTTP status codes are now correct. When a file is not found, a 404 is returned instead of a 500.

Changelog

  • format tests too! 3a383e7 (Blaine Bublitz)
  • restore some more emojis 4d23760 (Blaine Bublitz)
  • use false pattern match since it does not warn anymore 637385b (Blaine Bublitz)
  • Restore emojis that old grainfmt broke bd95939 (Blaine Bublitz)
  • run grain format 1c94d77 (Blaine Bublitz)
  • Update fileserver 9279f35 (Blaine Bublitz)
  • Add grainfmt task 15e4393 (Blaine Bublitz)
  • Upgrade grain to 0.4.3 d95f293 (Blaine Bublitz)
  • Add graindoc command & gen markdown 8d1b9a3 (Blaine Bublitz)
  • Upgrade workflow to 0.4.2 dffcadd (Blaine Bublitz)
  • Upgrade to Grain 0.4 (w/ comment questions) c1509d8 (Blaine Bublitz)

Support for Wagi 0.3

26 Aug 18:48
af3d878
Compare
Choose a tag to compare

This release updates wagi-fileserver to function properly with Wagi 0.3.0. It is still backward compatible with Wagi 0.2.0.

Changelog

  • fixed path on legacy support for X_RELATIVE_PATH 594c0b0 (Matt Butcher)
  • fixed PATH_INFO problem 18b85da (Matt Butcher)
  • Add an export contract 8da9f7c (Ivan Towlson)
  • Use X_RELATIVE_PATH when available 5ea9186 (Matt Butcher)
  • Actual path in archive 8a94d42 (Radu M)
  • Fix Wasmtime URL f3ef883 (Radu M)
  • Update configurator and add wasmtime 2f01eb8 (Radu M)
  • Just running make test-unit for now 7904bbe (Matt Butcher)
  • actually checkout the code to test. 81f9cca (Matt Butcher)
  • simplify tests b4bcfc1 (Matt Butcher)
  • added path in archive 9e549d7 (Matt Butcher)
  • fixed URL 87417c6 (Matt Butcher)
  • faking extension bfd853d (Matt Butcher)
  • fetch wasmtime f4514f1 (Matt Butcher)
  • add github action 39e6e79 (Matt Butcher)
  • cleaned code, improved docs and tests 31aadc7 (Matt Butcher)
  • fixed bug in lastIndexOf 582861a (Matt Butcher)
  • add standard CoC 2d7b48c (Matt Butcher)
  • add instructions on getting a binary 64baecb (Matt Butcher)

v0.2.0: Initial release

04 Jun 16:35
969f95a
Compare
Choose a tag to compare
Pre-release

This release provides basic support for static file serving in Wagi via Bindle or a modules.toml configuration.

Known issues:

  • There is an upstream change coming in Grain 0.4 that will change error handling on file I/O. But for the present release, the runtime causes a 500 error (instead of a 404) when a file is not found. #1