Skip to content

Releases: meyfa/php-svg

v0.15.0

17 Mar 18:26
51251be
Compare
Choose a tag to compare

BREAKING: This release drops support for PHP 7.3. This allows us to use lots of new syntax offered since PHP 7.4. In particular, much better type definitions were added.

Thanks to everyone who contributed to make this possible!

What's Changed

  • chore!: Drop PHP 7.3 support by @meyfa in #217
  • fix: Update syntax to PHP 7.4 using Rector by @tacman in #221
  • fix: Leverage PHP 7.4 syntax by @smnandre in #226
  • refactor: Use ::class instead of FQN-strings by @Niellles in #212
  • docs: Remove $ from command snippet so copying works by @tacman in #214
  • chore: Export-ignore CS/QA files by @smnandre in #224
  • chore: Update actions/checkout & actions/cache by @smnandre in #223

New Contributors

Full Changelog: v0.14.7...v0.15.0

v0.14.7

09 Dec 23:21
f50d39e
Compare
Choose a tag to compare

What's Changed

  • fix: Run CI on PHP 8.3 and fix deprecation notices by @Niellles in #211

Full Changelog: v0.14.6...v0.14.7

v0.14.6

17 Nov 11:53
bf0a110
Compare
Choose a tag to compare

What's Changed

  • fix: Apply defaults for cx, cy, rx, ry in EllipseRenderer by @kuzmaka in #210

New Contributors

Full Changelog: v0.14.5...v0.14.6

v0.14.5

24 Jun 11:52
d586efb
Compare
Choose a tag to compare

What's Changed

  • chore: Remove tests from final zip file by @shyim in #207

New Contributors

Full Changelog: v0.14.4...v0.14.5

v0.14.4

12 Apr 11:24
3f5dccc
Compare
Choose a tag to compare

What's Changed

  • fix: Default x and y to 0 in ImageRenderer by @meyfa in #206

Full Changelog: v0.14.3...v0.14.4

v0.14.3

16 Mar 13:07
f6d501c
Compare
Choose a tag to compare

What's Changed

  • fix: Default x and y to 0 in RectRenderer by @cedo in #204
  • test: Add a test case for RectRenderer defaulting x=0 and y=0 by @meyfa in #205

New Contributors

  • @cedo made their first contribution in #204

Full Changelog: v0.14.2...v0.14.3

v0.14.2

24 Jan 13:36
a316e3f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.14.1...v0.14.2

v0.14.1

22 Jan 14:26
35d6c36
Compare
Choose a tag to compare

What's Changed

  • fix: Set a default font-size by @meyfa in #198
  • fix: Resolve font path before computing text anchor by @meyfa in #199
  • fix: Allow renderer short-circuit if unable to render anything by @meyfa in #200

Full Changelog: v0.14.0...v0.14.1

v0.14.0

02 Jan 21:30
c2c59ec
Compare
Choose a tag to compare

What's Changed

  • feat!: Implement a font registry for text rendering by @meyfa in #191
    • This changes the way text rasterization works in PHP-SVG, including some breaking changes.
    • Refer to the pull request for further information: #191
  • feat: Add type declarations for SVGNode methods by @meyfa in #192
  • feat: Add type declarations for reader, writer, utilities, SVG class by @meyfa in #193
  • feat: Add type declarations for rasterization classes by @meyfa in #194
  • chore: update README, add newer PHP versions by @Niellles in #188

Full Changelog: v0.13.0...v0.14.0

v0.13.0

09 Dec 15:59
4fc40af
Compare
Choose a tag to compare

What's Changed

⚠️ BREAKING CHANGE: This version requires PHP 7.3 or later!

PHP-SVG 0.12.0 has been the last release to support all PHP versions down to 5.3.3. From now on, PHP-SVG will require a minimum PHP version of 7.3. Read more about this choice here: #180

This should only affect you if you're using a PHP installation that's more than 4 years out of date. Keep in mind that everything below PHP 8 has already reached official end-of-life, so please consider upgrading. Running outdated software is a security risk.

Changes

  • chore!: Drop support for PHP versions older than 7.3 (closes #180) by @meyfa in #182
  • chore: Run CI tests also on PHP 8.1 and 8.2 by @meyfa in #185
  • chore: Clean up some code by @meyfa in #183
  • fix: Use short array syntax by @meyfa in #184
  • fix: Use the coalescing operator ?? by @meyfa in #186
  • chore: Remove TODO about PHP version 5.3 missing a parameter by @meyfa in #187

Full Changelog: v0.12.0...v0.13.0