Home

>

Tools

>

Payload CMS

>

Releases

>

3.0.0-beta.82

Payload CMS Release: 3.0.0-beta.82

Pre Release

Tag Name: v3.0.0-beta.82

Release Date: 8/15/2024

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 v3.0.0-beta.82 brings important fixes for Windows compatibility in import maps and introduces new ESLint rules to improve code quality. This release focuses on developer experience improvements with better handling of relative imports and package references.

Highlight of the Release

    • Fixed Windows compatibility issues with import map generation
    • Added new ESLint rules to prevent problematic import patterns
    • Improved development environment with PostgreSQL test suite fixes

Migration Guide

No migration is required for this release as it primarily contains bug fixes and developer tooling improvements.

Upgrade Recommendations

This release is recommended for all developers working with Payload CMS, especially those developing on Windows systems or working with the monorepo structure. The ESLint improvements will help maintain code quality and prevent problematic import patterns.

Bug Fixes

  • Windows Path Compatibility: Fixed issues with import map generation on Windows systems, ensuring proper path handling across different operating systems
  • Self-referencing Imports: Resolved issues with packages referencing themselves, which could cause circular dependencies
  • PostgreSQL Development Environment: Fixed issues running PostgreSQL in development test suites, improving the developer experience

New Features

ESLint Improvements

  • New no-imports-from-self rule: Prevents a package from importing from itself, which can lead to circular dependencies and other issues
  • Enhanced no-relative-monorepo-import rule: Updated to handle more scenarios, preventing problematic relative imports across the monorepo:
    // These patterns will now be flagged as violations:
    import { something } from '../../payload/src/utilities/some-util.js'
    import { something } from '../../../packages/payload/src/utilities/some-util.js'
    import { something } from 'packages/payload/src/utilities/some-util.js'
    

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release.

Impact Summary

This release focuses on developer experience improvements with fixes for Windows compatibility in import maps and enhanced ESLint rules. While these changes don't directly affect end-users, they improve the development workflow, especially for Windows users. The ESLint rule updates help maintain code quality by preventing problematic import patterns that could lead to issues in the codebase. The PostgreSQL test suite fixes further enhance the development environment reliability.

Full Release Notes

Statistics:

File Changed54
Line Additions176
Line Deletions80
Line Changes256
Total Commits8

User Affected:

  • Windows developers will now have proper compatibility with import maps
  • Improved ESLint rules to prevent problematic import patterns
  • Better development experience with fixes for PostgreSQL in test suites

Contributors:

denolfedependabot[bot]AlessioGrDanRibbensjacobsfletch