Jacob Fletcher
adef360275
Merge pull request #21 from payloadcms/fix/parent-types
...
fix: createParentField types
2023-06-19 17:01:02 -04:00
Jacob Fletcher
abebd7f440
Merge pull request #11 from payloadcms/chore/export-fields
...
chore: exports fields top-level
2023-06-19 16:56:50 -04:00
Jacob Fletcher
e9ed969ad9
fix: createParentField types
2023-06-19 16:56:34 -04:00
Dan Ribbens
3863959c53
chore: change db adapter args
2023-06-19 16:46:17 -04:00
James
85d2467d73
fix : #2831 , persists payloadAPI through local operations that accept req
2023-06-19 15:57:04 -04:00
Dan Ribbens
99f38098dd
fix: default sort with near operator ( #2862 )
2023-06-19 15:17:22 -04:00
James Mikrut
b1123a4978
Merge pull request #2856 from payloadcms/feat/conditional-logic-perf
...
feat: optimizes conditional logic performance
2023-06-19 15:03:50 -04:00
James
4af8d56479
chore: ensures conditions are run in all appropriate cases
2023-06-19 15:03:34 -04:00
digitaledge-git
16118960aa
fix: near query sorting by distance and pagination ( #2861 )
2023-06-19 14:54:40 -04:00
James
2c5a737715
chore: fixes initial state for url field
2023-06-19 13:39:11 -04:00
James Mikrut
5fa77d40b9
Merge pull request #2858 from payloadcms/fix/#2842
...
fix : #2842 , querying number custom ids with in
2023-06-19 11:18:58 -04:00
Alessio Gravili
e9106882f7
feat: automatically redirect a user back to their originally requested URL after login ( #2838 )
2023-06-19 11:15:58 -04:00
James Mikrut
42f0db4251
Merge pull request #2800 from AlessioGr/improve-error
...
chore: improve error message during webpack load
2023-06-19 11:13:42 -04:00
James Mikrut
c3533dac2a
Merge pull request #2846 from dpnolte/chore/disable_eslint_for_generated_types
...
chore: disable eslint on generated types
2023-06-19 11:11:48 -04:00
James Mikrut
8d52e5f078
Merge pull request #2830 from payloadcms/chore/depth-docs
...
chore: updates depth docs with N + 1 concept
2023-06-19 11:10:08 -04:00
James
116e9ffe81
fix : #2842 , querying number custom ids with in
2023-06-19 11:02:30 -04:00
James
967f217346
feat: optimizes conditional logic performance
2023-06-19 10:48:17 -04:00
James Mikrut
da2a94d0b2
Merge pull request #2850 from AlessioGr/fix-configToJSONSchema
...
fix: old entityToJSONSchema being exported
2023-06-19 10:28:02 -04:00
James Mikrut
6c2b726fe1
Merge pull request #2855 from payloadcms/fix/#2832
...
fix : #2832 , slow like queries with lots of records
2023-06-19 10:18:49 -04:00
James
4dd703a6bf
fix: slow like queries with lots of records
2023-06-19 10:13:47 -04:00
Dan Ribbens
c60886fe3e
docs: preferences graphql
2023-06-18 22:56:30 -04:00
Alessio Gravili
762b572c51
configToJSONSchema
2023-06-18 17:24:58 +02:00
Dan Ribbens
c7f40dd860
chore: remove mongoose models from auth
2023-06-18 08:38:40 -04:00
Dan Ribbens
832c19c1f7
chore: lint fix
2023-06-18 07:42:13 -04:00
Derk Nolte
6ca371cb8b
chore: disable eslint on generated types
2023-06-18 10:14:21 +02:00
Alessio Gravili
0d8d7f358d
fix: deprecate min/max in exchange for minRows and maxRows for relationship field ( #2826 )
...
* fix: deprecate min/max in exchange for minRows and maxRows for relationship
* fix: update validations unit tests with minRows and maxRows
* fix: incorrect types
* move to sanitize
2023-06-18 02:09:30 +02:00
James
51c2ab1672
chore(release): v1.9.5
v1.9.5
2023-06-16 17:41:40 -04:00
James
a88f86cc3f
chore: ensures objectid within works properly
2023-06-16 17:37:15 -04:00
Dan Ribbens
25151ee191
chore: collection based preferences ( #2820 )
...
**BREAKING CHANGES**
Preferences have been overhauled to be abstracted as a Payload collection and no longer explicitly defined by Payload. They previously used the slug `_preferences` as a collection name and url route and are now
If any of the following are true you will need to take action:
- You have existing preferences you wish to keep for your admin users you must migrate data in the _preferences collection to the new shape. To migrate the preferences in the database you must update the shape of each _preferences document from:
```js
{
user: ObjectId("abc"),
userCollection: "users",
/** other fields remain the same **/
}
```
to:
```js
{
user: {
value: 'abc',
relationTo: 'users",
}
/** other fields remain the same **/
}
```
- You have code external of Payload or custom code within Payload using the API endpoint `api/_preferences`, you should update any applications to use `api/payload-preferences` instead.
- You were using the preferences GraphQL implementation. This was removed and is instead provided the same way as Payload handles any other. In this way the queries, mutation and schemas have changed. These are now generated as any other collection within your payload project.
- You were using the Payload's exported Preference type for your typescript code. Now you can instead import the generated type from your project.
2023-06-16 16:58:36 -04:00
James
451c8c7548
chore(release): v1.9.4
v1.9.4
2023-06-16 16:43:40 -04:00
James Mikrut
528645d407
Merge pull request #2791 from no-heroes/fix/pagination-false-totaldocs
...
fix: totalDocs is always 1 when using payload.find({ pagination: false })
2023-06-16 16:37:50 -04:00
James
70cf8487e7
chore(release): v1.9.3
v1.9.3
2023-06-16 16:17:34 -04:00
James
aa09e566e0
Merge branch 'master' of github.com:payloadcms/payload
2023-06-16 15:50:16 -04:00
James
c3d6e1b490
fix: ensures relations to object ids can be queried on
2023-06-16 15:50:09 -04:00
Jarrod Flesch
6580f43e53
chore: relocates configToJSON alongside entityToJSON and fieldsToJSON ( #2827 )
2023-06-16 12:42:59 -04:00
Jarrod Flesch
56d7745139
fix: adds custom property to ui field in joi validation ( #2835 )
2023-06-16 09:09:31 -04:00
PatrikKozak
ee1c7db915
chore: updates depth docs with N + 1 concept
2023-06-15 16:59:27 -04:00
Dan Ribbens
504f5190d5
chore: normalize payload collections and globals outside db adapter
2023-06-15 16:50:11 -04:00
Jarrod Flesch
b682c76dc7
chore: cleans up graphql-schema-gen test folder
2023-06-15 09:54:53 -04:00
James
6aabdd05be
chore: adds mongoose mock
2023-06-14 17:41:49 -04:00
Dan Ribbens
0d035a9c23
chore: update changelog release notes v1.9.2
2023-06-14 11:33:07 -04:00
Dan Ribbens
8310950f7b
chore(release): v1.9.2
v1.9.2
2023-06-14 11:32:14 -04:00
Jacob Fletcher
120e2936fe
chore: removes cms text from instances of payload name ( #2793 )
2023-06-14 10:31:29 -04:00
Alessio Gravili
884f7991c4
chore: remove --legacy-peer-deps from gh actions workflow ( #2814 )
2023-06-14 10:23:48 -04:00
Tylan Davis
9664e4b96f
chore: version diff styles ( #2824 )
...
Co-authored-by: Tylan Davis <tylan@Tylans-MacBook-Pro.local >
2023-06-14 10:21:23 -04:00
Dan Ribbens
63cd7fbd0c
fix : #2821 i18n ui field label ( #2823 )
2023-06-14 08:39:45 -04:00
Tylan Davis
346a48f871
fix: adds missing dark-mode styles for version differences view ( #2812 )
...
Co-authored-by: Tylan Davis <tylan@Tylans-MacBook-Pro.local >
2023-06-14 08:29:13 -04:00
Jessica Boezwinkle
8fe3e59e76
Merge branch 'docs/misc-updates'
2023-06-13 17:35:52 +01:00
Jessica Boezwinkle
74d6156e8d
chore: adds credentials to rest api examples
2023-06-13 17:35:39 +01:00
PatrikKozak
e834424a4c
Merge branch 'master' of https://github.com/payloadcms/payload into chore/api-keys-docs
2023-06-13 12:25:09 -04:00