A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
This new v2.23.0
release brings several dependency updates and bug fixes. New features like multiple index files and maintenance mode support, more performance and resource optimizations (~15% less memory usage), a bug fix for the JSON directory listing, documentation for using SWS in WebAssembly and TrueNAS SCALE as well as other improvements.
Fixes
Features
Refactorings
Docs
Acknowledgments
Thanks to our new donor @kirillt for supporting the project.
This new v2.22.1
release brings several dependency updates and bug fixes. In particular, it fixes an issue when capturing glob groups for URL Rewrites and Redirects.
Fixes
/dir/{*}
correctly. PR #265 resolves #264 reported by @clembu.This new v2.22.0
release brings several dependency updates and bug fixes. It fixes a performance regression leading to better RAM utilization (~28% less) in comparison to the previous releases with a slight req/sec increase, a new Illumos x86_64 target, as well as improved responsiveness of the directory listing HTML page for mobile and desktop screens.
Fixes
Features
Refactorings
cache-control
.This new v2.21.1
release brings several security dependency updates. In particular for serde_derive
and rustls-webpki
dependencies.
We encourage users to upgrade as soon as possible.
Fixes
serde_derive
: potential supply chain attack associated with shipping precompiled binaries (silently) serde-rs/serde#2538rustls-webpki
: potential CPU denial of service in certificate path building GHSA-fh2r-99q2-6mmgThis new v2.21.0
release brings several dependency updates and bug fixes, a new NetBSD x86_64 target, Virtual Hosting support, and other improvements.
Fixes
Features
x86_64-unknown-netbsd
).Docs
This new v2.20.2
release brings several dependency updates and bug fixes. Also, it fixes a regression in Windows introduced by the previous v2.20.1 release.
Fixes
Refactorings
This new v2.20.1
release brings several dependency updates and bug fixes. In particular, one fix for a regression introduced by the previous v2.20.0 release as well as other improvements.
Fixes
3.17.4
.Refactorings
This new v2.20.0
release brings several dependency updates and bug fixes, advanced features like Glob pattern replacements for URL Redirects and Rewrites, a new health-check endpoint, GitHub Container Registry (GHCR) Docker images as well as other improvements.
Fixes
Features
Refactorings
Docs
Acknowledgments
Thanks to our new donor @kirillt for supporting the project.
This new v2.19.0
release brings several dependency updates/bug fixes (including minor versions), a new Debian 12 "bookworm" Docker image, more Cargo features for controlling the SWS feature set when building, bug fixes for the SWS crate and one regression for the fallback-page
feature, documentation for cross-compiling SWS from source using Zig as a linker as well as other improvements.
Fixes
fallback-page
when passing no CLI or env value. PR #219 fixes #218 reported by @OdyX.Features
directory-listing
Cargo feature. PR #220. See docs.basic-auth
Cargo feature. PR #221. See docs.fallback-page
Cargo feature. PR #222. See docs.Refactorings
docsrs
config flag.Docs
This new v2.18.0
release brings several dependency updates/bug fixes, SWS bug fixes for the security-headers
and page-fallback
features, the C runtime in Windows x86_64 is now statically linked, the possibility to use CLI boolean flags without explicit values as well as some refactorings and improvements.
Fixes
security-headers
not enabled by default when using http2
via config file. PR #216 fixes #210 resported by @mac-chaffee.X-XSS-Protection
header on security-headers
(also d5279ff). Reported on #213 by @picchietti.page-fallback
is enabled. Reported on #213 by @picchietti.
The following SWS modules are now used when page-fallback
feature is activated:
cors
compression
cache_control_headers
security_headers
custom_headers
Features
static-web-server -d public/ --compression -z
). PR #215 resolves #209 suggested by @mac-chaffee.Refactorings
VCRUNTIME140.dll
.cargo build
across pipelines.Acknowledgments
Thanks to our new donor @picchietti for supporting the project.