Skip to content

build(deps): Bump mini_magick from 4.13.2 to 5.2.0 #2527

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

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2025

Bumps mini_magick from 4.13.2 to 5.2.0.

Release notes

Sourced from mini_magick's releases.

v5.2.0

  • Added MiniMagick.restricted_env configuration for stopping IM command from inheriting environment variables from the parent process.
  • Fixed "ambiguous * has been interpreted as an argument prefix" warning

v5.1.1

  • Add logger gem to dependencies for Ruby 3.4+.

v5.1.0

  • New cli_env configuration was added for setting extra environment variables for every CLI command:

    MiniMagick.configure do |config|
      config.cli_env = { "MAGICK_MEMORY_LIMIT" => "128MiB" }
    end
  • New graphicsmagick configuration was added for telling MiniMagick to use GraphicsMagick instead of MiniMagick:

    MiniMagick.configure do |config|
      config.graphicsmagick = true # prepend all commands with "gm"
    end

    Previously, the recommended approach was setting MiniMagick.cli_prefix = "gm", but that doesn't work when ImageMagick 7 is installed, as in that case MiniMagick will try to prepend magick on top of gm.

v5.0.1

  • MiniMagick::Image#write doesn't delete the internal tempfile anymore, which restores use cases like:

    image = MiniMagick::Image.open("...")
    image.resize("500x500")
    image.write("foo.jpg")
    image.blur
    image.write("bar.png")
  • Prevented MiniMagick::Image#to_ary being called by ruby in certain cases, such as [image].flatten(1).

v5.0.0

Improvements

  • New class method shorthands were added for the tool API:

    # BEFORE
    MiniMagick::Tool::Convert.new { |convert| ... }
    MiniMagick::Tool::Identify.new { |convert| ... }
    # ...

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

Bumps [mini_magick](https://github.com/minimagick/minimagick) from 4.13.2 to 5.2.0.
- [Release notes](https://github.com/minimagick/minimagick/releases)
- [Commits](minimagick/minimagick@v4.13.2...v5.2.0)

---
updated-dependencies:
- dependency-name: mini_magick
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from toshimaru March 6, 2025 13:06
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Mar 6, 2025
@toshimaru toshimaru merged commit bdbdb5c into main Mar 6, 2025
25 checks passed
@toshimaru toshimaru deleted the dependabot/bundler/mini_magick-5.2.0 branch March 6, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant