Version |
Release Date |
Change Log |
2.0.3 |
2022-09-01 |
- 2022-09-01 =
-
Added: More robust PHP testing (props @iamdharmesh, @faisal-alvi via #71, #73).
-
Fixed: Addressed PHPCS errors (props @iamdharmesh, @faisal-alvi via #73).
|
2.0.2 |
2022-06-27 |
- 2022-06-27 =
-
Added: Dependency security scanning (props @jeffpaul via #60).
-
Added: End-to-end testing with Cypress (props @iamdharmesh via #64).
-
Changed: Bump WordPress version "tested up to" 6.0 (props @dkotter via #65).
-
Removed: Redundant premium version upgrade link (props @ocean90, @peterwilsoncc via #61).
-
Removed: Unneeded admin CSS fix for featured images (props @AdamWills, @dkotter, @peterwilsoncc via #63).
|
2.0.1 |
2022-04-19 |
- 2022-04-19 =
-
Changed: Documentation updates (props @jeffpaul, @peterwilsoncc).
-
Fixed: Ensure our height and width attributes are set before using them (props @dkotter, @r8r, @jerturowetz, @cadic).
-
Fixed: Support for installing via packagist.org (props @roborourke, @peterwilsoncc).
|
2.0.0 |
2022-04-06 |
- 2022-04-06 =
-
Added: New filter,
safe_svg_use_width_height_attributes , that can be used to change the order of attributes we use to determine the SVG dimensions (props @dkotter, @peterwilsoncc).
-
Changed: Documentation updates (props @j-hoffmann, @jeffpaul, @Zodiac1978).
-
Fixed: Use the
viewBox attributes first for image dimensions. Ensure we don't use image dimensions that end with percent signs (props @dkotter, @peterwilsoncc).
-
Fixed: Make sure we use the full size SVG dimensions rather than the requested size, to avoid wrong sizes being used and duplicate height and width attributes (props @dkotter, @cadic).
-
Fixed: Ensure the
tmp_name and name properties exist before we use them (props @dkotter, @aksld).
|
1.9.10 |
2022-02-23 |
2022-02-23 =
Note that this release bumps the WordPress minimum version from 4.0 to 4.7 and the PHP minimum version from 5.6 to 7.0.
Changed: Bump WordPress minimum version from 4.0 to 4.7 (props @cadic).
Changed: Bump PHP minimum version from 5.6 to 7.0 (props @mehidi258, @iamdharmesh, @amdd-tim, @darylldoyle, @jeffpaul).
Changed: Update enshrined/svg-sanitize from 0.13.3 to 0.5.2 (props @mehidi258, @iamdharmesh, @amdd-tim, @darylldoyle, @jeffpaul, @cadic).
Changed: Bump WordPress version "tested up to" 5.9 (props @BBerg10up, @jeffpaul, @cadic).
Changed: Updated library location and added a new build step (props @darylldoyle, @dkotter).
Changed: Updated plugin assets and added docs and repo management workflows via GitHub Actions (props Brooke Campbell, @jeffpaul).
Fixed: Double slash being added in SVG file URL for newer uploads (props @mehulkaklotar, @smerriman).
Fixed: Float value casting for SVGs when fetching width and height (props @mehulkaklotar, @smerriman).
Fixed: Use calculated size for SVGs instead of using false (props @dkotter, @darylldoyle, @fritteli).
Fixed: Add better file type checking when looking for SVG files (props @davidhamann, @dkotter, @darylldoyle).
|
1.9.9 |
2020-05-07 |
- Fixed issue where 100% width is accidentally converted to 100px width. Props @joehoyle
|
1.9.8 |
2020-04-17 |
- Underlying library update
|
1.9.7 |
2020-01-23 |
- Underlying library update
|
1.9.6 |
2019-11-07 |
- Underlying library update that fixes a security issue
|
1.9.5 |
2019-11-04 |
- Underlying library update that fixes some security issues
|
1.9.4 |
2019-04-26 |
- Fixed a bug causing lots of error log output to do with
safe_svg::fix_direct_image_output()
|
1.9.3 |
2019-02-19 |
- Fixed a bug cusing 0 height and width SVGs
|
1.9.2 |
2019-02-14 |
- Fixed a warning about an Illegal string offset
- Fixed an issue if something other than a WP_Post object is passed in via the
wp_get_attachment_image_attributes filter.
|
1.9.1 |
2019-01-29 |
- Fixed a warning that was being generated by a change made in 1.9.0.
|
1.9.0 |
2019-01-03 |
- If an image is the correct ratio, allow skipping of the crop popup when setting header/logo images with SVGs.
|
1.8.1 |
2018-11-22 |
- Don't let errors break upload if uploading an empty file
- Fix featured image display in Gutenberg. Props @hendridm :)
|
1.8.0 |
2018-11-04 |
- Pull SVG dimensions from the width/height or viewbox attributes of the SVG.
- Add the role="img" attribute to SVGs
|
1.7.1 |
2018-10-01 |
- Updated underlying lib and added new filters for filtering allowed tags and attributes
|
1.6.1 |
2018-03-17 |
- Images will now use the size chosen when inserted into the page rather than default to 2000px everytime.
|
1.6.0 |
2017-12-20 |
- Fairly big new feature - The library now allows
<use> elements as long as they don't reference external files!
- You can now also embed safe image types within the SVG and not have them stripped (PNG, GIF, JPG)
|
1.5.3 |
2017-11-16 |
- 1.5.2 introduced an issue that can freeze the media library. This fixes that issue. Sorry!
|
1.5.2 |
2017-11-15 |
- Tested with 4.9.0
- Fixed an issue with SVGs when regenerating media
|
1.5.1 |
2017-08-21 |
- Fix PHP strict standards warning
|
1.5.0 |
2017-06-20 |
- Library update
- role, aria- and data- attributes are now whitelisted to improve accessibility
|
1.4.5 |
2017-06-18 |
- Fixes some issues with defining the size of an SVG.
- Library update
|
1.4.4 |
2017-06-07 |
- SVGs now display as featured images in the admin area
|
1.4.3 |
2017-03-06 |
- WordPress 4.7.3 Compatibility
- Expanded SVG previews in media library
|
1.4.2 |
2017-02-26 |
- Added a check / fix for when mb_* functions are not available
|
1.4.1 |
2017-02-23 |
- Updated underlying library to allow attributes/tags in all case variations
|
1.3.4 |
2017-02-21 |
- A fix for SVGZ uploads failing and not sanitising correctly
|
1.4.0 |
2017-02-21 |
- Added ability to preview SVG on both grid and list view in the wp-admin media area
- Updated underlying library version
|
1.3.2 |
2017-02-15 |
- Fix for the mime type issue in 4.7.1. Mad props to @lewiscowles
|
1.3.3 |
2017-02-15 |
|
1.3.1 |
2016-12-01 |
- Updated underlying library version
|
1.3.0 |
2016-10-10 |
- Minify SVGs after cleaning so they can be loaded correctly through file_get_contents
|
1.2.0 |
2016-02-27 |
- Added support for camel case attributes such as viewBox
|
1.1.1 |
2015-07-06 |
- Fixed an issue with empty svg elements self-closing
|
1.1.0 |
2015-07-04 |
- Added i18n
- Added da, de ,en, es, fr, nl and ru translations
- Fixed an issue with filename not being pulled over on failed uploads
|
1.0.0 |
2015-07-03 |
|