Skip to content

Confitext 1.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 10:39
· 5 commits to main since this release

⚡ Confitext v1.4.0 - Declarative Settings API & Obsidian Search Indexing

Your thoughts. Your screen. Your code.
Confitext v1.4.0 adds support for Obsidian's modern declarative settings API (getSettingDefinitions()), enabling full native settings search indexing across all Confitext options, along with strict compliance for official community plugin directory distribution.


🌟 What's New & Improved in v1.4.0

🔍 Native Settings Search Indexing

Confitext settings now support Obsidian's declarative settings architecture (getSettingDefinitions()):

  • Full Global Search Integration: Typing keywords like "masking", "scramble", "glow", "idle", "custom glyphs", or "panic" into Obsidian's settings search bar instantly finds and highlights the exact Confitext setting.
  • Dynamic Control Binding: Integrated state handlers for seamless two-way binding with automatic editor dispatch.

🔄 Modernized Setting Tab Architecture

  • Replaced imperative display() calls with an adaptive update lifecycle (this.refreshTab()), routing dynamically to Obsidian's modern this.update() API on Obsidian 1.13+ while maintaining rock-solid backwards compatibility on older versions.

📦 Clean Directory Distribution

  • Standardized release assets to strictly the three canonical Obsidian plugin files: main.js, manifest.json, and styles.css.
  • Satisfies all automated checks from obsidianmd/obsidian-releases with zero extra unsupported file warnings.

🛡️ Core Features Included

  • Tab Header Privacy Shield: Dedicated action button in every open note tab for one-click masking toggling.
  • Native Context Menus: Right-click menus in both active note editors and the file navigation tree for instant folder/note privacy toggles.
  • Reading View Masking: Non-destructive visual masking for Markdown Reading View (Preview Mode) with interactive click-to-reveal word controls.
  • Emergency Panic Mode: Instant hide command (Confitext: Panic: Instant hide & mask all text) that deselects text, clears cursor state, and enforces global masking.
  • Live Matrix Sandbox: Interactive preview and testing station built directly into Settings.
  • Custom Unicode Glyph Importer: Automated validation, deduplication, and surrogate-pair checking for user-defined glyph sets.

🛠️ Verification & Quality Assurance

  • Cryptographic Provenance: Signed GitHub Artifact Attestations for all release assets (main.js, manifest.json, styles.css).
  • Automated Tests: 110/110 automated tests passing (vitest run).
  • Type Safety: Clean TypeScript compilation (tsc -noEmit -skipLibCheck) with zero errors.

📦 Release Assets

Asset Description
main.js Compiled and minified plugin bundle with GitHub build provenance attestation
manifest.json Plugin metadata declaring minAppVersion: 1.7.2
styles.css Phosphor glow and Matrix theme styles with GitHub build provenance attestation

🚀 Installation

Method 1: Obsidian Community Plugins (Recommended)

  1. In Obsidian, go to Settings > Community plugins.
  2. Turn off Restricted mode to enable community plugins.
  3. Click Browse, search for Confitext, and click Install then Enable.

Method 2: Via BRAT (Beta Reviewers Auto-update Tester)

  1. Install BRAT from Obsidian Community Plugins.
  2. In BRAT settings, click Add Beta plugin.
  3. Enter https://github.com/dheeraz101/Confitext.
  4. Confitext will install and auto-update with every new release.

Method 3: Manual Installation

  1. Download main.js, manifest.json, and styles.css from this release.
  2. Place them into your Obsidian vault: <Vault>/.obsidian/plugins/confitext/.
  3. Open Obsidian Settings > Community plugins, click Reload plugins, and enable Confitext.

Full Changelog: 1.3.0...1.4.0