Release v1.1.0
All checks were successful
Build & Publish / build_publish (push) Successful in 3m14s
All checks were successful
Build & Publish / build_publish (push) Successful in 3m14s
This commit is contained in:
14
CHANGELOG.md
14
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/),
|
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).
|
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
|
## [1.0.1] - 2026-01-16
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -273,7 +273,7 @@ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "black_hole_share"
|
name = "black_hole_share"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-files",
|
"actix-files",
|
||||||
"actix-web",
|
"actix-web",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "black_hole_share"
|
name = "black_hole_share"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -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 }`
|
- `POST /api/upload` with JSON `{ duration, content_type, content }`
|
||||||
- `GET /api/content/{id}`
|
- `GET /api/content/{id}`
|
||||||
- `GET /api/stats`
|
- `GET /api/stats`
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
|
||||||
|
- Logs are written to `data/logs/log.txt`.
|
||||||
|
- On startup, the previous log file is rotated with a timestamped name.
|
||||||
|
|||||||
Reference in New Issue
Block a user