Change8

v3.58.0

📦 payload-cmsView on GitHub →
3 features🐛 8 fixes🔧 1 symbols

Summary

This release introduces the beta Ecommerce Plugin/Template, a new type-safe Payload SDK for REST API querying, and support for Cloudflare D1/R2 integrations. Numerous bug fixes address issues across UI, Next.js integration, and the Rich Text editor.

Migration Steps

  1. To use the new Ecommerce features, initialize a new project using the command: `pnpx create-payload-app my-project -t ecommerce`.
  2. To use the new Cloudflare integrations, refer to the deployment guide via the provided template link.

✨ New Features

  • Introduction of the Ecommerce Plugin and Template in beta, accessible via `pnpx create-payload-app my-project -t ecommerce`.
  • Release of the Payload SDK package for fully type-safe querying of the Payload REST API, supporting operations like auth, select, populate, joins, and simplified file uploading.
  • New Cloudflare D1 SQLite adapter, R2 storage adapter, and a corresponding Cloudflare deployment template.

🐛 Bug Fixes

  • Ensured block filterOptions are awaited.
  • Sanitized collection labels to correctly inherit defaults when only a partial configuration is provided.
  • Avoided reliance on `Function.prototype.name` for detecting React components.
  • Fixed static live preview URL corruption after save in Next.js integration.
  • Properly localized labels in the multi-tenant plugin.
  • Resolved Rich Text Lexical editor re-mounting on save caused by JSON key order not being preserved in PostgreSQL.
  • Fixed query preset where field not displaying array values in the UI.
  • Moved collection description below the title in the document view in the UI.

🔧 Affected Symbols

@payloadcms/sdk