Jacob Fletcher
fb861a53ec
small docs
2024-10-02 12:50:48 -04:00
Jacob Fletcher
f16e55fff2
fixes docinfo server fn
2024-10-02 12:08:46 -04:00
Jacob Fletcher
47c19224c2
Merge branch 'beta' into feat/server-actions
2024-10-02 11:17:17 -04:00
Jacob Fletcher
fd2444e614
properly formats errors and fixes imports in templates
2024-10-02 11:16:12 -04:00
Elliot DeNolf
ecfd90bc58
fix(templates): remove lock from website template ( #8520 )
...
Including this file was causing the dependency checker to error because
it was installing all `@lexical` packages on version 0.17.0, instead of
0.18.0.
![Uploading image.png…]()
2024-10-02 10:59:26 -04:00
Jacob Fletcher
31ffe3bc43
adds back missing css imports
2024-10-02 10:11:54 -04:00
Jacob Fletcher
4cd89cd5d7
fixes type imports
2024-10-02 10:06:24 -04:00
Jacob Fletcher
1d7bcb365d
removes duplicate test
2024-10-02 09:39:03 -04:00
Jacob Fletcher
8ffc090cac
Merge branch 'beta' into feat/server-actions
2024-10-02 09:35:02 -04:00
Jacob Fletcher
039bd0f76d
adds proper error handling
2024-10-02 09:33:54 -04:00
Jacob Fletcher
5235ce819d
temp
2024-10-02 00:03:08 -04:00
Jacob Fletcher
c1d2736e8b
reverts auto-changes to test modules
2024-10-01 23:41:50 -04:00
Jacob Fletcher
eca0a25063
regenerates lockfile
2024-10-01 23:33:12 -04:00
Jacob Fletcher
e737c8db32
fix test component deps
2024-10-01 23:27:10 -04:00
Jacob Fletcher
bc84def8d8
temp: filter args before calling server fn
2024-10-01 23:22:38 -04:00
Jacob Fletcher
2cf4a58e89
renames ClientServerFunction to ServerFunctionClient
2024-10-01 22:26:59 -04:00
Jacob Fletcher
9c8f623068
renames props to proper plural/singular for semantics
2024-10-01 22:05:16 -04:00
Paul
86371449b8
fix(templates): fixed drafts not being unpublished in the frontend of the website template ( #8514 )
2024-10-01 23:01:06 +00:00
Jacob Fletcher
60edd35671
more docs
2024-10-01 17:52:34 -04:00
Jacob Fletcher
bca9aece06
cleanup
2024-10-01 17:16:51 -04:00
Jacob Fletcher
e43a03d0ff
scaffolds docs
2024-10-01 17:13:07 -04:00
Jacob Fletcher
4424904f58
excludes examples until released
2024-10-01 16:48:50 -04:00
Jacob Fletcher
5150a5a30f
lints
2024-10-01 16:44:32 -04:00
Jacob Fletcher
b6d829acd8
updates all app dirs
2024-10-01 16:33:29 -04:00
Paul
69203c5515
docs: fix formatting on join field specifying additional fields section ( #8509 )
2024-10-01 20:24:26 +00:00
Jacob Fletcher
41d622f613
adds temp log to test ci
2024-10-01 16:11:18 -04:00
Jacob Fletcher
c32c7d50ef
builds
2024-10-01 14:42:47 -04:00
Jacob Fletcher
d59c1c01c9
cleanup
2024-10-01 14:32:15 -04:00
Sasha
a8eceb03b6
fix(next): current published version label ( #8505 )
...
Fixes https://github.com/payloadcms/payload/issues/8502
includes `parent` to the `getLatestVersion` query
2024-10-01 21:22:00 +03:00
Jacob Fletcher
e5ce24eafb
Merge branch 'beta' into feat/server-actions
2024-10-01 14:07:04 -04:00
Jacob Fletcher
0de81afa92
aborts server function results in docinfoprovider
2024-10-01 14:06:31 -04:00
Sasha
fa59d4c0b2
feat!: update next@15.0.0-canary.173, react@19.0.0-rc-3edc000d-20240926 ( #8489 )
...
Updates the minimal supported versions of next.js to
[`15.0.0-canary.173`](https://github.com/vercel/next.js/releases/tag/v15.0.0-canary.173 )
and react to `19.0.0-rc-3edc000d-20240926`.
Adds neccessary awaits according to this breaking change
https://github.com/vercel/next.js/pull/68812
## Breaking Changes
The `params` and `searchParams` types in
`app/(payload)/admin/[[...segments]]/page.tsx` and
`app/(payload)/admin/[[...segments]]/not-found.tsx` must be changed to
promises:
```diff
- type Args = {
- params: {
- segments: string[]
- }
- searchParams: {
- [key: string]: string | string[]
- }
- }
+ type Args = {
+ params: Promise<{
+ segments: string[]
+ }>
+ searchParams: Promise<{
+ [key: string]: string | string[]
+ }>
+ }
```
2024-10-01 13:16:11 -04:00
Jacob Fletcher
0f5fe98a1b
renames BaseServerFunctionArgs to DefaultServerFunctionArgs
2024-10-01 12:32:00 -04:00
Jacob Fletcher
e330f1756f
renames RootServerFunction type to ServerFunctionHandler
2024-10-01 12:30:33 -04:00
Jacob Fletcher
c353a0f296
renames serverFunction to plural
2024-10-01 12:27:39 -04:00
Jacob Fletcher
a7c1dd057d
properly inits req
2024-10-01 12:02:30 -04:00
Jacob Fletcher
3cbf7b2603
gets language from action itself and properly drills user into local req
2024-10-01 11:27:30 -04:00
Jacob Fletcher
a4135e5975
renames function property to fn
2024-10-01 10:49:04 -04:00
Jacob Fletcher
7fb860f15b
removes unnecessary useAuth hooks
2024-10-01 10:43:52 -04:00
Jacob Fletcher
e684f3ac2e
adds test for custom server functions
2024-10-01 10:23:06 -04:00
Jacob Fletcher
ac25118945
sanitizes server functions from client config
2024-10-01 00:47:42 -04:00
Jacob Fletcher
9a859a453e
cleanup
2024-09-30 23:25:38 -04:00
Jacob Fletcher
dc46f18af9
epxoses in config and renames server actions to server function in preparation for react v19-beta
2024-09-30 22:20:53 -04:00
Germán Jabloñski
d80410b228
fix(ui): admin.allowCreate in upload field ( #8484 )
...
The admin.allowCreate property on the upload field was not doing what it
was supposed to do. In fact, it was doing nothing.
From now on, when set to false, the option to create a new upload from
the UI disappears.



The tests cover:
- the create new button disappears.
- the option to create one by drag and drop disappears.
- the create new button inside the drawer disappears.
2024-09-30 18:54:34 -03:00
Jacob Fletcher
271a8c7191
cleanup
2024-09-30 17:51:15 -04:00
Jacob Fletcher
0dbc3bad57
passing tests
2024-09-30 17:46:46 -04:00
Dan Ribbens
27b1629927
fix(db-postgres, db-sqlite): joins relation name ( #8491 )
...
A join field on a relationship with a camelCase name would cause an
error from drizzle due to the relation name not matching.
2024-09-30 16:47:21 -04:00
Jacob Fletcher
4f0cb93204
creates local req
2024-09-30 15:54:57 -04:00
Jacob Fletcher
b035afe4e3
adds auth
2024-09-30 15:36:24 -04:00
Paul
dfdea0d4eb
chore: update vscode launch settings for debugging test suites ( #8399 )
2024-09-30 15:18:03 -04:00