Home

>

Tools

>

Payload CMS

>

Releases

>

Release v2.0.15

Payload CMS Release: Release v2.0.15

Tag Name: v2.0.15

Release Date: 11/3/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.15 brings important bug fixes and improvements to enhance stability and user experience. This release addresses issues with autosave functionality, dataloader parallel requests, field permissions, and various UI improvements. Documentation has been expanded with new sections on previewing docs, querying polymorphic relationships, and Lexical editor features. The update focuses on improving reliability and fixing edge cases across the admin panel and core functionality.

Highlight of the Release

    • Fixed autosave functionality to prevent updating data in unrelated documents
    • Improved dataloader to prevent running requests in parallel for better reliability
    • Enhanced admin UI with better field permission handling and document tab sorting
    • Fixed block row removal with PostgreSQL adapter
    • Added comprehensive documentation for Lexical editor features and HTML serialization
    • Improved error handling in parseCookies and temp file loading

Migration Guide

No migration is required for this release as it primarily contains bug fixes and improvements to existing functionality. Users can upgrade directly from v2.0.14 to v2.0.15 without any special steps.

Upgrade Recommendations

This release is recommended for all users, especially those experiencing issues with autosave functionality, dataloader parallel requests, or using the PostgreSQL adapter with block fields. The bug fixes in this release improve stability and user experience without introducing breaking changes. Upgrade at your earliest convenience to benefit from these improvements.

Bug Fixes

Core Functionality

  • Fixed issue with dataloader running requests in parallel, improving reliability
  • Fixed field paths being mutated if they ended with the req.locale
  • Fixed block row removal with db-postgres adapter
  • Improved error handling within parseCookies
  • Fixed proper loading of temp files into buffer

Admin UI

  • Fixed autosave updating data in unrelated documents
  • Fixed issue where fields with read permission set to false were still displayed in admin UI
  • Fixed vertical alignment in step nav when using larger logos
  • Fixed document tabs not being sorted by order
  • Prevented sort from saving a new version in version list view
  • Fixed findVersions pagination
  • Fixed deeply merging view configs
  • Fixed global autosave functionality and added relevant e2e test
  • Fixed passing correct data to buildStateFromSchema on account page

Internationalization

  • Added Polish translations
  • Fixed issue with serializing internal links

New Features

No significant new features were introduced in this release. The focus was primarily on bug fixes, documentation improvements, and minor enhancements to existing functionality.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

  • Ensured dataloader does not run requests in parallel, which improves reliability and prevents potential race conditions
  • Excluded files from dev bundle if aliased, resulting in smaller bundle sizes during development
  • Improved error handling within parseCookies for better performance in error scenarios
  • Deep merging of view configs now works correctly, preventing potential performance issues from incorrect configurations

Impact Summary

Payload CMS v2.0.15 is a maintenance release focused on bug fixes and quality-of-life improvements. The most significant fixes address issues with autosave functionality, dataloader parallel requests, and block row removal with the PostgreSQL adapter.

The release also includes important UI improvements such as better handling of field permissions, document tab sorting, and vertical alignment in the step navigation. Documentation has been expanded with new sections on previewing docs, querying polymorphic relationships, and Lexical editor features.

This update is particularly beneficial for users working with autosave, versions, and those using the PostgreSQL adapter. The improvements to error handling and field permissions also enhance the overall stability and user experience of the admin panel.

Full Release Notes

2.0.15 (2023-11-03)

Bug Fixes

  • autosave updating data in unrelated docs (b722f20)
  • better error handling within parseCookies (#3720) (6b1b4ff)
  • block row removal w/ db-postgres adapter (#3951) (5ea88bb)
  • deeply merges view configs (#3954) (a5b2333)
  • do not display field if read permission is false - admin panel ui (#3949) (cdc10be)
  • ensures dataloader does not run requests in parallel (4607dbf)
  • exclude files from dev bundle if aliased (#3957) (7966692)
  • field paths being mutated if they ended with the req.locale (#3936) (36576f1)
  • findVersions pagination (#3906) (1f8f173)
  • global autosave and relevant e2e test (a9d96b1)
  • i18n: polish translations (#3934) (e4881bb)
  • passes correct data to buildStateFromSchema on account page (#3984) (c7a315a)
  • prevent sort from saving a new version in version list view (#3944) (900a9ea)
  • properly load temp files into buffer (#3996) (d1a0822)
  • sort document tabs by order (#3968) (06cd52b)
  • vertical alignment in step nav when using larger logos (#3955) (b6d9a20)

New Contributors

Statistics:

File Changed154
Line Additions2,621
Line Deletions1,003
Line Changes3,624
Total Commits48

User Affected:

  • Fixed issue with dataloader running requests in parallel, improving reliability
  • Better error handling within parseCookies for more robust applications
  • Fixed field paths being mutated if they ended with req.locale
  • Fixed block row removal with db-postgres adapter
  • Improved aliasing support with files excluded from dev bundle if aliased

Contributors:

denolfekarniv00ljacobsfletchvanskajessrynkarjmikrutJarrodMFleschPatrikKozakAlessioGrdkirchhof