github payloadcms/payload v3.67.0

2 hours ago

v3.67.0 (2025-12-05)

🚀 Features

  • add groupBy support to query presets (#14808) (2b7aa7a)
  • plugin-ecommerce: add ability to enable guest carts with reworked access config (#14565) (90c92f4)

GroupBy Support for Query Presets - Query presets now save and restore groupBy state when switching between presets. Previously, groupBy settings would persist across preset switches and weren't saved as part of the preset configuration. #14808

Preset creation with group-by added

Guest Carts (plugin-ecommerce) - Enable guest users to create and manage carts without authentication. Carts created by guests are secured with a generated secret stored in local storage. Configure with allowGuestCarts (enabled by default). Also adds isLoading status to all hooks for conditional UI state.
#14565

// Before
ecommercePlugin({
  access: {
    adminOnly,
    adminOnlyFieldAccess,
    adminOrCustomerOwner,
    adminOrPublishedStatus,
    customerOnlyFieldAccess,
  }
})

// After
ecommercePlugin({
  access: {
    adminOnlyFieldAccess,
    adminOrPublishedStatus,
    customerOnlyFieldAccess,
    isAdmin,
    isDocumentOwner,
  }
})

🐛 Bug Fixes

  • add missing beforeInput and afterInput properties to UploadAdmin type (#14775) (22a0255)
  • add missing afterOperation and beforeOperation hook calls (#14778) (e9cd2a5)
  • sanitized versions type was incorrect (#14810) (51c951f)
  • plugin-multi-tenant: moves getGlobalViewRedirect from utilities to rsc exports (#14817) (1340818)
  • ui: autosave not queued while background process is in flight (#14805) (14f042f)
  • ui: ensure block error css only gets applied to the affected block (#14826) (7520140)
  • ui: missing translation support in SelectMany component (#14819) (8fa91a5)

⚡ Performance

⚙️ CI

  • clean up bug report template for auto-labeling (ebee8e1)

🏡 Chores

  • claude: add coding patterns and best practices section (#14829) (c5d8e68)
  • deps: bump @types/react and @types/react-dom to 19.2.1 (#14815) (d56796b)
  • deps: bump next to 15.4.8 in root and test dirs (#14811) (1c3417d)

⚠️ BREAKING CHANGES

  • plugin-ecommerce: add ability to enable guest carts with reworked access config (#14565) (90c92f4)

This PR introduce a breaking change into the plugin as it was necessary
in order to provide more secure guest carts.

🤝 Contributors

Don't miss a new payload release

NewReleases is sending notifications on new releases.