Skip to content

v0.6.0

Choose a tag to compare

@meyfa meyfa released this 30 Jul 10:26

Breaking changes

  • BREAKING: Update package name and author data (ae8650a)
    • Please change the package name in your Composer file to meyfa/php-svg
  • BREAKING: Shorten vendor namespace to "SVG" (cde475b)
    • Please update all use statements to start with SVG\, e.g. use SVG\SVGImage

Fixes

  • Fix SVGRect::setHeight() setting the width (16d790c)

Features

  • Add support for <image> tag (PR #26) (e2148fb)
    • Add SVGImageRenderer for embedded images (can render URLs as well as data URIs)
    • Add SVGImageElement for <image> tag
  • Add support for <style> tag, improved viewbox, nested docs (PR #27) (67ff696)

Style