Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.1.9

Payload CMS Release: Release 1.1.9

Tag Name: v1.1.9

Release Date: 10/11/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.1.9 brings improved TypeScript typing for access control, making it easier for developers to implement and maintain permission systems. This release also includes styling improvements for read-only React Select components and more predictable exports of the Access type.

Highlight of the Release

    • Improved TypeScript typing for access control functions
    • More predictable exports of the Access type
    • Enhanced styling for read-only React Select components

Migration Guide

No migration is required for this release. The improvements to TypeScript typing are non-breaking changes that enhance developer experience without requiring code modifications.

Upgrade Recommendations

This is a minor release with TypeScript typing improvements and UI enhancements. It's recommended to upgrade if you're using TypeScript with Payload, as you'll benefit from the improved access control typing. The upgrade should be straightforward with no breaking changes reported.

To upgrade, run:

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

Bug Fixes

No specific bug fixes were mentioned in this release.

New Features

Improved Access Control Typing

The TypeScript typing for access control has been significantly improved in this release. This enhancement provides better type safety and developer experience when implementing access control functions throughout your Payload application.

Access control functions are now more strictly typed, which helps catch potential errors during development rather than at runtime. This improvement makes it easier to understand and implement permission systems correctly.

The Access type is now exported more predictably, making it easier to import and use in your TypeScript projects.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release.

Impact Summary

This release focuses on developer experience improvements, particularly for TypeScript users. The enhanced access control typing provides better type safety and makes it easier to implement permission systems correctly. The improved exports of the Access type make it more predictable to use in your code.

Additionally, the styling improvements for read-only React Select components enhance the visual consistency of the admin UI, providing a better experience for admin users.

Overall, this is a quality-of-life improvement release that makes Payload more developer-friendly without introducing breaking changes.

Full Release Notes

1.1.9 (2022-10-11)

Features

  • improves access control typing (5322ada)

Statistics:

File Changed9
Line Additions36
Line Deletions31
Line Changes67
Total Commits4

User Affected:

  • Benefit from improved access control typing for better type safety and developer experience
  • Will have more predictable Access type exports for easier imports

Contributors:

jmikrut