Jacob Fletcher
d5c9628958
Merge branch 'beta' into feat/on-demand-rsc
2024-11-08 17:31:26 -05:00
Jacob Fletcher
df6578183a
properly initializes new doc drawer state for join field and renames renderDocument callback
2024-11-08 17:27:03 -05:00
Jarrod Flesch
a93da8625b
chore: passing uploads
2024-11-08 17:21:11 -05:00
Jarrod Flesch
859726688e
chore: fixes tests using previous selectors
2024-11-08 17:20:44 -05:00
Jacob Fletcher
7fb5b60932
fix join field query when creating new doc
2024-11-08 16:56:18 -05:00
Jacob Fletcher
46ebecfde4
updates underlying table after creating new from join field
2024-11-08 16:16:43 -05:00
Jacob Fletcher
6ea473aae8
gets initial columns within renderTable
2024-11-08 16:16:43 -05:00
Dan Ribbens
e3172f1e39
fix: migrateRefresh migrates without previously ran migrations ( #9073 )
...
fix: migrateRefresh migrates without previously ran migrations
chore: adds tests for database migrate:fresh and migrate:refresh
---------
Co-authored-by: Sasha <64744993+r1tsuu@users.noreply.github.com >
2024-11-08 15:35:46 -05:00
Dan Ribbens
ee117bb616
fix!: handle custom id logic in mongodb adapter ( #9069 )
...
### What?
Moved the logic for copying the data.id to data._id to the mongoose
adapter.
### Why?
If you have any hooks that need to set the `id`, the value does not get
sent to mongodb as you would expect since it was copied before the
beforeValidate hooks.
### How?
Now data._id is assigned only in the mongodb adapter's `create`
function.
BREAKING CHANGES:
When using custom ID fields, if you have any collection hooks for
beforeValidate, beforeChange then `data._id` will no longer be assigned
as this happens now in the database adapter. Use `data.id` instead.
2024-11-08 15:34:19 -05:00
Alessio Gravili
e0f85b5f05
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-08 13:30:20 -07:00
Alessio Gravili
6b2c939afd
update packages
2024-11-08 13:20:34 -07:00
Alessio Gravili
20b09a8213
update lockfile
2024-11-08 13:18:24 -07:00
Alessio Gravili
7c44609af4
revert dumb code I wrote
2024-11-08 13:13:12 -07:00
Alessio Gravili
b0f243632d
fix: ensure richext rscs import from client bundle
2024-11-08 13:07:41 -07:00
Jacob Fletcher
4df00f4b36
fix join field filter options
2024-11-08 14:59:02 -05:00
Alessio Gravili
7aa4a5650c
fix(ui): ensure rscs not exported from client bundle imported from client bundle, in order to not duplicate components (& thus contexts) in the final bundle
2024-11-08 12:58:31 -07:00
Jacob Fletcher
1cae6cf997
returns resolved promise from getClientConfig
2024-11-08 14:33:26 -05:00
Jacob Fletcher
8a8055a0a8
proper fix for field paths
2024-11-08 14:26:20 -05:00
Jessica Chowdhury
dc111041cb
fix: incorrect form changed state after doc drawer edit ( #9025 )
...
Closes #9000
When you update a relationship document via the document drawer, the
initial document is registering `modified: true`. We should only set
modified to true on the initial document if the relationship id has
changed.
2024-11-08 14:04:37 -05:00
Sasha
f67761fe22
fix(db-mongodb): totalDocs with joins ( #9056 )
...
### What?
Fixes issue with incorrect `totalDocs` value when an aggregation is used
for `find`.
Previously, `limit: 5` for example always returned `totalDocs: 5`.
### Why?
`totalDocs` must be returned correctly.
### How?
Removes `$limit` from the pipeline, as `Model.aggregatePaginate` handles
it by itself.
2024-11-08 14:04:24 -05:00
Jacob Fletcher
d0da6bc4e1
properly sets paths on nested unnamed fields
2024-11-08 13:56:32 -05:00
Jessica Chowdhury
010ac2ac0c
fix: login redirect missing route ( #8990 )
...
Closes #8920 - login form does not redirect after form submit.
In `handleAuthRedirect` the route parameter was unintentionally getting
overwritten.
2024-11-08 13:41:15 -05:00
Dan Ribbens
d20445b6f3
fix(db-mongodb): write migrations index file ( #9071 )
...
fix: remove 'undefined' written into mongodb migrations
fix: write migrations index file
2024-11-08 13:26:45 -05:00
Alessio Gravili
d9711aaa89
fix e2e configs
2024-11-08 11:22:51 -07:00
Kendell Joseph
1f26237ba1
chore: correctly redirects after in-activity ( #9070 )
...
Issues:
- https://github.com/payloadcms/payload/issues/5009
- https://github.com/payloadcms/payload/pull/8809
2024-11-08 12:20:44 -06:00
Alessio Gravili
e26c95d430
fix wrong import
2024-11-08 11:09:03 -07:00
Alessio Gravili
fbb8229c54
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-08 10:38:34 -07:00
Jacob Fletcher
36925f3956
fix selectors in list column e2e tests
2024-11-08 12:37:40 -05:00
Alessio Gravili
50cc91ead3
chore: udpate all generated types
2024-11-08 10:37:12 -07:00
Alessio Gravili
58c901dfdd
fix another autosave test
2024-11-08 10:36:25 -07:00
Alessio Gravili
f599735d9d
fix another autosave test
2024-11-08 10:35:05 -07:00
Sasha
721ae79716
fix: populate with find operation ( #9087 )
...
### What?
Because of my error, we didn't pass `populate` to `findOperation` from
the Local API.
### Why?
`populate` must work for every operation that has `depth`.
### How?
Passes `populate` in `operations/local/find.ts`, ensures it works with
the test, checked that other operations pass it.
2024-11-08 18:45:11 +02:00
Alessio Gravili
c9752918c8
Merge remote-tracking branch 'origin/beta' into feat/on-demand-rsc
2024-11-08 09:34:31 -07:00
Alessio Gravili
0b5a294f63
fix incorrectly set up monorepo app folders
2024-11-08 09:33:38 -07:00
Alessio Gravili
7422fab2f2
fix plugin-stripe type error
2024-11-08 09:19:53 -07:00
Alessio Gravili
3fd74dd77f
export UI field component types
2024-11-08 09:19:37 -07:00
Paul
1584c41790
fix(docs): auth page email broken link ( #9089 )
2024-11-08 16:14:26 +00:00
Alessio Gravili
0392b3d614
fix lexical errors
2024-11-08 09:07:54 -07:00
Jacob Fletcher
f1c9b2b1d0
fix next build errors
2024-11-08 10:58:04 -05:00
Alessio Gravili
997b9eb63d
fix type issues, allow '' paths to take precedence over field names in field components
2024-11-08 08:47:02 -07:00
Jacob Fletcher
f8ab503153
deflakes list filtering e2e tests
2024-11-08 10:19:58 -05:00
Alessio Gravili
3e105a20e4
get slate and lexical to build
2024-11-08 08:02:15 -07:00
Jacob Fletcher
906551bba4
fix where builder
2024-11-08 09:56:19 -05:00
Jacob Fletcher
6167bf3cca
bulk edit
2024-11-08 09:39:35 -05:00
James Mikrut
963fee83e0
Update README.md
2024-11-08 09:18:19 -05:00
Jarrod Flesch
5ec26e8d54
chore: fixes ui, conditional, indexed field test suites
2024-11-08 09:14:09 -05:00
Alessio Gravili
d2bf12ac56
fix(ui): ensure autosave is not triggered endlessly
2024-11-07 23:42:34 -07:00
Alessio Gravili
a33131033f
fix(ui): frontend version count going above maximum version count
2024-11-07 23:41:59 -07:00
Paul
b32c4defd9
fix(templates): use direct blocks props instead of drilling them out of pages ( #9074 )
2024-11-08 04:36:40 +00:00
Alessio Gravili
b13eac201a
switch to isRedirectError
2024-11-07 17:42:31 -07:00