Skip to content

Release v4.2.5#54

Merged
sampoyigi merged 8 commits into
masterfrom
4.x
Jun 14, 2026
Merged

Release v4.2.5#54
sampoyigi merged 8 commits into
masterfrom
4.x

Conversation

@sampoyigi

Copy link
Copy Markdown
Member

This release introduces new middleware for guiding incomplete setups and improves file upload validation in the media manager.

Added

  • Added a CheckInitialSetup middleware that redirects users to the setup flow when initial configuration is incomplete
  • Added MIME type and extension-based validation for file uploads in the media manager

Fixed

  • Restricted the CheckInitialSetup redirect logic to apply only to theme routes, preventing unintended redirects elsewhere

Changed

  • Replaced getAllowedMimeTypes with extension-based validation for media file handling
  • Added type hints and removed unused imports in the media manager for improved code clarity

@sampoyigi sampoyigi merged commit 15c1153 into master Jun 14, 2026
1 check passed
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.

1 participant