Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.1.15

Payload CMS Release: Release 1.1.15

Tag Name: v1.1.15

Release Date: 10/14/2022

Payload CMS LogoPayload CMS

Payload 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.

TL;DR

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.

Highlight of the Release

    • Fixed SVG MIME type handling to consistently use image/svg+xml
    • Improved reliability when working with SVG files

Migration Guide

No migration steps are required for this release. The fix for SVG MIME type handling is applied automatically.

Upgrade Recommendations

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]

Bug Fixes

SVG MIME Type Correction

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:

  • Uploading SVG files through the admin panel
  • Serving SVG files to end users
  • Processing SVG files through the API

This fix prevents potential display issues, download problems, or security filtering that could occur when incorrect MIME types are assigned to SVG content.

New Features

No new features were added in this release.

Security Updates

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.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

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.

Full Release Notes

1.1.15 (2022-10-14)

Bug Fixes

  • ensures svg mime type is always image/svg+xml (0b0d971)

Statistics:

File Changed3
Line Additions11
Line Deletions2
Line Changes13
Total Commits2

User Affected:

  • Can now rely on consistent MIME type handling for SVG files
  • Will experience fewer issues when uploading or serving SVG content

Contributors:

jmikrut