Home

>

Tools

>

Payload CMS

>

Releases

>

Release v2.12.1

Payload CMS Release: Release v2.12.1

Tag Name: v2.12.1

Release Date: 4/3/2024

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 v2.12.1 is a minor patch release that fixes two bugs: an issue with the 'exists' operator in queries and improves tooltip color visibility in light mode. This release focuses on enhancing user experience and query functionality without introducing breaking changes.

Highlight of the Release

    • Fixed query parsing when using the 'exists' operator
    • Improved tooltip color visibility in light mode for better accessibility

Migration Guide

No migration is required for this patch release. Simply update your Payload CMS version to v2.12.1 to benefit from the bug fixes.

Upgrade Recommendations

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

  • Use the 'exists' operator in queries
  • Work with Payload CMS in light mode

The update is a minor patch release with no breaking changes, making it safe to upgrade from v2.12.0 without any modifications to your codebase.

Bug Fixes

Query Parsing Fix

  • Fixed an issue where query parsing would fail when using the 'exists' operator (#5404)
  • The system now properly skips parsing when the operator is 'exists', preventing potential errors in queries
  • This ensures more reliable query operations when checking for the existence of fields

UI Improvements

  • Updated tooltip colors in light mode to improve visibility and readability (#5632)
  • Enhanced color contrast for better accessibility compliance
  • Ensures tooltips are clearly visible against the light mode background

New Features

No new features were introduced in this patch release.

Security Updates

No security fixes were included in this patch release.

Performance Improvements

No specific performance improvements were included in this patch release.

Impact Summary

This patch release addresses two specific bugs that improve both developer experience and user interface accessibility. The fix for the 'exists' operator ensures more reliable query operations, which is particularly important for applications that rely on checking field existence. The tooltip color update enhances visibility in light mode, making the interface more accessible for all users, especially those with visual impairments. While these changes are relatively small in scope, they contribute to a more robust and user-friendly CMS experience.

Full Release Notes

Statistics:

File Changed9
Line Additions19
Line Deletions11
Line Changes30
Total Commits8

User Affected:

  • Benefit from fixed query parsing when using the 'exists' operator
  • More reliable query operations in their applications

Contributors:

PatrikKozakSimYunSupdenolfe