2.0.3 (2023-10-09)
Bug Fixes
- webpack export default was not found #3494 (be049ce)
- postgres generated type id #3504 (c90d1fa)
- hasMany relationships unable to be cleared #3513 (5d9384f)
Tag Name: v2.0.3
Release Date: 10/16/2023
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.
This maintenance release addresses several critical bugs in Payload CMS, including fixes for webpack exports, PostgreSQL type generation issues, and relationship field clearing problems. The release also includes documentation improvements for migrations, custom views, and updated Node.js requirements. This update is important for ensuring proper functionality of relationship fields, PostgreSQL database implementations, and webpack builds.
No migration steps are required for this release. This is a patch update that fixes bugs without introducing breaking changes.
To update, simply run:
npm install [email protected]
# or
yarn add [email protected]
This update is highly recommended for all Payload CMS users, especially those:
The bug fixes in this release address critical functionality issues that could impact data integrity and system stability. Since this is a patch release (2.0.3), the upgrade should be straightforward with no breaking changes.
Webpack Export Issue: Fixed a critical issue where webpack export default was not being found, causing build failures (#3494)
PostgreSQL Type Generation: Resolved an issue with PostgreSQL generated type IDs that was causing problems with database operations (#3504)
Relationship Field Clearing: Fixed a bug where hasMany relationships couldn't be cleared, forcing users to maintain unwanted relationships (#3513)
No new features were introduced in this release. This is a maintenance release focused on bug fixes and documentation improvements.
No security fixes were mentioned in this release.
No specific performance improvements were included in this release. The focus was on bug fixes and documentation enhancements.
Payload CMS v2.0.3 is a maintenance release that addresses three significant bugs affecting webpack builds, PostgreSQL database implementations, and relationship field functionality. The fixes ensure that webpack exports work correctly, PostgreSQL type generation for IDs functions properly, and hasMany relationships can be cleared as expected.
The release also improves documentation in several areas, including migration processes, the payload script in package.json, Node.js version requirements, and custom views implementation.
While this release doesn't introduce new features or performance improvements, it resolves critical issues that could impact development workflows and content management. The fixes for relationship fields and PostgreSQL type generation are particularly important for ensuring data integrity and proper system functionality.