yuceltoluyag / Rise-of-Kingdoms-Bot

Bot for Rise of Kingdom and can do following job: claim quests/vip/gifts, collecting resource, gathering resource, donate techology, train troops and pass verification.
https://yuceltoluyag.github.io/
MIT License
42 stars 21 forks source link

Bump pillow from 9.5.0 to 11.0.0 #26

Closed dependabot[bot] closed 1 day ago

dependabot[bot] commented 1 day ago

Bumps pillow from 9.5.0 to 11.0.0.

Release notes

Sourced from pillow's releases.

11.0.0

https://pillow.readthedocs.io/en/stable/releasenotes/11.0.0.html

Changes

... (truncated)

Changelog

Sourced from pillow's changelog.

11.0.0 (2024-10-15)

  • Update licence to MIT-CMU #8460 [hugovk]

  • Conditionally define ImageCms type hint to avoid requiring core #8197 [radarhere]

  • Support writing LONG8 offsets in AppendingTiffWriter #8417 [radarhere]

  • Use ImageFile.MAXBLOCK when saving TIFF images #8461 [radarhere]

  • Do not close provided file handles with libtiff when saving #8458 [radarhere]

  • Support ImageFilter.BuiltinFilter for I;16* images #8438 [radarhere]

  • Use ImagingCore.ptr instead of ImagingCore.id #8341 [homm, radarhere, hugovk]

  • Updated EPS mode when opening images without transparency #8281 [Yay295, radarhere]

  • Use transparency when combining P frames from APNGs #8443 [radarhere]

  • Support all resampling filters when resizing I;16* images #8422 [radarhere]

  • Free memory on early return #8413 [radarhere]

  • Cast int before potentially exceeding INT_MAX #8402 [radarhere]

  • Check image value before use #8400 [radarhere]

  • Improved copying imagequant libraries #8420 [radarhere]

  • Use Capsule for WebP saving #8386 [homm, radarhere]

  • Fixed writing multiple StripOffsets to TIFF #8317 [Yay295, radarhere]

... (truncated)

Commits


Dependabot compatibility score

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 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)

Summary by Sourcery

Build:

sourcery-ai[bot] commented 1 day ago

Reviewer's Guide by Sourcery

This PR updates the Pillow package from version 9.5.0 to 11.0.0. The update includes numerous improvements to image handling, performance optimizations, and bug fixes. Key changes include enhanced TIFF image handling, improved support for I;16* images, memory management improvements, and better transparency handling for various image formats.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Version upgrade of the Pillow package
  • Updated Pillow dependency from 9.5.0 to 11.0.0
requirements.txt
Enhanced TIFF image handling
  • Added support for writing LONG8 offsets in AppendingTiffWriter
  • Improved TIFF image saving with ImageFile.MAXBLOCK
  • Fixed handling of multiple StripOffsets
  • Improved file handle management for TIFF saving
requirements.txt
Improved image processing capabilities
  • Added support for all resampling filters for I;16 images
  • Enhanced ImageFilter.BuiltinFilter support for I;16 images
  • Improved transparency handling for P frames in APNGs
  • Updated EPS mode handling for images without transparency
requirements.txt
Performance and memory optimizations
  • Optimized getbbox() and getextrema() routines
  • Improved memory management with early returns
  • Added safeguards against integer overflow
  • Enhanced image value validation
requirements.txt

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).