Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.0.12

Payload CMS Release: Release 1.0.12

Tag Name: v1.0.12

Release Date: 8/2/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

Payload CMS v1.0.12 brings important bug fixes for UI and database functionality. This release addresses mobile UI issues with tabs overflow and fixes unique index creation for MongoDB 5+. These improvements enhance the user experience on mobile devices and ensure proper database functionality for applications using newer MongoDB versions.

Highlight of the Release

    • Fixed tab overflow on mobile devices for better usability
    • Resolved unique index creation issues for MongoDB 5 and later
    • Added Windows compatibility for E2E testing
    • Improved test coverage for unique, nested and localized fields

Migration Guide

No migration steps are required for this release. The fixes are backward compatible and should work automatically after upgrading.

Upgrade Recommendations

This upgrade is recommended for all users, especially those:

  1. Using MongoDB 5 or later who rely on unique field constraints
  2. With applications that have mobile users accessing admin interfaces with multiple tabs
  3. Running E2E tests in Windows environments

The release contains important bug fixes without introducing breaking changes, making it a safe and beneficial upgrade.

Bug Fixes

Tab Overflow on Mobile

Fixed an issue where tabs would not properly overflow on mobile devices when there are many tabs present. This improves the mobile user experience by ensuring all tabs remain accessible through horizontal scrolling.

Unique Index Creation

Resolved an issue with unique index creation for MongoDB 5 and later versions. This fix ensures that:

  • Unique indexes are properly created in newer MongoDB environments
  • Fields marked as unique in the schema properly enforce uniqueness at the database level
  • Nested and localized fields with unique constraints work as expected

New Features

No new features were added in this release. This is primarily a bug fix and testing improvement release.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were highlighted in this release.

Impact Summary

This release focuses on bug fixes that improve both developer and end-user experiences. The unique index creation fix is particularly important for applications using MongoDB 5+ as it ensures data integrity constraints work properly at the database level. The mobile tab overflow fix enhances usability for content editors working on smaller screens.

Additionally, the improvements to E2E testing compatibility with Windows environments make the development experience more consistent across different operating systems, which is valuable for teams with diverse development environments.

While this is a minor release with no new features, the bug fixes address important functionality that could impact data integrity and user experience, making it a worthwhile upgrade for most Payload CMS implementations.

Full Release Notes

1.0.12 (2022-08-02)

Bug Fixes

  • ensures tabs can overflow on mobile when there are many (663cae4)
  • unique index creation (#867) (c175476)

Statistics:

File Changed15
Line Additions425
Line Deletions204
Line Changes629
Total Commits8

User Affected:

  • Fixed unique index creation for MongoDB 5 and later versions
  • Improved E2E testing compatibility with Windows environments
  • Better handling of database schema with unique, nested, and localized fields

Contributors:

jmikrutDanRibbens