github fabricjs/fabric.js v550
Version 5.5.0

latest release: v551
2 days ago

What's Changed

  • refactor(): Properly include the text on a path hack into the dimensions calculations. still an hack. by @asturur in #10355

Full Changelog: v542...v550

Warning

This update could disrupt apps with text on a path that do not use center/center as origin.
This update make text on a path object a bit bigger to properly include text.

This before was done at cache level but not at object dimension level, leaving the text outside the bounding box.
While this was working ok for single object and a bit of padding it was wrong and it didn't work when text was in side a group.

Fabric 5 is considered not more developed and deprecated.
This fix and the next one are shipped into a minor version update 5.5. If you heavily depend on text on a path and you didn't find any bug till now, just don't move to 5.5.

V6 is getting an entirely differen treatment for text on a path.

Don't miss a new fabric.js release

NewReleases is sending notifications on new releases.