Skip to content

v3.0.0

Choose a tag to compare

@dannorthern dannorthern released this 13 Jul 05:45
· 52 commits to main since this release
fad274f

Restructure mime types and add JSON/Lottie support

BREAKING CHANGES:

  • Added "BuiltNorth" prefix to namespacing.
  • Changed filter name from 'wpbaseline_enable_svg_support' to
    'wpbaseline_enable_svg_uploads' for consistency

Features:

  • Add support for JSON file uploads (disabled by default)
  • Add support for Lottie animation file uploads (disabled by default)
  • Add optional JSON sanitization to remove potentially malicious content
  • Add Lottie file validation for format and size limits
  • Reorganize all mime type handling into MimeTypes directory for better
    organization

Improvements:

  • Clean up LazyLoadFirstBlock utility to accept configurable parameters instead of hardcoded blocks
  • Each mime type (SVG, JSON, Lottie) is now in its own module for better
    separation of concerns
  • Simplified initialization by removing unnecessary AbstractInit pattern from
    mime type modules

What's Changed

Full Changelog: v2.2.1...v3.0.0