WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Releases: payloadcms/payload

v3.51.0

13 Aug 13:25
0688050

Choose a tag to compare

v3.51.0 (2025-08-13)

🚀 Features

🐛 Bug Fixes

  • upload with no filename gives vague error (#13414) (5a99d8c)
  • version view breaks when tab field has function for label (#13415) (35ca98e)
  • ensure scheduling by default only handles default queue, add allQueues config to autoRun (#13395) (ad2564e)
  • use thumbnailUrl for upload documents in folder view (#13368) (2211f3d)
  • next: group by boolean values (#13382) (d4f1986)
  • next: group by dates with null values (#13381) (7344d64)
  • richtext-lexical, plugin-multi-tenant: text editor exposes documents from other tenants (#13229) (9c8f320)
  • templates: only generate slug from title on demand (#12956) (2bc9a2d)
  • translations: update traditional chinese (zh-TW) localization (#13370) (5d8f8dc)
  • ui: autosave form state discards local changes (#13438) (8173180)
  • ui: misalignment of nested toggles on document API tab (#13424) (306b7f6)
  • ui: field elements showing over the top of Preview content (#13148) (72f5763)
  • ui: bulk upload issues (#13413) (a374aab)
  • ui: autosave hooks are not reflected in form state (#13416) (1d81b0c)
  • ui: search in select fields with filterOptions (#13397) (c9a1590)

📚 Documentation

🧪 Tests

  • group-by reset and navigation tests in trash view (#13401) (3258e78)

⚙️ CI

🏡 Chores

  • templates: fix typo in e2e tests (headging -> heading) (#13391) (161769e)

🤝 Contributors

v3.50.0

05 Aug 13:38
d622d3c

Choose a tag to compare

v3.50.0 (2025-08-05)

🚀 Features

  • add hooks to restoreVersion collection operation (#13333) (9031f3b)
  • adds trash support to the count operation (#13304) (1175508)
  • graphql: allow to pass count: true to a join query (#13351) (f432cc1)
  • translations: add Indonesian translations (#13323) (df91321)

🐛 Bug Fixes

  • deletedAt in TypeWithID not accepting null from generated types (#13363) (8401b21)
  • svg uploads allowed when glob (#13356) (43b4b22)
  • querying hasMany: true select fields inside polymorphic joins (#13334) (b26a73b)
  • next: version view did not properly handle field-level permissions (#13336) (1d70d4d)
  • next: incorrect version view stepnav value (#13305) (8a48941)
  • next: safely access relationTo value from relationship field (#13337) (095e7d9)
  • next: incorrect doc link in trash view with groupBy enabled (#13332) (c48b57f)
  • next: cannot filter trash (#13320) (e7124f6)
  • plugin-multi-tenant: constrain results to assigned tenants when present (#13365) (20b4de9)
  • richtext-lexical: recursively unwrap generic Slate nodes in Lexical migration converter (#13202) (227a20e)
  • ui: fallback to default locale checkbox passes wrong value (#12396) (b74f4fb)
  • ui: group/array error paths persisting when valid (#13347) (2903486)
  • ui: add hidden sidebar fields css specificity (#13344) (b965db8)
  • ui: hide sidebar when no fields rendered (#13340) (1b93c4b)
  • ui: incorrect padding when using rtl (#13338) (f2d4004)

⚡ Performance

  • 23% faster job queue system on postgres/sqlite (#13187) (3114b89)
  • ui: only select the useAsTitle field when fetching the document data of a relationship value (#13228) (1b31c74)

🧪 Tests

🏡 Chores

🤝 Contributors

v3.49.1

29 Jul 20:45
183f313

Choose a tag to compare

v3.49.1 (2025-07-29)

🐛 Bug Fixes

  • support next.js 15.4.4 (#13280) (5c94d2d)
  • keep apiKey encrypted in refresh operation (#13063) (#13177) (b1fa76e)
  • filters cookies with the payload- prefix in getExternalFile by default (#13215) (0894249)
  • use atomic operation for incrementing login attempts (#13204) (4fde0f2)
  • refactors toast error rendering (#13252) (d093bb1)
  • serve svg+xml as svg (#13277) (bc80284)
  • svg+xml file detection (#13276) (e8f6cb5)
  • drizzle: respect join.type config (#13258) (8518141)
  • next: group by null relationship crashes list view (#13315) (e502203)
  • next: catch list filter errors, prevent list view crash (#13297) (8d84352)
  • next: pass req through document tab conditions and custom server components (#13302) (c5c8c13)
  • next: unable to view trashed documents when group-by is enabled (#13300) (aff2ce1)
  • plugin-multi-tenant: prefer assigned tenants for selector population (#13213) (e29d1d9)
  • richtext-lexical: unify indent between different converters and make paragraphs and lists match without CSS (#13274) (7cd4a8a)
  • translations: improve swedish translations (#13272) (da8bf69)
  • translations: missing closing brace in rs latin translation for lastSavedAgo (#13172) (26d9dae)
  • ui: autosave-enabled document drawers close unexpectedly within the join field (#13298) (61ee8fa)

⚡ Performance

📚 Documentation

  • remove asterisk from optional url property in live preview docs (#13108) (fc59448)
  • typo in vercel-content-link.mdx (#13170) (9e04dbb)
  • fixes typo in ternary operator for live preview docs (#13163) (72954ce)
  • remove obsolete scheduler property (#13278) (2e9ba10)

🧪 Tests

📝 Templates

⚙️ CI

  • show path value in audit-dependencies script [skip ci] (#13314) (4beb27b)

🏡 Chores

🤝 Contributors

v3.49.0

25 Jul 13:37
4ac428d

Choose a tag to compare

v3.49.0 (2025-07-25)

🚀 Features

🐛 Bug Fixes

  • filtering by polymorphic relationships inside other fields (#13265) (75385de)
  • text field validation for minLength: 1, required: false (#13124) (af2ddff)
  • empty folderType arrays break relational dbs (#13219) (7f9de6d)
  • handle undefined values in afterChange hooks when read:false and create:true on the field level access for parents and siblings (#12664) (46d8a26)
  • exit payload jobs:run process after completion (#13211) (4ae503d)
  • db-mongodb: handle duplicate unique index error for DocumentDB (#13239) (c1cfceb)
  • db-postgres: search is broken when useAsTitle is not specified (#13232) (a83ed5e)
  • next: prevent base list filters from being injected into the url (#13253) (0eac58e)
  • plugin-import-export: json preview and downloads preserve nesting and exclude disabled fields (#13210) (8f85da8)
  • ui: preserve localized blocks and arrays when using CopyToLocale (#13216) (4a712b3)
  • ui: incorrect blocks label sizing (#13264) (fa7d209)
  • ui: ensure document unlocks when logging out from edit view of a locked document (#13142) (7e81d30)
  • ui: monomorphic relationship fields should not show relationTo option labels (#13245) (29fb9ee)
  • ui: select all should reset when params change, page, filter, etc (#12612) (412bf4f)
  • ui: ensure publishSpecificLocale works during create operation (#13129) (dce898d)
  • ui: properly sync search params to user preferences (#13200) (d7a3faa)

⚡ Performance

  • db-postgres: avoid including prettier to the bundle (#13251) (380ce04)
  • drizzle: single-roundtrip db updates for simple collections (#13186) (94f5e79)

🛠 Refactors

📚 Documentation

  • add status to forbidden field names when using Postgres and drafts are enabled (#13233) (7ae4f8c)
  • remove payload cloud (#13240) (77f279e)
  • fix typo, example was not valid JSON (#13224) (0eb8f75)
  • shorten line length in code snippet comments to avoid horizontal scrolling (#13217) (d6e21ad)
  • plugin-import-export: document plugin-import-export (#13243) (14322a7)

🔨 Build

⚙️ CI

  • default audit-dependencies script to high severity (#13244) (3f8fb67)

🏡 Chores

  • add new int test verifying that select improves performance of new optimization (#13254) (aeee070)
  • plugin-import-export: use debug-level logging for createExport process (#13242) (246a42b)

🤝 Contributors

v3.48.0

17 Jul 18:51
a336135

Choose a tag to compare

v3.48.0 (2025-07-17)

🚀 Features

  • add findDistinct operation (#13102) (a20b436)
  • atomic number field updates (#13118) (841bf89)
  • plugin-import-export: adds support for disabling fields (#13166) (5839cb6)
  • plugin-import-export: adds support for forcing export format via plugin config (#13160) (7294cf5)
  • plugin-import-export: adds pluginConfig options to disable Save and Download buttons in export UI (#13158) (de53f68)
  • richtext-lexical: export $createLinkNode and $isLinkNode for server use (#13205) (6ae730b)
  • ui: supports collection scoped folders (#12797) (12539c6)

🐛 Bug Fixes

  • Enhances field-level access controls on Users collection to address s… (#13197) (cab7ba4)
  • cron jobs running when calling bin scripts, leading to db errors (#13135) (64d76a3)
  • types for RenderField fields prop (#13162) (5f01953)
  • db-mongodb: improve compatibility with Firestore database (#12763) (41cff6d)
  • plugin-import-export: disabled flag to cascade to nested fields from parent containers (#13199) (95e373e)
  • plugin-import-export: export field dropdown to properly label and path fields in named/unnamed tabs (#13180) (2a59c5b)
  • plugin-multi-tenant: selector could become hidden (#13134) (e575511)
  • plugin-seo: add localized property to MetaTitleComponent (#12751) (d213c91)

⚡ Performance

  • drizzle: further optimize postgres row updates (#13184) (7cd682c)

📚 Documentation

🧪 Tests

📝 Templates

⚙️ CI

🤝 Contributors

v3.47.0

11 Jul 19:49
e5f64f7

Choose a tag to compare

v3.47.0 (2025-07-11)

🚀 Features

  • allow joins, select, populate, depth and draft to /me REST API operation (#13116) (2d91cb6)
  • exports new sanitizeUserDataForEmail function (#13029) (9f1bff5)
  • next: redirect non-existent documents to list view with banner (#13062) (5e82f9f)
  • next: add redirect from ${adminRoute}/collections to ${adminRoute} (#13061) (a7a0501)
  • plugin-import-export: show delayed toast when export download takes time (#13126) (b3a994e)
  • storage-*: include modified headers into the response headers of files when using adapters (#12096) (cb6a73e)
  • ui: add API key visibility toggle (#13110) (8a3b97c)
  • ui: adds support for copy pasting complex fields (#11513) (1d6ffcb)

🐛 Bug Fixes

  • execute mimetype validation on the file buffer data (#13117) (5695d22)
  • login operation not returning collection and _strategy (#13119) (0c2b105)
  • ensure we perform ssrf check within dispatcher (#13078) (e99c67f)
  • ensure default values are not shown when value is hidden (#13074) (855a320)
  • correctly reset login attempts (#13075) (aa97f3c)
  • payload auth api-key algorithm compatibility (#13076) (9c45321)
  • next: prevent live preview url functions from firing unnecessarily (#13088) (0b88466)
  • plugin-import-export: sync export field selection with list view columns from query columns (#13131) (c1bad01)
  • plugin-import-export: flattening logic for polymorphic relationships in CSV exports (#13094) (c6105f1)
  • plugin-import-export: selectionToUse field to dynamically show valid export options (#13092) (0806ee1)
  • plugin-import-export: sync field select dropdown with form value (#13103) (1c6a79b)
  • ui: disabled and styles add row button correctly (#13140) (2cafe49)
  • ui: ensure buildFormStateHandler throws error instead of returning null for unauthorized requests (#13123) (06ef798)
  • ui: monomorphic joins tables not fetching draft documents (#13139) (19a3367)
  • ui: ensure that schedule publishing time picker can only be in the future (#13128) (f63dfad)
  • ui: hidden input should wait for form initialization (#13114) (c77b39c)
  • ui: improve alignment of clear and dropdown indicator buttons in select based fields (#12995) (4c25357)
  • ui: prevent error crashing UI when relationship assigned as useAsTitle (#12981) (8a5cb27)

⚡ Performance

  • db-postgres: simplify db.updateOne to a single DB call with if the passed data doesn't include nested fields (#13060) (055cc4e)

📚 Documentation

  • richtext-lexical: add documentation page about official features (#13132) (576644d)
  • templates: fix grammar in README (#13027) (96c24a2)

⚙️ CI

🏡 Chores

  • deps: bump deps to resolve all high severity (#13002) (417b70e)

🤝 Contributors

v3.46.0

07 Jul 20:15
14612b4

Choose a tag to compare

v3.46.0 (2025-07-07)

🚀 Features

🐛 Bug Fixes

  • deduplicate custom array id fields (#13064) (e6f8ca6)
  • check hostname of upload url (#13018) (30fc7e3)
  • db-mongodb: updateOne mutates the data object and does not transform it for read (#13065) (6d5cc84)
  • next: adds token to reset password initialState (#13067) (f4f13a2)
  • next: respect collection-level live preview config (#13036) (f49eeb1)
  • plugin-redirects: make 'from' field unique to prevent errors in redirect logic (#12964) (50c2f8b)
  • ui: increase timeout for opening list drawer in RelationshipInput (#13031) (2650eb7)
  • ui: change password button is hidden when user has full field access (#12988) (1d9ad6f)

🧪 Tests

⚙️ CI

🤝 Contributors

v3.45.0

03 Jul 13:32
1ccd7ef

Choose a tag to compare

v3.45.0 (2025-07-03)

🚀 Features

  • mount live preview to document root (#12860) (f2213e5)
  • drizzle: support half-precision, binary, and sparse vectors column types (#12491) (583a733)

🐛 Bug Fixes

  • disable graphql introspection queries when disableIntrospectionInProduction is true (#12982) (a9580e0)
  • strict custom view paths (#12968) (cfc7adc)
  • appropriately throw unverified email error (#12933) (9f60306)
  • db-mongodb: nested sorting by ID (#13016) (81532cb)
  • db-mongodb: add ability to disable fallback sort and no longer adds a fallback for unique fields (#12961) (c902f14)
  • db-postgres: joins with hasMany: true relationships nested to an array (#12980) (0e8ac0b)
  • drizzle: ensure updateOne does not create new document if where query has no results (#12991) (fafaa04)
  • examples: only allow super admins to create users with super admin role (#13015) (6e5ddc8)
  • examples: checks requested tenant matches user tenant permissions (#13012) (5002953)
  • plugin-import-export: pre-scan columns before streaming CSV export (#13009) (34c3a51)
  • plugin-import-export: preview table to include all selected columns regardless of populated data (#12985) (335af1b)
  • plugin-multi-tenant: unnecessary modal appearing (#12854) (16f5538)
  • templates: wrong link in demo content (custom components) (#13024) (f70c6fe)
  • ui: save nested richtext inside inlineBlock (#12773) (babcd59)
  • ui: autosave infinite loop within document drawer (#13007) (b40c581)
  • ui: field bulk upload showing stale data (#13006) (9ba740e)
  • ui: prevent document drawer from remounting on save (#13005) (c80b6e9)
  • ui: bulk upload redirecting to relationship documents when added (#13001) (a9ad7c7)
  • ui: skip disabled fields when adding OR filter conditions in list view (#13004) (7a40a9f)
  • ui: render preview sizes button when adjustments are disabled but image sizes are defined (#12999) (b1ae749)
  • ui: block rows unexpectedly collapse and array rows not collapsed on init (#12987) (3f30a2e)
  • ui: prevent error if rows is undefined in mergeServerFormState (#12962) (6f6d305)

🎨 Styles

  • richtext-lexical: ensure error state is shown at small-break (#12827) (ac19b78)

🧪 Tests

📝 Templates

⚙️ CI

  • template errors not being caught due. fix: error due to updated generated-types User type (#12973) (4458f74)

🏡 Chores

🤝 Contributors

v3.44.0

27 Jun 13:28
c66e5ca

Choose a tag to compare

v3.44.0 (2025-06-27)

🚨 Notice 🚨

If your project uses the local auth strategy with db-postgres or db-sqlite, a migration is required. This is due to a new security feature (enabled by default) that stores a unique auth session identifier in the database.

To opt out and continue using the previous behavior, you can disable the feature by setting auth.useSessions: false in your users collection config.

For example:

// payload.config.ts
collections: [
  {
    slug: 'users',
    auth: {
      useSessions: false,
    },
    fields: [],
  },
],

🚀 Features

🐛 Bug Fixes

  • richTextField supports beforeInput/afterInput, but these were missing from types.ts (#12889) (e769550)
  • validate "null" value for point field as true when its not required (#12908) (2da6d92)
  • get external resource blocked (#12927) (a7ad573)
  • restore missing properties to live preview client config (#12904) (bcb10b5)
  • uses valid fractional index for test (#12942) (8900a38)
  • querying virtual fields deeply with draft: true (#12868) (bc9b501)
  • use small pill size when viewing version information (#12844) (6c4dfe4)
  • db-mongodb: strip deleted from the config blocks from the result (#12869) (54afaf9)
  • db-postgres: joins with custom schema (#12937) (c1f6297)
  • db-postgres: querying on hasMany: true select field in a relationship (#12916) (b74969d)
  • drizzle: skip column if undefined in findMany (#12902) (605c993)
  • live-preview: client-side live preview cannot populate more than 10 relationships at once (#12929) (7472798)
  • live-preview: foreign postMessage events reset client-side state (#12925) (67fa5a0)
  • next: live preview popup triggers leave without saving modal (#12947) (141133a)
  • next: prevent errors in globals version view (#12920) (39e9519)
  • next: remove error handling from next auth functions (#12897) (1b5e3fe)
  • next: remove console.error from next auth functions (#12881) (fe58f03)
  • plugin-import-export: duplicated rows and headers in CSV export when streaming paginated results (#12941) (5cf9287)
  • plugin-import-export: csv export for polymorphic relationship fields (#12926) (6d76874)
  • plugin-import-export: omit CSV columns when toCSV returns undefined (#12923) (751691a)
  • plugin-multi-tenant: updates tenant selector upon tenant creation (#12936) (c76d839)
  • richtext-lexical: consistent html converter inline padding (#12848) (11ac230)
  • ui: usePreventLeave should not show alert for exceptions (#12722) (c3c1614)
  • ui: vertically align table headers to the middle (#12699) (0e9865c)
  • ui: properly render create new button in polymorphic joins (#12930) (a1822d2)
  • ui: render DateTime label as instead of (#12949) (4b9566f)
  • ui: bulk upload losing state when adding additional files (#12946) (d62d9b4)
  • ui: unreachable custom views when admin route set to '/' (#12812) (379fc12)
  • ui: toggle list selections off on successful bulk action (#12861) (9f17db8)
  • ui: align caret on error tooltip for checkbox field (#12917) (c094b0e)
  • ui: updates auth fields UI to reflect access control (#12745) (1845669)
  • ui: folder server function must reference exports dir (#12898) (0d50799)
  • ui: custom row labels on arrays should not be removed on field duplication (#12895) (37c945b)
  • ui: date format of useAsTitle lost after changing value (#12928) (20bbbcf)
  • ui: properly differentiate between DOM events and raw values in setValue (#12892) (c03e9c1)
  • ui: should select document after creation from relationship field (#12842) (25e3902)
  • ui: support react node content in ConfirmationModal heading and body (#12841) (dffdee8)

🛠 Refactors

📚 Documentation

Read more

v3.43.0

16 Jun 20:14
810869f

Choose a tag to compare

v3.43.0 (2025-06-16)

🚀 Features

🐛 Bug Fixes

  • ensure job autoruns are not triggered if jobs collection not enabled (#12808) (769ca03)
  • filtering joins in where by ID (#12804) (9943b35)
  • change payload.jobs.run and bin script to only run jobs from default queue by default, adds support for allQueues argument (#12799) (06ad171)
  • remove unsupported path property from default document view configs (#12774) (f64a0ae)
  • field inside an unnamed group field erroring when used as a title (#12771) (143aff5)
  • error when saving global with versioning enabled (#12778) (cf43c5c)
  • reduce global DOM/Node type conflicts in server-only packages (#12737) (67fb29b)
  • orderable has incorrect sort results depending on capitalization (#12758) (37afbe6)
  • ensure redirect route is correctly formatted for "Copy to locale" (#12560) (9d2817e)
  • db-mongodb: 4x and more level deep relationships querying (#12800) (245a2de)
  • db-mongodb: bump mongoose to 8.15.1 (#12755) (860e0b4)
  • db-postgres: reordering of enum values, bump [email protected] and [email protected] (#12256) (7045182)
  • db-postgres: x3 and more nested blocks regression (#12770) (df8be92)
  • db-sqlite: sqlite unique validation messages (#12740) (254ffec)
  • plugin-import-export: download button in collection edit view (#12805) (8235fe1)
  • plugin-import-export: incorrect custom type on toCSVFunction changed to toCSV (#12796) (3edcc40)
  • plugin-import-export: export all available fields by default (#12731) (c4e5831)
  • plugin-nested-docs: check error name that is changed at compile time (#12798) (729b676)
  • plugin-redirects: add missing optional chaining (#12753) (d0e647a)
  • storage-azure: return error status 404 when file is not found instead of 500 (#11734) (018317d)
  • storage-gcs: return 404 on file not found instead of 500 (#11746) (d8626ad)
  • storage-s3: return error status 404 when file is not found instead of 500 (#11733) (a19921d)
  • translations: reformats bnBD and bnIN translation imports to camelCase (#12736) (08fbcb5)
  • ui: reordering with a join field inside a group (#12803) (e60db07)
  • ui: adjust alignment of list header actions (#12793) (77f3805)
  • ui: not showing hyphenated field values in table (#12791) (e7b5884)
  • ui: inconsistent pill sizes across admin panel (#12788) (9364d51)

⚡ Performance

  • ui: do not re-animate drawer on re-render, reduce useEffects (#12743) (cb3f9bb)

🛠 Refactors

📚 Documentation

🏡 Chores

🤝 Contributors