PhoenixKit 1.7.209: Image annotations in the media viewer
PhoenixKit 1.7.209 adds an image tool to the annotation toolbar of the media viewer. It places a picture chosen from your computer onto the media as an annotation.
The tool comes from the Etcher annotation library, now required at ~> 0.9 with Fresco at ~> 0.10. Migration V157 lets the database store the new “image” kind of annotation; without it, image annotations would draw but be lost on reload.
Upgrading
Run mix phoenix_kit.update to apply V157.
Full release notes: PhoenixKit 1.7.209
1.7.209 · 23 July 2026
Added
- Etcher image annotation tool — the media viewer’s annotation toolbar
now exposes Etcher’s
:imagetool (fresco~> 0.10, etcher~> 0.9), which inserts an image annotation via the OS file picker as adata:URL (PR #660). - Migration V157 — widens
phoenix_kit_annotations_kind_checkto allow the new"image"annotation kind, paired withAnnotation.@kinds.@current_versionbumped 156 → 157.
Fixed
- The
:imagetoolbar tool added by PR #660 shipped without widening the annotation kind whitelist/CHECK constraint to match — image annotations drew fine client-side but silently failed to persist across a reload (same regression class as V130’s"marker"fix). Closed by V157 above.
PhoenixKit 1.7.209. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.