Skip to content

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 05 Jul 19:56

Fixed

  • MathJax loaded from a CDN (cdnjs.cloudflare.com) at render time — every other script and style in Fen ships vendored inside the app, but MathJax was the one exception, adding a delay on first render, breaking the math-rendering feature offline, and making an unnecessary network call from an app whose trust model is local-first. MathJax is now vendored the same way as Mermaid: Shared/Resources/Extensions/mathjax-tex-svg.js bundles MathJax v3's tex-svg output (SVG glyphs, no separate web-font files), with attribution in LICENSE/mathjax.txt (Apache License 2.0). Fen now makes zero runtime network calls to render anything.
  • The inline-dollar math config ($...$ delimiters) is rewritten for MathJax v3's config API — the old MathJax.Hub.Config/tex2jax block was v2-only and incompatible with the vendored tex-svg.js bundle.

Added

  • A regression test (MathJax is vendored locally, not loaded from a CDN) asserts the composed preview/export HTML never contains a cdnjs.cloudflare.com reference, so this can't silently regress.
  • Mermaid diagrams in docs/ARCHITECTURE.md covering the FenCore/macOS/iOS target structure, the editor-to-preview rendering pipeline, coreBundle's resource-resolution flow, the fen-preview:// scheme handler's path-traversal guard, and the CI/release pipeline.

Changed

  • ARCHITECTURE.md, RELEASING.md, and ROADMAP.md moved into a new docs/ directory; every cross-reference across the repo (README, CONTRIBUTING, issue templates, workflow comments) updated accordingly.
  • README rewritten: logo and badges at the top, a hero screenshot, and the MacDown-origin attribution moved to the very bottom under "Origin and thanks."
  • Removed the "Start a discussion" link from the landing page (GitHub Discussions isn't enabled for this repo).
  • This repository is no longer a GitHub fork of mfbergmann/macdown-swift — detached via GitHub's fork-network settings.

Full Changelog: v0.2.6...v0.2.7