Payload CMS Release: Release 1.1.7
Tag Name: v1.1.7
Release Date: 10/6/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.
TL;DR
Payload CMS v1.1.7 adds credentials: include to all fetch calls, ensuring cookies are properly sent with cross-origin requests. This small but important update improves authentication handling across different domains, which is particularly valuable for applications using Payload in a headless configuration.
Highlight of the Release
- Added
credentials: includeto all fetch calls - Improved cross-origin request handling
- Enhanced cookie-based authentication support
Migration Guide
No migration steps are required for this update. The changes are applied automatically when you upgrade to v1.1.7.
Upgrade Recommendations
This is a minor update that improves authentication handling. It's recommended for all users to upgrade, especially those using Payload in a headless configuration across different domains. The update is non-breaking and requires no code changes on your part.
Bug Fixes
No specific bug fixes were mentioned in this release. The update is focused on improving the behavior of fetch calls by ensuring credentials are included.
New Features
No new features were added in this release. This update focuses on improving the existing functionality by ensuring all fetch calls include credentials.
Security Updates
While not explicitly labeled as a security fix, adding credentials: include to all fetch calls improves the security posture of Payload CMS by ensuring authentication cookies are properly sent with cross-origin requests. This helps prevent potential authentication issues when working with Payload across different domains.
Performance Improvements
No specific performance improvements were mentioned in this release.
Impact Summary
This release adds credentials: include to all fetch calls within Payload CMS, ensuring that cookies are properly sent with cross-origin requests. This is particularly important for applications using Payload in a headless configuration where the API and frontend may be on different domains. The change improves authentication flows and reduces potential issues with cross-origin requests. No code changes are required from users to benefit from this improvement.
Full Release Notes
Statistics:
User Affected:
- Better cross-origin request handling with automatic cookie inclusion
- Improved authentication flows when working with Payload across different domains
- No code changes required to benefit from this improvement
