Change8

v3.81.0

📦 payload-cmsView on GitHub →
2 features🐛 19 fixes🔧 12 symbols

Summary

This release introduces an LLM evaluation suite and fixes several bugs across database integrations (MongoDB, Postgres), UI components, and Next.js compatibility. Dependency updates were also performed to address security vulnerabilities.

Migration Steps

  1. For Next.js projects, ensure you are using the updated dev scripts which include --no-server-fast-refresh for compatibility with Next.js 16.2+.

✨ New Features

  • Add LLM eval suite for Payload conventions and code generation.
  • Prevent admin panel errors when cacheComponents is enabled in Next.js configurations.

🐛 Bug Fixes

  • Updated file-type, ajv, and jose packages.
  • Added field-level access control to internal auth fields.
  • Fixed where querying by a join field with relationship nested to an array.
  • Trashed documents no longer show as IDs in relationship responses.
  • Fixed virtual fields within blocks in MongoDB.
  • Stabilized read replicas support in PostgreSQL.
  • Handled blockType filters for versions in PostgreSQL.
  • Resolved high severity audit vulnerabilities by updating dependencies.
  • Respected canAccessAdmin when a custom dashboard view is configured in Next.js.
  • Fixed issue where forgot password basePath was not respected in Next.js.
  • Resolved forbidden error when logging in as a user with no tenant and no access to all tenants in the multi-tenant plugin.
  • Prevented invalid h0 heading nodes when all heading sizes are disabled in Lexical rich text editor.
  • Passed trash parameter to request in SDK.
  • Bumped @google-cloud/storage package version.
  • Properly handled alwaysInsertFields and added comprehensive integration test suite with a vercel blob emulator for storage-vercel-blob.
  • Added --no-server-fast-refresh to all dev scripts for Next.js 16.2+ compatibility in templates.
  • Prevented data loss in copy-to-locale with drafts in UI.
  • Fixed issue where tokenInMemory was not set after refreshing cookie in UI.
  • Respected admin.dateFormat for list view filters in UI.

Affected Symbols