Elliot DeNolf
88e113a545
fix: allow focal point when no sizes defined ( #6397 )
...
Allow focal points to be saved even when no imageSizes are defined.
Expands upon #6364 .
2024-05-17 09:06:42 -04:00
Elliot DeNolf
d33afe48fe
chore(release): payload/2.18.1 [skip ci]
2024-05-16 15:46:23 -04:00
Elliot DeNolf
e76df32f09
fix: add back explicit crop x and y values ( #6391 )
...
Cropping x and y values pulling from the UI were unintentionally removed
in #6364
2024-05-16 15:32:36 -04:00
Elliot DeNolf
b068f30f51
chore(release): richtext-lexical/0.11.1 [skip ci]
2024-05-16 14:05:28 -04:00
Elliot DeNolf
82bd5c656f
chore(release): db-postgres/0.8.3 [skip ci]
2024-05-16 14:05:16 -04:00
Elliot DeNolf
afe8992ca6
chore(release): payload/2.18.0 [skip ci]
2024-05-16 14:04:05 -04:00
Alessio Gravili
48a410e294
fix(richtext-lexical): upload, relationship and block node insertion fails sometimes ( #6390 )
...
Backport of https://github.com/payloadcms/payload/pull/6389
2024-05-16 13:34:43 -04:00
Elliot DeNolf
82b88a315f
feat: store focal point on uploads ( #6364 )
...
Store focal point data on uploads as `focalX` and `focalY`
Addresses https://github.com/payloadcms/payload/discussions/4082
2024-05-16 11:58:49 -04:00
Patrik
cc94078607
fix: filter with ID not_in AND queries - postgres ( #6358 )
...
## Description
Fixes #5151
`Issue`: With `Postgres`, when filtering by two queries with `AND`, if
the first query involved `ID` and the `not_in` operator, the second
query in the filter would never be evaluated.
- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## Checklist:
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
2024-05-15 15:09:53 -04:00
Elliot DeNolf
1c30ad73b6
chore(release): richtext-lexical/0.11.0 [skip ci]
2024-05-15 11:35:05 -04:00
Elliot DeNolf
d9442dcce3
chore(release): payload/2.17.0 [skip ci]
2024-05-15 11:33:53 -04:00
Patrik
de92c50847
fix: safely access cookie header for uploads ( #6367 )
...
## Description
Issue with editing and changing the crop or focal point of an image
`Error`:
```
ERROR (payload): FileRetrievalError: There was a problem while uploading the file. Cannot read properties of undefined (reading 'cookie')
at generateFileData (/node_modules/payload/src/uploads/generateFileData.ts:86:15)
```
(`payload v2.16.1` and `plugin-cloud v3.0.1`)
Fix: add optional chaing to safely access `cookie` header when fetching
image
- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## Checklist:
- [x] Existing test suite passes locally with my changes
2024-05-15 10:50:14 -04:00
Jessica Chowdhury
bc9e591e37
chore: removes letter spacing in loading overlay for script languages ( #4769 )
2024-05-14 16:51:34 +01:00
Jessica Chowdhury
ad38011348
chore: fix api preview indentation ( #6152 )
2024-05-14 16:09:17 +01:00
Patrik
d02b1fb084
fix: step-nav breadcrumbs ellipsis ( #6345 )
2024-05-14 11:08:59 -04:00
Jessica Chowdhury
51efe4f39b
fix: collection labels with locales not working when creating new doc ( #5995 )
2024-05-14 10:45:39 -04:00
Jessica Chowdhury
30e535b5b9
feat: adds misc translations to API view and react select ( #6138 )
2024-05-13 08:52:12 -04:00
Jessica Chowdhury
4bd3bb9400
chore: adds translations for checkbox field in collection view ( #6167 )
2024-05-13 12:31:36 +01:00
Patrik
69c93d3c62
fix: appends editDepth value to radio & checkbox IDs when inside drawer ( #6181 )
2024-05-10 11:24:21 -04:00
Elliot DeNolf
78aa957043
fix(plugin-object-ids): add webpack to dev deps
2024-05-10 11:02:29 -04:00
Patrik
cd06c022c0
feat(plugin-relationship-object-ids): adds plugin-relationship-object-ids package ( #6044 )
2024-05-10 10:39:47 -04:00
Alessio Gravili
9df5ab8a10
feat(richtext-lexical)!: remove LexicalBlock, RichTextFieldRequiredEditor and FieldWithRichTextRequiredEditor types ( #6279 )
...
BREAKING:
`LexicalBlock`, `RichTextFieldRequiredEditor` and `FieldWithRichTextRequiredEditor` types have been removed. Instead of `LexicalBlock`, use `Block`. Instead of `RichTextFieldRequiredEditor`, use `RichTextField`. And instead of `FieldWithRichTextRequiredEditor`, use `Field`.
2024-05-09 09:46:03 -04:00
Elliot DeNolf
723791b94f
chore(release): richtext-lexical/0.10.0 [skip ci]
2024-05-07 15:53:11 -04:00
Elliot DeNolf
aa3833ec83
chore(release): payload/2.16.1 [skip ci]
2024-05-07 15:52:06 -04:00
Dan Ribbens
2972af2af1
chore: add index to version status field ( #6256 )
2024-05-07 15:47:55 -04:00
Alessio Gravili
857b9a4ac3
feat(richtext-lexical): add maxDepth property to various lexical features ( #6250 )
...
Backports #6242
2024-05-07 09:39:48 -04:00
Alessio Gravili
f829b084ba
fix(richtext-lexical): export missing HorizontalRuleFeature ( #6236 )
2024-05-06 13:54:49 -04:00
Elliot DeNolf
6ae682698d
chore(release): payload/2.16.0 [skip ci]
2024-05-06 12:47:28 -04:00
Francisco Lourenço
622cdb0440
fix: hide drag handles when admin.isSortable: false ( #6225 )
...
Co-authored-by: Kendell Joseph <kendelljoseph@gmail.com >
2024-05-06 12:21:35 -04:00
Jarrod Flesch
cac52da638
fix: graphql upload relations returning null ( #6233 )
2024-05-06 11:58:48 -04:00
DracoBlue
3cb3c1aceb
docs(plugin-cloud): Fix link to local-dev.md ( #6222 )
2024-05-05 22:27:26 -04:00
Patrik
db4aacebb8
feat: adds disableListColumn, disableListFilter to fields admin props ( #6188 )
2024-05-03 16:49:06 -04:00
Paul
b735d6aa16
fix(plugin-form-builder): hook overrides not working as intended ( #6203 )
2024-05-03 17:36:03 -03:00
Elliot DeNolf
fbec3a33e0
chore(release): richtext-slate/1.5.2 [skip ci]
2024-05-03 11:23:16 -04:00
Elliot DeNolf
034be89bdb
chore(release): richtext-lexical/0.9.3 [skip ci]
2024-05-03 11:23:00 -04:00
Elliot DeNolf
1f2af0963b
chore(release): plugin-cloud/3.0.1 [skip ci]
2024-05-03 11:22:42 -04:00
Elliot DeNolf
20f1ece2d7
chore(release): payload/2.15.0 [skip ci]
2024-05-03 11:21:26 -04:00
Jessica Chowdhury
2be5ad0eba
fix: hide unusable fields from collection filter select ( #6135 )
2024-05-03 11:01:47 -04:00
Kendell Joseph
5c58bd322d
feat: add isSortable to arrays and blocks ( #5962 )
2024-05-03 10:38:02 -04:00
Dan Ribbens
23f3eb1cf0
feat: use filterOptions in list relationship filter ( #6156 )
2024-05-03 10:26:49 -04:00
Patrik
af67749e49
fix: incorrect localesNotSaved translation ( #5996 )
2024-05-03 10:22:06 -04:00
Patrik
43dab5c705
fix: sanitizes fields in default edit view for drawer content ( #6175 )
2024-05-03 10:16:24 -04:00
Patrik
9b7e62dc20
fix: properly adds readonly styles to disabled radio fields ( #6176 )
2024-05-03 10:07:52 -04:00
Patrik
6e38cc2bcf
fix: resets filter state when param state change within route ( #6169 )
2024-05-02 13:21:51 -04:00
Elliot DeNolf
831f1ff5be
fix(plugin-cloud): purge cache for all sizes ( #5301 )
2024-05-01 15:15:16 -04:00
Jarrod Flesch
a8ac8b4633
fix: cascade draft arg in nested GraphQL relationship queries ( #6141 )
2024-04-30 14:19:20 -04:00
Alessio Gravili
36b1f5a763
fix(richtext-lexical): floating toolbar caret positioned incorrectly for some line heights ( #6151 )
2024-04-30 12:06:02 -04:00
Alessio Gravili
24f697219b
fix(richtext-lexical): drag and add block handles disappear too quickly for smaller screen sizes. ( #6145 )
2024-04-30 10:52:37 -04:00
Jarrod Flesch
3fccd34abe
fix: GraphQL nested relationships not respecting req locale ( #6117 )
2024-04-29 16:32:33 -04:00
Friggo
a38f8e93a6
chore: Czech translation improvement ( #6079 )
2024-04-28 07:57:47 -04:00