Releases: 10up/safe-svg
Releases · 10up/safe-svg
2.1.0
Added
- An SVG Gutenberg Block (props @faisal-alvi, @Sidsector9, @cr0ybot, @darylldoyle, @cbirdsong, @jeffpaul via #80).
- "Build release zip" GitHub Action (props @iamdharmesh, @dkotter, @faisal-alvi via #87).
Changed
- Bump minimum PHP version from 7.0 to 7.4 (props @iamdharmesh, @peterwilsoncc, @vikrampm1 via #82).
- Bump minimum WordPress version from 4.7 to 5.7 (props @iamdharmesh, @peterwilsoncc, @vikrampm1 via #82).
- Bump WordPress "tested up to" version 6.1 (props @iamdharmesh, @peterwilsoncc via #85).
Security
- Updates the underlying sanitisation library to pull in a security fix (props @darylldoyle, @faisal-alvi, @Cyxow via #105).
- Bump
got
from 10.7.0 to 11.8.5 (props @dependabot via #83). - Bump
@wordpress/env
from 4.9.0 to 5.6.0 (props @dependabot via #83). - Bump
simple-git
from 3.9.0 to 3.16.0 (props @dependabot via #88, #99). - Bump
loader-utils
from 2.0.2 to 2.0.4 (props @dependabot via #92). - Bump
json5
from 1.0.1 to 1.0.2 (props @dependabot via #91). - Bump
decode-uri-component
from 0.2.0 to 0.2.2 (props @dependabot via #93). - Bump
markdown-it
from 12.0.4 to 12.3.2 (props @dependabot, @peterwilsoncc via #94). - Bump
@wordpress/scripts
from 19.2.4 to 25.1.0 (props @dependabot, @peterwilsoncc via #94). - Bump
http-cache-semantics
from 4.1.0 to 4.1.1 (props @dependabot, @peterwilsoncc via #101). - Bump
webpack
from 5.75.0 to 5.76.1 (props @dependabot, @faisal-alvi via #103). - Bump
svg-sanitizer
from 0.15.2 to 0.16.0 (props @darylldoyle, @faisal-alvi, @Cyxow via #105).
New Contributors
- @Sidsector9 made their first contribution in #80
- @cr0ybot made their first contribution in #80
- @cbirdsong made their first contribution in #80
- @vikrampm1 made their first contribution in #82
Full Changelog: 2.0.3...2.1.0
View closed items in the milestone.
2.0.3
Added
- More robust PHP testing (props @iamdharmesh, @faisal-alvi via #71, #73).
Fixed
- Addressed PHPCS errors (props @iamdharmesh, @faisal-alvi via #73).
New Contributors
- @faisal-alvi made their first contribution in #71
Full Changelog: 2.0.2...2.0.3
View closed items in the milestone.
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.