0.9.2 (2021-08-06)
Bug Fixes
- row admin type (deef520)
Tag Name: v0.9.2
Release Date: 8/6/2021
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 v0.9.2 brings important improvements to file uploads, including aspect ratio preservation during resizing, auto-sized uploads exposure, and the ability to completely disable local file storage. This release also includes UI improvements with group heading size reduction and fixes a bug with row admin type.
No migration is required for this release. All changes are backward compatible.
If you're using image resizing functionality and want to take advantage of the new aspect ratio preservation feature, you can update your image resize configurations to set either width or height to null where appropriate.
This is a minor release with new features and bug fixes. It's recommended to upgrade to take advantage of the improved image handling capabilities and UI enhancements.
The upgrade should be straightforward with no breaking changes:
npm install [email protected]
# or
yarn add [email protected]
Aspect Ratio Preservation: When resizing uploaded images, you can now maintain the original aspect ratio by setting either width or height to null. This ensures images aren't distorted during the resize process.
Auto-sized Uploads Exposure: Auto-sized uploads are now exposed on the payload request object via req.payloadUploadSizes, making it easier to access different image sizes programmatically.
No security fixes were mentioned in this release.
No specific performance improvements were mentioned in this release.
This release focuses on improving the developer and content editor experience with enhanced file upload capabilities. The ability to maintain aspect ratio during image resizing is particularly valuable for maintaining visual consistency across your site or application.
The option to disable local file storage completely gives developers more flexibility in implementing custom storage solutions, which is essential for production deployments that rely on cloud storage providers.
The UI improvement with group heading size reduction creates a more consistent visual hierarchy in the admin interface, enhancing the overall user experience for content editors.
These changes, while not major in scope, provide meaningful quality-of-life improvements that make Payload CMS more flexible and user-friendly.