1.1.15 (2022-10-14)
Bug Fixes
- ensures svg mime type is always image/svg+xml (0b0d971)
Tag Name: v1.1.15
Release Date: 10/14/2022
Payload CMSPayload CMS is a modern, self-hosted headless content management system built with TypeScript, Node.js, and MongoDB. It's designed specifically for developers who want full control over their content management system while maintaining a powerful admin interface for content editors.
Payload CMS v1.1.15 fixes an issue with SVG file handling by ensuring SVG files always use the correct MIME type (image/svg+xml). This small but important update improves reliability when working with SVG files in your Payload projects.
image/svg+xmlNo migration steps are required for this release. The fix for SVG MIME type handling is applied automatically.
This is a minor bug fix release that improves SVG file handling. If your application works with SVG files, upgrading is recommended to ensure consistent behavior. The update is non-breaking and can be applied safely to existing projects.
To upgrade:
npm install [email protected]
# or
yarn add [email protected]
Fixed an issue where SVG files might not always be assigned the correct MIME type. This release ensures that SVG files are consistently recognized with the MIME type image/svg+xml, which improves reliability when:
This fix prevents potential display issues, download problems, or security filtering that could occur when incorrect MIME types are assigned to SVG content.
No new features were added in this release.
No specific security fixes were included in this release, though ensuring proper MIME type handling for SVG files can help prevent certain security-related issues in browsers that rely on correct content type identification.
No specific performance improvements were included in this release.
This release focuses on a single bug fix that ensures SVG files are always assigned the correct MIME type (image/svg+xml). While small in scope, this fix is important for applications that work with SVG files, as it prevents potential issues with file uploads, downloads, and rendering in browsers.
The change improves the reliability of Payload's file handling system, particularly for vector graphics content. Users who frequently work with SVG files will benefit from more consistent behavior when uploading and serving these files.