1.1.9 (2022-10-11)
Features
- improves access control typing (5322ada)
Tag Name: v1.1.9
Release Date: 10/11/2022
Payload CMSPayload 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.
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.
No migration is required for this release. The improvements to TypeScript typing are non-breaking changes that enhance developer experience without requiring code modifications.
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]
No specific bug fixes were mentioned in this release.
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.
No security fixes were mentioned in this release.
No specific performance improvements were mentioned in this release.
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.