Note that this release bumps the WordPress minimum version from 6.4 to 6.5.
Added
- New setting that allows large SVG files (roughly 10MB or greater) to be uploaded and sanitized properly (props @kirtangajjar, @faisal-alvi, @darylldoyle, @manojsiddoji, @dkotter via #201).
- New
get_svg_dimensions
function in order to reduce code duplication (props @gabriel-glo, @jeremymoore, @darylldoyle, @iamdharmesh, @dkotter via #216).
Changed
- Updated the
enshrined/svg-sanitize
package from 0.16.0 to 0.19.0 to fix a PHP 8.3 compatibility issue (props @sksaju, @TylerB24890, @darylldoyle, @rolf-yoast, @faisal-alvi via #214). - Update how image dimensions are passed in
get_image_tag_override
andone_pixel_fix
methods (props @gabriel-glo, @jeremymoore, @darylldoyle, @iamdharmesh, @dkotter via #216). - Bump WordPress "tested up to" version to 6.7 (props @colinswinney, @jeffpaul via #232, #233).
- Bump WordPress minimum from 6.4 to 6.5 (props @colinswinney, @jeffpaul via #232, #233).
- Remove composer dev dependencies from archived project (props @TylerB24890, @szepeviktor, @peterwilsoncc via #220).
Fixed
- Use proper block category for the Safe SVG Icon block (props @kirtangajjar, @fabiankaegy via #226).
Security
- Only allow SVG file types to be uploaded if our sanitizer is able to run on those files (props @darylldoyle, @xknown, @dkotter via #228).
- Bump
webpack
from 5.90.1 to 5.94.0 (props @dependabot, @peterwilsoncc via #222). - Bump
ws
from 7.5.10 to 8.18.0,serve-static
from 1.15.0 to 1.16.2 andexpress
from 4.19.2 to 4.21.0 (props @dependabot, @Sidsector9, @faisal-alvi via #227, #230, #234).
Developer
- Bump
@10up/cypress-wp-utils
from 0.2.0 to 0.4.0,@wordpress/env
from 9.2.0 to 10.12.0,cypress
from 13.3.0 to 13.16.0 andcypress-mochawesome-reporter
from 3.4.0 to 3.8.2. Downgrades@wordpress/scripts
to 27.9.0. Add additional E2E tests (props @dkotter, @Lewiscowles1986 via #234). - Update repo badges, add banner image (props @jeffpaul, @dkotter via #224, #229).
New Contributors
- @manojsiddoji made their first contribution in #201
- @rolf-yoast made their first contribution in #214
- @TylerB24890 made their first contribution in #214
- @gabriel-glo made their first contribution in #216
- @jeremymoore made their first contribution in #216
- @colinswinney made their first contribution in #232
Full Changelog: 2.2.6...2.3.0
View closed items in the milestone.