Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.8.2

Payload CMS Release: Release 1.8.2

Tag Name: v1.8.2

Release Date: 5/10/2023

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.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.

Highlight of the Release

    • Fixed webpack alias configuration for React
    • Improved build stability
    • Resolved potential dependency resolution issues

Migration Guide

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]

Upgrade Recommendations

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.

Bug Fixes

React Webpack Alias Fix

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.

New Features

No new features were introduced in this release. This is a bug fix release focused on resolving a webpack configuration issue.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the webpack alias configuration issue.

Impact Summary

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.

Full Release Notes

Statistics:

File Changed3
Line Additions9
Line Deletions3
Line Changes12
Total Commits2

User Affected:

  • Can now build Payload projects without webpack alias issues
  • No longer need to implement workarounds for React resolution problems
  • Experience improved build stability

Contributors:

DanRibbens