Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.7.4

Payload CMS Release: Release 1.7.4

Tag Name: v1.7.4

Release Date: 5/2/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.7.4 is a minor bug fix release that addresses an issue with the SwcMinifyWebpackPlugin import. This fix ensures proper webpack bundling functionality, which is critical for build processes in Payload CMS projects.

Highlight of the Release

    • Fixed import issue with SwcMinifyWebpackPlugin
    • Improved build stability for Payload CMS projects
    • Added verbose logging for release-it process

Migration Guide

No migration steps are required for this release. The fix for the SwcMinifyWebpackPlugin import is handled internally and does not require any changes to your codebase.

Simply update your Payload CMS dependency to version 1.7.4:

npm install [email protected]
# or
yarn add [email protected]

Upgrade Recommendations

This release contains a bug fix for the SwcMinifyWebpackPlugin import. If you're experiencing issues with webpack builds related to this plugin, it's recommended to upgrade to v1.7.4.

The upgrade is straightforward and requires no code changes:

npm install [email protected]
# or
yarn add [email protected]

This is a minor bug fix release with minimal changes, so the upgrade risk is low.

Bug Fixes

SwcMinifyWebpackPlugin Import Fix

Fixed an issue where the SwcMinifyWebpackPlugin was not being properly imported, causing potential build failures or webpack compilation errors. This fix ensures that the plugin is correctly imported and can be used as expected in the webpack configuration.

The fix was implemented in PR #2600 with commit 802deac.

New Features

No new features were added in this release. This is a bug fix release focused on resolving an import issue with the SwcMinifyWebpackPlugin.

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 SwcMinifyWebpackPlugin import issue.

Impact Summary

This release has a low impact overall, focusing on a single bug fix for the SwcMinifyWebpackPlugin import. The fix ensures proper webpack bundling functionality, which is important for build processes in Payload CMS projects.

The changes in this release are minimal (11 additions, 5 deletions across 5 files), indicating a targeted fix rather than extensive changes. Developers who were experiencing issues with the SwcMinifyWebpackPlugin will benefit from this fix, as it resolves import errors that could cause build failures.

Additionally, the release includes improved verbose logging for the release-it process, which is a minor enhancement to the development workflow but doesn't affect end users.

Full Release Notes

1.7.4 (2023-05-02)

Bug Fixes

Statistics:

File Changed5
Line Additions11
Line Deletions5
Line Changes16
Total Commits3

User Affected:

  • Can now properly use the SwcMinifyWebpackPlugin without import errors
  • Will experience more stable build processes
  • No longer need to implement workarounds for the import issue

Contributors:

denolfejmikrut