Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 10.8 KB

CHANGELOG-v1.7.2.md

File metadata and controls

68 lines (57 loc) · 10.8 KB

Thorium Reader v1.7.2

Summary

Version 1.7.2 was released on 10 September 2021.

This release includes the following (notable) new features, improvements and bug fixes:

  • Electron version 14 (notably: web browser component Chromium v93)
  • Internal feature: HTTP streamer now replaced with custom Electron protocol (no more open port / localhost TCP-IP connections)
  • Feature: basic zoom/scale user interface for fixed layout publications
  • Feature: Divina updated player / rendering engine, added support for audio soundtrack nute/unmute, removed goto page navigation, added UI indicator for page turn direction
  • Fix: ReadiumCSS "default" publisher / authored styling, handling of line height and spacing for letters, words, paragraphs, and margins
  • Fix: search was broken when opening publications with double-click from file explorer, or via any other command line interaction
  • Fix: audiobooks metadata total duration progression percentage (could be NaN in some cases)
  • Fix: publication import from link (OPDS feed) was incorrectly registering LCP-PDF content type as JSON (is in fact a packaged format)
  • Fix: OPDS HTTP authentication implicit flow url with fragment identifier
  • Fix: some combinations of typeface + font size + line height cause edge case overflow in the body element
  • Fix: goto page navigation from text input field using enter key with/without keyboard modifiers was broken due to mishandling of form submit event
  • Fix: the 'assert' module of NodeJS introduced a strange bug causing high-CPU load and some sort of infinite loop/wait during usage of the ok() function, now replaced with vanilla JS equivalent
  • Fix: OPDS HTTP(S) redirect agent
  • Fix: selection highlights must be mounted/unmounted for previous href during location change event, in two-page spread fixed layout where clicking on displayed pages triggers the href switch
  • Fix: LCP/LSD HTTP request timeouts are now 2s / 5s (was default 60s / one minute!)
  • Fix: mouse wheel and trackpad gesture scroll were inverted on the vertical Y axis (note that MacOS "natural" switches both X and Y axis)

(previous v1.7.1 changelog)

Full Change Log

Git commit diff since v1.7.1: https://github.com/edrlab/thorium-reader/compare/v1.7.1...v1.7.2

=> 28 GitHub Pull Requests / top-level Git commits.

  • (_) fix: audiobooks metadata total duration progression percentage (Fixes #1349 )
  • (_) chore(dev): convertOpdsFeedToView links and metadata conditions switch to ternary and add 2 undefined return type in function (fixes #1522 fixes #1402 fixes #1397)
  • (_) fix: publication import from link (OPDS feed) was incorrectly registering LCP-PDF content type as JSON (is in fact a packaged format) (see PR #1519 )
  • (_) fix: search was broken when opening publications with double-click from file explorer, or via any other command line interaction (PR #1541 Fixes #1517 )
  • (_) fix(auth): implicit flow url with fragment identifier (PR #1538, PR panaC/opds2-auth-test-server#1)
  • (_) fix: some combinations of typeface + font size + line height cause edge case overflow in the body element (Fixes #1535 )
  • (_) chore(NPM): package updates
  • (_) fix: goto page navigation from text input field using enter key with/without keyboard modifiers was broken due to mishandling of form submit event (PR #1540 Fixes #1539 )
  • (_) fix: the 'assert' module of NodeJS introduced a strange bug causing high-CPU load and some sort of infinite loop/wait during usage of the ok() function, now replaced with vanilla JS equivalent
  • (_) chore(dev): removed unused code
  • (_) chore(NPM): Electron v14 (hopefully will fix the Windows runtime error that causes a zombie process at 30% CPU pegging!)
  • (_) fix(OPDS): HTTP(S) redirect agents (Fixes #1323 )
  • (_) feat(Divina): updated player / rendering engine, added support for audio soundtrack nute/unmute, removed goto page navigation, added UI indicator for page turn direction (PR #1463 Fixes #1469 Fixes #1455)
  • (_) chore(build): Electron 13.3.0 postinstall rebuild target (native libs compile)
  • (_) chore(NPM): package updates
  • (_) feat(FXL) zoom in/out on fixed layout documents, rudimentary scaling selector (button click cycle + mouse wheel up/down) (Fixes #1228 )
  • (_) fix: regression issues due to recent no-HTTP streamer implementation (special handling of custom protocol was broken in the URL converter logic, causing broken popup footnotes, nested iframes in publication documents, origin-bound localStorage, etc.) + NPM updates (notably: navigator which includes a new zoom/scale strategy for fixed layout publications)
  • (_) fix: selection highlights must be mounted/unmounted for previous href during location change event, in two-page spread fixed layout where clicking on displayed pages triggers the href switch [skip ci]
  • (_) fix: ReadiumCSS "default" publisher / authored styling, handling of line height and spacing for letters, words, paragraphs, and margins (Fixes #1516 Fixes #1509 Fixes #1511 Fixes #1477 Fixes #1480)
  • (_) fix(LCP/LSD): HTTP request timeouts are now shorter than 60s! (2s / 5s) (Fixes #996 )
  • (_) chore(NPM): package updates, including minor Electron
  • (_) chore(dev): comment about CI Windows env (Visual Studio / MSBUILD 2017, not 2019) [skip ci]
  • (_) fix(UI): mouse wheel and trackpad gesture scroll was inverted on the vertical Y axis (note that MacOS "natural" switches both X and Y axis)
  • (_) Fix: Electron 13, replaced HTTP streamer with custom protocol (PR #1530 Fixes #1504 Fixes #1495 Fixes #1417 Fixes #1258)
  • (_) chore(NPM): package updates
  • (_) chore(NPM): package updates
  • (_) chore(release): version bump for new alpha stream (CI builds)

Developer Notes:

  • The standard-changelog utility (npx standard-changelog --first-release) somehow only generates a limited number of commits, so we use a one-liner command line / shell script instead:
  • git --no-pager log --decorate=short --pretty=oneline v1.7.1...develop | cut -d " " -f 1- | sed -En '/^([0-9a-zA-Z]+)[[:space:]]([^:]+):(.+)$/!p;s//\1 __\2:__\3/p' | sed -En 's/^(.+)$/* \1/p' | sed -En '/PR[[:space:]]*#([0-9]+)/!p;s//PR [#\1](https:\/\/github.com\/edrlab\/thorium-reader\/pull\/\1)/gp' | sed -En '/\(#([0-9]+)/!p;s//(PR [#\1](https:\/\/github.com\/edrlab\/thorium-reader\/pull\/\1)/gp' | sed -En '/(Fixes|See|Fix|Fixed)[[:space:]]*#([0-9]+)/!p;s//\1 [#\2](https:\/\/github.com\/edrlab\/thorium-reader\/issues\/\2)/gp' | sed -En '/^.[[:space:]]([0-9a-zA-Z]+)[[:space:]]/!p;s//* [(_)](https:\/\/github.com\/edrlab\/thorium-reader\/commit\/\1) /p' | sed -En '/[[:space:]]#([0-9]+)/!p;s// [#\1](https:\/\/github.com\/edrlab\/thorium-reader\/issues\/\1)/gp'
  • ...append | pbcopy on MacOS to copy the result into the clipboard.
  • ...append | wc -l to verify that the result actually matches the number of Git commits.