github akitaonrails/FrankMD v0.5.0

10 hours ago

v0.5.0

Released: 2026-07-13

Changes since v0.4.0 (2750ba1..merge of #113).

Features

  • Paste image upload (PR #113 by @gabrielforster, polished on integration): Press Ctrl/Cmd+V in the editor with an image on the clipboard — the classic screenshot-tool workflow — and the image picker opens with the pasted image already ingested and pre-selected; one click on Insert and it's in your note. Plain-text paste is untouched. The pasted file flows through the same hardened upload path as the v0.4.0 Drop tab (server-side extension allow-list, size cap, sanitized filenames), so no new security surface.
    • Clipboard images usually arrive nameless; a filename is synthesized from the MIME type (pasted-image-<ts>.png). Unknown image types get an honest extension derived from the MIME subtype (e.g. .tiff) so the allow-list can reject them with visible feedback rather than storing a mislabeled file.
    • Copying an image from a web page (which also puts HTML on the clipboard) no longer risks inserting stray markup into the document.

Test Coverage

  • 537 Ruby tests, 1,426 JavaScript tests (1,963 total).

Don't miss a new FrankMD release

NewReleases is sending notifications on new releases.