Releases: palant/pingora-utils
v0.2.0
💥 BREAKING CHANGES
-
due to
f0b82e1
- Introduced Virtual Hosts Module implementing per-host handler configuration (commit by @palant):Calling
StaticFilesHandler::new()
andStaticFilesHandler::handle()
now requires themodule_utils::RequestFilter
trait to be in scope.StaticFilesHandler::handle()
now takes the context as an additional (unused) parameter. -
due to
a66fdc6
- If no root is configured, disable the module (commit by @palant):StaticFilesConf.root
is anOption<PathBuf>
, no longerPathBuf
-
due to
062126e
- Do not respond with 404 when not configured, ignore request instead (commit by @palant):With default configuration, Static Files Module will leave all requests unhandled
✨ New Features
8e98035
- module-utils: AddedFromYaml
trait to simplify extending Pingora configuration files (commit by @palant)dfa1933
- module-utils: Addedmerge_opt
andmerge_conf
macros, simplifying extending configuration structures (commit by @palant)f0b82e1
- virtual-hosts-module: Introduced Virtual Hosts Module implementing per-host handler configuration (commit by @palant)fda9c11
- compression-module: Added Compression Module to simplify configuration of Pingora's compression (commit by @palant)bc57d8e
- upstream-module: Added Upstream Module to help configure upstream connections (commit by @palant)a66fdc6
- static-files-module: If no root is configured, disable the module (commit by @palant)d591bfe
- virtual-hosts-module: Added per-directory configurations (commit by @palant)
🐛 Bug Fixes
♻️ Refactors
cb093fd
- module-utils: Removed unnecessary type qualifier (commit by @palant)761229d
- module-utils: Renamedpingora-utils-core
crate intomodule-utils
(commit by @palant)a16fc2f
- module-utils: Somewhat hardened macros against namespace collisions (commit by @palant)0d302da
- module-utils: Turned macros into procedural macros (commit by @palant)062126e
- static-files-module: Do not respond with 404 when not configured, ignore request instead (commit by @palant)
🔧 Chores
v0.1.0
This is the initial release. It includes Static Files Module with the following functionality:
GET
andHEAD
requests- Configurable directory index files (
index.html
by default) - Page configurable to display on 404 Not Found errors instead of the standard error page
- Conditional requests via
If-Modified-Since
,If-Unmodified-Since
,If-Match
,If-None
match HTTP headers - Byte range requests via
Range
andIf-Range
HTTP headers - Compression support: serving pre-compressed versions of the files (gzip, zlib deflate, compress, Brotli, Zstandard algorithms supported)
- Compression support: dynamic compression via Pingora (currently gzip, Brotli and Zstandard algorithms supported)