Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.6.9

Payload CMS Release: Release 1.6.9

Tag Name: v1.6.9

Release Date: 2/10/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.6.9 brings important fixes to version control queries and French translations, along with a new feature that allows customization of the admin bundle folder path in production environments. This release enhances stability and flexibility for developers working with Payload.

Highlight of the Release

    • Customizable admin bundle folder path for production environments
    • Fixed query constraint in the ensureMaxVersions function
    • Corrected French translation of 'or' to 'ou'

Migration Guide

No migration steps are required for this release. The changes are backward compatible and should not affect existing implementations.

If you're using the French localization, you'll automatically benefit from the corrected translation.

If you wish to customize the admin bundle folder path, you can now do so through the configuration options.

Upgrade Recommendations

This release is recommended for all Payload users, especially those:

  1. Using version control features with maxVersions configured
  2. With French-speaking users
  3. Needing customization of admin bundle serving in production

The upgrade should be straightforward with no breaking changes. Simply update your Payload dependency to version 1.6.9.

Bug Fixes

Fixed Query Constraint in Version Control

A critical bug fix was implemented to add proper query constraints to the ensureMaxVersions query. This resolves potential issues with version control functionality, ensuring that the maximum versions feature works correctly and efficiently.

French Translation Correction

Fixed an incorrect translation in the French localization where "or" was incorrectly translated. The translation has been updated to use the correct French word "ou" instead.

New Features

Customizable Admin Bundle Folder Path

Payload now allows developers to customize the folder path used to serve admin bundled files in production environments. This enhancement provides greater flexibility for deployment configurations and server setups.

Previously, the admin bundle folder path was fixed, but now it can be defined in the configuration, giving developers more control over how Payload's admin interface is served in production environments.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were highlighted in this release. The changes were primarily focused on bug fixes and feature enhancements.

Impact Summary

Payload CMS v1.6.9 is a minor release that focuses on bug fixes and adding flexibility to production deployments. The fixes to the version control query constraints ensure that the maxVersions feature works correctly, preventing potential issues with document versioning.

The addition of customizable admin bundle folder paths gives developers more control over their production environments, which is particularly useful for custom deployment setups or when integrating Payload with other systems.

The French translation fix, while small, improves the user experience for French-speaking users by ensuring proper localization.

Overall, this release enhances stability and flexibility without introducing breaking changes, making it a recommended upgrade for all Payload users.

Full Release Notes

1.6.9 (2023-02-10)

Bug Fixes

  • adds query constraint to ensureMaxVersions query (30688bb)
  • translation of "or" -> "ou" in french (#2047) (dddbec2)

Features

  • allows customization of the folder used to serve admin bundled files in production (4d259a6)

Statistics:

File Changed10
Line Additions54
Line Deletions28
Line Changes82
Total Commits11

User Affected:

  • Can now customize the folder path for admin bundled files in production environments
  • Will experience improved version control with fixed query constraints for the `ensureMaxVersions` function
  • No longer need to worry about version control issues when using the max versions feature

Contributors:

peufoJarrodMFleschjmikrut