CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 98
Releases: static-web-server/static-web-server
v2.37.0
Compare
This new v2.37.0
release brings several security and bug fixes. New features like the possibility to download directories as tarballs, better control for server log ANSI output, end of support for a few unmaintained Windows platforms and other improvements.
End of support for unmaintained Windows 7, 8, 8.1 platforms
As anticipated in v2.36.1, SWS no longer supports Windows 7, 8, and 8.1 platforms. SWS now requires Rust 1.82.0
or later to build, and the minimum supported Windows platform is Windows 10.
Cargo experimental feature restored
The Cargo experimental
feature is part of the binary release again (v2.37.0
and future releases).
Fixes
- b56e3c4 Bugfix/security dependency updates including tokio, rustls, chrono, flate2, windows-service, serde and other crates. SWS now requires Rust
1.82.0
or later to build. PR #546, #545 by @joseluisq - a384d92 Update Alpine
3.20.6
and Debian12.10
Docker images. PR #539 by @joseluisq - cb19995 Generic server log info output even on higher log levels. PR #542 by @joseluisq fixes #541 reported by @Tasssadar.
Features
- 89f5846 Support for downloading a directory as a compressed tarball (
tar.gz
) via the new--directory-listing-download=targz
option. PR #544 by @ekangmonyet resolves #67 suggested by @shirshak55. See docs. - 0236980 Control log ANSI output via new boolean
--log-with-ansi=true
option (SWS is now no-ANSI by default). PR #543 resolves #540 suggested by @Tasssadar. See docs.
Refactorings
- Misc: 5d1eaac Automate post-release updates using CI. PR #538 by @joseluisq
For more details see the v2.37.0 milestone and the full changelog v2.36.1...v2.37.0.
Acknowledgments
Thanks to our new donor @mrkesu for supporting the project.
Assets 25
- sha256:70b9213806e8210d2fd49485a06f16c7f9e6aeeacb2ea12d0b31154ef7cc378f
2025-06-03T20:48:14Z - sha256:6669568b2bddadda1037347d8f391d0ca2ffd9dbd6b219ee68ea7a2f684b6ab5
2025-06-03T20:50:11Z - sha256:8a4fafb301e38a95f9c83935571218d5980976928650fb33d92892e75c335ae2
2025-06-03T20:53:11Z - sha256:d0a0adaaf2532c9e66da9be15b2914d13ae7ce8435dd532c7df4bc5a5cbb3aa1
2025-06-03T20:48:26Z - sha256:900f64758807cb30a665597793828f578648ae24aa7b86b60e7cea769cc6ef03
2025-06-03T20:49:19Z - sha256:953209c46d3459ac419b8b2e75d975e60763b59dff72f38acf4849a5ed350e45
2025-06-03T20:48:35Z - sha256:85a4ce98b9e1bdd5d4a5d84df981b86fedbc67b6010ffdb6b0fb20ffce86cb76
2025-06-03T20:48:40Z - sha256:fa60ba4658fe7ec5c02c993f9ccc40149a125821b12d0359caaf8dccc172478b
2025-06-03T20:48:39Z - sha256:0c27cd37c4facbccf5b004d1bc30788ab7493b813cefe17ef503f3d76b0337d0
2025-06-03T20:50:53Z - sha256:932f0b91761fdac9635a61a1ae13bd070aeb33be4633736b4f48f8794cec290e
2025-06-03T20:52:26Z -
2025-06-03T20:44:29Z -
2025-06-03T20:44:29Z - Loading
v2.36.1
Compare
This new v2.36.1
release brings several security and bug fixes and is the last version supporting legacy Windows 7, 8, 8.1 platforms.
Security patch for RUSTSEC-2024-0437
This release temporarily removes the experimental
Cargo feature from the resulting static-web-server
binary (but not the Cargo feature itself) to prevent shipping the security vulnerability (RUSTSEC-2024-0437
#530) in this release.
The experimental
Cargo feature (that includes experimental features like metrics and in-memory cache) will be restored to be part of the binary again in the next release.
End support for unmaintained Windows 7, 8, 8.1 platforms
As we mentioned a year ago (#447), SWS would not continue supporting legacy Windows 7, 8, and 8.1 platforms for so long as Microsoft stopped support for Windows 7 in 2020 and Rust requires Windows 10 as the minimum supported platform since 1.78.
Today, we announce that v2.36.1
is the last release supporting such legacy platforms and having Rust 1.76.0
as MSRV.
Future releases will bump up the MSRV when convenient and will require Windows 10 as the minimum supported platform.
However, although we will try to provide a patch for users wanting to build SWS manually for those legacy platforms in the future, we cannot fully guarantee that SWS will continue building for the aforementioned platforms.
Fixes
- ad4c171 Bugfix/security dependency updates including tokio, httparse, ring, rustls, bytes, serde and other crates. PR #532.
- 5fbd0c5 CORS: Add missing
Origin
to theVary
header value when CORS feature is enabled. PR #534 resolves #533 reported by @rbozan.
For more details see the v2.36.1 milestone and the full changelog v2.36.0...v2.36.1.
Assets 25
v2.36.0
Compare
This new v2.36.0
release brings several security and bug fixes. A bugfix for the trailing slash redirect, a new feature to log from the X-Real-IP
HTTP header as well as other improvements.
Fixes
- aadca81 Bugfix/security dependency updates including httparse, rustls, clap, bcrypt, maud, bytes and other crates. PR #524.
- 99aa74d Docker: Update Alpine (
3.19.6
) and Debian (12.9
) Docker images. PR #518. - a639039 Add missing query string to the URI trailing slash redirect. PR #523.
Features
Refactorings
- 8fa9cda Improve fallback page path checking and logging. PR #522.
- 0053d74 CI: Improve post-release updates workflow. PR #525.
For more details see the v2.36.0 milestone and the full changelog v2.35.0...v2.36.0.
Assets 25
v2.35.0
82c5483
Compare
This new v2.35.0
release brings several security and bug fixes. A bugfix for the directory listing, new development Docker images as well as other improvements.
Fixes
- c236674 Bugfix/security dependency updates including hyper, tokio, rustls, glob, serde, time and other crates. PR #515.
- 206900b Directory listing HTML content outside of body tag. PR #511 by @alxv-su.
- 35bb607 CI: NetBSD 9.2 broken source link used by cross CI cross-compiling tool. PR #513
Features
- b46a7a0 Docker: Development Docker images based on
master
branch changes. PR #512 by @joseluisq and co-authored by @mschoettle. See docs.
Refactorings
Docs
For more details see the v2.35.0 milestone and the full changelog v2.34.0...v2.35.0.
Acknowledgments
Thanks to our new donor @thumbert for supporting the project.
Assets 25
v2.34.0
49cd6e6
Compare
This new v2.34.0
release brings several security and bug fixes. Better X-Forwarded-For
handling and other improvements.
Breaking
- URL Redirects/Rewrites: Single Glob wildcard (
*
) will no longer match a path separator (/
) insource
but double wildcard (**
) can be used instead if wanted. See docs below. - Log Remote Address:
log-remote-address
option will no longer log from theX-Forwarded-For
header by default. It has to be opted-in together with the newlog-forwarded-for
option. See docs below.
Fixes
- 93479ba Bugfix/security dependency updates including tokio, rustls, regex, tracing, flate2, serde, async-compression and other crates. PR #502.
- 4ed4bb4 Docker: Update Alpine (3.19.4) and Debian (12.8) Docker images. PR #505.
- 0768c20 CI: Update deprecated
macos-12
Github Actions runner tomacos-14
.
Features
- 13e3f38 Better
X-Forwarded-For
handling via the newlog-forwarded-for
andtrusted-proxies
options. PR #495 by @Jeidnx. See docs.
Refactorings
- 96ed7df breaking: Prevent single Glob wildcard (
*
) from matching a path separator (/
) in URL Redirect'ssource
. PR #501 by @mschoettle. See docs. - 2737f4c breaking: Prevent single Glob wildcard (
*
) from matching a path separator (/
) in URL Rewrite'ssource
. PR #506 by @mschoettle. See docs. - 5516b6a Misc: Improve tests for URL Redirects feature. PR #503 by @mschoettle.
Docs
- e1a73c0 Add contributing, code of conduct and code guidelines pages.
- 12387a8 Improve docs configuration and fix some anchor links. PR #504 by @mschoettle. See docs.
- cd11bd6 Replace the deprecated TrueNAS Scale option with TrueCharts. PR #486 by @ctag. See docs.
For more details see the v2.34.0 milestone and the full changelog v2.33.1...v2.34.0.
Assets 25
v2.33.1
f102212
Compare
This new v2.33.1
release brings several security and bug fixes as well as other minor improvements.
Fixes
- 93479ba Bugfix/security dependency updates including hyper, tokio, httparse, rustls, regex, once_cell, flate2, async-compression and other crates. PR #490.
Refactorings
Docs
- 30a6409 Minor tweaks to
man-pages-completions.md
page.
For more details see the v2.33.1 milestone and the full changelog v2.33.0...v2.33.1.
Assets 25
v2.33.0
e6a3487
Compare
This new v2.33.0
release brings several security and bug fixes. New features like experimental in-memory files cache with eviction policy support, new subcommand to generate man pages and shell completions as well as other improvements.
Note that experimental features are subject to change in future releases. Feel free to give it a try and let us know your feedback.
Fixes
- e25b586 Bugfix/security dependency updates including tokio, rustls, serde, toml, once_cell, flate2, clap and other crates. PR #479.
- a3d40b8 Crate: Issues when building SWS without default features. PR #480.
- 6bb6138 Docker: Update Alpine (
3.18.9
) and Debian (12.7
) Docker images. PR #478.
Features
- 5bdfcd4 Advanced: Experimental in-memory files cache with eviction policy support via a new advanced config option. See PR #328 description for usage and details.
- ec85abd Crate: Add in-memory files cache to the experimental Cargo feature. See PR #482 description for more details.
- MSRV update: Note that due to this change, the SWS's Minimum Supported Rust Version is now 1.76.0 when building from source or using it as a library. See docs.
- d567b4e CLI: Support for generating man pages and shell completions via new
generate
subcomand. PR #475 by @jcgruenhage. See docs.
For more details see the v2.33.0 milestone and the full changelog v2.32.2...v2.33.0.
Acknowledgments
Thanks to our new donor @ramkumarkb for supporting the project.
Assets 25
v2.32.2
e61c97e
Compare
This new v2.32.2
release brings several security and bug fixes as well as other improvements.
Fixes
- 634dd98 Bugfix/security dependency updates including tokio, rustls, serde, toml, zstd, clap and other crates. PR #472.
- a72c7b3 Wrong
Content-Encoding
when serving a pre-compressed file ifcompression
andcompression-static
features are enabled. PR #471 fixes #470 reported by @davinkevin. - dd48972 CLI (regression): Boolean flags without explicit values do not work. PR #468 fixes #467 reported by @stardustman.
- 915d040 Tests: Not able to run tests via Cargo when passing non-SWS arguments. PR #466 fixes #465 reported by @fpletz.
Refactorings
- f228a7a Misc: Add a Make task for building all development Docker images.
For more details see the v2.32.2 milestone and the full changelog v2.32.1...v2.32.2.
Assets 25
v2.32.1
97da457
Compare
This new v2.32.1
release brings several security and bug fixes as well as other improvements.
Fixes
- cfa3567 Bugfix/security dependency updates including hyper, tokio, rustls, jemallocator, url, zstd, toml, mime_guess and other crates. PR #463.
- 87ce30d Docker: Update Debian Docker images to 12.6. PR #461.
- 057239d Docker: Update Alpine Docker images to 3.18.7. PR #459.
Refactorings
- b3fad98 CI: Remove deprecated bors and improve devel workflow. PR #458.
- e64076c CI: Improve typos workflow configuration. PR #456 by @szepeviktor.
- 4c805d6 Remove some redundant async function signatures. PR #457.
Docs
For more details see the v2.32.1 milestone and the full changelog v2.32.0...v2.32.1.
Assets 25
v2.32.0
216e485
Compare
This new v2.32.0
release brings several bug fixes and a new option to disable symlinks as well as other improvements.
Fixes
- cd5fa1b Bugfix/security dependency updates including hyper, tokio, regex, serde, httparse and other crates (also c227302, 6713932).
- 6031a1b Incorrect
Content-Encoding
for pre-compressed Zstd file requests. PR #452 fixes #451 reported by @nomeaning777. - 3410365 Duplicated
Vary
response header forcompression
andcompression-static
features. PR #453.
Features
- eeb88da Disable symlinks via the new
--disable-symlinks
option. PR #454. See docs. - b291189 Installer: Custom install version and directory options for binary installer. PR #449 by @frankli0324. See docs.
Docs
For more details see the v2.32.0 milestone and the full changelog v2.31.1...v2.32.0.