Payload CMS Release: Release 1.1.2
Tag Name: v1.1.2
Release Date: 9/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.
TL;DR
PayloadCMS v1.1.2 fixes a critical issue with image resizing when local storage is disabled. This patch ensures that image resizing works properly when using S3 or other remote storage providers, making the CMS more reliable for cloud-based deployments.
Highlight of the Release
- Fixed image resizing functionality when local storage is disabled
- Improved compatibility with S3 and other remote storage providers
- Enhanced uploadFile functionality when using S3 buckets
Migration Guide
No migration is required for this release. The fixes are backward compatible and should work automatically after updating to v1.1.2.
Upgrade Recommendations
This update is highly recommended for all users who:
- Have
disableLocalStorageset totruein their configuration - Use S3 or other remote storage providers
- Process or resize images in their PayloadCMS implementation
The upgrade process is straightforward:
npm install [email protected]
# or
yarn add [email protected]
No configuration changes are required after updating.
Bug Fixes
Image Resizing Without Local Storage
This release fixes a critical issue where image resizing would fail when local storage was disabled. Previously, the image resizing functionality required local storage to work properly, even when using remote storage providers like S3.
The fix ensures that:
- Images can be properly resized when
disableLocalStorageis set totrue - The image resizing process works correctly with S3 buckets and other remote storage providers
- Temporary files are handled appropriately during the resize process
Upload File Improvements with S3
Fixed an issue with the uploadFile functionality when using S3 buckets, ensuring more reliable file uploads when configured with remote storage.
New Features
No new features were added in this release. This is primarily a bug fix release focused on resolving issues with image resizing when local storage is disabled.
Security Updates
No security fixes were included in this release.
Performance Improvements
While not explicitly mentioned as performance improvements, the fixes in this release may result in more efficient image processing when using remote storage providers, as the system no longer needs to use local storage as an intermediary for image resizing operations.
Impact Summary
This release addresses a significant limitation in PayloadCMS's image handling capabilities. Prior to v1.1.2, users who disabled local storage (often for cloud-based deployments) would encounter issues with image resizing functionality. This fix ensures that PayloadCMS can properly resize images regardless of the storage configuration.
The impact is particularly important for:
- Cloud-based deployments where local storage might be limited or unavailable
- Implementations using S3 or similar remote storage solutions
- Applications that heavily rely on image processing and resizing
By resolving this issue, PayloadCMS now offers more reliable media handling across different deployment environments, making it more versatile for production use cases.
Full Release Notes
Statistics:
User Affected:
- Can now properly resize images when using S3 or other remote storage providers
- No longer need to rely on local storage for image resizing functionality
- Will experience more reliable image processing in cloud environments
