Releases: alei37/ez-reader
Releases · alei37/ez-reader
Release list
0.2.11
Full Changelog: 0.2.10...0.2.11
0.2.10
0.2.9
0.2.8
EzReader 0.2.7
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
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
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
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
修复 (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
修复 (Fixed)
- Obsidian 社区市场 auto-review 合规修复 — 6 类 Error 清理:
- 移除
src/platform/polyfills.ts里的evalfallback. 全局structuredClone安装已经覆盖 Obsidian runtime. PagedTextSession.ts的innerHTML = page.html改走 DOMParser;ShelfToolbar.ts的密度 SVG 也走 DOMParser.pdfOverlay.ts11 处el.style.X = Y改用 Obsidian 官方setCssPropsAPI.PagedTextSession.ts静态样式移到styles.css; 动态<style>元素加 inline disable + reason 注释解释合法需求.polyfills.ts全部 6 个eslint-disable-next-line注释补-- reason; 移除collectPolyfillReport().userAgent.manifest.jsondescription 末尾补.;README.md顶部加英文 summary.
- 移除
详细 changelog: https://github.com/alei37/ez-reader/blob/main/CHANGELOG.md
Full Changelog: 0.2.1...0.2.2