Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.1.19

Payload CMS Release: Release 1.1.19

Tag Name: v1.1.19

Release Date: 10/31/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

PayloadCMS v1.1.19 brings several important bug fixes and documentation improvements. This release addresses issues with form data handling in blocks fields, upload modal state management, and popup positioning. It also improves the inline documentation for InitOptions and adds support for custom Pino logger options. A feature to enforce kebab-case slugs was initially added but then reverted in the same release.

Highlight of the Release

    • Fixed bug with disableFormData and blocks fields
    • Improved popup positioning and logic
    • Added support for custom Pino logger options
    • Enhanced inline documentation for InitOptions
    • Fixed select existing upload modal state update issues

Migration Guide

No migration steps are required for this release. Version 1.1.19 contains bug fixes and documentation improvements that don't require any changes to existing code or configuration.

The feature to enforce kebab-case slugs was added and then reverted within the same release, so there's no need to adjust any existing slug formats or patterns in your code.

Upgrade Recommendations

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

  • Use blocks fields with the disableFormData option
  • Work with upload modals and have experienced state management issues
  • Have encountered popup positioning problems
  • Need to customize Pino logger options
  • Have experienced issues with form state not updating when moving rows

The upgrade should be straightforward with no breaking changes:

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

After upgrading, test your application thoroughly, especially if you use any of the features that received bug fixes in this release.

Bug Fixes

  • Blocks Field with disableFormData: Fixed issues #1307 and #1321 where blocks fields weren't working correctly when the disableFormData option was enabled.

  • Upload Modal State Management: Fixed issue #1311 where the "select existing upload" modal was always updating state, causing unexpected behavior.

  • Popup Positioning: Fixed issue #1318 with improved popup positioning and logic for better UI experience.

  • Custom Pino Logger Options: Fixed support for custom Pino logger options in PR #1299, allowing for more flexible logging configuration.

  • Form State Updates: Fixed issue #1314 to ensure form state is properly modified when rows are moved.

New Features

No permanent new features were added in this release. A feature to enforce kebab-case slugs was initially added but then reverted in the same release cycle.

The commit history shows:

feat: enforce kebab-case slugs (#1322)
feat: revert enforce kebab-case slugs (#1322) (#1325)

This indicates the feature was temporarily introduced but then rolled back, likely due to compatibility issues or further consideration needed.

Security Updates

No security fixes were mentioned in the release notes or commit messages for this version. This release appears to focus on bug fixes, documentation improvements, and feature adjustments rather than security-related changes.

Performance Improvements

No specific performance improvements were mentioned in the release notes or commit messages for this version. The changes in this release were primarily focused on bug fixes, documentation improvements, and feature adjustments rather than performance optimizations.

Impact Summary

PayloadCMS v1.1.19 is primarily a maintenance release that addresses several important bugs and improves documentation. The fixes resolve issues with form data handling in blocks fields, upload modal state management, and popup positioning that were affecting the user experience for content editors.

Developers will benefit from better inline documentation for InitOptions and the ability to customize Pino logger options. The fix for form state updates when moving rows will improve reliability for content editors working with complex forms.

While a feature to enforce kebab-case slugs was initially added, it was reverted in the same release cycle, indicating it needs further refinement before being permanently implemented.

Overall, this release improves stability and usability without introducing breaking changes, making it a recommended upgrade for all PayloadCMS users.

Full Release Notes

Statistics:

File Changed10
Line Additions132
Line Deletions83
Line Changes215
Total Commits11

User Affected:

  • Better inline documentation for InitOptions makes configuration easier
  • Can now customize Pino logger options for more flexible logging
  • Fixed issues with disableFormData and blocks fields that were causing bugs

Contributors:

denolfeDanRibbensjmikrut