Elliot DeNolf
eefcd88de7
chore(release): payload/2.4.0 [skip ci]
2023-12-06 13:34:08 -05:00
Tylan Davis
cf9a3704df
fix: handles null upload field values ( #4397 )
2023-12-06 09:26:19 -05:00
Patrik
4b5453e8e5
fix: simplifies query validation and fixes nested relationship fields ( #4391 )
2023-12-06 08:47:34 -05:00
Alessio Gravili
5de347ffff
feat(richtext-lexical)!: lazy import React components to prevent client-only code from leaking into the server ( #4290 )
...
* chore(richtext-lexical): lazy import all React things
* chore(richtext-lexical): use useMemo for lazy-loaded React Components to prevent lag and flashes when parent component re-renders
* chore: make exportPointerFiles.ts script usable for other packages as well by hoisting it up to the workspace root and making it configurable
* chore(richtext-lexical): make sure no client-side code is imported by default from Features
* chore(richtext-lexical): remove unnecessary scss files
* chore(richtext-lexical): adjust package.json exports
* chore(richtext-*): lazy-import Field & Cell Components, move Client-only exports to /components subpath export
* chore(richtext-lexical): make sure nothing client-side is directly exported from the / subpath export anymore
* add missing imports
* chore: remove breaking changes for Slate
* LazyCellComponent & LazyFieldComponent
2023-12-06 14:20:18 +01:00
Kane Wang
50253f617c
feat: add Chinese Traditional translation ( #4372 )
2023-12-04 15:29:29 -05:00
Dan Ribbens
b6cffcea07
fix: defaultValues computed on new globals ( #4380 )
2023-12-04 15:05:47 -05:00
Timothy Choi
3b8a27d199
feat: pass path to FieldDescription ( #4364 )
...
fix: DescriptionFunction type
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-04 13:59:18 -05:00
Jessica Chowdhury
65adfd21ed
fix: uploads files after validation ( #4218 )
2023-12-04 12:38:23 -05:00
Jacob Fletcher
03a387233d
fix(live-preview): sends raw js objects through window.postMessage instead of json ( #4354 )
2023-12-01 17:50:55 -05:00
Jessica Chowdhury
fcbe5744d9
fix: upload editing error with plugin-cloud ( #4170 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-12-01 16:35:12 -05:00
Jacob Fletcher
5f173241df
feat: async live preview urls ( #4339 )
2023-12-01 16:25:39 -05:00
Elliot DeNolf
156ffdd18c
chore(release): payload/2.3.1 [skip ci]
2023-12-01 16:18:48 -05:00
Jarrod Flesch
fe888b5f6c
fix: query validation on relationship fields ( #4353 )
2023-12-01 16:03:58 -05:00
Alessio Gravili
bea79feaea
fix: ensure doc controls are not hidden behind lexical field ( #4345 )
2023-12-01 10:23:39 +01:00
Elliot DeNolf
53958d4662
chore(release): payload/2.3.0 [skip ci]
2023-11-30 11:05:49 -05:00
Alessio Gravili
ff61d5a099
chore(richtext-*): roll-back richtext adapter change
2023-11-30 16:25:17 +01:00
Jacob Fletcher
9cc88bb474
fix: properly sets tabs key in fieldSchemaToJSON ( #4317 )
2023-11-30 09:48:37 -05:00
Jacob Fletcher
57fc211674
fix(live-preview): re-populates externally updated relationships ( #4287 )
2023-11-30 09:47:56 -05:00
Dan Ribbens
9da9b1fc50
fix: duplicate documents with required localized fields ( #4236 )
2023-11-30 09:27:24 -05:00
Dan Ribbens
30d050ef86
chore: fix telemetry user id type string ( #4321 )
2023-11-30 09:26:51 -05:00
Patrik
224cddd045
feat: relationship sortOptions property ( #4301 )
...
* feat: adds sortOptions property to relationship field
* chore: fix lexical int tests
* feat: simplifies logic & updates joi schema definition
* feat: revert to default when searching in relationship select
* fix types and joi schema
* type adjustments
---------
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-29 16:22:47 -05:00
Alessio Gravili
3502ce720b
fix: incorrect key property in Tabs field component ( #4311 )
...
Fixes #4282
2023-11-29 22:18:40 +01:00
Jacob Fletcher
542096361f
fix: properly exports useDocumentsEvents hook ( #4314 )
2023-11-29 12:26:20 -05:00
Jarrod Flesch
cd07873fc5
fix(db-postgres): allow for nested block fields to be queried ( #4237 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-29 11:03:57 -05:00
Travis Mcgeehan
c1eb9d1727
feat: support OAuth 2.0 format Authorization: Bearer tokens in headers
2023-11-28 16:23:18 -05:00
Alessio Gravili
094d02ce1d
fix(richtext-lexical): re-use payload population logic to fix population-related issues ( #4291 )
...
* chore(richtext-lexical): Add int test which reproduces the issue
* chore: Remove unnecessary await in core afterRead promise
* fix(richtext-lexical): re-use recurseNestedFields from payload instead of using own recurseNestedFields
* chore(richtext-lexical): pass in missing properties which are available in the core afterRead hook
* chore: remove unnecessary block
2023-11-28 19:18:07 +01:00
Elliot DeNolf
1fe4f4c5f4
Merge pull request #4292 from payloadcms/feat/migrate-with-js-files
...
feat: support migrations with js files
2023-11-28 11:40:36 -05:00
Elliot DeNolf
2122242192
feat: support migrations with js files
2023-11-28 11:09:25 -05:00
Nikola Spalevic
40c8909ee0
feat: add serbian (latin and cyrillic) translations ( #4268 )
2023-11-28 09:08:26 -05:00
Jacob Fletcher
9bb7a88526
feat: useDocumentEvents ( #4284 )
2023-11-27 16:16:53 -05:00
Elliot DeNolf
098e389147
chore(release): payload/2.2.2 [skip ci]
2023-11-27 16:11:31 -05:00
James
443847ec71
fix: transactions broken within doc access
2023-11-27 15:56:18 -05:00
Jessica Chowdhury
1dcd3a2782
fix: prevent json data getting reset when switching tabs ( #4123 )
2023-11-27 12:23:20 -05:00
Yunsup Sim
1401718b3b
feat(i18n): adds Korean translation ( #4258 )
2023-11-27 10:26:53 -05:00
Jessica Chowdhury
3d2b62b210
fix: passes date options to the react-datepicker in filter UI, removes duplicate options from operators select ( #4225 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-21 16:48:39 -05:00
Radosław Kłos
56a4692662
fix: typo in polish translations ( #4234 )
2023-11-21 13:09:00 -05:00
Jarrod Flesch
19fcfc27af
fix: number field validation ( #4233 )
2023-11-21 10:12:26 -05:00
Elliot DeNolf
dcf14f5f71
chore(release): payload/2.2.1 [skip ci]
2023-11-21 10:08:07 -05:00
Elliot DeNolf
3a784a06cc
fix: make outputSchema optional on richtext config ( #4230 )
2023-11-21 09:45:57 -05:00
Elliot DeNolf
6af1c4d45d
chore(release): payload/2.2.0 [skip ci]
2023-11-20 16:36:41 -05:00
Dan Ribbens
de02490231
feat: hide publish button based on permissions ( #4203 )
...
Co-authored-by: James <james@trbl.design >
2023-11-20 16:26:49 -05:00
Take Weiland
1510baf46e
fix: synchronous transaction errors ( #4164 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-20 12:20:42 -05:00
Alessio Gravili
50fab902bd
fix(richtext-lexical): Blocks: fields without fulfilled condition are now skipped for validation
2023-11-18 11:52:30 +01:00
Jarrod Flesch
05f3169a75
fix: thread locale through to access routes from admin panel ( #4183 )
2023-11-17 10:15:12 -05:00
Alessio Gravili
c068a8784e
fix(richtext-lexical): Blocks: make sure fields are wrapped in a uniquely-named group, change block node data format, fix react key error ( #3995 )
...
* fix(richtext-lexical): make sure block fields are wrapped in a uniquely-named group
* chore: remove redundant hook
* chore(richtext-lexical): attempt to fix unnecessary unsaved changes warning regression
* cleanup everything
* chore: more cleanup
* debug
* looks like properly cloning the formdata for setting initial state fixes the issue where the old formdata is updated even if node.setFields is not called
* chore: fix e2e tests
* chore: fix e2e tests (a selector has changed)
* chore: fix int tests (due to new blocks data format)
* chore: fix incorrect insert block commands in drawer
* chore: add new e2e test
* chore: fail e2e tests when there are browser console errors
* fix(breaking): beforeInput and afterInput: fix missing key errors, consistent typing and cases in name
2023-11-16 22:01:04 +01:00
Alessio Gravili
989c10e0e0
feat: allow richtext adapters to control type generation, improve generated lexical types ( #4036 )
2023-11-16 11:36:20 -05:00
Wilson
4e03ee7079
chore: adds doc blocks for field access properties ( #3973 )
2023-11-16 09:15:04 -05:00
Quentin Beauperin
b91711a74a
fix: improves live preview breakpoints and zoom options in dark mode ( #4090 )
2023-11-16 09:10:33 -05:00
Take Weiland
195a952c43
fix: transactionID isolation for GraphQL ( #4095 )
2023-11-14 16:07:10 -05:00
Alessio Gravili
4ec5643dd7
chore: restricts character length in table cells ( #4063 )
2023-11-14 11:25:24 -05:00