Releases: mogest/prawn-svg
Releases · mogest/prawn-svg
v0.35.1
v0.35.0
The minimum Ruby version has been changed to 2.7.
Changes
- Rebuild CSS values parser to be more standards compliant
Maintenance
- Use RuboCop for linting
- A very large reformat of the codebase
- Opt into Rubygems MFA
Full Changelog: v0.34.2...v0.35.0
v0.34.2
- Implement correct handling of the overflow property
- Inline base64 code rather than using the gem
- Handle gradients without a name
Full Changelog: v0.34.1...v0.34.2
v0.34.0
v0.33.0
What's Changed
- Implement stroke-linejoin attribute by @grothendeick in #152
- Support middle function of dominant-baseline for by @henry-hsieh in #158
- use Prawn.image_handler.find to resolve the image handler for the image data by @mojavelinux in #150
- Avoid unintentional string mutation by @aliismayilov in #127
New Contributors
- @aliismayilov made their first contribution in #127
- @henry-hsieh made their first contribution in #158
- @grothendeick made their first contribution in #152
Full Changelog: v0.32.0...v0.33.0
v0.32.0
v0.31.0
Changes
- Add basic
radialGradient
support. It's not quite perfect yet. - Add
text-decoration: underline
support - Make
href
synonymous with namespaced attributexlink:href
Fixes
- Allow "use" of elements that are defined lower in the document than where they're used
- Respect fill property on the top-level
svg
element - Follow
href
on gradient to reference parent stop definitions - Support highly compressed
path
elements - Fix crash when opacity was configured but no content was drawn
v0.30.0
Changes:
- Implement skewX and skewY transforms
- Implement gradientTransform on
<linearGradient>
- Implement textLength and lengthAdjust attributes on
<text>
- Support
<a>
element with no functionality
Bug fixes:
- opacity/fill-opacity/stroke-opacity precedence change
- Accept "data:" URLs case insensitively
v0.29.1
Changes:
- Support Ruby 2.6.
Bug fixes:
- CSS selectors :first-child, :last-child, :nth-child and the adjacent combinator now all work more correctly.
Also added a note to README that versions of Ruby before 2.6 will have an ongoing problem with the adjacent CSS combinator. This is due to a bug in REXML.
v0.29.0
Changes:
- SVGs that do not have a width or height but do have a viewBox will now use 100% width and use the viewBox's ratio to determine the height. Previously it would use 100% of both width and height.
Bug fixes:
- Correctly ignore CSS selectors that prawn-svg doesn't implement; some would make it crash.