Files
bhs/RELEASE_NOTES_v0.3.1.md

2.1 KiB

Black Hole Share v0.3.1 Release Notes

Release Date: January 16, 2026

Overview

This is a minor bug fix release that resolves several issues with the web UI and server logging functionality. The release improves user experience by fixing upload workflow issues and ensuring proper log output display.

Bug Fixes

Server-Side Fixes

  • Immediate Log Display: Fixed asset addition logging that was being buffered and only appeared after the next log message. The server now properly displays "Adding asset" messages immediately using println! instead of print!.

Web UI Fixes

  • Single Upload Per Session: Resolved an issue where the upload interface remained active after a successful upload, which could confuse users. The page now locks after a successful upload, preventing additional uploads until the user clicks "Reset".

  • Disabled Input After Upload: Paste, drag & drop, and file selection are now properly disabled after a successful upload, preventing users from accidentally replacing their uploaded content.

  • Copy/Paste Functionality: Fixed critical JavaScript syntax errors that prevented the paste functionality from working:

    • Removed nested and duplicated event listeners
    • Fixed missing parenthesis in conditional statement
    • Corrected event listener scope and structure
  • Upload State Management: Added proper state tracking with an uploadCompleted flag that prevents multiple uploads per page session and is correctly reset when the user clicks "Reset".

Technical Details

Modified Files

  • src/data_mgt.rs: Changed print! to println! in add_asset() method
  • data/html/index.html: Fixed JavaScript event listener structure and added upload state management

Upgrade Notes

No breaking changes. Simply pull the latest version and rebuild:

git pull
cargo build --release

Or with Docker:

docker-compose up --build

Known Issues

None at this time.

Contributors

Thank you to all contributors who helped identify and fix these issues!


For the full changelog, see CHANGELOG.md.