Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cairosvg requirement from ~=2.6 to ~=2.7 #1024

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 17, 2023

Updates the requirements on cairosvg to permit the latest version.

Release notes

Sourced from cairosvg's releases.

2.7.1

  • Don’t draw clipPath when defined after reference
  • Handle evenodd fill rule with gradients and patterns
  • Fix ratio and clip for "image" tags with no size
  • Handle data-URLs in safe mode
  • Use f-strings
Changelog

Sourced from cairosvg's changelog.

Version 2.7.1 released on 2023-08-05

  • Don’t draw clipPath when defined after reference
  • Handle evenodd fill rule with gradients and patterns
  • Fix ratio and clip for "image" tags with no size
  • Handle data-URLs in safe mode
  • Use f-strings

Version 2.7.0 released on 2023-03-20

WARNING: this is a security update.

When processing SVG files, CairoSVG could access other files online, possibly leading to very long renderings or other security problems.

This feature is now disabled by default. External resources can still be accessed using the "unsafe" or the "url_fetcher" parameter.

Version 2.6.0 released on 2023-01-12

  • Drop support of Python 3.5 and 3.6, add support of Python 3.9, 3.10 and 3.11
  • Support crispEdges value for text antialiasing
  • Don’t crash when including CMYK images
  • Only update docstrings when not optimized
  • Don’t restore current point after empty paths
  • Assume that 1ch equals 0.5em
  • Fix various deprecation warnings

Version 2.5.2 released on 2021-03-06

  • Fix marker path scale

Version 2.5.1 released on 2021-01-06

WARNING: this is a security update.

When processing SVG files, CairoSVG was using two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS).

If an attacker provided a malicious SVG, it could make CairoSVG get stuck processing the file for a very long time.

... (truncated)

Commits
  • 0abf992 Version 2.7.1
  • 3fb99d8 Merge pull request #394 from eumiro/fstring
  • 595d847 Don’t launch tests on each version of Python
  • 0d02afd Don’t draw clipPath when defined after reference
  • c0a3875 Handle evenodd fill rule with gradients and patterns
  • 8091c24 Use f-strings
  • 7dea7cf Fix ratio and clip for "image" tags with no size
  • 2cbe306 Handle data-URLs in safe mode.
  • 33007d4 Version 2.7.0
  • 12d31c6 Don’t allow fetching external files unless explicitly asked for
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 17, 2023
@dependabot dependabot bot requested a review from Guts December 17, 2023 10:22
@dependabot dependabot bot force-pushed the dependabot/pip/cairosvg-approx-eq-2.7 branch from f59270d to 7932930 Compare December 17, 2023 10:31
Updates the requirements on [cairosvg](https://github.com/Kozea/CairoSVG) to permit the latest version.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/main/NEWS.rst)
- [Commits](Kozea/CairoSVG@2.6.0...2.7.1)

---
updated-dependencies:
- dependency-name: cairosvg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/cairosvg-approx-eq-2.7 branch from 7932930 to cdcc38d Compare January 3, 2024 18:11
Copy link
Contributor

github-actions bot commented Jan 3, 2024

🎉 Le site de prévisualisation pour cette PR a été généré et est disponible sous ce lien.
Commit de référence : cdcc38d.

@Guts Guts merged commit 68012c1 into master Jan 3, 2024
5 checks passed
@Guts Guts deleted the dependabot/pip/cairosvg-approx-eq-2.7 branch January 3, 2024 18:38
@github-actions github-actions bot temporarily deployed to pr-previews January 3, 2024 18:38 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant