Skip to content

Ferrous v1.3.4-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:48
· 70 commits to main since this release

Which APK should I install?

File Architecture Target Devices Notes
ferrous-v1.3.4-alpha.1-arm64-v8a.apk arm64-v8a Modern phones and tablets Recommended (most devices)
ferrous-v1.3.4-alpha.1-armeabi-v7a.apk armeabi-v7a Older 32-bit Android phones Devices from 2016 or earlier / 32-bit
ferrous-v1.3.4-alpha.1-x86_64.apk x86_64 Emulators and ChromeOS PC emulators (BlueStacks, LDPlayer)

Note: If you are unsure which build your device requires, choose arm64-v8a.


Verify Checksums (SHA-256)

Verify your download against SHA256SUMS.txt using sha256sum -c SHA256SUMS.txt:

File SHA-256 Hash
ferrous-v1.3.4-alpha.1-arm64-v8a.apk 51d75131751235fb774248c13a292f64749db255f74c932ec3623ebe54e4adfe
ferrous-v1.3.4-alpha.1-armeabi-v7a.apk 6598d15a751809544646426be92587ca1c5d8a4f7c0b730a5643e0d8d86f048b
ferrous-v1.3.4-alpha.1-x86_64.apk 5cb11df89e51910248158cde33cb465dcd636c834dac2b3ffedadcfb100b4264

Changelog

DOM Chunking & Reader View Performance

  • DOM Chunking Pipeline: Introduced DomChunker to decompose monolithic HTML chapters (>15,000 characters) into ~18-paragraph standalone DOM chunks, unwrapping oversized containers while preserving ancestor classes, CSS hierarchy, and anchor jump targets.
  • Chunk-Level Rendering & LRU Cache: Overhauled EpubContentViewer and MobiContentViewer with a chunk-level static LRU cache (_chunkCache), rendering individual DOM fragments to eliminate rendering lag, reflow bottlenecks, and memory spikes on long chapters.
  • Offset-Mapped TTS Highlights: Integrated dynamic chapter-to-chunk offset translation into EpubContentViewer and MobiContentViewer, enabling accurate word/sentence highlighting across arbitrary DOM chunks.

Continuous Scroll & Typography Invalidation

  • Continuous Scroll Bounds Tracking: Converted EpubContinuousViewer and MobiContinuousViewer to stateful observers that automatically detect typography changes (font size, line height, margins, spacing) and viewport resizing, clearing cached chapter heights and bounds to prevent scroll position drift.
  • Dynamic Scroll Boundary Invalidation: Added invalidateScrollBounds() and clearRecordedChapterHeights() in chapter controllers to ensure immediate chapter index snapping when switching reading configurations.

Smart Hyphenation & Text Selection Polish

  • Proper Noun Preservation in Hyphenation: Refined smartHyphenateText in HyphenationHelper to bypass capitalized proper nouns, enforce a minimum word length threshold (>=7 characters), and ignore symbols/numeric words.
  • Clean Text Copy & Annotation Export: Stripped invisible formatting artifacts (\u00AD, \u200B, ­) from user selections during text copy and annotation creation in EPUB and MOBI reader screens.
  • TTS Zero-Width Space Normalization: Updated sentence boundary tokenization in TTS controllers to safely ignore \u200B alongside soft hyphens.

Rust RAR Decompression & SIMD Codegen

  • Pre-Allocated RAR Decompression: Enhanced cbz and covers Rust modules to query unpacked entry sizes prior to extraction, pre-allocating buffer memory to prevent iterative reallocation overhead.
  • Decompression Integrity Checks: Added size validation and FNV-1a 64-bit diagnostic logging to ensure verified, intact image extraction from CBR archives.
  • Targeted SIMD Optimization: Configured release profile with lto = "thin" and isolated opt-level = 3 for unrar-rs, image, zune-jpeg, and jpeg-decoder crates to guarantee optimal NEON SIMD codegen on AArch64.