Skip to content

Commit

Permalink
Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Oct 23, 2023
2 parents 413ca06 + 80a6f91 commit c899be2
Show file tree
Hide file tree
Showing 11 changed files with 229 additions and 14,035 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file, per [the Ke

## [Unreleased] - TBD

## [2.2.1] - 2023-10-23
### Changed
- Update to `apiVersion` 3 for our SVG Icon block (props [@fabiankaegy](https:/fabiankaegy), [@ravinderk](https:/ravinderk), [@jeffpaul](https:/jeffpaul), [@dkotter](https:/dkotter) via [#133](https:/10up/safe-svg/pull/133)).

### Fixed
- Address an error due to the SVG Icon block using the `fill-rule` attribute (props [@zamanq](https:/zamanq), [@jeffpaul](https:/jeffpaul), [@iamdharmesh](https:/iamdharmesh) via [#152](https:/10up/safe-svg/pull/152)).

### Security
- Bump `postcss` from 8.4.20 to 8.4.31 (props [@dependabot](https:/apps/dependabot), [@faisal-alvi](https:/faisal-alvi) via [#155](https:/10up/safe-svg/pull/155)).
- Bump `@cypress/request` from 2.88.12 to 3.0.1 and `cypress` from 10.11.0 to 13.3.0 (props [@dependabot](https:/apps/dependabot), [@ravinderk](https:/ravinderk) via [#156](https:/10up/safe-svg/pull/156)).
- Bump `@babel/traverse` from 7.20.12 to 7.23.2 (props [@dependabot](https:/apps/dependabot), [@iamdharmesh](https:/iamdharmesh) via [#158](https:/10up/safe-svg/pull/157)).

## [2.2.0] - 2023-08-21
### Added
- New settings that give the ability to select which user roles can upload SVG files (props [@dhanendran](https:/dhanendran), [@csloisel](https:/csloisel), [@faisal-alvi](https:/faisal-alvi), [@dkotter](https:/dkotter) via [#76](https:/10up/safe-svg/pull/76)).
Expand Down Expand Up @@ -286,6 +298,7 @@ All notable changes to this project will be documented in this file, per [the Ke
- Initial Release.

[Unreleased]: https:/10up/safe-svg/compare/trunk...develop
[2.2.1]: https:/10up/safe-svg/compare/2.2.0...2.2.1
[2.2.0]: https:/10up/safe-svg/compare/2.1.1...2.2.0
[2.1.1]: https:/10up/safe-svg/compare/2.1.0...2.1.1
[2.1.0]: https:/10up/safe-svg/compare/2.0.3...2.1.0
Expand Down
2 changes: 1 addition & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The following individuals are responsible for curating the list of issues, respo

Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, translation, testing, etc.

[Daryll Doyle (@darylldoyle)](https:/darylldoyle), [Lewis Cowles (@LewisCowles1986)](https:/LewisCowles1986), [Daniel M. Hendricks (@dmhendricks)](https:/dmhendricks), [Dan Pock (@mallardduck)](https:/mallardduck), [K. Adam White (@kadamwhite)](https:/kadamwhite), [Joe Hoyle (@joehoyle)](https:/joehoyle), [Jeffrey Paul (@jeffpaul)](https:/jeffpaul), [Brandon Berg (@BBerg10up)](https:/BBerg10up), [Max Lyuchin (@cadic)](https:/cadic), [Mehidi Hassan (@mehidi258)](https:/mehidi258), [Dharmesh Patel (@iamdharmesh)](https:/iamdharmesh), [Timothy Decker (@amdd-tim)](https:/amdd-tim), [Brooke Campbell](https://www.linkedin.com/in/brookecampbelldesign/), [Mehul Kaklotar (@mehulkaklotar)](https:/mehulkaklotar), [@smerriman](https:/smerriman), [Darin Kotter (@dkotter)](https:/dkotter), [Manuel Friedli (@fritteli)](https:/fritteli), [David Hamann (@davidhamann)](https:/davidhamann), [@j-hoffmann](https:/j-hoffmann), [Peter Wilson (@peterwilsoncc)](https:/peterwilsoncc), [Torsten Landsiedel (@Zodiac1978)](https:/Zodiac1978), [Axel DUCORON (@aksld)](https:/aksld), [Mario Rader (@r8r)](https:/r8r), [Jeremy Turowetz (@jerturowetz)](https:/jerturowetz), [Robert O'Rourke (@roborourke)](https:/roborourke), [Dominik Schilling (@ocean90)](https:/ocean90), [Adam Wills (@AdamWills)](https:/AdamWills), [Faisal Alvi (@faisal-alvi)](https:/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https:/Sidsector9), [Cory Hughart (@cr0ybot)](https:/cr0ybot), [Cory Birdsong (@cbirdsong)](https:/cbirdsong), [Vikram Moparthy (@vikrampm1)](https:/vikrampm1), [Garth Gutenberg (@ggutenberg)](https:/ggutenberg), [Jayedul Kabir (@jayedul)](https:/jayedul), [Marcel Freinbichler (@freinbichler)](https:/freinbichler), [IanDelMar (@IanDelMar)](https:/IanDelMar), [Ravinder Kumar (@ravinderk)](https:/ravinderk), [GitHub Dependabot (@dependabot)](https:/apps/dependabot), [Santiago Dimattia (@sdmtt)](https:/sdmtt), [Ben Marshall (@bmarshall511)](https:/bmarshall511), [Viktor Szépe (@szepeviktor)](https:/szepeviktor), [Dhanendran Rajagopal (@dhanendran)](https:/dhanendran), [Curtis Loisel (@csloisel)](https:/csloisel), [Giorgos Sarigiannidis (@gsarig)](https:/gsarig).
[Daryll Doyle (@darylldoyle)](https:/darylldoyle), [Lewis Cowles (@LewisCowles1986)](https:/LewisCowles1986), [Daniel M. Hendricks (@dmhendricks)](https:/dmhendricks), [Dan Pock (@mallardduck)](https:/mallardduck), [K. Adam White (@kadamwhite)](https:/kadamwhite), [Joe Hoyle (@joehoyle)](https:/joehoyle), [Jeffrey Paul (@jeffpaul)](https:/jeffpaul), [Brandon Berg (@BBerg10up)](https:/BBerg10up), [Max Lyuchin (@cadic)](https:/cadic), [Mehidi Hassan (@mehidi258)](https:/mehidi258), [Dharmesh Patel (@iamdharmesh)](https:/iamdharmesh), [Timothy Decker (@amdd-tim)](https:/amdd-tim), [Brooke Campbell](https://www.linkedin.com/in/brookecampbelldesign/), [Mehul Kaklotar (@mehulkaklotar)](https:/mehulkaklotar), [@smerriman](https:/smerriman), [Darin Kotter (@dkotter)](https:/dkotter), [Manuel Friedli (@fritteli)](https:/fritteli), [David Hamann (@davidhamann)](https:/davidhamann), [@j-hoffmann](https:/j-hoffmann), [Peter Wilson (@peterwilsoncc)](https:/peterwilsoncc), [Torsten Landsiedel (@Zodiac1978)](https:/Zodiac1978), [Axel DUCORON (@aksld)](https:/aksld), [Mario Rader (@r8r)](https:/r8r), [Jeremy Turowetz (@jerturowetz)](https:/jerturowetz), [Robert O'Rourke (@roborourke)](https:/roborourke), [Dominik Schilling (@ocean90)](https:/ocean90), [Adam Wills (@AdamWills)](https:/AdamWills), [Faisal Alvi (@faisal-alvi)](https:/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https:/Sidsector9), [Cory Hughart (@cr0ybot)](https:/cr0ybot), [Cory Birdsong (@cbirdsong)](https:/cbirdsong), [Vikram Moparthy (@vikrampm1)](https:/vikrampm1), [Garth Gutenberg (@ggutenberg)](https:/ggutenberg), [Jayedul Kabir (@jayedul)](https:/jayedul), [Marcel Freinbichler (@freinbichler)](https:/freinbichler), [IanDelMar (@IanDelMar)](https:/IanDelMar), [Ravinder Kumar (@ravinderk)](https:/ravinderk), [GitHub Dependabot (@dependabot)](https:/apps/dependabot), [Santiago Dimattia (@sdmtt)](https:/sdmtt), [Ben Marshall (@bmarshall511)](https:/bmarshall511), [Viktor Szépe (@szepeviktor)](https:/szepeviktor), [Dhanendran Rajagopal (@dhanendran)](https:/dhanendran), [Curtis Loisel (@csloisel)](https:/csloisel), [Giorgos Sarigiannidis (@gsarig)](https:/gsarig), [Fabian Kägy (@fabiankaegy)](https:/fabiankaegy), [Quamruz Zaman (@zamanq)](https:/zamanq).

## Libraries

Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/safe-svg/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"apiVersion": 3,
"title": "Safe SVG",
"description": "Display the SVG icon",
"textdomain": "safe-svg",
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/safe-svg/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ registerBlockType( block.name, {
edit,
save,
icon: {
src: <svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 512 512'><path fill='currentColor' fill-rule='evenodd' d='M321.838 42.667H87.171v234.666h42.667v-192h174.293l81.707 81.707v110.293h42.667v-128L321.838 42.667ZM85.333 441.734l4.17-24.65c14.68 6.163 27.126 9.244 37.337 9.244 6.645 0 11.54-1.631 14.68-4.894 2.72-2.84 4.079-6.313 4.079-10.422 0-3.685-1.33-6.555-3.988-8.61-2.658-2.053-9.213-5.225-19.665-9.515-7.734-3.202-13.186-5.588-16.358-7.16-3.172-1.57-6.087-3.352-8.745-5.346-7.552-5.619-11.328-13.715-11.328-24.287 0-9.123 2.477-17.129 7.43-24.016 7.613-10.694 20.12-16.04 37.52-16.04 12.566 0 26.22 2.325 40.962 6.977l-5.8 23.563c-8.7-3.202-15.24-5.317-19.62-6.344-4.38-1.027-8.957-1.54-13.73-1.54-5.437 0-9.576 1.208-12.416 3.625-2.96 2.597-4.44 5.89-4.44 9.878 0 3.443 1.253 6.147 3.76 8.11 2.508 1.964 8.535 4.91 18.08 8.837 9.486 3.927 15.77 6.66 18.85 8.201a55.772 55.772 0 0 1 8.7 5.392c7.432 5.68 11.147 14.35 11.147 26.01 0 13.775-4.682 24.197-14.047 31.265-7.975 5.982-19.152 8.972-33.53 8.972-14.984 0-29.333-2.417-43.048-7.25Zm146.722 4.985L183.39 318.303h30.087l21.388 57.637c5.437 14.682 9.515 26.765 12.234 36.25 4.169-13.291 8.126-24.982 11.872-35.071l22.022-58.816h28.637l-48.665 128.416h-28.91ZM429.8 374.853v65.522c-7.37 2.477-12.567 4.108-15.588 4.894-9.364 2.477-19.424 3.715-30.178 3.715-21.146 0-37.247-5.317-48.303-15.95-12.264-11.72-18.397-28.063-18.397-49.028 0-24.106 7.613-42.292 22.838-54.556 11.056-8.942 25.979-13.413 44.769-13.413 16.07 0 31.024 2.93 44.859 8.79l-9.878 22.567c-6.525-3.263-12.235-5.544-17.128-6.843-4.894-1.299-10.271-1.948-16.132-1.948-14.016 0-24.347 4.561-30.993 13.684-5.619 7.734-8.428 17.914-8.428 30.54 0 15.165 4.229 26.584 12.687 34.257 6.767 6.163 15.165 9.244 25.194 9.244 5.86 0 11.419-.997 16.675-2.99v-25.829h-22.113v-22.656H429.8Z'></path></svg>
src: <svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 512 512'><path fill='currentColor' fillRule='evenodd' d='M321.838 42.667H87.171v234.666h42.667v-192h174.293l81.707 81.707v110.293h42.667v-128L321.838 42.667ZM85.333 441.734l4.17-24.65c14.68 6.163 27.126 9.244 37.337 9.244 6.645 0 11.54-1.631 14.68-4.894 2.72-2.84 4.079-6.313 4.079-10.422 0-3.685-1.33-6.555-3.988-8.61-2.658-2.053-9.213-5.225-19.665-9.515-7.734-3.202-13.186-5.588-16.358-7.16-3.172-1.57-6.087-3.352-8.745-5.346-7.552-5.619-11.328-13.715-11.328-24.287 0-9.123 2.477-17.129 7.43-24.016 7.613-10.694 20.12-16.04 37.52-16.04 12.566 0 26.22 2.325 40.962 6.977l-5.8 23.563c-8.7-3.202-15.24-5.317-19.62-6.344-4.38-1.027-8.957-1.54-13.73-1.54-5.437 0-9.576 1.208-12.416 3.625-2.96 2.597-4.44 5.89-4.44 9.878 0 3.443 1.253 6.147 3.76 8.11 2.508 1.964 8.535 4.91 18.08 8.837 9.486 3.927 15.77 6.66 18.85 8.201a55.772 55.772 0 0 1 8.7 5.392c7.432 5.68 11.147 14.35 11.147 26.01 0 13.775-4.682 24.197-14.047 31.265-7.975 5.982-19.152 8.972-33.53 8.972-14.984 0-29.333-2.417-43.048-7.25Zm146.722 4.985L183.39 318.303h30.087l21.388 57.637c5.437 14.682 9.515 26.765 12.234 36.25 4.169-13.291 8.126-24.982 11.872-35.071l22.022-58.816h28.637l-48.665 128.416h-28.91ZM429.8 374.853v65.522c-7.37 2.477-12.567 4.108-15.588 4.894-9.364 2.477-19.424 3.715-30.178 3.715-21.146 0-37.247-5.317-48.303-15.95-12.264-11.72-18.397-28.063-18.397-49.028 0-24.106 7.613-42.292 22.838-54.556 11.056-8.942 25.979-13.413 44.769-13.413 16.07 0 31.024 2.93 44.859 8.79l-9.878 22.567c-6.525-3.263-12.235-5.544-17.128-6.843-4.894-1.299-10.271-1.948-16.132-1.948-14.016 0-24.347 4.561-30.993 13.684-5.619 7.734-8.428 17.914-8.428 30.54 0 15.165 4.229 26.584 12.687 34.257 6.767 6.163 15.165 9.244 25.194 9.244 5.86 0 11.419-.997 16.675-2.99v-25.829h-22.113v-22.656H429.8Z'></path></svg>
}
} );
Loading

0 comments on commit c899be2

Please sign in to comment.