Alessio Gravili
9277b306de
fix(richtext-lexical): infinite re-rendering after draft save ( #3709 )
2023-10-22 01:41:58 +02:00
Alessio Gravili
156eae2551
fix(richtext-lexical): do not update Block node if form data is the same
2023-10-22 00:21:09 +02:00
Alessio Gravili
e197e0316f
fix(richtext-*): hasMany relationships not populated correctly
2023-10-21 23:58:47 +02:00
Alessio Gravili
863b79348b
feat(richtext-lexical): linebreak html converter
2023-10-21 23:30:47 +02:00
Alessio Gravili
30ff65d0b4
Merge pull request #3805 from payloadcms/fix/lexical-use-client
...
fix(richtext-lexical): missing use client markers required for next.js compatibility
2023-10-21 23:25:09 +02:00
Alessio Gravili
3185771551
fix(richtext-lexical): missing use client markers required for next.js compatibility
2023-10-21 23:21:12 +02:00
Jarrod Flesch
ea83c3f3a2
fix: simplify how the search input and query params are connected ( #3797 )
2023-10-21 10:04:54 -04:00
Alessio Gravili
072f7febd2
chore(richtext-lexical): do not capitalize H2 and H3 headings
2023-10-21 14:56:40 +02:00
Alessio Gravili
b5c7bbed93
fix(richtext-lexical): defaultValue property didn't fit into field schema
2023-10-21 14:52:26 +02:00
Alessio Gravili
931f6ff519
fix(richtext-lexical): Field Description shows up twice ( #3793 )
2023-10-21 14:51:11 +02:00
Alessio Gravili
0af36af16c
feat(richtext-lexical): HTML Serializer ( #3685 )
...
* chore(richtext-lexical): add jsdocs for afterReadPromise in GraphQL
* feat(richtext-lexical): HTML Serializer
* chore(richtext-lexical): adjust comment
* chore(richtext-lexical): change the way the html serializer works
* chore: working html converter field, improve various exports
* feat: link and heading html serializers
* fix: populationPromises not being added properly
* feat: allow html serializers to be async
* feat: upload html serializer
* feat: text format => html
* feat: lists => html
* feat: Quote => html
* chore: improve Checklist => html conversion, by passing in the full parent to converters
2023-10-21 14:37:59 +02:00
Alessio Gravili
f6adbae0c7
feat: collection, global and field props for hooks, fix request context initialization, add context to global hooks ( #3780 )
...
* feat: pass collection, global and field props to collection, global and field hooks - where applicable
* fix: initial request context not set for all operations
* chore: add tests which check the collection prop for collection hooks
* feat: add context to props of global hooks
* chore: add global tests for global and field props
* chore: int tests: use JSON instead of object hashes
2023-10-21 11:40:57 +02:00
Jacob Fletcher
67d61df563
fix: standardizes layout of document fields ( #3798 )
2023-10-20 22:22:41 -04:00
Jarrod Flesch
f259645488
fix: issue where dragging unsortable item would crash the page ( #3789 )
2023-10-20 16:14:08 -04:00
Elliot DeNolf
eec60d5883
chore: rename .eslintrc.cjs -> .js
2023-10-20 15:50:25 -04:00
Elliot DeNolf
71407e19e2
chore(deps): bump sharp for CVE-2023-4863 ( #3786 )
2023-10-20 10:40:59 -04:00
Elliot DeNolf
a475b9b28b
chore(release): live-preview-react/0.1.5 [skip ci]
2023-10-19 16:42:58 -04:00
Elliot DeNolf
baad7d3360
chore(release): live-preview/0.1.5 [skip ci]
2023-10-19 16:42:33 -04:00
Jacob Fletcher
7fcb972dfa
fix(live-preview): blocks field ( #3753 )
2023-10-19 16:40:16 -04:00
Elliot DeNolf
01245b07f8
chore(release): richtext-lexical/0.1.14 [skip ci]
2023-10-19 16:14:06 -04:00
Elliot DeNolf
d2f45343da
chore(release): db-postgres/0.1.10 [skip ci]
2023-10-19 16:13:55 -04:00
Elliot DeNolf
5ba95df674
chore(release): db-mongodb/1.0.4 [skip ci]
2023-10-19 16:13:46 -04:00
Elliot DeNolf
40f98e4a0d
chore(release): bundler-webpack/1.0.4 [skip ci]
2023-10-19 16:13:39 -04:00
Elliot DeNolf
584ead9fe2
chore(release): bundler-vite/0.1.3 [skip ci]
2023-10-19 16:13:29 -04:00
Elliot DeNolf
b6bf354f6a
chore(release): payload/2.0.11 [skip ci]
2023-10-19 16:10:46 -04:00
Elliot DeNolf
9918c2499a
chore(deps): bump sass ( #3768 )
...
* chore(deps): bump sass and sass-loader
* chore: handle sass slash div deprecation
2023-10-19 15:52:39 -04:00
Jarrod Flesch
8c48c8beb5
fix(webpack-bundler): corrects payload alias ( #3769 )
2023-10-19 15:21:39 -04:00
Jacob Fletcher
2697753715
chore(live-preview): significantly improves test coverage ( #3763 )
2023-10-19 14:56:16 -04:00
Jarrod Flesch
4b13686f61
fix: corrects versions collection casing ( #3739 )
2023-10-19 13:08:24 -04:00
Jessica Chowdhury
ab7999d3c1
fix: updates req after file resize ( #3754 )
2023-10-19 12:56:24 -04:00
Jessica Chowdhury
a592188c1d
fix: correctly renders focal point when crop is set to false ( #3759 )
2023-10-19 12:51:13 -04:00
Elliot DeNolf
5ff0846b6c
feat: add ability to opt out of type gen declare statement ( #3765 )
...
* feat: add ability to opt out of type gen declare statement
* chore: docs wording
2023-10-19 12:44:28 -04:00
xHomu
13cabf129e
fix: account for many slug types in generate types ( #3698 )
...
* Fix generate:types bug #3697
generateEntityDeclarations function creates mismatched type names. We'll simply use the existing Config type instead.
* code cleanup
2023-10-19 11:36:26 -04:00
Elliot DeNolf
c173e55b89
fix(bundler-webpack): better node_modules resolution ( #3744 )
...
* fix(bundler-webpack): better node_modules resolution
* chore: see if retries are affecting new webpack changes
* chore: reinstate retries
This reverts commit 96989295ba .
* chore: default to process.cwd() if cannot find node_modules path
2023-10-19 11:28:31 -04:00
Take Weiland
bcdd2d626f
fix: handle graphQL: false on globals when building policy type ( #3729 )
2023-10-19 09:13:51 -04:00
Jacob Fletcher
7c52d6ee28
Merge pull request #3745 from payloadcms/fix/misc-admin
...
Fix/misc admin
2023-10-19 09:06:20 -04:00
Elliot DeNolf
bc65b53ce5
chore(release): eslint-config-payload/1.0.0
2023-10-18 21:37:35 -04:00
Jacob Fletcher
4e05e6fd85
fix(a11y): tab indices
2023-10-18 17:55:55 -04:00
Jacob Fletcher
6988a68eaf
fix: renders id as fallback title in DeleteDocument
2023-10-18 17:55:55 -04:00
Jacob Fletcher
a272692726
chore: refines drawer and blur styles
2023-10-18 17:55:39 -04:00
Dan Ribbens
229e4459cb
fix(db-postgres): block and array inserts error ( #3714 )
...
Co-authored-by: James <james@trbl.design >
2023-10-18 16:53:26 -04:00
Take Weiland
056585ed31
fix: properly handles hideAPIURL ( #3721 )
2023-10-18 16:36:57 -04:00
Elliot DeNolf
4c938b5f9e
chore(plugin-nested-docs): lint fix ( #3740 )
2023-10-18 14:40:48 -04:00
Jarrod Flesch
1670a603f6
chore: adjust where sharp types are imported from ( #3645 )
2023-10-18 11:44:49 -04:00
Jacob Fletcher
370e8d1938
chore: replaces bg blur in document controls ( #3736 )
2023-10-18 11:40:25 -04:00
Elliot DeNolf
3a3eab761e
fix: filesRequiredOnCreate typing, tests, linting ( #3737 )
2023-10-18 11:27:55 -04:00
Jacob Fletcher
58e2083882
Merge pull request #3719 from payloadcms/fix/live-preview/uploads
...
Fix/live preview/uploads
2023-10-17 17:05:30 -04:00
Jacob Fletcher
20cde242fb
fix(live-preview): properly handles uploads and hasOne monomorphic relationships
2023-10-17 17:00:59 -04:00
Elliot DeNolf
e847061c74
chore(release): payload/2.0.10 [skip ci]
2023-10-17 16:45:10 -04:00
Jacob Fletcher
ebd5e6ae8f
chore: types fieldSchemaToJSON
2023-10-17 16:39:36 -04:00