Skip to content

Use image_file extension as render format#3272

Merged
tvdeyen merged 1 commit intomainfrom
image-file-extension
Jun 19, 2025
Merged

Use image_file extension as render format#3272
tvdeyen merged 1 commit intomainfrom
image-file-extension

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Jun 19, 2025

What is this pull request for?

Extracted from #2968

Dragonfly stores the file extension in the "magic column"
image_file_format and not actually the format (mime type).

Preparing for Active Storage.

Notable changes

Deprecates suffix to align the method name with the other
magic columns.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 8.0 milestone Jun 19, 2025
@tvdeyen tvdeyen requested a review from a team as a code owner June 19, 2025 20:14
@tvdeyen tvdeyen changed the title Image file extension Use image_file extension as render format Jun 19, 2025
Dragonfly stores the file extension in the "magic column"
`image_file_format` and not actually the format (mime type).

Deprecates `suffix` to align the method name with the other
magic columns.
@tvdeyen tvdeyen force-pushed the image-file-extension branch from b1aba65 to 8103401 Compare June 19, 2025 20:35
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.86%. Comparing base (09b5113) to head (8103401).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3272   +/-   ##
=======================================
  Coverage   96.86%   96.86%           
=======================================
  Files         268      268           
  Lines        6821     6823    +2     
=======================================
+ Hits         6607     6609    +2     
  Misses        214      214           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet

@tvdeyen tvdeyen merged commit 96548de into main Jun 19, 2025
19 checks passed
@tvdeyen tvdeyen deleted the image-file-extension branch June 19, 2025 21:00
@alchemycms-bot alchemycms-bot bot mentioned this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants