Skip to content

KoreShelf v2.1.3 - What's New?

Choose a tag to compare

@GabrieleTrovato01 GabrieleTrovato01 released this 29 Jun 16:01

This release focuses on improving the PDF reading experience, adding new ways to read your books, and making the server bulletproof against corrupted files!

✨ New Features

  • ** Automatic PDF Covers:** The app now automatically takes a screenshot of the first page of your PDFs directly in the browser to use as a cover. No more missing covers or heavy backend dependencies!
  • ** Open with System Reader:** Added a new button in the web reader to download and open the book with your favorite native app (Calibre, Apple Books, Adobe Reader, etc.).
  • 🛡️ Bulletproof Server: Added global catchers for unhandled rejections and a monkey-patch for the epub2 library. The server will no longer crash if you upload a malformed EPUB file!

🐛 Bug Fixes & Improvements

  • Fixed title/author parsing logic for files with multiple dashes in the name.
  • Improved i18n translations for both English and Italian.
  • Better memory management for large PDFs.

🛠️ Technical Changes

  • Removed pdf2pic dependency from the backend (covers are now generated client-side via pdf.js).
  • Added new API endpoint: POST /api/books/:id/cover to handle frontend-generated covers.
  • Added process.on('unhandledRejection') to prevent async crashes.