Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.11.5

Payload CMS Release: Release 1.11.5

Tag Name: v1.11.5

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.5 fixes a critical bug where admin routes were not mounting correctly in production environments. This patch ensures that administrators can access the admin panel as expected when running Payload in production mode.

Highlight of the Release

    • Fixed critical bug preventing admin routes from mounting in production environments
    • Improved reliability of the admin panel in production deployments
    • Resolved compatibility issues between development and production environments

Migration Guide

No migration steps are required for this update. This is a drop-in replacement that fixes the admin route mounting issue in production environments.

To update:

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

Upgrade Recommendations

This update is highly recommended for all users running Payload in production environments, especially if you're using the built-in serve command to run your application.

The fix addresses a critical issue that prevents access to the admin panel in production, which could significantly impact your ability to manage content through the Payload admin interface.

There are no breaking changes or migration steps required, making this a safe and straightforward update.

Bug Fixes

Admin Route Mounting Fix

Fixed a critical issue where admin routes were not properly mounting when running Payload in production mode using the serve command. This bug prevented administrators from accessing the admin panel in production environments.

The fix ensures that admin routes are correctly registered and accessible when the application is running in production mode, maintaining consistency between development and production environments.

Reference: #3071

New Features

No new features were added in this release. This is a bug fix release focused on resolving the admin route mounting issue in production environments.

Security Updates

No security fixes were included in this release. The focus was on fixing the admin route mounting issue in production environments.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the admin route mounting issue in production environments.

Impact Summary

This release addresses a significant bug that affected the core functionality of Payload CMS in production environments. The issue prevented admin routes from mounting correctly when using the production serve command, effectively blocking access to the admin panel for content managers and administrators.

The fix ensures consistent behavior between development and production environments, allowing administrators to access the admin panel as expected regardless of the environment. This improves the reliability of Payload deployments and eliminates the need for workarounds that may have been implemented to address this issue.

While this is a small patch in terms of code changes, it has a substantial impact on the usability of Payload in production environments, making it an important update for all production deployments.

Full Release Notes

1.11.5 (2023-07-25)

Bug Fixes

  • admin route not mounting on production serve (#3071) (e718668)

Statistics:

File Changed4
Line Additions10
Line Deletions3
Line Changes13
Total Commits2

User Affected:

  • Can now access the admin panel in production environments without issues
  • No longer encounter routing errors when trying to access admin routes

Contributors:

JarrodMFleschjmikrut