Skip to content

1.0.2

Choose a tag to compare

@ankhang0704 ankhang0704 released this 06 Sep 04:11
· 13 commits to main since this release

GitHub Vault Relay 1.0.2 — Community Directory Compliance & Styles Release

GitHub Vault Relay 1.0.2 brings full compliance with official Obsidian Community Plugin Directory review standards and resolves scanner feedback with zero changes to core sync semantics.

Compliance Highlights

  • Zero Inline Styles: Converted all static inline style property assignments across settings and modals into semantic CSS utility classes in styles.css.
  • Accessible Settings Headings: Migrated settings headings from raw HTML headings (createEl("h2") / createEl("h3")) to Obsidian's official Setting.setHeading() API for native theme integration.
  • Dynamic Configuration Directory: Replaced hardcoded .obsidian/ references with dynamic app.vault.configDir for full compatibility with customized configuration directories.
  • User-Safe File Deletion: Replaced raw app.vault.delete(file) with app.fileManager.trashFile(file), ensuring synced note deletions are safely preserved in the user's configured Obsidian trash (system trash or .trash/).
  • Duplicate CSS Elimination: Removed duplicate max-height declaration in styles.css, canonicalizing to min(90vh, 900px) across desktop and mobile without !important.
  • Web Crypto & Window Timers: Standardized Web Crypto on crypto API and explicit window.setTimeout.
  • Preserved Safety Invariants & Sync Semantics: All C1–C7 invariants, three-way conflict handling, atomic push construction, and empty-tree convergence remain 100% untouched.

Installation Requirements & Setup

  • Via BRAT (Recommended for Mobile / Desktop):
    1. Install the Obsidian BRAT community plugin.
    2. In Obsidian Settings, go to BRAT -> Add Beta plugin.
    3. Enter repository URL: https://github.com/ankhang0704/github-vault-relay.
    4. Enable GitHub Vault Relay under Community Plugins.
  • Manual Installation: Download main.js, manifest.json, and styles.css from this release and place them in your vault at .obsidian/plugins/github-vault-relay/.

Release Asset Identity (SHA-256)

  • main.js (163,315 bytes): 3B0ABF58DC3B00FF4DF10782553650096A3B54539323A0167791AF1EDA36780C
  • manifest.json (350 bytes): 480803E6367D6E759ABB154E1C583FFBD7D83DC97669398795507461A6A37EF3
  • styles.css (4,222 bytes): BF3B1FA38D46DA8B21E677C443A07520C5C7152E74F9C76CFAEAF2F169CB9EAB