Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.11.6

Payload CMS Release: Release 1.11.6

Tag Name: v1.11.6

Release Date: 7/25/2023

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.11.6 brings important fixes to the admin interface, particularly for thumbnail generation and array handling. This maintenance release improves the reliability of the adminThumbnail function across all file types and fixes array component behavior when using the maxRows property.

Highlight of the Release

    • Fixed adminThumbnail function to work with all file types, not just images
    • Fixed array components to properly respect the maxRows property within blocks and arrays
    • Improved parity between development and build environments for admin routes
    • Updated e-commerce template and other examples to use the latest Payload version

Migration Guide

No migration is required for this release. This is a patch update that fixes bugs and improves existing functionality without introducing breaking changes.

To update to v1.11.6, you can simply update your package.json dependency:

npm install [email protected]
# or
yarn add [email protected]

Upgrade Recommendations

This is a recommended upgrade for all users, especially those who:

  • Use the adminThumbnail function with various file types
  • Work with arrays that have maximum row limits
  • Use the e-commerce template or other official templates

Since this is a patch release with bug fixes and no breaking changes, upgrading should be straightforward and low-risk.

Bug Fixes

Admin Thumbnail Generation

  • Fixed the adminThumbnail function to properly execute on all file types, not just images. Previously, the function would only work with image files, but now it works correctly with any mime type.
  • Updated documentation to reflect these changes in the upload functionality.

Array Components

  • Fixed an issue where the hasMaxRows property was not being properly passed to ArrayAction components within blocks and arrays.
  • This ensures that arrays with maximum row limits now behave correctly throughout the admin interface.

Admin Routes

  • Improved parity between development and build environments when initializing admin routes, ensuring more consistent behavior across different environments.

New Features

No significant new features were introduced in this maintenance release. This version focuses on bug fixes and improvements to existing functionality.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were highlighted in this release. The changes focus on bug fixes and maintenance updates rather than performance enhancements.

Impact Summary

This release focuses on fixing bugs in the admin interface, particularly around thumbnail generation and array handling. The adminThumbnail function now works correctly with all file types, not just images, which improves the admin experience when working with various media files. Arrays with maximum row limits now behave as expected within blocks and nested arrays.

The release also includes template updates, bringing the e-commerce template and other examples up to date with the latest Payload version. Additionally, there's improved parity between development and build environments for admin routes, ensuring more consistent behavior across different environments.

While this is a relatively small release in terms of new features, it addresses important usability issues that affect the day-to-day experience of both developers and content editors using Payload CMS.

Full Release Notes

1.11.6 (2023-07-25)

Bug Fixes

  • collections:admin: Enable adminThumbnail fn execution on all types (2c74e93)
  • threads hasMaxRows into ArrayAction components within blocks and arrays (#3066) (d43c83d)

Statistics:

File Changed102
Line Additions47,546
Line Deletions15,848
Line Changes63,394
Total Commits10

User Affected:

  • Can now rely on `adminThumbnail` function working correctly for all file types, not just images
  • Will experience more consistent behavior with arrays that have `maxRows` limits
  • Will have better parity between development and build environments for admin routes

Contributors:

sannajammehjacobsfletchJarrodMFleschtylandavisjmikrut