From 7a01525ca5142db9eda4e75428cc7f2acb7b118c Mon Sep 17 00:00:00 2001 From: icsboyx Date: Tue, 13 Jan 2026 10:52:46 +0100 Subject: [PATCH] chore: release v0.3.0 --- CHANGELOG.md | 12 ++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 ++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a8d30f..75f47d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ 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). +## [0.3.0] - 2026-01-13 + +### Added + +- Favicon set and web manifest for site branding. +- Syntax-highlighted rendering for code-like text content in the viewer. +- Startup log rotation that archives the previous log with a timestamp. + +### Changed + +- Access logs now write to `data/logs/log.txt` instead of `access.log`. + ## [0.2.0] - 2026-01-11 ### Added diff --git a/Cargo.lock b/Cargo.lock index b43273e..a1e0b01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,7 @@ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "black_hole_share" -version = "0.2.0" +version = "0.3.0" dependencies = [ "actix-files", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index a338999..b9a00fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "black_hole_share" -version = "0.2.0" +version = "0.3.0" edition = "2024" [dependencies] diff --git a/README.md b/README.md index df47e84..d0cb9d1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ A lightweight, ephemeral file sharing service built with Rust and Actix-Web. Upl - **Zero database** – assets stored as JSON files on disk - **Dark theme UI** – clean, responsive interface with zoom overlay - **Statistics dashboard** – real-time stats at `/stats.html` (active assets, uploads, response times) -- **Access logging** – request and asset events logged to `data/logs/access.log` with IP, timing, and metadata +- **Access logging** – request and asset events logged to `data/logs/log.txt` with IP, timing, and metadata +- **Code-friendly text view** – code-like text content auto-formats with syntax highlighting +- **Site assets** – favicon set and web manifest for installable branding ## Quick Start @@ -119,7 +121,7 @@ GET /api/stats The server uses paths relative to the repo root under `data/`: - `data/html/` – frontend assets (index.html, view.html, style.css) -- `data/logs/` – access logs +- `data/logs/` – access logs (`log.txt`, rotated on startup with timestamps) - `data/storage/` – uploaded assets (auto-created) - **Local dev:** Run from repo root with `cargo run --release`