Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.6.28

Payload CMS Release: Release 1.6.28

Tag Name: v1.6.28

Release Date: 3/28/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.6.28 fixes a potential memory leak related to the probe-image-size dependency. This is a maintenance release that improves the stability of the system when handling image processing operations.

Highlight of the Release

    • Fixed a potential memory leak related to the probe-image-size dependency
    • Improved system stability when processing images
    • Enhanced memory management for image operations

Migration Guide

No migration steps are required for this release. The fix is applied automatically when you update to v1.6.28.

Upgrade Recommendations

This release is recommended for all users, especially those who:

  • Process a large number of images
  • Run Payload instances for extended periods
  • Have experienced memory-related issues or performance degradation over time

To upgrade, run:

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

This is a patch release with no breaking changes, so upgrading should be straightforward with no code modifications required.

Bug Fixes

Memory Leak Fix

Fixed a potential memory leak issue related to the probe-image-size dependency. This dependency is used by Payload CMS to determine image dimensions during upload and processing operations. The fix ensures proper memory cleanup after image processing operations, preventing memory accumulation over time that could lead to performance degradation or application crashes.

The fix was implemented in commit 8eea0d6.

New Features

No new features were introduced in this release. This is a maintenance release focused on bug fixes.

Security Updates

No security fixes were included in this release.

Performance Improvements

Memory Usage Optimization

While not explicitly labeled as a performance improvement, fixing the memory leak with probe-image-size should result in more efficient memory usage, particularly for applications that process a large number of images. This can lead to:

  • More consistent performance over time
  • Reduced memory footprint for long-running Payload instances
  • Better resource utilization on servers with limited memory

Impact Summary

This release addresses a potential memory leak related to the probe-image-size dependency, which is used for determining image dimensions during upload and processing. While this is a minor patch release with minimal code changes (14 additions, 4 deletions across 3 files), it provides an important stability improvement for applications that handle images.

The fix ensures proper memory management when processing images, which is particularly beneficial for applications that handle a large volume of image uploads or have long-running instances. By preventing memory accumulation over time, this release helps maintain consistent performance and reduces the risk of application crashes due to memory exhaustion.

No configuration changes or code modifications are required to benefit from this improvement - simply updating to v1.6.28 will apply the fix.

Full Release Notes

1.6.28 (2023-03-28)

Bug Fixes

  • potential memory leak with probe-image-size (8eea0d6)

Statistics:

File Changed3
Line Additions14
Line Deletions4
Line Changes18
Total Commits2

User Affected:

  • Reduced risk of memory leaks when working with image uploads and processing
  • Improved application stability for systems handling large volumes of images
  • No code changes required to benefit from this fix

Contributors:

jmikrut