Releases: 10up/safe-svg
Releases · 10up/safe-svg
2.0.2
Added
- Dependency security scanning (props @jeffpaul via #60).
- End-to-end testing with Cypress (props @iamdharmesh via #64).
Changed
Removed
- Redundant premium version upgrade link (props @ocean90, @peterwilsoncc via #61).
- Unneeded admin CSS fix for featured images (props @AdamWills, @dkotter, @peterwilsoncc via #63).
New Contributors
- @ocean90 made their first contribution in #61
- @AdamWills made their first contribution in #63
Full Changelog: 2.0.1...2.0.2
View closed items in the milestone.
2.0.1
Changed
- Documentation updates (props @jeffpaul, @peterwilsoncc via #50).
Fixed
- Ensure our height and width attributes are set before using them (props @dkotter, @r8r, @jerturowetz, @cadic via #51)
- Support for installing via packagist.org (props @roborourke, @peterwilsoncc via #52).
Full Changelog: 1.9.10...2.0.0
View closed items in the milestone.
2.0.0
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 via #43).
Changed
- Documentation updates (props @j-hoffmann, @jeffpaul, @Zodiac1978 via #39, #42).
Fixed
- Use the
viewBox
attributes first for image dimensions. Ensure we don't use image dimensions that end with percent signs (props @dkotter, @peterwilsoncc via #43). - 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 via #44).
- Ensure the
tmp_name
andname
properties exist before we use them (props @dkotter, @aksld via #46).
New Contributors
- @Zodiac1978 made their first contribution in #42
Full Changelog: 1.9.10...2.0.0
View closed items in the milestone.
1.9.10
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 via #32).
- Bump PHP minimum version from 5.6 to 7.0 (props @mehidi258, @iamdharmesh, @amdd-tim, @darylldoyle, @jeffpaul via #20).
- Update
enshrined/svg-sanitize
from 0.13.3 to 0.5.2 (props @mehidi258, @iamdharmesh, @amdd-tim, @darylldoyle, @jeffpaul, @cadic via #20, #29). - Bump WordPress version "tested up to" 5.9 (props @BBerg10up, @jeffpaul, @cadic via #14, #27).
- Updated library location and added a new build step (props @darylldoyle, @dkotter via #35, #36).
- Updated plugin assets and added docs and repo management workflows via GitHub Actions (props Brooke Campbell, @jeffpaul via #16, #26).
Fixed
- Double slash being added in SVG file URL for newer uploads (props @mehulkaklotar, @smerriman via #19).
- Float value casting for SVGs when fetching width and height (props @mehulkaklotar, @smerriman via #19).
- Use calculated size for SVGs instead of using
false
(props @dkotter, @darylldoyle, @fritteli via #23). - Add better file type checking when looking for SVG files (props @davidhamann, @dkotter, @darylldoyle via #28).
New Contributors
- @jeffpaul made their first contribution in #14
- @gwarnants made their first contribution in #8
- @mehulkaklotar made their first contribution in #19
- @mehidi258 made their first contribution in #20
- @cadic made their first contribution in #27
- @dkotter made their first contribution in #28
- @darylldoyle made their first contribution in #29
Full Changelog: 1.9.9...1.9.10
See all closed items in the milestone.