Paul
a8a2dc2347
chore!: export DefaultListView as ListView ( #6432 )
...
Change the exports of DefaultListView and DefaultEditView to be renamed
without "Default" as ListView
```ts
// before
import { DefaultEditView } from '@payloadcms/next/views'
import { DefaultListView } from '@payloadcms/next/views'
// after
import { EditView } from '@payloadcms/next/views'
import { ListView } from '@payloadcms/next/views'
```
2024-05-21 10:22:44 -04:00
Elliot DeNolf
36fda30c61
feat: store focal point on uploads ( #6436 )
...
Store focal point data on uploads as `focalX` and `focalY`
Addresses https://github.com/payloadcms/payload/discussions/4082
Mirrors #6364 for beta branch.
2024-05-20 15:57:52 -04:00
Paul
3fc2ff1ef9
chore: export DefaultListView for reuse ( #6422 )
...
Exports `DefaultListView` so other plugins or custom implementations can
re-use it
2024-05-20 11:53:36 -03:00
Elliot DeNolf
0d544dacdb
chore(release): v3.0.0-beta.34 [skip ci]
2024-05-17 16:12:46 -04:00
Alessio Gravili
147b50e719
fix: page metadata generation not working in turbopack ( #6417 )
...
In turbo, payloadFaviconDark is a string, not an object with src
2024-05-17 15:44:12 -04:00
Elliot DeNolf
eeb689dd55
chore(release): v3.0.0-beta.33 [skip ci]
2024-05-17 14:59:23 -04:00
Jacob Fletcher
18009349c0
fix(ui): properly sets hasSavePermission on nested documents ( #6394 )
2024-05-17 13:41:38 -04:00
Alessio Gravili
9d5c0d350c
feat!: upgrade minimum next version to 14.3.0-canary.68 & upgrade react packages, react-toastify ( #6387 )
...
**BREAKING:**
- The minimum required next version is now 14.3.0-canary.68. This is
because we are migrating away from the deprecated
experimental.serverComponentsExternalPackages next config key to
experimental.serverExternalPackages, which is not available in older
next canaries
- The minimum `react` and `react-dom` versions have been bumped to
^18.2.0 or ^19.0.0. This matches the minimum react version recommended
by next
2024-05-17 12:48:37 -04:00
Alessio Gravili
276213193b
feat: allow client components and extra rsc props for custom edit and list views ( #6395 )
2024-05-17 11:25:33 -04:00
Jacob Fletcher
553bb4b530
fix(next)!: removes initPage export from barrel file ( #6403 )
2024-05-17 09:37:54 -04:00
Jacob Fletcher
9556d1bd42
feat!: replaces admin.meta.ogImage with admin.meta.openGraph.images ( #6227 )
2024-05-16 12:40:15 -04:00
Patrik
a4deaf07d6
fix(next): incorrect stepnav breadcrumbs after selecting existing upload ( #6372 )
...
## Description
Fixes [this](https://github.com/payloadcms/payload-3.0-demo/issues/202 )
v3 demo issue
- [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-16 10:23:32 -04:00
Jacob Fletcher
4adf01ab04
fix(next): does not wrap custom views with template by default ( #6379 )
2024-05-16 09:10:27 -04:00
Jarrod Flesch
aa2073f9e9
chore: adjusts how file uploads are handled, consolidates reading to busboy ( #6346 )
2024-05-15 11:42:04 -04:00
Elliot DeNolf
0e9bbecbee
chore(release): v3.0.0-beta.32 [skip ci]
2024-05-14 17:33:28 -04:00
Alessio Gravili
79f4907cb3
feat!: add missing server-only props to custom RSCs, improve req.user type, clean-up ui imports ( #6355 )
2024-05-14 17:27:15 -04:00
Jacob Fletcher
6a0fffe002
feat!: consolidates admin.logoutRoute and admin.inactivityRoute into admin.routes ( #6354 )
2024-05-14 21:18:19 +00:00
Elliot DeNolf
f52607f3b5
chore(release): v3.0.0-beta.31 [skip ci]
2024-05-14 12:37:38 -04:00
Alessio Gravili
f716122eab
feat!: typed i18n ( #6343 )
2024-05-14 11:10:31 -04:00
Jessica Chowdhury
57b072edfc
chore: fix indentation in API tab json for empty nested objects/arrays ( #6150 )
2024-05-14 14:44:10 +00:00
Jacob Fletcher
f6039246c6
feat!: replaces admin.favicon with admin.icons ( #6347 )
2024-05-14 09:56:07 -04:00
Jessica Chowdhury
fcee13b017
fix: depth field in api view throws error when no value present ( #6106 )
2024-05-14 13:46:16 +00:00
Jacob Fletcher
7438812db3
feat!: replaces admin.favicon with admin.icons
2024-05-14 08:56:21 -04:00
Jacob Fletcher
a48043c2aa
fix(next): replaces default svg favicons with png
2024-05-13 16:33:50 -04:00
Alessio Gravili
0d98b4b96f
fix!: some custom components were not handled properly if they are RSCs ( #6315 )
...
**Breaking:** The following, exported components now need the `payload` object as a prop rather than the `config` object:
- `RenderCustomComponent` (optional)
- `Logo`
- `DefaultTemplate`
- `DefaultNav`
2024-05-13 12:05:13 -04:00
Jessica Chowdhury
b3df253880
feat: adds translations for API view and select component ( #6143 )
2024-05-13 13:03:26 +00:00
Elliot DeNolf
a70bcf81c0
chore(release): v3.0.0-beta.30 [skip ci]
2024-05-10 17:10:18 -04:00
Elliot DeNolf
ed880d5018
feat: storage-uploadthing package ( #6316 )
...
Co-authored-by: James <james@trbl.design >
2024-05-10 17:05:35 -04:00
Ritsu
e96ff90029
fix(next): respect fallback locale null value ( #6207 )
2024-05-10 14:27:13 +01:00
Elliot DeNolf
ffa20aa7d0
chore(release): v3.0.0-beta.29 [skip ci]
2024-05-09 17:19:54 -04:00
Alessio Gravili
cfeac79b99
feat!: fix non-functional custom RSC component handling, separate label and description props, fix non-functional label function handling ( #6264 )
...
Breaking Changes:
- Globals config: `admin.description` no longer accepts a custom component. You will have to move it to `admin.components.elements.Description`
- Collections config: `admin.description` no longer accepts a custom component. You will have to move it to `admin.components.edit.Description`
- All Fields: `field.admin.description` no longer accepts a custom component. You will have to move it to `field.admin.components.Description`
- Collapsible Field: `field.label` no longer accepts a custom component. You will have to move it to `field.admin.components.RowLabel`
- Array Field: `field.admin.components.RowLabel` no longer accepts strings or records
- If you are using our exported field components in your own app, their `labelProps` property has been stripped down and no longer contains the `label` and `required` prop. Those can now only be configured at the top-level
2024-05-09 17:12:01 -04:00
Jarrod Flesch
4384e9eb0e
chore: fixes cannot destructure property 'schema' issue ( #6282 )
2024-05-09 10:16:30 -04:00
Elliot DeNolf
ec556360b6
chore(release): v3.0.0-beta.28 [skip ci]
2024-05-08 14:08:09 -04:00
Elliot DeNolf
e95eea694c
chore(release): v3.0.0-beta.27 [skip ci]
2024-05-08 13:33:55 -04:00
Elliot DeNolf
259ae674a1
chore(release): v3.0.0-beta.26 [skip ci]
2024-05-08 11:18:39 -04:00
Jacob Fletcher
731f023c6d
feat: ssr live preview ( #6239 )
2024-05-08 11:08:15 -04:00
Jarrod Flesch
ac5d744914
fix: properly extracts fallbackLang ( #6237 )
2024-05-06 15:56:46 -04:00
Elliot DeNolf
892b884745
chore(release): v3.0.0-beta.25 [skip ci]
2024-05-06 13:02:08 -04:00
Elliot DeNolf
2ce65dc1e0
chore(release): v3.0.0-beta.24 [skip ci]
2024-05-03 14:56:47 -04:00
Jacob Fletcher
070d8e1731
feat(next): supports custom login redirects in initPage
2024-05-03 09:24:34 -04:00
Jacob Fletcher
664c60d2bc
chore(next): restructures initPage
2024-05-03 09:17:17 -04:00
Paul
f2d415663f
fix: ensures confirm password remains on form state ( #6190 )
2024-05-02 18:53:35 -03:00
Elliot DeNolf
cb90e9f622
chore(release): v3.0.0-beta.23 [skip ci]
2024-05-02 16:05:19 -04:00
Jarrod Flesch
c0ae287d46
fix: reset password validations ( #6153 )
...
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: James <james@trbl.design >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2024-05-02 15:08:47 -04:00
Elliot DeNolf
8c39950ea3
chore(release): v3.0.0-beta.22 [skip ci]
2024-05-02 12:27:28 -04:00
Jacob Fletcher
3290376f80
fix(next): ensures admin access only blocks admin routes
2024-05-02 11:07:43 -04:00
Jacob Fletcher
2b5c1ba99a
chore(next): exports initPage utility
2024-05-02 10:32:17 -04:00
Elliot DeNolf
c71d2db949
chore(release): v3.0.0-beta.21 [skip ci]
2024-05-01 13:25:14 -04:00
Elliot DeNolf
1c490aee42
fix(deps): move file-type to deps ( #6171 )
2024-05-01 12:20:45 -04:00
Alessio Gravili
10b99ceb6f
fix: add missing error logger to buildFormState error catch
2024-04-30 23:10:52 -04:00