Another week, another round of compatibility and bug fixes. This is a patch release in the 2.3.x release line that furthers the compatibility with Ruby 3.3 and upgrades prawn-svg.
The most critical fix in this release is to remove use of the base64 library since it will no longer being provided as part of the Ruby language starting with Ruby 3.4. When using Ruby 3.3, users would see a warning if this library is used. The functionality has been replaced with a lower-level method on the String object (String#pack), which the base64 library delegates to anyway. The same issue affected prawn-svg, which required upgrading it to the latest version.
To verify these fixes, Ruby 3.3 was added to the CI workflow during this development cycle.
This release also updates the log message when an item in a horizontal dlist is truncated to include the file and line number of the description block. This information was missing because the source location information was not being passed to the table cell.
Distribution
Changelog
Improvements
- upgrade prawn-svg to 0.34 to add support for SVG referenced by image tag (SVG in SVG)
Bug Fixes
- propagate source location to table cell for description in horizontal dlist so it is included in truncation warning message (#2502)
- eradicate use of the base64 library to fix warning about base64 gem when using Ruby >= 3.3
- upgrade prawn-svg to 0.34 to fix warning about base64 gem when using Ruby >= 3.3; apply additional patch to fix bug in prawn-svg
Build / Infrastructure
- bump upper Ruby version to 3.3 in CI workflow
Release meta
Released on: 2024-03-08
Released by: @mojavelinux
Release beer: Soft Terra by The Drowned Lands
Logs: resolved issues | source diff | gem diff
Credits
A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.