Skip to content

OpenGraph 0.1.1: Installs next to newer Rust-based packages

OpenGraph 0.1.1 makes the resvg library an optional dependency, so the module can be installed in apps where it used to fail.

Every resvg release on Hex pins rustler_precompiled to 0.8.1. An app that needed a newer rustler_precompiled for another package could not install OpenGraph at all: mix deps.get found no solution. The module now installs without resvg and renders images with the resvg command, rsvg-convert or ImageMagick instead, which it already supported.

Upgrading

Without resvg in your app, install one of those programs on the server. To keep the faster built-in path, add {:resvg, "~> 0.5"} to your own mix.exs.

Full release notes: OpenGraph 0.1.1

0.1.1 · 4 July 2026

Fixed

  • resvg is now an optional dependency instead of required. Every resvg release on Hex (up to 0.5.0, the latest) hard-pins rustler_precompiled ~> 0.8.1, which could make phoenix_kit_og un-installable for a host app that already needs a newer rustler_precompiled for something else — version solving would fail with no way for the host app to work around it. Render.Rasterizer already falls back to the resvg CLI, rsvg-convert, or ImageMagick when the NIF isn’t compiled in, so making it optional loses nothing for hosts that can’t take the pin; add {:resvg, "~> 0.5"} directly in the host app to opt into the NIF fast path.

OpenGraph 0.1.1. Install or update: {:phoenix_kit_og, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.