Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
[0.0.2] - 2026-02-22
Changed
- Replaced
Plack::MIMEwithMIME::Typesfor MIME type lookups. - Replaced
Plack::Util::encode_htmlwithHTML::Escape::escape_htmlfrom theHTML::Escapemodule, removing the dependency onPlackentirely. - Converted
sub file_htmlandsub dir_htmlinWebServer::DirIndex::HTMLfrom class methods (subs) to fields with:reader, making them instance-level read accessors. - Converted
sub standard_cssandsub pretty_cssinWebServer::DirIndex::CSSfrom plain subs to fields with:reader, making them instance-level read accessors. - Updated callers in
WebServer::DirIndex,WebServer::DirIndex::File, and tests to use->new->methodinstead of->methodforWebServer::DirIndex::HTML. - Moved
render()method fromWebServer::DirIndex::HTMLtoWebServer::DirIndex::to_html. - Added
to_html()method toWebServer::DirIndex::Filethat renders a single file entry as an HTML table row (with all fields HTML-escaped). Therender()method inWebServer::DirIndexnow delegates to this method per file.
Added
- New
WebServer::DirIndex::Fileclass to encapsulate directory entry data (url, name, size, mime_type, mtime).
Fixed
- Correct copyright date.
0.0.1 - 2026-02-21
Added
- Initial release of
WebServer::DirIndex,WebServer::DirIndex::HTML, andWebServer::DirIndex::CSS.