1.8.2 (2023-05-10)
Bug Fixes
- react webpack alias (1732bb8)
Tag Name: v1.8.2
Release Date: 5/10/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.
Payload CMS v1.8.2 fixes a critical webpack alias issue for React that was causing build problems. This is a small but important maintenance release that ensures proper React resolution in the build process.
No migration steps are required for this update. This is a drop-in replacement that fixes the webpack configuration without requiring any changes to your codebase.
Simply update your Payload CMS dependency to version 1.8.2:
npm install [email protected]
# or
yarn add [email protected]
We strongly recommend all users to upgrade to v1.8.2, especially if you're experiencing any build issues related to React resolution or webpack configuration. This is a small, focused bug fix release with minimal risk.
The update addresses a fundamental build configuration issue that could affect application stability, so upgrading should be prioritized for all production environments running v1.8.1.
This release addresses an issue with webpack configuration where the React alias was not properly set up. The fix ensures that webpack correctly resolves React dependencies during the build process, preventing potential build failures or runtime errors.
The specific change corrects how Payload's webpack configuration handles React imports, ensuring proper module resolution and preventing duplicate React instances in the bundle.
No new features were introduced in this release. This is a bug fix release focused on resolving a webpack configuration issue.
No security fixes were included in this release.
No specific performance improvements were included in this release. The focus was on fixing the webpack alias configuration issue.
This release fixes a webpack configuration issue related to React alias resolution. While small in scope, this fix is important for ensuring reliable builds and preventing potential runtime errors related to React dependency resolution.
The impact is primarily on the development and build process, with no changes to end-user functionality. Developers will benefit from more reliable builds and fewer configuration-related errors when working with Payload CMS projects.
This release demonstrates Payload's commitment to maintaining a stable development experience by quickly addressing build-related issues.