Skip to content

Releases: xbghc/lectern

v0.3.29 · 阅读与书架优化

Choose a tag to compare

@xbghc xbghc released this 30 Oct 03:44
c8ed30b

本版集中改进阅读和书架体验。

  • 精简重复标题与说明,常用操作改为带提示和无障碍名称的图标;筛选面板收起后保留条件。
  • 书架突出封面、书名、作者与进度,目录按需展开,长章节标题完整换行。
  • 自动提取 EPUB 内嵌封面;重新导入可补全缺失封面并保留阅读进度,无需手动更换。
  • 英文与中文字体可独立选择,默认分别为 Literata 和霞鹜文楷屏幕版,字体随安装包提供,支持离线使用。
  • 恢复 Android 选中文字后的原生菜单,支持复制等操作,并避免点词翻译干扰已有选择。
  • 修复阅读区域偶发焦点边框;翻译弹窗移除关闭图标,点击外部或在正文区域滑动达到阈值即可关闭。

下载

  • Android:lectern-v0.3.29.apk,使用现有正式签名。
  • 浏览器扩展:lectern-extension-v0.3.29.zip。

验证:1054 项逻辑测试、41 项页面交互测试及 Android 构建通过。Chrome 商店版的上线时间取决于 Google 审核。

完整变更

v0.3.28 · 阅读页与设置面板更新

Choose a tag to compare

@github-actions github-actions released this 29 Oct 09:25

What’s new

  • Redesigned the Android reader with an immersive reading layout, a slim progress bar, and a bottom settings panel.
  • Choose from seven text sizes, automatic/white/sepia/dark backgrounds, and serif/sans/Kai font preferences. Appearance is saved on the device; automatic background follows the system theme.
  • Keep the current paragraph in place when changing text size or font. Tap the page margins to open settings, and tap the shaded area or panel handle to return to reading.
  • Preserve word translation, bookmarks, chapter contents and reading tools, with keyboard support and mobile safe-area handling.

Downloads

  • Android: lectern-v0.3.28.apk.
  • Browser extension: lectern-extension-v0.3.28.zip.

Chrome Web Store availability follows Google’s review. Font rendering follows the fonts available on the device.

Full changelog: v0.3.27...v0.3.28

v0.3.27 · 文言文翻译与中文截图识别

Choose a tag to compare

@github-actions github-actions released this 29 Oct 03:08

What's new

  • Translate Classical Chinese, in simplified or traditional characters, into modern Chinese. Teaching notes and follow-up questions explain classical meanings, function words and grammar in context.
  • Look up a Chinese character by tapping it in the Android reader, or double-tap for its sentence. Multi-character Chinese passages stay out of automatic vocabulary review; long selections are counted by Chinese characters and English words.
  • Recognize English and simplified/traditional Chinese screenshots locally. Translation caching now respects context, so a character's meaning can change between passages.
  • Article detection and history filtering send only a cleaned URL to the configured model, excluding the page title and body, URL credentials, query strings and fragments.
  • Match the translation panel's source-text size to its translation for easier reading.

Downloads

  • Android: lectern-v0.3.27.apk, signed with the existing release certificate.
  • Browser extension: lectern-extension-v0.3.27.zip.

Chrome Web Store availability follows Google's review; a GitHub release does not imply that the store update is live. OCR can still misread individual characters or normalize simplified/traditional forms; check the recognized source text when meaning depends on a particular character.

Full changelog: v0.3.26...v0.3.27

v0.3.26 · 阅读与学习交互修复

Choose a tag to compare

@github-actions github-actions released this 29 Oct 02:16

本版集中修复阅读、模型设置和复习流程中的交互问题。

  • 字号调整:点击字号按钮先打开面板,支持减小、增大、恢复默认及实时预览;调整时保持当前段落,重新打开后保留字号。
  • 沉浸阅读:首次进入提供一次手势说明;目录与阅读工具分开,书签、本文生词和截图翻译有明确入口;正文继续只保留贴底进度线。
  • 模型设置:常用配置保留服务商、API Key 和模型,高级参数折叠;支持保存修改后测试连接,并分别显示保存与连接结果。未同意数据共享时不会发送模型请求。
  • 设置操作:保存栏仅在需要时显示,支持放弃修改;恢复默认移入单独设置区。
  • 生词学习:优先展示词义和原句,删除等管理操作收进更多菜单。
  • 复习撤销:支持撤销上一条评分并恢复排期;撤销记录参与同步,已有后续评分时拒绝旧操作。
  • 手机适配:扩大常用触控区域,修复 320px 窄屏菜单越界及快速关闭面板后无法再次调出阅读工具的问题。

验证:1017 项逻辑测试、39 项界面交互测试;320px、390px、桌面宽度的明暗主题检查,以及真实浏览器中的阅读位置与字号持久化验证。

v0.3.25

Choose a tag to compare

@github-actions github-actions released this 28 Oct 11:24

Lectern now uses a shadcn-inspired visual style across the Android app and browser extension.

  • Neutral light and dark themes with consistent semantic colors, borders, rounded corners and subtle shadows.
  • Unified buttons, inputs, switches, cards, segmented controls, navigation and dialogs across reading, vocabulary, review, statistics, chat and settings.
  • Refined mobile vocabulary search, compact settings switches and equal-height save actions, including 320px screens.
  • Matching translation popovers, reader sheets and Android window backgrounds. Interface text uses system sans-serif fonts; long-form reading retains its serif typography.
  • Reading remains immersive, with only the unobtrusive 2px progress line at the bottom until tools are requested.

Validation: 1009 client tests and 38 interface tests passed; 24 light/dark page scenarios and additional narrow-screen interactions and translation overlays were checked in Chromium. A production App build with real Chromium IndexedDB also passed resume-reading and profile-reset checks.

This implements the shadcn visual conventions in Lectern's existing TypeScript/WebView interfaces. It does not require a data migration.

v0.3.24

Choose a tag to compare

@github-actions github-actions released this 28 Oct 09:37

This release fixes eight issues found and reproduced during repeated code review and regression testing.

  • Preserve an EPUB chapter's explicit finished/unfinished choice when it is reopened.
  • Invalidate queued article captures when device records are cleared; late resource writes cannot recreate cleared content.
  • Keep archive downloads bound to their original account and reject stale content after a profile reset.
  • Stop abandoned reader initialization before it restores an old scroll position or starts tracking.
  • Bind reading sessions, progress and article-text messages to the profile that opened the page, including worker recovery.
  • Respect the newest manual completion choice when merging backups and keep unfinished articles out of the review queue.
  • Advance local version counters past imported completion choices so subsequent edits take effect immediately; this also repairs profiles restored by earlier versions.
  • Report failed clear operations accurately and allow retry instead of displaying a false success message.

Validation: 1009 client tests, 38 interface tests and 24 backend tests passed. The backend checks used isolated PostgreSQL. Real Chromium IndexedDB verification covered book-position restoration, manual unfinished state, the 2px bottom progress strip, and clearing records while another reader page remained open.

No sync protocol or server database migration is required. Native device behavior was not retested on a physical phone.

v0.3.23

Choose a tag to compare

@github-actions github-actions released this 28 Oct 08:14

Fixes eight issues found in the full-project review:

  • Prevent translations that started before clearing local data from writing into the new account; cancel old requests and discard stale review results and model diagnostics.
  • Keep unrelated records and healthy archives syncing when one archive has missing or rejected resources. Show the failed archive in sync details and retry it later.
  • Preserve book vocabulary review baselines in JSON backups so importing a backup does not grade the same review twice.
  • Honor newer schedules in older exports, keep repeated imports stable, and commit imported records and review history atomically.
  • Keep non-streaming model timeouts active until the response body has finished downloading.
  • Invalidate cached translations after local or synchronized deletion so looking up the word again saves a new record.
  • Preserve article and book images that share the same cached resource when deleting a book.
  • Check for newer releases even when an older APK is already downloaded, remember the latest offer, and disarm obsolete automatic installations.

Validation: 1,000 client tests, 37 interface tests, and 24 backend tests including isolated PostgreSQL integration passed. A real Chromium IndexedDB check verified that importing a book vocabulary backup twice and reloading preserves the review count and due date.

No sync protocol or database schema migration is required. EPUB text and chapter progress remain device-local. Previously damaged schedules cannot always be reconstructed automatically; keep the original backup when available.

v0.3.22

Choose a tag to compare

@github-actions github-actions released this 28 Oct 06:06

This release fixes four Android reading and settings issues:

  • Books now retain local reading records and reopen at the most recently visited chapter and saved paragraph, including the first and final paragraphs. Unrelated settings writes and sync refreshes no longer clear book progress.
  • The global Save button now saves both reading preferences and model configuration, including the API key. Unsaved model changes are tracked, and connection testing is a separate action.
  • Previous chapter, Contents and Next chapter controls are available at the end of each chapter without covering the text during reading.
  • Disable the WebView's whole-screen focus highlight after margin taps while retaining keyboard focus indicators on individual controls.

Book text and reading records remain local and are excluded from sync and JSON exports. Reading positions already removed by older versions cannot be reconstructed; positions saved after this update are retained normally.

Install lectern-v0.3.22.apk to update Android. The extension ZIP is also attached; Chrome Web Store availability depends on review.

v0.3.21

Choose a tag to compare

@github-actions github-actions released this 27 Oct 12:15

Android reading now keeps only the article and a faint 2px progress line at the very bottom of the screen.

  • Reading tools start hidden and stay hidden when scrolling back or returning to the beginning.
  • Tap the margins beside the article to show tools; continuing to scroll or closing the contents panel hides them again without shifting the text.
  • Chapter navigation, the exact progress percentage and source details are available inside reading tools.
  • Reading-position and completion notices no longer interrupt the article. Word and sentence translation, bookmarks, position restoration and reading records remain available.

Install lectern-v0.3.21.apk to update the Android app. The extension package is also attached; Chrome Web Store availability depends on review.

v0.3.20

Choose a tag to compare

@github-actions github-actions released this 27 Oct 07:23

Lectern now uses English throughout the browser extension and Android interface, including settings, help, error messages and accessibility labels. Documentation, the privacy page and store screenshots are also in English.

AI translations, explanations, article reviews and vocabulary coaching can still use Chinese. Saved articles, books and personal content retain their original language.

  • Android: install lectern-v0.3.20.apk to update an official release installation.
  • Browser extension: extract lectern-extension-v0.3.20.zip and load the directory in developer mode, or wait for the Chrome Web Store update after review.

Full changelog