Releases: payloadcms/payload
v3.0.0-beta.101
v3.0.0-beta.101 (2024-09-09)
🚀 Features
- add validation for useAsTitle to throw an error if it's an invalid or nested field (#8122) (638382e)
🐛 Bug Fixes
- #6800, graphql parallel queries with different fallback locales (#8140) (d44fb2d)
- multiple preferences for the same user and entry (#8100) (852f9fc)
- removes transactions wrapping auth strategies and login (#8137) (e2d8038)
- ui: wrong block indication when an error occurred (#7963) (7fa68d1)
- ui: bulk select checkbox being selected by default when in drawer (#8126) (9ec431a)
- ui: thumbnails when serverURL config is provided (#8124) (cadf815)
- ui: various issues around documents lists, listQuery provider and search params (#8081) (b27e42c)
- ui: missing thumbnail for non-image files in bulk upload sidebar (#8102) (32cc1a5)
- ui: better responsiveness for upload fields in sidebar (#8101) (38be69b)
🤝 Contributors
- James Mikrut (@jmikrut)
- Dan Ribbens (@DanRibbens)
- Germán Jabloñski (@GermanJablo)
- Paul (@paulpopus)
- Elliot DeNolf (@denolfe)
- Tylan Davis (@tylandavis)
v3.0.0-beta.100
v3.0.0-beta.100 (2024-09-06)
🚀 Features
🐛 Bug Fixes
- ui, next: adjust modal alignment and padding (#7931) (ead12c8)
- ui: optimizes the relationship field by sharing a single document drawer across all values (#8094) (6253ec5)
- ui: handles falsey relationship options on reset (#8095) (f9ae56e)
- db-postgres: sanitize tab/group path for table name (#8009) (0688c2b)
- cpa: detect package manager from command execution environment (#8087) (c624661)
🤝 Contributors
- Tylan Davis (@tylandavis)
- Jacob Fletcher (@jacobsfletch)
- Sasha (@r1tsuu)
- Alexander (@Arctomachine)
- Paul (@paulpopus)
- Francisco Lourenço (@franciscolourenco)
v3.0.0-beta.99
v3.0.0-beta.99 (2024-09-05)
🐛 Bug Fixes
- ui: significantly optimizes relationship field (#8063) (308fad8)
- only show restore as draft option when drafts enabled (#8066) (6427b7e)
- db-postgres: query hasMany text/number in array/blocks (#8003) (3a65784)
🤝 Contributors
- Jacob Fletcher (@jacobsfletch)
- Jessica Chowdhury (@JessChowdhury)
- Sasha (@r1tsuu)
- Elliot DeNolf (@denolfe)
v2.28.0
2.28.0 (2024-09-04)
Features
- collections can use custom database operations (#7675) (6ba293c) (@kendelljoseph)
Bug Fixes
v3.0.0-beta.98
v3.0.0-beta.98 (2024-09-03)
🚀 Features
⚡ Performance
🐛 Bug Fixes
- richtext-lexical: toolbar styles (#7936) (7a3507d)
- plugin-seo: meta image selection not working (#8024) (9bcdf0d)
- padding on the right of the default padding when scrollbars are enabled in the browser (#8023) (8203fe8)
- richtext-lexical: incorrect error check in TableActionMenu (#7964) (d9cccc7)
- collection pagination limits being merged with defaults instead of overidden (#8004) (ee3d585)
- ui: radio fields are now selectable as options in filtering in query builder (#8002) (cf9e13a)
- ui: list view crash when using a code field type (#7994) (e25730f)
⚠️ BREAKING CHANGES
-
richtext-lexical: greatly simplify lexical loading and improve performance (#8041) (b6a8d1c)
We noticed that we can bring functions down to the client directly
without having to wrap them in a component first. This greatly
simplifies the loading of all lexical client componentsBREAKING:
createClientComponent
is no longer exported as it's not needed
anymore- The exported
ClientComponentProps
type has been renamed to
BaseClientFeatureProps
. - The order of arguments in
sanitizeClientEditorConfig
has changed
🤝 Contributors
- Alessio Gravili (@AlessioGr)
- Elliot DeNolf (@denolfe)
- Germán Jabloñski (@GermanJablo)
- Paul (@paulpopus)
- Giuseppe Chiruzzi (@xfloor)
- Riley Pearce (@rilrom)
v3.0.0-beta.97
v3.0.0-beta.97 (2024-08-30)
🚀 Features
- move logger configuration to Payload config (#7973) (8202c3d)
- templates: update website src directory structure (#7971) (90b3e83)
🐛 Bug Fixes
- templates: add button to exit preview mode (#7991) (c1533bf)
- migrations exit code (#7989) (442d105)
- ui: upload field not showing admin.description (#7978) (b6ae689)
- nested-docs-plugin: throw an error to the UI if children are not passing validation (#7977) (e033488)
- ui: upload with has many bulk select not working with postgres (#7976) (e071382)
- ui: propagates sort change events through list query provider (#7968) (c072822)
Contributors
- Paul (@paulpopus)
- Elliot DeNolf (@denolfe)
- Jarrod Flesch (@JarrodMFlesch)
- Alessio Gravili (@AlessioGr)
- Jacob Fletcher (@jacobsfletch)
v3.0.0-beta.96
v3.0.0-beta.96 (2024-08-29)
🚀 Features
- auto-removes localized property from localized fields within other localized fields (#7933) (538b7ee)
- significantly reduce payload install size by removing unnecessary monaco-editor dependency (#7939) (e375f6e)
- reduce package size and amount of dependencies by upgrading json-schema-to-typescript (#7938) (dc12047)
🐛 Bug Fixes
- db-postgres: nested localized arrays (#7962) (ac10bad)
- prevents duplicate active nav indicators (#7943) (de3d7c9)
- improve validation errors for unique fields (#7937) (cc9b877)
- incorrect config.upload types (#7874) (0962850)
⚠️ BREAKING CHANGES
-
auto-removes localized property from localized fields within other localized fields (#7933) (538b7ee)
Payload localization works on a field-by-field basis. As you can nest
fields within other fields, you could potentially nest a localized field
within a localized field—but this would be redundant and unnecessary.
There would be no reason to define a localized field within a localized
parent field, given that the entire data structure from the parent field
onward would be localized.Up until this point, Payload would allow you to nest a localized field
within another localized field, and this might have worked in MongoDB
but it will throw errors in Postgres.Now, Payload will automatically remove the
localized: true
property
from sub-fields withinsanitizeFields
if a parent field is localized.This could potentially be a breaking change if you have a configuration
with MongoDB that nests localized fields within localized fields.Migrating
You probably only need to migrate if you are using MongoDB, as there,
you may not have noticed any problems. But in Postgres or SQLite, this
would have caused issues so it's unlikely that you've made it too far
without experiencing issues due to a nested localized fields config.In the event you would like to keep existing data in this fashion, we
have added acompatibility.allowLocalizedWithinLocalized
flag to the
Payload config, which you can set totrue
, and Payload will then
disable this new sanitization step.Set this compatibility flag to
true
only if you have an existing
Payload MongoDB database from pre-3.0, and you have nested localized
fields that you would like to maintain without migrating.
Contributors
- James Mikrut (@jmikrut)
- Elliot DeNolf (@denolfe)
- Jarrod Flesch (@JarrodMFlesch)
- Alessio Gravili (@AlessioGr)
- Paul (@paulpopus)
v3.0.0-beta.95
v3.0.0-beta.95 (2024-08-28)
🐛 Bug Fixes
- ui: admin.dependencies components not added to client config (#7928) (ef818fd)
- richtext-lexical: enabledCollections and disabledCollections props in RelationshipFeature (#7926) (0aaf3af)
- db-postgres, db-sqlite: hasMany text, number, poly relationship, blocks, arrays within localized fields (#7900) (18b0806)
- richtext-lexical: ensure html converter text is escaped (#7919) (c7e7dc7)
- active nav item set incorrectly in child routes (#7918) (375671c)
- depth not being respected by upload has many (#7897) (27d743e)
Contributors
- Elliot DeNolf (@denolfe)
- Alessio Gravili (@AlessioGr)
- Germán Jabloñski (@GermanJablo)
- James Mikrut (@jmikrut)
- Jacob Fletcher (@jacobsfletch)
- Jarrod Flesch (@JarrodMFlesch)
- Paul (@paulpopus)
v3.0.0-beta.94
v3.0.0-beta.94 (2024-08-27)
🚀 Features
🐛 Bug Fixes
- upload has many field updates (#7894) (a76be81)
- richtext-lexical: html converters can populate relationships infinitely (#7890) (de7ff1f)
- locale selector + autosave race condition (#7891) (3d714d3)
Contributors
- Jarrod Flesch (@JarrodMFlesch)
- Paul (@paulpopus)
- Alessio Gravili (@AlessioGr)
- James Mikrut (@jmikrut)
- Elliot DeNolf (@denolfe)
v3.0.0-beta.93
v3.0.0-beta.93 (2024-08-27)
🐛 Bug Fixes
- bugs in versions UI with perPage, pagination and diffs not showing for tabs. publish button no longer double saves when using keyboard (#7889) (23c5ef4)
- richtext-lexical: dependency checker suggesting incorrect version (#7888) (f046a04)
Contributors
- Paul (@paulpopus)
- Alessio Gravili (@AlessioGr)