Skip to content

Confitext 1.6.1

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Oct 05:09
· 1 commit to main since this release

Confitext v1.6.1 - Obsidian Community Review Compliance & Quality Fixes

Your thoughts. Your screen. Your code.
An animated, Matrix-inspired visual privacy layer for private writing in Obsidian.


🛠️ Obsidian Review Compliance & Bug Fixes

  • Standardized Settings Headings: Replaced all direct HTML heading elements (h2, h3, h4) in settings.ts with Obsidian's native new Setting(containerEl).setName(...).setHeading() component API for theme-consistent UI rendering.
  • Clean Command Naming: Removed redundant plugin name prefix from "What's new in Confitext (Release Notes)" -> "What's new (Release Notes)" in commands.ts per Obsidian command naming guidelines.
  • Obsidian Native DOM Helper: Replaced fallback document.createElement('span') in decorations.ts with Obsidian's native createSpan helper (obsidianmd/prefer-create-el).
  • Strict TypeScript Safety: Resolved @typescript-eslint/no-unsafe-assignment warnings in main.ts and settings.ts when retrieving metadata cache frontmatter.
  • Safe Event Listeners: Ensured all button and click event listeners return void instead of unhandled Promises (void (async () => { ... })()).
  • Clean Tokenizer Regex: Removed redundant escape character (\- -> -) in API key tokenization regular expressions in tokenizer.ts.
  • Clean Imports: Removed unused imports (clearRulesCache, getNoteMaskedWords) in settings.ts.
  • CSS Lint Compliance: Removed all !important declarations from styles.css by utilizing higher selector specificity (.cm-editor .confitext-glyph.confitext-hover-revealed).
  • What's New Tab: Updated release notes view to reflect v1.6.1.

🧪 Test & Quality Verification

  • 159 Automated Unit Tests passing across 9 test files.
  • Full typecheck verification with 0 errors (npm run typecheck).
  • Byte-for-byte build verification reproducing main.js, manifest.json, and styles.css.

📦 Installation & Upgrades

In Obsidian (Community Plugins)

  1. Open Obsidian Settings > Community plugins.
  2. Search for Confitext and click Update (or Install & Enable).
  3. If Confitext is already running, run Reload app without saving (Ctrl/Cmd + P) to load the new release.

Verified Release Assets

  • main.js (Production bundle with verified GitHub artifact attestation ✅)
  • manifest.json (minAppVersion: 1.7.2 ✅)
  • styles.css (With verified GitHub artifact attestation ✅)