Home

>

Tools

>

Payload CMS

>

Releases

>

Release 2.0.5

Payload CMS Release: Release 2.0.5

Tag Name: v2.0.5

Release Date: 10/13/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 v2.0.5 brings important bug fixes for live preview functionality, database adapters (especially PostgreSQL), and UI components. This maintenance release improves stability and user experience with fixes for global custom buttons, nested routes in live preview, step navigation, and database operations. The update is recommended for all users to ensure proper functionality of core features.

Highlight of the Release

    • Fixed custom buttons rendering in global collections
    • Resolved issues with PostgreSQL adapter for select fields within groups
    • Improved live preview functionality with proper device sizing and nested route handling
    • Fixed document version deletion bug
    • Enhanced step navigation interface with various bug fixes

Migration Guide

No migration steps are required for this update. This is a patch release that focuses on bug fixes and should be backward compatible with v2.0.4.

Upgrade Recommendations

This update is recommended for all users running Payload CMS v2.0.x, especially those:

  • Using PostgreSQL as a database adapter
  • Working with global collections and custom buttons
  • Utilizing the live preview functionality
  • Experiencing issues with step navigation

The update contains important bug fixes that improve stability and user experience. Since this is a patch release (2.0.5), the upgrade should be straightforward with minimal risk of breaking changes.

To upgrade:

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

Bug Fixes

Database Fixes

  • Fixed PostgreSQL adapter issues with select fields within groups (#3570)
  • Resolved bug where documents weren't properly deleting their versions (#3511, #3520)
  • Fixed database adapter type definitions for better TypeScript support

UI and UX Fixes

  • Fixed custom buttons not rendering properly in global collections (#3616)
  • Resolved various step navigation related issues (#3599)
  • Fixed minor type issue in richText validate function

Live Preview Fixes

  • Fixed live preview device sizing (#3606)
  • Improved handling of nested routes for live preview (#3586)

New Features

No significant new features were added in this release. This is primarily a maintenance release focused on bug fixes and stability improvements.

Security Updates

No security fixes were explicitly mentioned in this release.

Performance Improvements

While there are no explicit performance improvements mentioned in the release notes, several bug fixes may indirectly improve performance:

  • Fixed database operations with PostgreSQL should result in more efficient queries
  • Improved type definitions and validation functions may lead to better runtime performance
  • Resolved issues with document version handling could improve database operations efficiency

Impact Summary

Payload CMS v2.0.5 is a maintenance release that addresses several important bugs affecting database operations, UI components, and live preview functionality. The fixes improve stability for PostgreSQL users, enhance the content editing experience with better global collection button rendering and step navigation, and resolve issues with live preview functionality.

The impact is primarily positive for all user types, with no breaking changes introduced. Content editors will benefit from a more stable editing interface, while developers will appreciate the fixed database operations and improved type definitions. The release demonstrates Payload's commitment to maintaining a stable and reliable CMS platform by promptly addressing reported issues.

This update is particularly valuable for teams using PostgreSQL as their database adapter and those heavily utilizing the live preview functionality in their content workflow.

Full Release Notes

2.0.5 (2023-10-12)

Bug Fixes

Documentation

Statistics:

File Changed170
Line Additions6,597
Line Deletions1,089
Line Changes7,686
Total Commits250

User Affected:

  • Fixed issues with database operations in PostgreSQL adapter, including select fields within groups and document version deletion
  • Resolved type issues in richText validation function
  • Improved database adapter types for better TypeScript support
  • Fixed nested routes handling in live preview functionality

Contributors:

denolfejmikrutArctomachineDanRibbensleonardstrucknathanclevengerJarrodMFleschAlessioGrjacobsfletchjessrynkarNikolaGanchev