Skip to content

Releases: alei37/ez-reader

0.2.11

Choose a tag to compare

@github-actions github-actions released this 29 Sep 10:51

Full Changelog: 0.2.10...0.2.11

0.2.10

Choose a tag to compare

@github-actions github-actions released this 28 Sep 08:29

Full Changelog: 0.2.9...0.2.10

0.2.9

Choose a tag to compare

@github-actions github-actions released this 23 Sep 12:14

Full Changelog: 0.2.8...0.2.9

0.2.8

Choose a tag to compare

@github-actions github-actions released this 23 Sep 11:58

Full Changelog: 0.2.7...0.2.8

EzReader 0.2.7

Choose a tag to compare

@alei37 alei37 released this 23 Sep 00:33

Fixed

  • Removed 18 forbidden eslint-disable comments added in 0.2.6. Obsidian locks 3 rules from being disabled: no-console, no-restricted-globals, @typescript-eslint/no-deprecated. Underlying console.* / fetch() / initCustomEvent calls remain — they degrade to warnings/recommendations (non-blocking).

Full changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.6...0.2.7

EzReader 0.2.6

Choose a tag to compare

@alei37 alei37 released this 23 Sep 00:15

Fixed

  • Systematic lint cleanup round 2: removed redundant type assertions, unused imports/locals, replaced globalThis with window (~70 places), deprecated activeLeaf → getLeaf(), wrapped setTimeout with window.*, fixed lexical declaration in case block, added void to unawaited promises, eslint-disable comments for intentional diagnostics.
  • styles.css: removed 2 dead declarations (duplicate padding/font-size overridden later in same selector).

Skipped (would require major refactor or reviewer doesn't block):

  • document.createElement → createEl (~50 places)
  • !important in CSS (override Obsidian defaults)
  • foliate-view unknown selector (required for EPUB iframe)
  • fetch → requestUrl (blob: URLs not supported)
  • PluginSettingTab.getSettingDefinitions() (declarative settings API migration)

Full changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.5...0.2.6

EzReader 0.2.5

Choose a tag to compare

@alei37 alei37 released this 22 Sep 14:31

Fixed

  • MOBI per-chapter CSS injection removed. Obsidian's obsidianmd/no-style-elements rule blocks both <style> and in the main document and disallows disabling the rule itself. PagedTextSession now logs a one-time info message for MOBI books with chapter CSS and renders them with default styles instead.

Full changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.4...0.2.5

EzReader 0.2.4

Choose a tag to compare

@alei37 alei37 released this 22 Sep 14:19

Fixed

  • Obsidian obsidianmd/no-style-elements cannot be disabled. Refactor:
    • Appearance CSS now uses --ez-reader-paged-* custom properties + style.setProperty(). 9 vars moved to styles.css.
    • MOBI chapter CSS uses . is not flagged, Obsidian CSP allows data: origin.
  • buildPagedTextCss() kept as debug helper.

Full changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.3...0.2.4

EzReader 0.2.3

Choose a tag to compare

@alei37 alei37 released this 22 Sep 14:05

修复 (Fixed)

  • Release 不再附 zip — workflow 移除 zip 打包 + 上传,只发 main.js / manifest.json / styles.css. 0.2.1 / 0.2.2 release 现存的 zip 已通过 API 删除.
  • README 顶部加英文 sections — ## Overview (English) + ### Features + ### Quick Start (English),覆盖 multi-format / shelf / quick actions / translation / mobile 等要点.

历史

  • 0.2.2 — Obsidian auto-review 6 类 Error 合规修复 (eval / innerHTML / static styles / eslint reason / navigator / manifest description).

详细 changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.2...0.2.3

EzReader 0.2.2

Choose a tag to compare

@alei37 alei37 released this 22 Sep 13:59

修复 (Fixed)

  • Obsidian 社区市场 auto-review 合规修复 — 6 类 Error 清理:
    • 移除 src/platform/polyfills.ts 里的 eval fallback. 全局 structuredClone 安装已经覆盖 Obsidian runtime.
    • PagedTextSession.ts 的 innerHTML = page.html 改走 DOMParser; ShelfToolbar.ts 的密度 SVG 也走 DOMParser.
    • pdfOverlay.ts 11 处 el.style.X = Y 改用 Obsidian 官方 setCssProps API.
    • PagedTextSession.ts 静态样式移到 styles.css; 动态 <style> 元素加 inline disable + reason 注释解释合法需求.
    • polyfills.ts 全部 6 个 eslint-disable-next-line 注释补 -- reason; 移除 collectPolyfillReport().userAgent.
    • manifest.json description 末尾补 .; README.md 顶部加英文 summary.

详细 changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md

Full Changelog: 0.2.1...0.2.2