diff --git a/CHANGELOG.md b/CHANGELOG.md index f5c7be1..4d13fc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.0] - 2026-01-25 + +### Added + +- Shared HTML footer template injected into all pages. +- Structured log file handler with rotation, append-only writes, and stats parsing support. +- Upload size guard using `MAX_ASSET_SIZE_BYTES`. +- Unit tests for core storage and rate limiting behavior. + +### Changed + +- Asset storage cleanup and capacity checks are now race-safe. +- Stats aggregation now reads from the structured log file helper. + ## [1.0.1] - 2026-01-16 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index da8c4b6..5e2de90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,7 @@ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "black_hole_share" -version = "1.0.1" +version = "1.1.0" dependencies = [ "actix-files", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index f158d24..416360f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "black_hole_share" -version = "1.0.1" +version = "1.1.0" edition = "2024" [dependencies] diff --git a/README.md b/README.md index 332fea5..93f4b64 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,8 @@ Exposes port `8080` mapped to container port `80`. Volume mounts `./data:/data`. - `POST /api/upload` with JSON `{ duration, content_type, content }` - `GET /api/content/{id}` - `GET /api/stats` + +### Logging + +- Logs are written to `data/logs/log.txt`. +- On startup, the previous log file is rotated with a timestamped name.