All Versions
12
Latest Version
Avg Release Cycle
143 days
Latest Release
1691 days ago

Changelog History
Page 1

  • v1.4.0 Changes

    November 01, 2020

    ๐Ÿ”„ Changes:

    • ๐Ÿฑ Read SVG assets from the assets dir instead of priv. Thanks to @mhanberg
      ๐Ÿฑ This changes the default directory from priv/static/svg to assets/static/svg
      Note For migrating from v1.3.x you will need to remove the otp_app from the use PhoenixInlineSvg.Helpers
    • ๐Ÿ›  Fix a bug where the app could crash if the SVG directory does not exist.
  • v1.3.2 Changes

    November 01, 2020

    ๐Ÿ”„ Changes:

    • โšก๏ธ Update Floki
    • ๐Ÿ›  Fix deprecation warnings
    • โšก๏ธ Update docs
  • v1.3.1 Changes

    August 08, 2019
    • Fixes #21 - GZIP files are no longer attempted to be loaded on compile.
    • Fixes #19 - Ignores non-SVG files in the collection directories.
  • v1.3.0 Changes

    May 23, 2019

    ๐Ÿš€ This release adds support for any arbitrary HTML attributes as well as fixes bugs around HTML attribute caching for SVGs.

    Thanks to @mhanberg for all the great work fixing bugs and implementing features!

  • v1.2.1 Changes

    April 08, 2019

    ๐Ÿ›  Fixed a documentation bug on last release

  • v1.2.0 Changes

    February 14, 2019

    ๐Ÿ‘ Thanks @mhanberg for adding the support for using an endpoint to read an SVG.

  • v1.1.2 Changes

    May 17, 2018

    โž• Adds support for ID and Class attrs on the SVG element.

    <%= svg_image(@conn, "home", class: "logo", id: "bounce-animation") %>
    

    Will result in the output:

    \<svg class="logo" id="bounce-animation"\>...\</svg\>
    
  • v1.1.1 Changes

    November 29, 2017

    ๐Ÿ›  Fix for the SVG directory not being found causing the app to crash.

    ๐Ÿ›  Fixed by @mintcore

  • v1.1.0 Changes

    September 14, 2017

    โœ‚ Removed the HTML wrapper for the SVG files

  • v1.0.0

    December 29, 2016