Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.15.1

Payload CMS Release: Release 0.15.1

Tag Name: v0.15.1

Release Date: 3/28/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 v0.15.1 introduces two key features: the ability to inject custom React providers into the admin UI and improved TypeScript support for plugin authors. This release enhances developer flexibility when customizing the admin interface and provides better type safety for plugin development.

Highlight of the Release

    • Added ability to inject custom React providers into the admin UI
    • Exported Plugin type from config types for better TypeScript support
    • Fixed rich text textarea height issues
    • Added security README for improved documentation

Migration Guide

No migration is required for this release as it primarily adds new features without breaking existing functionality.

Upgrade Recommendations

This is a minor release with new features and bug fixes. It's recommended to upgrade, especially if you're developing plugins or need to customize the admin UI with custom React providers. The upgrade should be straightforward with no breaking changes reported.

Bug Fixes

Rich Text Textarea Height

Fixed an issue with rich text textarea height that was causing display problems in the admin interface.

New Features

Custom React Providers for Admin UI

Developers can now inject custom React providers into the Payload admin UI. This feature enables greater flexibility when customizing the admin interface, allowing for more complex state management solutions and custom context providers to be integrated seamlessly.

Exported Plugin Type

The Plugin type is now exported from config types, making it easier for plugin authors to correctly type their plugins. This improvement enhances TypeScript support and provides better type safety when developing plugins for Payload CMS.

Security Updates

No specific security fixes were mentioned in this release, though a security README was added to improve documentation around security practices.

Performance Improvements

No specific performance improvements were mentioned in this release.

Impact Summary

This release focuses on developer experience improvements, particularly for those building plugins or customizing the admin interface. The addition of custom React providers opens up new possibilities for extending the admin UI with complex state management solutions. Plugin developers will benefit from improved TypeScript support with the exported Plugin type. The release also includes documentation improvements and a fix for rich text textarea height issues.

Full Release Notes

0.15.1 (2022-03-28)

Features

  • builds a way to inject custom React providers into admin UI (5a7e8a9)
  • export Plugin type from config types (#491) (45f7011)

Statistics:

File Changed14
Line Additions154
Line Deletions78
Line Changes232
Total Commits7

User Affected:

  • Can now properly type their plugins using the exported Plugin type
  • Benefit from improved TypeScript support and type safety

Contributors:

jmikrutDanRibbenschladog