v3.0.0
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
- Dev by @dannorthern in #7
Full Changelog: v2.2.1...v3.0.0