What's Changed
- Adds initial PDF/A compliance mode (#3269)
- Adds data-URIs to the resource reference validation logic and handles the same as other resource reference protocols (#3492)
- Note: this change requires that users of data URIs include the "data://" scheme in the list of allowed protocols.
- Allows data-URIs to be used for
@font-face
declarations
- Adds support for data-URI JPEG images in Cpdf (#2783)
- Seeks local resources with a leading slash from the specified chroot directories if they are not found from the filesystem root (#3444)
- Addresses an issue preventing class-based Font Awesome usage (#3571)
Breaking Change
This release adds the "data://" scheme to the protocol validation rules. Installations that explicitly define the allowed protocols but do not include the "data://" protocol will no longer render data-URIs. This is a change from previous versions, where data-URIs were not processed through the validated rules. Installations that use the default validation rules included with Dompdf should see no impact.
Full Changelog: v3.0.2...v3.1.0
We would like to extend our gratitude to the community members who helped make this release possible.