payload 0.20.10-beta.0 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +592 -853
- package/components/styles.css +1 -1
- package/dist/admin/components/elements/Banner/index.scss +1 -0
- package/dist/admin/components/elements/Nav/index.js +2 -2
- package/dist/admin/components/forms/field-types/Array/Array.js +1 -1
- package/dist/admin/components/forms/field-types/Blocks/Blocks.js +1 -1
- package/dist/admin/components/forms/field-types/Checkbox/index.js +1 -1
- package/dist/admin/components/forms/field-types/Code/Code.js +1 -1
- package/dist/admin/components/forms/field-types/DateTime/index.js +1 -1
- package/dist/admin/components/forms/field-types/Email/index.js +2 -2
- package/dist/admin/components/forms/field-types/Group/index.js +1 -1
- package/dist/admin/components/forms/field-types/HiddenInput/index.js +1 -1
- package/dist/admin/components/forms/field-types/Number/index.js +2 -2
- package/dist/admin/components/forms/field-types/Password/index.js +2 -2
- package/dist/admin/components/forms/field-types/Point/index.js +4 -4
- package/dist/admin/components/forms/field-types/RadioGroup/Input.js +1 -1
- package/dist/admin/components/forms/field-types/Relationship/index.js +1 -1
- package/dist/admin/components/forms/field-types/RichText/RichText.js +2 -2
- package/dist/admin/components/forms/field-types/RichText/elements/upload/Element/index.scss +12 -1
- package/dist/admin/components/forms/field-types/RichText/index.scss +7 -0
- package/dist/admin/components/forms/field-types/Select/Input.js +2 -2
- package/dist/admin/components/forms/field-types/Text/Input.js +2 -2
- package/dist/admin/components/forms/field-types/Textarea/Input.js +2 -2
- package/dist/admin/components/forms/field-types/Upload/Input.js +1 -1
- package/dist/admin/components/views/Global/Default.js +1 -1
- package/dist/admin/scss/type.scss +1 -1
- package/docs/admin/overview.mdx +4 -0
- package/docs/authentication/config.mdx +49 -18
- package/package.json +7 -12
- package/dist/collections/graphql/resolvers/resolvers.spec.d.ts +0 -1
- package/dist/collections/graphql/resolvers/resolvers.spec.js +0 -360
- package/dist/collections/operations/local/local.spec.d.ts +0 -1
- package/dist/collections/operations/local/local.spec.js +0 -196
- package/dist/collections/tests/collections.spec.d.ts +0 -1
- package/dist/collections/tests/collections.spec.js +0 -736
- package/dist/collections/tests/defaultValue.spec.d.ts +0 -1
- package/dist/collections/tests/defaultValue.spec.js +0 -95
- package/dist/collections/tests/endpoints.spec.d.ts +0 -1
- package/dist/collections/tests/endpoints.spec.js +0 -71
- package/dist/collections/tests/hooks.spec.d.ts +0 -1
- package/dist/collections/tests/hooks.spec.js +0 -156
- package/dist/collections/tests/pointField.spec.d.ts +0 -1
- package/dist/collections/tests/pointField.spec.js +0 -219
- package/dist/collections/tests/relationships.spec.d.ts +0 -1
- package/dist/collections/tests/relationships.spec.js +0 -194
- package/dist/express/middleware/errorHandler.spec.d.ts +0 -1
- package/dist/express/middleware/errorHandler.spec.js +0 -91
- package/dist/globals/requestHandlers/globals.spec.d.ts +0 -4
- package/dist/globals/requestHandlers/globals.spec.js +0 -174
- package/dist/preferences/graphql/resolvers.spec.d.ts +0 -1
- package/dist/preferences/graphql/resolvers.spec.js +0 -115
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## [0.
|
|
1
|
+
## [1.0.4](https://github.com/payloadcms/payload/compare/v0.20.1...v1.0.4) (2022-07-19)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
* ensures passing partial data to update works when fields are localized ([39d075b](https://github.com/payloadcms/payload/commit/39d075b9998e51d462b2207a1bbfc0326a7eb46a))
|
|
12
12
|
* ensures point field doesn't interrupt version creation ([2ef8a1e](https://github.com/payloadcms/payload/commit/2ef8a1e35a9ecd67d7d809fb446f3549a347a930))
|
|
13
13
|
* ensures success pills are properly colored ([7376246](https://github.com/payloadcms/payload/commit/73762465925ab27c8e0282d41760bfac6e52ce8e))
|
|
14
|
+
* responsive improvements to rich text upload ([079623f](https://github.com/payloadcms/payload/commit/079623f40a1f5b7bd559f9c6ab2bfedea30fe987))
|
|
14
15
|
* styles empty version diff row for dark mode ([e7d2bdb](https://github.com/payloadcms/payload/commit/e7d2bdb45a042d69ef3adc40c1b10e065a0620ec))
|
|
16
|
+
* success banner color rendering incorrectly ([76b6c73](https://github.com/payloadcms/payload/commit/76b6c736e1f9e47e1beacc99c1ba566c62f4a760))
|
|
15
17
|
* tabs top margin ([dd810a3](https://github.com/payloadcms/payload/commit/dd810a35933925f789712be2a805c90ae30f4cc0))
|
|
16
18
|
* upload e2e file path ([a664b62](https://github.com/payloadcms/payload/commit/a664b627f67207f520b16b705017c72838039f64))
|
|
17
19
|
|
|
@@ -45,280 +47,254 @@
|
|
|
45
47
|
* revises e2e field testing ([31ca363](https://github.com/payloadcms/payload/commit/31ca3639828ddf572033023bd6a350f5b4a2eb9a))
|
|
46
48
|
* scaffolds tabs field ([85b7a49](https://github.com/payloadcms/payload/commit/85b7a490eb6fa53424986d78b893284096c040d4))
|
|
47
49
|
* styles nested groups and adds gutter back to richText ([3a17a8a](https://github.com/payloadcms/payload/commit/3a17a8a001a1aaaa52b119faf4740c50367b4049))
|
|
50
|
+
* test admin globals ([b00d858](https://github.com/payloadcms/payload/commit/b00d8584f37eff50a0257fde2543ae516b375146))
|
|
48
51
|
* test collections rest endpoints ([cf38e8d](https://github.com/payloadcms/payload/commit/cf38e8d520226e6370b3f55e26141408375b0610))
|
|
49
52
|
* testing refactor (e2e/int) ([#748](https://github.com/payloadcms/payload/issues/748)) ([90ba15f](https://github.com/payloadcms/payload/commit/90ba15f9bdf834a55861551e43c4dc55ca81565b))
|
|
50
53
|
* updates block field to use new collapsible ([49d09a3](https://github.com/payloadcms/payload/commit/49d09a349fe6cdc45c429b77e9d60943b7db851f))
|
|
51
54
|
* updates styling of group field ([8c4e0fa](https://github.com/payloadcms/payload/commit/8c4e0fa7b28fd68be1b20374d5d8cfaff923db11))
|
|
52
55
|
* upload integration tests ([#759](https://github.com/payloadcms/payload/issues/759)) ([e75cca4](https://github.com/payloadcms/payload/commit/e75cca4512e16647b6e0371706b33ad4f486c26d))
|
|
53
56
|
|
|
54
|
-
|
|
57
|
+
### BREAKING CHANGES
|
|
58
|
+
|
|
59
|
+
We have removed our reliance on SCSS variables like color and font, replacing them instead with CSS variables wherever possible.
|
|
60
|
+
|
|
61
|
+
Due to this change, the `admin.scss` functionality has become obsolete, and overriding SCSS variables is not longer needed or supported. If you want to customize CSS, you can still do so, but via the `admin.css` property instead.
|
|
55
62
|
|
|
56
63
|
## [0.19.2](https://github.com/payloadcms/payload/compare/v0.19.1...v0.19.2) (2022-07-11)
|
|
57
64
|
|
|
58
65
|
### Bug Fixes
|
|
59
66
|
|
|
60
|
-
|
|
67
|
+
- ensures only plain objects are merged within incoming configs ([2c66ad8](https://github.com/payloadcms/payload/commit/2c66ad86898c28da32b1714821c2ea8fe8e17868))
|
|
61
68
|
|
|
62
69
|
### Features
|
|
63
70
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
- :tada: [Extensible Authentication Strategies](https://github.com/payloadcms/payload/discussions/290)!
|
|
72
|
+
- add afterMe afterLogout and afterRefresh ([4055908](https://github.com/payloadcms/payload/commit/4055908bc885ec1b2d69817a9937e4591d099fa1))
|
|
73
|
+
- add preMiddleware and postMiddleware, deprecate middleware ([e806437](https://github.com/payloadcms/payload/commit/e8064371b01b4e66d3b1af980e71364714bf3d5b))
|
|
74
|
+
- better types useAuth and custom provider components ([38b52bf](https://github.com/payloadcms/payload/commit/38b52bf67b0d1545bb8ee627f3b6140e27887099))
|
|
68
75
|
|
|
69
76
|
## [0.19.1](https://github.com/payloadcms/payload/compare/v0.19.0...v0.19.1) (2022-07-09)
|
|
70
77
|
|
|
71
|
-
|
|
72
78
|
### Bug Fixes
|
|
73
79
|
|
|
74
|
-
|
|
80
|
+
- ensures duplicative relationship options are not present ([#732](https://github.com/payloadcms/payload/issues/732)) ([ce1c99b](https://github.com/payloadcms/payload/commit/ce1c99b01c0b615401d618bd1894450114cc1f4c))
|
|
75
81
|
|
|
76
82
|
# [0.19.0](https://github.com/payloadcms/payload/compare/v0.18.5...v0.19.0) (2022-07-08)
|
|
77
83
|
|
|
78
84
|
### BREAKING CHANGES
|
|
79
85
|
|
|
80
|
-
|
|
81
|
-
|
|
86
|
+
- relationship fields with access control preventing read of relation will return id instead of null ([#644](https://github.com/payloadcms/payload/pull/644))
|
|
82
87
|
|
|
83
88
|
### Bug Fixes
|
|
84
89
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
- allow passing of autoIndex mongoose connectionOptions ([#722](https://github.com/payloadcms/payload/issues/722)) ([567d8c1](https://github.com/payloadcms/payload/commit/567d8c19bff05c4d5edfcff1f04ff5e7804412ce))
|
|
91
|
+
- copyfiles cross platform ([#712](https://github.com/payloadcms/payload/issues/712)) ([67331eb](https://github.com/payloadcms/payload/commit/67331eb975c57897236466bef109a9559ff0d1a0))
|
|
92
|
+
- ensures auth/me relations in gql can be queried ([01bc1fe](https://github.com/payloadcms/payload/commit/01bc1fef1e498038457b9454fc0969c2a1fe4601))
|
|
93
|
+
- ensures old data from arrays is not persisted ([d9ef803](https://github.com/payloadcms/payload/commit/d9ef803d203c03a161dedff7076381ed944cf8d6))
|
|
94
|
+
- relationship field disabled from access control in related collections ([#644](https://github.com/payloadcms/payload/issues/644)) ([91e33d1](https://github.com/payloadcms/payload/commit/91e33d1c1cf97d3f8512caea72dc1012969b84bb))
|
|
91
95
|
|
|
92
96
|
### Features
|
|
93
97
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
98
|
+
- allow clearing DatePicker value ([#641](https://github.com/payloadcms/payload/issues/641)) ([9fd171b](https://github.com/payloadcms/payload/commit/9fd171b26db5e3aaa6ade706f02c9697e1d785f3))
|
|
99
|
+
- File argument in create/update operation ([#708](https://github.com/payloadcms/payload/issues/708)) ([f3b7dcf](https://github.com/payloadcms/payload/commit/f3b7dcff57961e0c6a5b1536de23b7fe6fa035cf))
|
|
100
|
+
- graphql schema output ([#730](https://github.com/payloadcms/payload/issues/730)) ([ad43cbc](https://github.com/payloadcms/payload/commit/ad43cbc808572f15157e4e52d211253c63012d7f))
|
|
97
101
|
|
|
98
102
|
## [0.18.5](https://github.com/payloadcms/payload/compare/v0.18.4...v0.18.5) (2022-06-29)
|
|
99
103
|
|
|
100
|
-
|
|
101
104
|
### Bug Fixes
|
|
102
105
|
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
- empty cell data renders in list ([#699](https://github.com/payloadcms/payload/issues/699)) ([b6b0ffb](https://github.com/payloadcms/payload/commit/b6b0ffb674ca6d1568981ab110013e66c678270f))
|
|
107
|
+
- icon appears above select field's option list ([#685](https://github.com/payloadcms/payload/issues/685)) ([c78d774](https://github.com/payloadcms/payload/commit/c78d77446a6a8fd1e85f8c094f751dfc1f8b0530))
|
|
105
108
|
|
|
106
109
|
## [0.18.4](https://github.com/payloadcms/payload/compare/v0.18.3...v0.18.4) (2022-06-24)
|
|
107
110
|
|
|
108
111
|
## [0.18.3](https://github.com/payloadcms/payload/compare/v0.18.2...v0.18.3) (2022-06-24)
|
|
109
112
|
|
|
110
|
-
|
|
111
113
|
### Bug Fixes
|
|
112
114
|
|
|
113
|
-
|
|
115
|
+
- [#670](https://github.com/payloadcms/payload/issues/670), max tokenExpiration ([918062d](https://github.com/payloadcms/payload/commit/918062de2fba371068efc62a989a93ee07fd4c17))
|
|
114
116
|
|
|
115
117
|
## [0.18.2](https://github.com/payloadcms/payload/compare/v0.18.1...v0.18.2) (2022-06-24)
|
|
116
118
|
|
|
117
|
-
|
|
118
119
|
### Features
|
|
119
120
|
|
|
120
|
-
|
|
121
|
+
- telemetry ([1c37ec3](https://github.com/payloadcms/payload/commit/1c37ec39027c73e57ff53db58eca94d485d1fa14))
|
|
121
122
|
|
|
122
123
|
## [0.18.1](https://github.com/payloadcms/payload/compare/v0.18.0...v0.18.1) (2022-06-21)
|
|
123
124
|
|
|
124
|
-
|
|
125
125
|
### Bug Fixes
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
- [#671](https://github.com/payloadcms/payload/issues/671), password reset broken ([3d5ed93](https://github.com/payloadcms/payload/commit/3d5ed93fcea8a44d70aa6d46184fa7a50372cf88))
|
|
128
128
|
|
|
129
129
|
# [0.18.0](https://github.com/payloadcms/payload/compare/v0.17.3...v0.18.0) (2022-06-14)
|
|
130
130
|
|
|
131
|
-
|
|
132
131
|
### Bug Fixes
|
|
133
132
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
- custom fields values resetting in ui ([#626](https://github.com/payloadcms/payload/issues/626)) ([f2bf239](https://github.com/payloadcms/payload/commit/f2bf2399fa34c49b3b68be55257908b0f8733962))
|
|
134
|
+
- me auth route breaks with query params ([#648](https://github.com/payloadcms/payload/issues/648)) ([a1fe17d](https://github.com/payloadcms/payload/commit/a1fe17d05da57a6fc3ab933d064289fdcd7bf280))
|
|
137
135
|
|
|
138
136
|
### Features
|
|
139
137
|
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
- adds timestamps to generated collection types if enabled ([#604](https://github.com/payloadcms/payload/issues/604)) ([af6479b](https://github.com/payloadcms/payload/commit/af6479bf34128ee1c64f534778d6151fdc15f4f6))
|
|
139
|
+
- enable webpack filesystem cache in dev ([#621](https://github.com/payloadcms/payload/issues/621)) ([44c1232](https://github.com/payloadcms/payload/commit/44c12325b4e47eed26c70047c4e594650bcf2648))
|
|
142
140
|
|
|
143
141
|
## [0.17.3](https://github.com/payloadcms/payload/compare/v0.17.2...v0.17.3) (2022-06-08)
|
|
144
142
|
|
|
145
|
-
|
|
146
143
|
### Bug Fixes
|
|
147
144
|
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
- duplicate objects in array fields in validate data and siblingData ([#599](https://github.com/payloadcms/payload/issues/599)) ([20bbda9](https://github.com/payloadcms/payload/commit/20bbda95c67efb985f08b0380c6f21c13068a8b5))
|
|
146
|
+
- ensures unflattening locales only happens if config specifies locales ([c18cc23](https://github.com/payloadcms/payload/commit/c18cc23c71bf8147a0cebed8415642c81f38eb0f))
|
|
150
147
|
|
|
151
148
|
## [0.17.2](https://github.com/payloadcms/payload/compare/v0.17.1...v0.17.2) (2022-05-24)
|
|
152
149
|
|
|
153
|
-
|
|
154
150
|
### Bug Fixes
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
- [#576](https://github.com/payloadcms/payload/issues/576), graphql where on hasMany relationship not working ([#582](https://github.com/payloadcms/payload/issues/582)) ([20d251f](https://github.com/payloadcms/payload/commit/20d251fd5dabd06f8d58ffcd5acec4dbd64ee515))
|
|
153
|
+
- adds optional chaining to safely read drafts setting on versions ([#577](https://github.com/payloadcms/payload/issues/577)) ([982b3f0](https://github.com/payloadcms/payload/commit/982b3f0582d9f64bd560e96b0df3cc505cc86a2a))
|
|
154
|
+
- passes required prop for select field ([#579](https://github.com/payloadcms/payload/issues/579)) ([734e905](https://github.com/payloadcms/payload/commit/734e905c186ebf96ff659008cb240f5adaa2b5b5))
|
|
159
155
|
|
|
160
156
|
## [0.17.1](https://github.com/payloadcms/payload/compare/v0.17.0...v0.17.1) (2022-05-17)
|
|
161
157
|
|
|
162
|
-
|
|
163
158
|
### Bug Fixes
|
|
164
159
|
|
|
165
|
-
|
|
160
|
+
- only localizes schema if both field and top-level config are enabled ([e1a5547](https://github.com/payloadcms/payload/commit/e1a5547fea065f5590930cbeb6d07bf59d62d21d))
|
|
166
161
|
|
|
167
162
|
# [0.17.0](https://github.com/payloadcms/payload/compare/v0.16.4...v0.17.0) (2022-05-16)
|
|
168
163
|
|
|
169
|
-
|
|
170
164
|
### Bug Fixes
|
|
171
165
|
|
|
172
|
-
|
|
173
|
-
|
|
166
|
+
- apply field condition to custom components ([#560](https://github.com/payloadcms/payload/issues/560)) ([1dfe2b8](https://github.com/payloadcms/payload/commit/1dfe2b892947411ff5295f5818befe28c4972915))
|
|
167
|
+
- prevent changing order of readOnly arrays ([#563](https://github.com/payloadcms/payload/issues/563)) ([16b7edb](https://github.com/payloadcms/payload/commit/16b7edbc9782dcfb3bef77f1ff312e041d66922c))
|
|
174
168
|
|
|
175
169
|
## [0.16.4](https://github.com/payloadcms/payload/compare/v0.16.3...v0.16.4) (2022-05-06)
|
|
176
170
|
|
|
177
|
-
|
|
178
171
|
### Bug Fixes
|
|
179
172
|
|
|
180
|
-
|
|
181
|
-
|
|
173
|
+
- fields in groups causing console error in browser ([#553](https://github.com/payloadcms/payload/issues/553)) ([78edac6](https://github.com/payloadcms/payload/commit/78edac684e54d335b15303d8348c8abcb2bba716))
|
|
174
|
+
- save resized image file when equal to upload size ([#555](https://github.com/payloadcms/payload/issues/555)) ([46f4bc2](https://github.com/payloadcms/payload/commit/46f4bc2a077ce668e9b30c187092b9b0c6d83f86))
|
|
182
175
|
|
|
183
176
|
## [0.16.3](https://github.com/payloadcms/payload/compare/v0.16.2...v0.16.3) (2022-05-04)
|
|
184
177
|
|
|
185
|
-
|
|
186
178
|
### Bug Fixes
|
|
187
179
|
|
|
188
|
-
|
|
180
|
+
- rare bug while merging locale data ([47c37e0](https://github.com/payloadcms/payload/commit/47c37e015300be4f9d5d4387f26a0adb39b8379c))
|
|
189
181
|
|
|
190
182
|
## [0.16.2](https://github.com/payloadcms/payload/compare/v0.16.1...v0.16.2) (2022-05-02)
|
|
191
183
|
|
|
192
|
-
|
|
193
184
|
### Bug Fixes
|
|
194
185
|
|
|
195
|
-
|
|
196
|
-
|
|
186
|
+
- checkbox defaultValues and more typing of sanitize ([#550](https://github.com/payloadcms/payload/issues/550)) ([1e4a68f](https://github.com/payloadcms/payload/commit/1e4a68f76eeaab58ced0cc500223a1b86d66668e))
|
|
197
187
|
|
|
198
188
|
### Features
|
|
199
189
|
|
|
200
|
-
|
|
201
|
-
|
|
190
|
+
- exposes findMany argument to afterRead hooks to discern between find and findByID ([b3832e2](https://github.com/payloadcms/payload/commit/b3832e21c91fa5d52067cfc24a0b4f8aa6e178ec))
|
|
191
|
+
- optimizes field operations ([18489fa](https://github.com/payloadcms/payload/commit/18489facebe5d7b0abc87dcc30fae28510b6bb19))
|
|
202
192
|
|
|
203
193
|
## [0.16.1](https://github.com/payloadcms/payload/compare/v0.16.0...v0.16.1) (2022-04-29)
|
|
204
194
|
|
|
205
|
-
|
|
206
195
|
### Features
|
|
207
196
|
|
|
208
|
-
|
|
197
|
+
- exposes payload within server-side validation args ([e46b942](https://github.com/payloadcms/payload/commit/e46b94225957bba7758a0a2c22776c44a2d2d633))
|
|
209
198
|
|
|
210
199
|
# [0.16.0](https://github.com/payloadcms/payload/compare/v0.15.13...v0.16.0) (2022-04-29)
|
|
211
200
|
|
|
212
|
-
|
|
213
201
|
### Bug Fixes
|
|
214
202
|
|
|
215
|
-
|
|
216
|
-
|
|
203
|
+
- file upload safely handles missing mimeTypes ([#540](https://github.com/payloadcms/payload/issues/540)) ([bf48fdf](https://github.com/payloadcms/payload/commit/bf48fdf18961a2e57bcc5aae73de4c569e97e42b))
|
|
217
204
|
|
|
218
205
|
### Features
|
|
219
206
|
|
|
220
|
-
|
|
221
|
-
|
|
207
|
+
- allow subfield readOnly to override parent readOnly ([#546](https://github.com/payloadcms/payload/issues/546)) ([834f4c2](https://github.com/payloadcms/payload/commit/834f4c270020bf32852c00a3abbb908853689006))
|
|
208
|
+
- allows defaultValue to accept async function to calculate defaultValue ([#547](https://github.com/payloadcms/payload/issues/547)) ([e297eb9](https://github.com/payloadcms/payload/commit/e297eb90907d933524d220255d5f8dc4276358c5))
|
|
222
209
|
|
|
223
210
|
## [0.15.13](https://github.com/payloadcms/payload/compare/v0.15.12...v0.15.13) (2022-04-26)
|
|
224
211
|
|
|
225
212
|
## [0.15.12](https://github.com/payloadcms/payload/compare/v0.15.11...v0.15.12) (2022-04-26)
|
|
226
213
|
|
|
227
|
-
|
|
228
214
|
### Bug Fixes
|
|
229
215
|
|
|
230
|
-
|
|
216
|
+
- ensures adding array / block rows modifies form state ([8bdbd0d](https://github.com/payloadcms/payload/commit/8bdbd0dd418cd665441703fa4fd87becafd26170))
|
|
231
217
|
|
|
232
218
|
## [0.15.11](https://github.com/payloadcms/payload/compare/v0.15.10...v0.15.11) (2022-04-24)
|
|
233
219
|
|
|
234
|
-
|
|
235
220
|
### Bug Fixes
|
|
236
221
|
|
|
237
|
-
|
|
222
|
+
- improperly typed access control ([b99ec06](https://github.com/payloadcms/payload/commit/b99ec060cacf7a05c20ba0a05dd6ef6ab60df304))
|
|
238
223
|
|
|
239
224
|
## [0.15.10](https://github.com/payloadcms/payload/compare/v0.15.9...v0.15.10) (2022-04-24)
|
|
240
225
|
|
|
241
|
-
|
|
242
226
|
### Bug Fixes
|
|
243
227
|
|
|
244
|
-
|
|
228
|
+
- block form-data bug ([3b70560](https://github.com/payloadcms/payload/commit/3b70560e2566de5294eb15945120ffd6f1f5f1c4))
|
|
245
229
|
|
|
246
230
|
## [0.15.9](https://github.com/payloadcms/payload/compare/v0.15.8...v0.15.9) (2022-04-20)
|
|
247
231
|
|
|
248
|
-
|
|
249
232
|
### Bug Fixes
|
|
250
233
|
|
|
251
|
-
|
|
234
|
+
- intermittent blocks UI issue ([3c1dfb8](https://github.com/payloadcms/payload/commit/3c1dfb88df8651b26cb1dbc102a34cd0aad722bc))
|
|
252
235
|
|
|
253
236
|
## [0.15.8](https://github.com/payloadcms/payload/compare/v0.15.7...v0.15.8) (2022-04-20)
|
|
254
237
|
|
|
255
|
-
|
|
256
238
|
### Bug Fixes
|
|
257
239
|
|
|
258
|
-
|
|
259
|
-
|
|
240
|
+
- ensure relationTo is valid in upload fields ([#533](https://github.com/payloadcms/payload/issues/533)) ([9e324be](https://github.com/payloadcms/payload/commit/9e324be0577447965ee2f87c3a3943cd4f0c0a1c))
|
|
241
|
+
- richtext editor input height ([#529](https://github.com/payloadcms/payload/issues/529)) ([3dcd8a2](https://github.com/payloadcms/payload/commit/3dcd8a24cb8cbb77aae82a1f841429e7149e3182))
|
|
260
242
|
|
|
261
243
|
## [0.15.7](https://github.com/payloadcms/payload/compare/v0.15.6...v0.15.7) (2022-04-12)
|
|
262
244
|
|
|
263
245
|
### Bug Fixes
|
|
264
246
|
|
|
265
|
-
|
|
247
|
+
- checkbox validation error positioning ([9af89b6](https://github.com/payloadcms/payload/commit/9af89b6c03bc4e82a0c3e353f0d53ec14a847ee2))
|
|
266
248
|
|
|
267
249
|
### Features
|
|
268
250
|
|
|
269
|
-
|
|
251
|
+
- sanitize defaultValue to false when field is required ([6f84c0a](https://github.com/payloadcms/payload/commit/6f84c0a86943e9d99edde21b1d448e7ece3dd83c))
|
|
270
252
|
|
|
271
253
|
## [0.15.6](https://github.com/payloadcms/payload/compare/v0.15.5...v0.15.6) (2022-04-06)
|
|
272
254
|
|
|
273
|
-
|
|
274
255
|
### Bug Fixes
|
|
275
256
|
|
|
276
|
-
|
|
257
|
+
- new up separate logger for generateTypes script ([cf54b33](https://github.com/payloadcms/payload/commit/cf54b336d17a79d775dd673c0eda361b356d159c))
|
|
277
258
|
|
|
278
259
|
## [0.15.5](https://github.com/payloadcms/payload/compare/v0.15.4...v0.15.5) (2022-04-06)
|
|
279
260
|
|
|
280
|
-
|
|
281
261
|
### Bug Fixes
|
|
282
262
|
|
|
283
|
-
|
|
263
|
+
- relationship component showing no results ([#508](https://github.com/payloadcms/payload/issues/508)) ([e1c6d9d](https://github.com/payloadcms/payload/commit/e1c6d9dd7d390c671edb0430d04aa0f194bf43e3))
|
|
284
264
|
|
|
285
265
|
## [0.15.4](https://github.com/payloadcms/payload/compare/v0.15.3...v0.15.4) (2022-04-05)
|
|
286
266
|
|
|
287
|
-
|
|
288
267
|
### Bug Fixes
|
|
289
268
|
|
|
290
|
-
|
|
291
|
-
|
|
269
|
+
- [#495](https://github.com/payloadcms/payload/issues/495), avoids appending version to id queries ([ab432a4](https://github.com/payloadcms/payload/commit/ab432a43dc568da0b7e65e275aed335d729600fa))
|
|
270
|
+
- default point validation allows not required and some edge cases ([29405bb](https://github.com/payloadcms/payload/commit/29405bbc0e3a5c3c1f3dadb2386a68e1fe159c42))
|
|
292
271
|
|
|
293
272
|
### Features
|
|
294
273
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
274
|
+
- allows like to search by many words, adds contain to match exact strings ([ec91757](https://github.com/payloadcms/payload/commit/ec91757257ed062c7743fca3d07d1b6af21cacb4))
|
|
275
|
+
- extended validation function arguments ([#494](https://github.com/payloadcms/payload/issues/494)) ([1b4b570](https://github.com/payloadcms/payload/commit/1b4b5707bfa731bedc5d9ca49ac9f425932b999c)), closes [#495](https://github.com/payloadcms/payload/issues/495)
|
|
276
|
+
- filter relationship options using filterOptions ([485991b](https://github.com/payloadcms/payload/commit/485991bd48c3512acca8dd94b3ab6c160bf1f153))
|
|
277
|
+
- **logging:** allow pino logger options to be passed into init ([6620a4f](https://github.com/payloadcms/payload/commit/6620a4f682f0a3169218dd83e1de315f95726287))
|
|
278
|
+
- support className config for row, block and array fields ([#504](https://github.com/payloadcms/payload/issues/504)) ([0461c21](https://github.com/payloadcms/payload/commit/0461c2109bea76742f94ae6f830c655ec67d1428))
|
|
300
279
|
|
|
301
280
|
## [0.15.3](https://github.com/payloadcms/payload/compare/v0.15.2...v0.15.3) (2022-04-04)
|
|
302
281
|
|
|
303
|
-
|
|
304
282
|
### Bug Fixes
|
|
305
283
|
|
|
306
|
-
|
|
284
|
+
- [#499](https://github.com/payloadcms/payload/issues/499), graphql row / ui field bug ([f4a2dff](https://github.com/payloadcms/payload/commit/f4a2dff892e6e8a6aa201c2a66b4db4fa2cd98b8))
|
|
307
285
|
|
|
308
286
|
## [0.15.2](https://github.com/payloadcms/payload/compare/v0.15.1...v0.15.2) (2022-04-04)
|
|
309
287
|
|
|
310
|
-
|
|
311
288
|
### Bug Fixes
|
|
312
289
|
|
|
313
|
-
|
|
290
|
+
- [#495](https://github.com/payloadcms/payload/issues/495), avoids appending version to id queries ([a703e05](https://github.com/payloadcms/payload/commit/a703e0582df3f4706ee051cf1752c79ff4b551ef))
|
|
314
291
|
|
|
315
292
|
## [0.15.1](https://github.com/payloadcms/payload/compare/v0.15.0...v0.15.1) (2022-03-28)
|
|
316
293
|
|
|
317
|
-
|
|
318
294
|
### Features
|
|
319
295
|
|
|
320
|
-
|
|
321
|
-
|
|
296
|
+
- builds a way to inject custom React providers into admin UI ([5a7e8a9](https://github.com/payloadcms/payload/commit/5a7e8a980be4e93f2503d8d007019948199a4867))
|
|
297
|
+
- export Plugin type from config types ([#491](https://github.com/payloadcms/payload/issues/491)) ([45f7011](https://github.com/payloadcms/payload/commit/45f70114e6664942228b46373843879c06ab8211))
|
|
322
298
|
|
|
323
299
|
# [0.15.0](https://github.com/payloadcms/payload/compare/v0.14.0...v0.15.0) (2022-03-16)
|
|
324
300
|
|
|
@@ -330,13 +306,13 @@ Here is a previous example:
|
|
|
330
306
|
|
|
331
307
|
```js
|
|
332
308
|
{
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
309
|
+
"message": "The following fields are invalid: location,",
|
|
310
|
+
"data": [
|
|
311
|
+
{
|
|
312
|
+
"message": "This field requires two numbers",
|
|
313
|
+
"field": "location"
|
|
314
|
+
},
|
|
315
|
+
]
|
|
340
316
|
},
|
|
341
317
|
```
|
|
342
318
|
|
|
@@ -344,567 +320,519 @@ The new shape of GraphQL errors is as follows:
|
|
|
344
320
|
|
|
345
321
|
```js
|
|
346
322
|
"extensions": {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
323
|
+
"name": "ValidationError",
|
|
324
|
+
"data": [
|
|
325
|
+
{
|
|
326
|
+
"message": "This field requires two numbers",
|
|
327
|
+
"field": "location"
|
|
328
|
+
},
|
|
329
|
+
]
|
|
354
330
|
}
|
|
355
331
|
```
|
|
356
332
|
|
|
357
333
|
### Bug Fixes
|
|
358
334
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
* updates dependencies ([3ca3f53](https://github.com/payloadcms/payload/commit/3ca3f533d07b644fa8a3d077932860e9f12318c2))
|
|
335
|
+
- [#422](https://github.com/payloadcms/payload/issues/422), prevents loading duplicative relationship options ([414679d](https://github.com/payloadcms/payload/commit/414679d86aac7ed94970a6eee14ff77b65f5c1d1))
|
|
336
|
+
- [#423](https://github.com/payloadcms/payload/issues/423), [#391](https://github.com/payloadcms/payload/issues/391) - prevents loading edit views until data initializes ([2884654](https://github.com/payloadcms/payload/commit/28846547afc7e7bb8accc5dbe9f3b98593f332fa))
|
|
337
|
+
- [#424](https://github.com/payloadcms/payload/issues/424), unable to clear localized property vals ([1a05fe4](https://github.com/payloadcms/payload/commit/1a05fe448c0755438dedc20c95d4a6a587912e2f))
|
|
338
|
+
- [#431](https://github.com/payloadcms/payload/issues/431) - relationship field not properly fetching option results ([6fab8bf](https://github.com/payloadcms/payload/commit/6fab8bfbef43d5da67cadc7dd61fd14b9b36bdc1))
|
|
339
|
+
- [#454](https://github.com/payloadcms/payload/issues/454), withCondition type usability ([56c16d5](https://github.com/payloadcms/payload/commit/56c16d5c16311b445662f715cc07e67d651e53a6))
|
|
340
|
+
- [#459](https://github.com/payloadcms/payload/issues/459) - in Relationship field to multiple collections, when the value is null, options are not populated ([#460](https://github.com/payloadcms/payload/issues/460)) ([a9b83c8](https://github.com/payloadcms/payload/commit/a9b83c87980df0a62823950e5ef31ad0de218f1a))
|
|
341
|
+
- [#461](https://github.com/payloadcms/payload/issues/461) ([08924a1](https://github.com/payloadcms/payload/commit/08924a1934ef257992381dfdded0cd9c7333e40c))
|
|
342
|
+
- [#464](https://github.com/payloadcms/payload/issues/464), graphql upload access control ([fd0629e](https://github.com/payloadcms/payload/commit/fd0629e93202dfaa399c753c59481b1cbd139bf6))
|
|
343
|
+
- adds key to RichText based on initialValue ([f710b8c](https://github.com/payloadcms/payload/commit/f710b8c4f3247156f64fb2b528a960bf808ef7ac))
|
|
344
|
+
- adjusts lte and gte types to match docs and codebase ([#480](https://github.com/payloadcms/payload/issues/480)) ([8fc4f7f](https://github.com/payloadcms/payload/commit/8fc4f7f8068cb8fcef13b1cfd6de7b4f74b5415f))
|
|
345
|
+
- allow jwt to work without csrf in config ([4048734](https://github.com/payloadcms/payload/commit/40487347e3f8bd03da440a73bec0ee491abbef85))
|
|
346
|
+
- awaits beforeDelete hooks ([609b871](https://github.com/payloadcms/payload/commit/609b871fa274e8b6d9eaf301e52ab42179aad9b7))
|
|
347
|
+
- config empty and sparse csrf is now allowed ([7e7b058](https://github.com/payloadcms/payload/commit/7e7b0589ef6c06941af3e7e3a24c7071d8b77a1a))
|
|
348
|
+
- ensures empty hasMany relationships save as empty arrays ([08b3e8f](https://github.com/payloadcms/payload/commit/08b3e8f18f0aa620d537f3258b2e080600e0f43e))
|
|
349
|
+
- ensures nested lists always render properly ([20e5dfb](https://github.com/payloadcms/payload/commit/20e5dfbb4ab8dab320d60772f5195c5faffe38d3))
|
|
350
|
+
- ensures overrideAccess is false if undefined while populating ([97f3178](https://github.com/payloadcms/payload/commit/97f31780051828a9d506eba3520a1390acb99a96))
|
|
351
|
+
- ensures rte upload is populated when only upload is enabled ([39438b8](https://github.com/payloadcms/payload/commit/39438b8460f853f64d84436eed49dde74cd207d2))
|
|
352
|
+
- import path for createRichTextRelationshipPromise ([586cd4d](https://github.com/payloadcms/payload/commit/586cd4d6af5485116ebb299a5af3d24f5baeaa2e))
|
|
353
|
+
- improperly typed local create method ([48aa27c](https://github.com/payloadcms/payload/commit/48aa27ce701e44561edf442ee6c248b007ecafcb))
|
|
354
|
+
- mobile styling to not found page ([d3f88a1](https://github.com/payloadcms/payload/commit/d3f88a1bd9aeb1551d64b9ed975da5e69e5821bd))
|
|
355
|
+
- new slate version types ([c5de01b](https://github.com/payloadcms/payload/commit/c5de01bfc48ca6793c1526499fe934d9ad8f0cc9))
|
|
356
|
+
- optimizes relationship input search querying ([7e69fcb](https://github.com/payloadcms/payload/commit/7e69fcbc7d89012a7caff6e0e9013a9ad8a62a14))
|
|
357
|
+
- prevents None from appearing in hasMany relationship select options ([cbf43fa](https://github.com/payloadcms/payload/commit/cbf43fa0d8ba50b7a9ef952f1693de6923068ffd))
|
|
358
|
+
- rare crash with link rte element ([f5535f6](https://github.com/payloadcms/payload/commit/f5535f613ac4d876d040be74b45e105e0f4775a8))
|
|
359
|
+
- rte upload field population ([8327b5a](https://github.com/payloadcms/payload/commit/8327b5aae505a189a5b9617c3485d646b5f8b517))
|
|
360
|
+
- type error in useField ([ef4e6d3](https://github.com/payloadcms/payload/commit/ef4e6d32a90215c07aa2c1e7217cf53558bfae97))
|
|
361
|
+
|
|
362
|
+
### Features
|
|
363
|
+
|
|
364
|
+
- :tada: versions, drafts, & autosave!
|
|
365
|
+
- [#458](https://github.com/payloadcms/payload/issues/458), provides field hooks with sibling data ([8e23a24](https://github.com/payloadcms/payload/commit/8e23a24f34ef7425bb4d43e96e869b255740c739))
|
|
366
|
+
- add before and after login components ([#427](https://github.com/payloadcms/payload/issues/427)) ([5591eea](https://github.com/payloadcms/payload/commit/5591eeafca1aa6e8abcc2d8276f7478e00b75ef2))
|
|
367
|
+
- add logMockCredentials email option ([ff33453](https://github.com/payloadcms/payload/commit/ff3345373630ca6913165284123a62269b3fa2c6))
|
|
368
|
+
- add pagination argument to optimize graphql relationships and use in local api ([#482](https://github.com/payloadcms/payload/issues/482)) ([647db51](https://github.com/payloadcms/payload/commit/647db5122e7b7be7f032d50ccf332780d8203369))
|
|
369
|
+
- adds a way to customize express.static options ([dbb3c50](https://github.com/payloadcms/payload/commit/dbb3c502227597ef4d04c9e5c8db6d2f51a8aac4))
|
|
370
|
+
- adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements ([3adf44a](https://github.com/payloadcms/payload/commit/3adf44a24162e5adbcebdb0ca7d0d460d23c57eb))
|
|
371
|
+
- adds indentation controls to rich text ([7df50f9](https://github.com/payloadcms/payload/commit/7df50f9bf9d4867e65bdd8cebdf43e0ab1737a63))
|
|
372
|
+
- adds originalDoc to field access control ([c979513](https://github.com/payloadcms/payload/commit/c9795133b376d8159457a0a38784d0b53a549061))
|
|
373
|
+
- adds path to GraphQL errors ([#457](https://github.com/payloadcms/payload/issues/457)) ([ad98b29](https://github.com/payloadcms/payload/commit/ad98b293983016db3c730112c9d2387de7bacb34))
|
|
374
|
+
- adds recursion to richText field to populate relationship and upload nested fields ([42af22c](https://github.com/payloadcms/payload/commit/42af22c2a10de44555bfedf902e7b4a4c9b25d6b))
|
|
375
|
+
- allow empty string radio and select option values ([#479](https://github.com/payloadcms/payload/issues/479)) ([f14e187](https://github.com/payloadcms/payload/commit/f14e187545b759ac4623189d5e31f25382728cc0))
|
|
376
|
+
- allows access control to prevent reading of drafts ([c38470c](https://github.com/payloadcms/payload/commit/c38470c7b2119cec6ff9a3efc89f087a5999bb66))
|
|
377
|
+
- allows global access control to return query constraints ([c0150ae](https://github.com/payloadcms/payload/commit/c0150ae8465777a2be1b6bc496a5be30cf478f42))
|
|
378
|
+
- allows select input to receive new options ([#435](https://github.com/payloadcms/payload/issues/435)) ([500fb1c](https://github.com/payloadcms/payload/commit/500fb1c5c41a55d35c41173d50a976388fd0bd1b))
|
|
379
|
+
- builds a way for multipart/form-data reqs to retain non-string values ([4efc2cf](https://github.com/payloadcms/payload/commit/4efc2cf71c8ec4c452fea0febfd1156b37868739))
|
|
380
|
+
- enhances rich text upload with custom field API ([0e4eb90](https://github.com/payloadcms/payload/commit/0e4eb906f2881dca518fea6b41e460bc57da9801))
|
|
381
|
+
- ensures field hooks run on all locales when locale=all ([c3f743a](https://github.com/payloadcms/payload/commit/c3f743af03bbde856dcd87114383f0b484c0b20f))
|
|
382
|
+
- exposes data arg within create and update access control ([73f418b](https://github.com/payloadcms/payload/commit/73f418bb5cadf73f683fe04ee94e4d24c8cfe96f))
|
|
383
|
+
- exposes FieldWithPath type for reuse ([df3a836](https://github.com/payloadcms/payload/commit/df3a83634fcb64724ef239600e3af4fc295fee4f))
|
|
384
|
+
- exposes useLocale for reuse ([bef0206](https://github.com/payloadcms/payload/commit/bef02062e769d1b0279c51af748f06d41c924c8a))
|
|
385
|
+
- improves adding rich text voids to RTE ([966c3c6](https://github.com/payloadcms/payload/commit/966c3c647198569ba06013481a3b6fa9042b058d))
|
|
386
|
+
- improves relationship field performance ([13318ff](https://github.com/payloadcms/payload/commit/13318ff3608a6be3dc7b86cc4e97155b26ef9df6))
|
|
387
|
+
- improves rich text link ([2e9a4c7](https://github.com/payloadcms/payload/commit/2e9a4c7d717e3a08b2982b8c49eb358baf23da17))
|
|
388
|
+
- indexes filenames ([07c8ac0](https://github.com/payloadcms/payload/commit/07c8ac08e21689cc6a3a2a546e58cf544fb61dec))
|
|
389
|
+
a79570c))
|
|
390
|
+
- rich text indentation ([2deed8b](https://github.com/payloadcms/payload/commit/2deed8b1464931c4bc76a288923b307cf04b6a4a))
|
|
391
|
+
- serverURL is no longer required ([#437](https://github.com/payloadcms/payload/issues/437)) ([dca90c4](https://github.com/payloadcms/payload/commit/dca90c4aa92dd0cc2084ba16249254c9259622c3))
|
|
392
|
+
- updates dependencies ([3ca3f53](https://github.com/payloadcms/payload/commit/3ca3f533d07b644fa8a3d077932860e9f12318c2))
|
|
418
393
|
|
|
419
394
|
## [0.14.31-beta.0](https://github.com/payloadcms/payload/compare/v0.14.0...v0.14.31-beta.0) (2022-03-10)
|
|
420
395
|
|
|
421
|
-
|
|
422
396
|
### Bug Fixes
|
|
423
397
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
* exposes data arg within create and update access control ([73f418b](https://github.com/payloadcms/payload/commit/73f418bb5cadf73f683fe04ee94e4d24c8cfe96f))
|
|
398
|
+
- improves rich text link ([2e9a4c7](https://github.com/payloadcms/payload/commit/2e9a4c7d717e3a08b2982b8c49eb358baf23da17))
|
|
399
|
+
- improves adding rich text voids to RTE ([966c3c6](https://github.com/payloadcms/payload/commit/966c3c647198569ba06013481a3b6fa9042b058d))
|
|
400
|
+
- rare crash with link rte element ([f5535f6](https://github.com/payloadcms/payload/commit/f5535f613ac4d876d040be74b45e105e0f4775a8))
|
|
401
|
+
- ensures empty hasMany relationships save as empty arrays ([08b3e8f](https://github.com/payloadcms/payload/commit/08b3e8f18f0aa620d537f3258b2e080600e0f43e))
|
|
402
|
+
- [#422](https://github.com/payloadcms/payload/issues/422), prevents loading duplicative relationship options ([414679d](https://github.com/payloadcms/payload/commit/414679d86aac7ed94970a6eee14ff77b65f5c1d1))
|
|
403
|
+
- [#423](https://github.com/payloadcms/payload/issues/423), [#391](https://github.com/payloadcms/payload/issues/391) - prevents loading edit views until data initializes ([2884654](https://github.com/payloadcms/payload/commit/28846547afc7e7bb8accc5dbe9f3b98593f332fa))
|
|
404
|
+
- [#424](https://github.com/payloadcms/payload/issues/424), unable to clear localized property vals ([1a05fe4](https://github.com/payloadcms/payload/commit/1a05fe448c0755438dedc20c95d4a6a587912e2f))
|
|
405
|
+
- [#431](https://github.com/payloadcms/payload/issues/431) - relationship field not properly fetching option results ([6fab8bf](https://github.com/payloadcms/payload/commit/6fab8bfbef43d5da67cadc7dd61fd14b9b36bdc1))
|
|
406
|
+
- adds key to RichText based on initialValue ([f710b8c](https://github.com/payloadcms/payload/commit/f710b8c4f3247156f64fb2b528a960bf808ef7ac))
|
|
407
|
+
- awaits beforeDelete hooks ([609b871](https://github.com/payloadcms/payload/commit/609b871fa274e8b6d9eaf301e52ab42179aad9b7))
|
|
408
|
+
- ensures multipart/form-data using \_payload flattens field data before sending ([ae44727](https://github.com/payloadcms/payload/commit/ae44727fb9734fc3801f7249fa9e78668311c09e))
|
|
409
|
+
- ensures nested lists always render properly ([20e5dfb](https://github.com/payloadcms/payload/commit/20e5dfbb4ab8dab320d60772f5195c5faffe38d3))
|
|
410
|
+
- ensures rte upload is populated when only upload is enabled ([39438b8](https://github.com/payloadcms/payload/commit/39438b8460f853f64d84436eed49dde74cd207d2))
|
|
411
|
+
- import path for createRichTextRelationshipPromise ([586cd4d](https://github.com/payloadcms/payload/commit/586cd4d6af5485116ebb299a5af3d24f5baeaa2e))
|
|
412
|
+
- improperly typed local create method ([48aa27c](https://github.com/payloadcms/payload/commit/48aa27ce701e44561edf442ee6c248b007ecafcb))
|
|
413
|
+
- mobile styling to not found page ([d3f88a1](https://github.com/payloadcms/payload/commit/d3f88a1bd9aeb1551d64b9ed975da5e69e5821bd))
|
|
414
|
+
- new slate version types ([c5de01b](https://github.com/payloadcms/payload/commit/c5de01bfc48ca6793c1526499fe934d9ad8f0cc9))
|
|
415
|
+
- rte upload field population ([8327b5a](https://github.com/payloadcms/payload/commit/8327b5aae505a189a5b9617c3485d646b5f8b517))
|
|
416
|
+
- type error in useField ([ef4e6d3](https://github.com/payloadcms/payload/commit/ef4e6d32a90215c07aa2c1e7217cf53558bfae97))
|
|
417
|
+
- [#464](https://github.com/payloadcms/payload/issues/464), graphql upload access control ([fd0629e](https://github.com/payloadcms/payload/commit/fd0629e93202dfaa399c753c59481b1cbd139bf6))
|
|
418
|
+
- ensures overrideAccess is false if undefined while populating ([97f3178](https://github.com/payloadcms/payload/commit/97f31780051828a9d506eba3520a1390acb99a96))
|
|
419
|
+
|
|
420
|
+
### Features
|
|
421
|
+
|
|
422
|
+
- :tada: versions, drafts, & autosave!
|
|
423
|
+
- adds originalDoc to field access control ([c979513](https://github.com/payloadcms/payload/commit/c9795133b376d8159457a0a38784d0b53a549061))
|
|
424
|
+
- [#458](https://github.com/payloadcms/payload/issues/458), provides field hooks with sibling data ([8e23a24](https://github.com/payloadcms/payload/commit/8e23a24f34ef7425bb4d43e96e869b255740c739))
|
|
425
|
+
- add before and after login components ([#427](https://github.com/payloadcms/payload/issues/427)) ([5591eea](https://github.com/payloadcms/payload/commit/5591eeafca1aa6e8abcc2d8276f7478e00b75ef2))
|
|
426
|
+
- add logMockCredentials email option ([ff33453](https://github.com/payloadcms/payload/commit/ff3345373630ca6913165284123a62269b3fa2c6))
|
|
427
|
+
- adds a way to customize express.static options ([dbb3c50](https://github.com/payloadcms/payload/commit/dbb3c502227597ef4d04c9e5c8db6d2f51a8aac4))
|
|
428
|
+
- adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements ([3adf44a](https://github.com/payloadcms/payload/commit/3adf44a24162e5adbcebdb0ca7d0d460d23c57eb))
|
|
429
|
+
- adds indentation controls to rich text ([7df50f9](https://github.com/payloadcms/payload/commit/7df50f9bf9d4867e65bdd8cebdf43e0ab1737a63))
|
|
430
|
+
- adds recursion to richText field to populate relationship and upload nested fields ([42af22c](https://github.com/payloadcms/payload/commit/42af22c2a10de44555bfedf902e7b4a4c9b25d6b))
|
|
431
|
+
- allows access control to prevent reading of drafts ([c38470c](https://github.com/payloadcms/payload/commit/c38470c7b2119cec6ff9a3efc89f087a5999bb66))
|
|
432
|
+
- allows global access control to return query constraints ([c0150ae](https://github.com/payloadcms/payload/commit/c0150ae8465777a2be1b6bc496a5be30cf478f42))
|
|
433
|
+
- allows select input to receive new options ([#435](https://github.com/payloadcms/payload/issues/435)) ([500fb1c](https://github.com/payloadcms/payload/commit/500fb1c5c41a55d35c41173d50a976388fd0bd1b))
|
|
434
|
+
- builds a way for multipart/form-data reqs to retain non-string values ([4efc2cf](https://github.com/payloadcms/payload/commit/4efc2cf71c8ec4c452fea0febfd1156b37868739))
|
|
435
|
+
- enhances rich text upload with custom field API ([0e4eb90](https://github.com/payloadcms/payload/commit/0e4eb906f2881dca518fea6b41e460bc57da9801))
|
|
436
|
+
- ensures field hooks run on all locales when locale=all ([c3f743a](https://github.com/payloadcms/payload/commit/c3f743af03bbde856dcd87114383f0b484c0b20f))
|
|
437
|
+
- exposes FieldWithPath type for reuse ([df3a836](https://github.com/payloadcms/payload/commit/df3a83634fcb64724ef239600e3af4fc295fee4f))
|
|
438
|
+
- exposes useLocale for reuse ([bef0206](https://github.com/payloadcms/payload/commit/bef02062e769d1b0279c51af748f06d41c924c8a))
|
|
439
|
+
- improves relationship field performance ([13318ff](https://github.com/payloadcms/payload/commit/13318ff3608a6be3dc7b86cc4e97155b26ef9df6))
|
|
440
|
+
- indexes filenames ([07c8ac0](https://github.com/payloadcms/payload/commit/07c8ac08e21689cc6a3a2a546e58cf544fb61dec))
|
|
441
|
+
- serverURL is no longer required ([#437](https://github.com/payloadcms/payload/issues/437)) ([dca90c4](https://github.com/payloadcms/payload/commit/dca90c4aa92dd0cc2084ba16249254c9259622c3))
|
|
442
|
+
- updates dependencies ([3ca3f53](https://github.com/payloadcms/payload/commit/3ca3f533d07b644fa8a3d077932860e9f12318c2))
|
|
443
|
+
- uses DocumentInfo to fetch and maintain doc versions ([8f30c3b](https://github.com/payloadcms/payload/commit/8f30c3bfefaa1530ac086aba22d4b8e6bac8f97d))
|
|
444
|
+
- exposes data arg within create and update access control ([73f418b](https://github.com/payloadcms/payload/commit/73f418bb5cadf73f683fe04ee94e4d24c8cfe96f))
|
|
472
445
|
|
|
473
446
|
# [0.14.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.14.0) (2022-01-03)
|
|
474
447
|
|
|
475
|
-
|
|
476
448
|
### Bug Fixes
|
|
477
449
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
450
|
+
- [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
|
|
451
|
+
- [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
|
|
452
|
+
- [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
|
|
453
|
+
- [#408](https://github.com/payloadcms/payload/issues/408) ([5c3cfa4](https://github.com/payloadcms/payload/commit/5c3cfa4c93767a5ead9e816bf11a000ebdac9761))
|
|
454
|
+
- [#408](https://github.com/payloadcms/payload/issues/408) ([e2c5d93](https://github.com/payloadcms/payload/commit/e2c5d93751cb1902d6dce2147953b97c2dc17939))
|
|
455
|
+
- 407 ([a09570c](https://github.com/payloadcms/payload/commit/a09570c78dc923f3553f36d726e5cfac925290a0))
|
|
456
|
+
- allows null in ImageSize width and height types ([ba79fd4](https://github.com/payloadcms/payload/commit/ba79fd42dbf20ba712a0632da9193fcc516c0257))
|
|
457
|
+
- cross-browser upload drag and drop ([4119eec](https://github.com/payloadcms/payload/commit/4119eec796794d6a026f34f8b097b379eb9895a0))
|
|
458
|
+
- ensures getDataByPath works ([140a3aa](https://github.com/payloadcms/payload/commit/140a3aa9eafa29b2a43bdfd8883c79c6ee4a93e4))
|
|
459
|
+
- ensures local findByID retains user ([05288ee](https://github.com/payloadcms/payload/commit/05288ee08c077019e4432bf385aeacc23a0643f3))
|
|
460
|
+
- ensures row count is set properly in block fields ([9e091af](https://github.com/payloadcms/payload/commit/9e091af67e944e6a15d1d1174a18cde6deda40d7))
|
|
461
|
+
- ensures searching relationships works with many pages of results ([961787d](https://github.com/payloadcms/payload/commit/961787d681882e5ab48bb676490555c93f5d4a2e))
|
|
462
|
+
- globals model typing ([da7c0c9](https://github.com/payloadcms/payload/commit/da7c0c984c1fb57038d620fc59bcd27972919ade))
|
|
492
463
|
|
|
493
464
|
### Features
|
|
494
465
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
466
|
+
- builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
|
|
467
|
+
- exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
|
|
468
|
+
- exposes default Dashboard and Nav components for re-import ([ffe8e17](https://github.com/payloadcms/payload/commit/ffe8e17ac06c2fc89c3c51cab545df9756d3910b))
|
|
498
469
|
|
|
499
470
|
## [0.13.21-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.21-beta.0) (2021-12-29)
|
|
500
471
|
|
|
501
|
-
|
|
502
472
|
### Bug Fixes
|
|
503
473
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
474
|
+
- [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
|
|
475
|
+
- [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
|
|
476
|
+
- [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
|
|
477
|
+
- [#408](https://github.com/payloadcms/payload/issues/408) ([5c3cfa4](https://github.com/payloadcms/payload/commit/5c3cfa4c93767a5ead9e816bf11a000ebdac9761))
|
|
478
|
+
- [#408](https://github.com/payloadcms/payload/issues/408) ([e2c5d93](https://github.com/payloadcms/payload/commit/e2c5d93751cb1902d6dce2147953b97c2dc17939))
|
|
479
|
+
- 407 ([a09570c](https://github.com/payloadcms/payload/commit/a09570c78dc923f3553f36d726e5cfac925290a0))
|
|
480
|
+
- allows null in ImageSize width and height types ([ba79fd4](https://github.com/payloadcms/payload/commit/ba79fd42dbf20ba712a0632da9193fcc516c0257))
|
|
481
|
+
- cross-browser upload drag and drop ([4119eec](https://github.com/payloadcms/payload/commit/4119eec796794d6a026f34f8b097b379eb9895a0))
|
|
482
|
+
- ensures getDataByPath works ([140a3aa](https://github.com/payloadcms/payload/commit/140a3aa9eafa29b2a43bdfd8883c79c6ee4a93e4))
|
|
483
|
+
- ensures local findByID retains user ([05288ee](https://github.com/payloadcms/payload/commit/05288ee08c077019e4432bf385aeacc23a0643f3))
|
|
484
|
+
- ensures row count is set properly in block fields ([9e091af](https://github.com/payloadcms/payload/commit/9e091af67e944e6a15d1d1174a18cde6deda40d7))
|
|
485
|
+
- ensures searching relationships works with many pages of results ([961787d](https://github.com/payloadcms/payload/commit/961787d681882e5ab48bb676490555c93f5d4a2e))
|
|
486
|
+
- globals model typing ([da7c0c9](https://github.com/payloadcms/payload/commit/da7c0c984c1fb57038d620fc59bcd27972919ade))
|
|
518
487
|
|
|
519
488
|
### Features
|
|
520
489
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
490
|
+
- builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
|
|
491
|
+
- exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
|
|
492
|
+
- exposes default Dashboard and Nav components for re-import ([ffe8e17](https://github.com/payloadcms/payload/commit/ffe8e17ac06c2fc89c3c51cab545df9756d3910b))
|
|
525
493
|
|
|
526
494
|
## [0.13.6](https://github.com/payloadcms/payload/compare/v0.13.5...v0.13.6) (2021-11-30)
|
|
527
495
|
|
|
528
|
-
|
|
529
496
|
### Bug Fixes
|
|
530
497
|
|
|
531
|
-
|
|
498
|
+
- requires path in select, text, textarea, and upload components ([925a33e](https://github.com/payloadcms/payload/commit/925a33e5602336f6128188aaf73001dbd23bd411))
|
|
532
499
|
|
|
533
500
|
## [0.13.5](https://github.com/payloadcms/payload/compare/v0.13.4...v0.13.5) (2021-11-30)
|
|
534
501
|
|
|
535
|
-
|
|
536
502
|
### Bug Fixes
|
|
537
503
|
|
|
538
|
-
|
|
504
|
+
- select component rendered value ([ecabf13](https://github.com/payloadcms/payload/commit/ecabf130fd1b4b87c45196d4bdf675e76b20c9e3))
|
|
539
505
|
|
|
540
506
|
## [0.13.4](https://github.com/payloadcms/payload/compare/v0.13.3...v0.13.4) (2021-11-30)
|
|
541
507
|
|
|
542
|
-
|
|
543
508
|
### Bug Fixes
|
|
544
509
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
510
|
+
- passes hasMany through select component ([c77bf3a](https://github.com/payloadcms/payload/commit/c77bf3aa42d76b7a0649b28fee3fe5d4bd06dcf6))
|
|
511
|
+
- prevents uncontrolled text field component ([f0fd859](https://github.com/payloadcms/payload/commit/f0fd859347804fdf0d79bbe566412abaeec6ff6a))
|
|
512
|
+
- select component types ([7e2b259](https://github.com/payloadcms/payload/commit/7e2b2598167dc59b8982f635cb95eacf247abb43))
|
|
513
|
+
- threads props through textarea component ([0b13eda](https://github.com/payloadcms/payload/commit/0b13eda1e55299f7d6dfac2854acc04cff459396))
|
|
550
514
|
|
|
551
515
|
### Features
|
|
552
516
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
517
|
+
- abstracts input from text component ([615e369](https://github.com/payloadcms/payload/commit/615e3695f2e62ce5d8a43ccb84192aca57770af8))
|
|
518
|
+
- abstracts select component ([fa67137](https://github.com/payloadcms/payload/commit/fa671378c7282cda1ed6f46340a53622e3bc96dc))
|
|
519
|
+
- abstracts textarea component and improves event typing ([86480b7](https://github.com/payloadcms/payload/commit/86480b7482b2b9413272ab0f9d0a82cd5e2920b8))
|
|
520
|
+
- abstracts upload component ([f234f68](https://github.com/payloadcms/payload/commit/f234f68019f122bd46cb2af2e8f62cf07cd53c1b))
|
|
557
521
|
|
|
558
522
|
## [0.13.3](https://github.com/payloadcms/payload/compare/v0.13.2...v0.13.3) (2021-11-29)
|
|
559
523
|
|
|
560
|
-
|
|
561
524
|
### Bug Fixes
|
|
562
525
|
|
|
563
|
-
|
|
526
|
+
- upgrade sharp for prebuilt M1 binaries ([34f416a](https://github.com/payloadcms/payload/commit/34f416aace112013359351e17c4371c30303156f))
|
|
564
527
|
|
|
565
528
|
## [0.13.2](https://github.com/payloadcms/payload/compare/v0.13.1...v0.13.2) (2021-11-29)
|
|
566
529
|
|
|
567
|
-
|
|
568
530
|
### Bug Fixes
|
|
569
531
|
|
|
570
|
-
|
|
532
|
+
- [#373](https://github.com/payloadcms/payload/issues/373) ([727fbec](https://github.com/payloadcms/payload/commit/727fbeceb4b93936ca08d0ca48ac0d2beb1ce96e))
|
|
571
533
|
|
|
572
534
|
## [0.13.1](https://github.com/payloadcms/payload/compare/v0.13.0...v0.13.1) (2021-11-29)
|
|
573
535
|
|
|
574
|
-
|
|
575
536
|
### Bug Fixes
|
|
576
537
|
|
|
577
|
-
|
|
578
|
-
|
|
538
|
+
- ensures sorting by \_id instead of improper id ([ded891e](https://github.com/payloadcms/payload/commit/ded891e390a93f71963762c0200c97a0beec5cad))
|
|
579
539
|
|
|
580
540
|
### Features
|
|
581
541
|
|
|
582
|
-
|
|
542
|
+
- only adds list search query param if value is present ([d6d76d4](https://github.com/payloadcms/payload/commit/d6d76d4088a23ed43122333873ada6846c808d37))
|
|
583
543
|
|
|
584
544
|
# [0.13.0](https://github.com/payloadcms/payload/compare/v0.12.3...v0.13.0) (2021-11-26)
|
|
585
545
|
|
|
586
|
-
|
|
587
546
|
### Bug Fixes
|
|
588
547
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
3839ef75151f))
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
548
|
+
- [#351](https://github.com/payloadcms/payload/issues/351) ([94c2b8d](https://github.com/payloadcms/payload/commit/94c2b8d80b046c067057d4ad089ed6a2edd656cf))
|
|
549
|
+
- [#358](https://github.com/payloadcms/payload/issues/358) - reuploading with existing filenames ([a0fb48c](https://github.com/payloadcms/payload/commit/a0fb48c9a37beceafc6f0638604e9946d0814635))
|
|
550
|
+
- allows sync or async preview urls ([da6e1df](https://github.com/payloadcms/payload/commit/da6e1df293ce46bc4d0c84645db61feea2881aa7))
|
|
551
|
+
- bug with relationship cell when no doc is available ([40b33d9](https://github.com/payloadcms/payload/commit/40b33d9f5e99285cb0de148dbe059259817fcad8))
|
|
552
|
+
3839ef75151f))
|
|
553
|
+
- ensures richtext links retain proper formatting ([abf61d0](https://github.com/payloadcms/payload/commit/abf61d0734c09fd0fc5c5b827cb0631e11701f71))
|
|
554
|
+
- ensures that querying by relationship subpaths works ([37b21b0](https://github.com/payloadcms/payload/commit/37b21b07628e892e85c2cf979d9e2c8af0d291f7))
|
|
555
|
+
- ensures uploads can be fetched with CORS ([96421b3](https://github.com/payloadcms/payload/commit/96421b3d59a87f8a3d781005c02344fe5d3a607f))
|
|
556
|
+
- typing for collection description ([bb18e82](https://github.com/payloadcms/payload/commit/bb18e8250c5742d9615e5780c1cd02d33ecca3d0))
|
|
557
|
+
- updates field description type to include react nodes ([291c193](https://github.com/payloadcms/payload/commit/291c193ad4a9ec8ce9310cc63c714eba10eca102))
|
|
599
558
|
|
|
600
559
|
### Features
|
|
601
560
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
561
|
+
- :tada: :tada: builds a way to automatically generate types for collections and globals!.
|
|
562
|
+
- :tada: dramatically improves Payload types like local API methods and hooks to function as `generic`s
|
|
563
|
+
- adds relationship filter field ([463c4e6](https://github.com/payloadcms/payload/commit/463c4e60de8e647fca6268b826d826f9c6e45412))
|
|
564
|
+
- applies upload access control to all auto-generated image sizes ([051b7d4](https://github.com/payloadcms/payload/commit/051b7d45befc331af3f73a669b2bb6467505902f))
|
|
565
|
+
- azure cosmos compatibility ([6fd5ac2](https://github.com/payloadcms/payload/commit/6fd5ac2c082a5a5e6f510d781b2a2e12b7b62cb9))
|
|
566
|
+
- ensures update hooks have access to full original docs even in spite of access control ([b2c5b7e](https://github.com/payloadcms/payload/commit/b2c5b7e5752e829c7a53c054decceb43ec33065e))
|
|
567
|
+
- improves querying logic ([4c85747](https://github.com/payloadcms/payload/commit/4c8574784995b1cb1f939648f4d2158286089b3d))
|
|
568
|
+
- indexes filenames ([5d43262](https://github.com/payloadcms/payload/commit/5d43262f42e0529a44572f398aa1ec5fd7858286))
|
|
569
|
+
- renames useFieldType to useField ([0245747](https://github.com/payloadcms/payload/commit/0245747020c7c039b15d055f54a4548a364d047e))
|
|
570
|
+
- supports custom onChange handling in text, select, and upload fields ([4affdc3](https://github.com/payloadcms/payload/commit/4affdc3a9397d70f5baacdd12753c8fc8c7d8368))
|
|
612
571
|
|
|
613
572
|
## [0.12.3](https://github.com/payloadcms/payload/compare/v0.12.2...v0.12.3) (2021-10-23)
|
|
614
573
|
|
|
615
|
-
|
|
616
574
|
### Bug Fixes
|
|
617
575
|
|
|
618
|
-
|
|
619
|
-
|
|
576
|
+
- [#348](https://github.com/payloadcms/payload/issues/348), relationship options appearing twice in admin ui ([b4c15ed](https://github.com/payloadcms/payload/commit/b4c15ed3f3649ea6d157987571874fb8486ab3cb))
|
|
577
|
+
- ensures tooltips in email fields are positioned properly ([a0b38f6](https://github.com/payloadcms/payload/commit/a0b38f68322cd7a39ca6ae08e6ffb7f57aa62171))
|
|
620
578
|
|
|
621
579
|
## [0.12.2](https://github.com/payloadcms/payload/compare/v0.12.1...v0.12.2) (2021-10-21)
|
|
622
580
|
|
|
623
|
-
|
|
624
581
|
### Bug Fixes
|
|
625
582
|
|
|
626
|
-
|
|
583
|
+
- improves paste html formatting ([d443ea5](https://github.com/payloadcms/payload/commit/d443ea582cc60be367dd3edbdcb062af0786b8ee))
|
|
627
584
|
|
|
628
585
|
## [0.12.1](https://github.com/payloadcms/payload/compare/v0.12.0...v0.12.1) (2021-10-21)
|
|
629
586
|
|
|
630
|
-
|
|
631
587
|
### Bug Fixes
|
|
632
588
|
|
|
633
|
-
|
|
589
|
+
- rich text copy and paste now saves formatting properly ([9d7feb9](https://github.com/payloadcms/payload/commit/9d7feb9796e4b76e01f4ac2d0cb117bb091aa3d5))
|
|
634
590
|
|
|
635
591
|
# [0.12.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.12.0) (2021-10-21)
|
|
636
592
|
|
|
637
|
-
|
|
638
593
|
### Bug Fixes
|
|
639
594
|
|
|
640
|
-
|
|
641
|
-
|
|
595
|
+
- bug where field hooks and access control couuld potentially compete ([c35009f](https://github.com/payloadcms/payload/commit/c35009f14c9403e63727d4d77af51a449a5f7b4b))
|
|
642
596
|
|
|
643
597
|
### Features
|
|
644
598
|
|
|
645
|
-
|
|
646
|
-
|
|
599
|
+
- builds UI field ([edb723a](https://github.com/payloadcms/payload/commit/edb723a4fb8b4c353a9073cc7ec5f5cfd026cbe0))
|
|
600
|
+
- exposes withCondition for re-use ([c02e8f1](https://github.com/payloadcms/payload/commit/c02e8f14c74a2ab9a53b0d8fd81f1083bede594e))
|
|
647
601
|
|
|
648
602
|
## [0.11.2-beta.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.11.2-beta.0) (2021-10-21)
|
|
649
603
|
|
|
650
604
|
### Features
|
|
651
605
|
|
|
652
|
-
|
|
606
|
+
- exposes withCondition for re-use ([c02e8f1](https://github.com/payloadcms/payload/commit/c02e8f14c74a2ab9a53b0d8fd81f1083bede594e))
|
|
653
607
|
|
|
654
608
|
## [0.11.1-beta.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.11.1-beta.0) (2021-10-20)
|
|
655
609
|
|
|
656
|
-
|
|
657
610
|
### Features
|
|
658
611
|
|
|
659
|
-
|
|
612
|
+
- builds UI field ([edb723a](https://github.com/payloadcms/payload/commit/edb723a4fb8b4c353a9073cc7ec5f5cfd026cbe0))
|
|
660
613
|
|
|
661
614
|
# [0.11.0](https://github.com/payloadcms/payload/compare/v0.10.11...v0.11.0) (2021-10-20)
|
|
662
615
|
|
|
663
|
-
|
|
664
616
|
### Bug Fixes
|
|
665
617
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
618
|
+
- [#338](https://github.com/payloadcms/payload/issues/338), array / block fields with only nested array block fields break admin UI ([86e88d9](https://github.com/payloadcms/payload/commit/86e88d998fbc36d7ea2456dfbc685edadff107d3))
|
|
619
|
+
- [#341](https://github.com/payloadcms/payload/issues/341) - searching on multiple relationship collections ([3b99ded](https://github.com/payloadcms/payload/commit/3b99deda450fbbe4a9d05c28c9c485c466872097))
|
|
620
|
+
- [#343](https://github.com/payloadcms/payload/issues/343) - upload rte element crashes admin when no upload collection present ([914cca6](https://github.com/payloadcms/payload/commit/914cca6b926923bd238605856a7b7125c13244e1))
|
|
621
|
+
- make name required on field types ([#337](https://github.com/payloadcms/payload/issues/337)) ([b257e01](https://github.com/payloadcms/payload/commit/b257e01c8dea5d22172ce4f71e4124aecc39bba8))
|
|
622
|
+
- more strict field typing ([84f6a9d](https://github.com/payloadcms/payload/commit/84f6a9d659fd443545f3ba7adf9f6adab98452ca))
|
|
623
|
+
- per page now properly modifies search query ([fcd9c28](https://github.com/payloadcms/payload/commit/fcd9c2887175396bdedc051f3f30f1080d8c5953))
|
|
624
|
+
- properly types row field ([7d49302](https://github.com/payloadcms/payload/commit/7d49302ffa8207498e6e70255b3be84b3ac890c1))
|
|
625
|
+
- removes node 15 from CI ([a2df67e](https://github.com/payloadcms/payload/commit/a2df67eccd9ab6f8c9d4982bdade9b47186c2c82))
|
|
626
|
+
- use proper error code on webpack build failure ([2eb8154](https://github.com/payloadcms/payload/commit/2eb81546c3b4bf1804d25ccd5307af4855c4f750))
|
|
676
627
|
|
|
677
628
|
### Features
|
|
678
629
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
630
|
+
- adds dynamic url field to upload-enabled collections ([cc4d1fd](https://github.com/payloadcms/payload/commit/cc4d1fd045ed54c6a35c7104182e6fbeadb6dac4))
|
|
631
|
+
- adds safety checks while querying on id with bad values ([900f05e](https://github.com/payloadcms/payload/commit/900f05eefdc63978809a88a2e1474be08afff6c6))
|
|
632
|
+
- **admin:** initial per page component ([3715e01](https://github.com/payloadcms/payload/commit/3715e011c97c8e30174c35c502fa7db12bc84e2c))
|
|
633
|
+
- allows richText enter key break out functionality to be extended in custom elements ([ca91f47](https://github.com/payloadcms/payload/commit/ca91f47d325de5211f24000c7d90b10a8fdfc544))
|
|
634
|
+
- improves richtext link ([423ca01](https://github.com/payloadcms/payload/commit/423ca01ab1d5d07e2f5369d82928d6c7dad052b0))
|
|
635
|
+
- **per-page:** add pagination to admin config ([c132f2f](https://github.com/payloadcms/payload/commit/c132f2ff10b3efdb3854ec2d5a895120ccf22002))
|
|
636
|
+
- **per-page:** set and load from preferences ([d88ce2d](https://github.com/payloadcms/payload/commit/d88ce2d342b20c1601b1b58470c226a9826758b3))
|
|
637
|
+
- saves active list filters in URL, implements per-page control ([a6fc1fd](https://github.com/payloadcms/payload/commit/a6fc1fdc5838c3d17c5a8b6cbe9a46b86c89af71))
|
|
688
638
|
|
|
689
639
|
## [0.10.11](https://github.com/payloadcms/payload/compare/v0.10.10...v0.10.11) (2021-10-08)
|
|
690
640
|
|
|
691
|
-
|
|
692
641
|
### Bug Fixes
|
|
693
642
|
|
|
694
|
-
|
|
643
|
+
- bug with local API and not passing array / block data ([fd4fbe8](https://github.com/payloadcms/payload/commit/fd4fbe8c8b492445ab29d26d9648cff4e98d5708))
|
|
695
644
|
|
|
696
645
|
## [0.10.10](https://github.com/payloadcms/payload/compare/v0.10.9...v0.10.10) (2021-10-07)
|
|
697
646
|
|
|
698
|
-
|
|
699
647
|
### Bug Fixes
|
|
700
648
|
|
|
701
|
-
|
|
649
|
+
- deepObjectCopy returns Date object instead of empty object ([2711729](https://github.com/payloadcms/payload/commit/27117292f3a4e207d9705e79f82fb78f70985915))
|
|
702
650
|
|
|
703
651
|
## [0.10.9](https://github.com/payloadcms/payload/compare/v0.10.8...v0.10.9) (2021-10-05)
|
|
704
652
|
|
|
705
|
-
|
|
706
653
|
### Bug Fixes
|
|
707
654
|
|
|
708
|
-
|
|
655
|
+
- ensures field read access within login operation has id ([e3229c5](https://github.com/payloadcms/payload/commit/e3229c55f352a2f68bbea967f816badfd265dd02))
|
|
709
656
|
|
|
710
657
|
## [0.10.8](https://github.com/payloadcms/payload/compare/v0.10.7...v0.10.8) (2021-10-04)
|
|
711
658
|
|
|
712
|
-
|
|
713
659
|
### Bug Fixes
|
|
714
660
|
|
|
715
|
-
|
|
661
|
+
- ensures update field access control receives id ([ffab6c4](https://github.com/payloadcms/payload/commit/ffab6c46c1c267f46d1d4eb3fd8060a4e5fada4b))
|
|
716
662
|
|
|
717
663
|
## [0.10.7](https://github.com/payloadcms/payload/compare/v0.10.6...v0.10.7) (2021-10-04)
|
|
718
664
|
|
|
719
|
-
|
|
720
665
|
### Bug Fixes
|
|
721
666
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
667
|
+
- ensures non populated relationships still retain IDs ([a201109](https://github.com/payloadcms/payload/commit/a20110974d781e972831fa8a52a0839a613121f6))
|
|
668
|
+
- ensures relationship field access control receives id ([470d434](https://github.com/payloadcms/payload/commit/470d4345f9ccc7630dc55b40172937509475d534))
|
|
725
669
|
|
|
726
670
|
### Features
|
|
727
671
|
|
|
728
|
-
|
|
672
|
+
- add indexSortableField option to create indexes for sortable fields on all collections ([ad09782](https://github.com/payloadcms/payload/commit/ad097820bfe32b0a4ef428a37a78e5a569258ec6))
|
|
729
673
|
|
|
730
674
|
## [0.10.6](https://github.com/payloadcms/payload/compare/v0.10.5...v0.10.6) (2021-09-30)
|
|
731
675
|
|
|
732
|
-
|
|
733
676
|
### Bug Fixes
|
|
734
677
|
|
|
735
|
-
|
|
736
|
-
|
|
678
|
+
- allow debug in payload config ([65bf13d](https://github.com/payloadcms/payload/commit/65bf13d7c137eafdbbeadc1d36d26b7b8389088f))
|
|
679
|
+
- relationship + new slate incompatibility ([f422053](https://github.com/payloadcms/payload/commit/f42205307e33916fc3b139f6ee97eb66d5d0816a))
|
|
737
680
|
|
|
738
681
|
## [0.10.5](https://github.com/payloadcms/payload/compare/v0.10.4...v0.10.5) (2021-09-28)
|
|
739
682
|
|
|
740
|
-
|
|
741
683
|
### Bug Fixes
|
|
742
684
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
685
|
+
- ensures that fields within non-required groups are correctly not required ([1597055](https://github.com/payloadcms/payload/commit/15970550f7b00ce0527027c362a9550ff8ad5d2a))
|
|
686
|
+
- index creation on localized field parent ([23e8197](https://github.com/payloadcms/payload/commit/23e81971eb94fd5b991aedb02aab84931937ae37))
|
|
687
|
+
- pagination estimatedCount limited to near query ([73bd698](https://github.com/payloadcms/payload/commit/73bd69870c4ff8ae92053e77ef95cfae18c142b5))
|
|
747
688
|
|
|
748
689
|
### Features
|
|
749
690
|
|
|
750
|
-
|
|
751
|
-
|
|
691
|
+
- adds rich text editor upload element ([aa76950](https://github.com/payloadcms/payload/commit/aa769500c934f4dee51a24c0cfc0297c12b5ae47))
|
|
692
|
+
- updates slate, finishes rte upload ([08db431](https://github.com/payloadcms/payload/commit/08db431c0c4626a0d10f4e1c7bca29fa075eedc6))
|
|
752
693
|
|
|
753
694
|
## [0.10.4](https://github.com/payloadcms/payload/compare/v0.10.0...v0.10.4) (2021-09-22)
|
|
754
695
|
|
|
755
|
-
|
|
756
696
|
### Bug Fixes
|
|
757
697
|
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
698
|
+
- allows image resizing if either width or height is larger ([8661115](https://github.com/payloadcms/payload/commit/866111528377808009fa71595691e6a08ec77dc5))
|
|
699
|
+
- array objects now properly save IDs ([2b8f925](https://github.com/payloadcms/payload/commit/2b8f925e81c58f6aa010bf13a318236f211ea091))
|
|
700
|
+
- date field error message position ([03c0435](https://github.com/payloadcms/payload/commit/03c0435e3b3ecdfa0713e3e5026b80f8985ca290))
|
|
701
|
+
- properly types optional req in local findByID ([02e7fe3](https://github.com/payloadcms/payload/commit/02e7fe3f1f3763f32f100cf2e5a8596aa16f3bd9))
|
|
763
702
|
|
|
764
703
|
### Features
|
|
765
704
|
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
705
|
+
- defaults empty group fields to empty object ([8a890fd](https://github.com/payloadcms/payload/commit/8a890fdc15b646c24963a1ef7584237b1d3c5783))
|
|
706
|
+
- allows local update api to replace existing files with newly uploaded ones ([dbbff4c](https://github.com/payloadcms/payload/commit/dbbff4cfa41aa20077e47c8c7b87d4d00683c571))
|
|
707
|
+
- exposes Pill component for re-use ([7e8df10](https://github.com/payloadcms/payload/commit/7e8df100bbf86798de292466afd4c00c455ecb35))
|
|
708
|
+
- performance improvement while saving large docs ([901ad49](https://github.com/payloadcms/payload/commit/901ad498b47bcb8ae995ade18f2fc08cd33f0645))
|
|
770
709
|
|
|
771
710
|
# [0.10.0](https://github.com/payloadcms/payload/compare/v0.9.5...v0.10.0) (2021-09-09)
|
|
772
711
|
|
|
773
|
-
|
|
774
712
|
### Bug Fixes
|
|
775
713
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
714
|
+
- admin UI collection id is required ([dc96b90](https://github.com/payloadcms/payload/commit/dc96b90cba01756374dde5b91f7702e0a0c661aa))
|
|
715
|
+
- allow save of collection with an undefined point ([f80646c](https://github.com/payloadcms/payload/commit/f80646c5987db4c228b00beda9549259021c2a40))
|
|
716
|
+
- config validation correctly prevents empty strings for option values ([41e7feb](https://github.com/payloadcms/payload/commit/41e7febf6a21d2fff39a335c033d9e9582294147))
|
|
717
|
+
- ensures hooks run before access ([96629f1](https://github.com/payloadcms/payload/commit/96629f1f0100efdb9c5ad57c1a46add3c15ea65d))
|
|
718
|
+
- ensures proper order while transforming incoming and outgoing data ([c187da0](https://github.com/payloadcms/payload/commit/c187da00b1f18c66d9252a5a3e2029455d75b371))
|
|
719
|
+
- improve id type semantic and restrict possible types to text and number ([29529b2](https://github.com/payloadcms/payload/commit/29529b2c56d4af7c6abce113da2f7ce84f1dcc02))
|
|
720
|
+
- remove media directory to improve test run consistency ([d42d8f7](https://github.com/payloadcms/payload/commit/d42d8f76efcda7a24f2f50d60caf47b1027d81f6))
|
|
721
|
+
- sanitize custom id number types ([c7558d8](https://github.com/payloadcms/payload/commit/c7558d8652780e24479b39e5f2a08a49ffff3358))
|
|
722
|
+
- sort id columns ([114dc1b](https://github.com/payloadcms/payload/commit/114dc1b3fb9a1895e09671aca7a57fd5c7d84911))
|
|
786
723
|
|
|
787
724
|
### Features
|
|
788
725
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
726
|
+
- add config validation for collections with custom id ([fe1dc0b](https://github.com/payloadcms/payload/commit/fe1dc0b191e73f350b77a90887d8172bf76d46fd))
|
|
727
|
+
- add config validation for collections with custom id ([d0aaf4a](https://github.com/payloadcms/payload/commit/d0aaf4a4128ad585013c392bb608f586985b71ad))
|
|
728
|
+
- add point field type ([7504155](https://github.com/payloadcms/payload/commit/7504155e17a2881b7a60f49e610c062665b46d21))
|
|
729
|
+
- allows user to pass req through local findByID ([8675481](https://github.com/payloadcms/payload/commit/8675481343ef45fefc2eaaea939eda8ed0a2577f))
|
|
730
|
+
- frontend polish to point field ([64ad6a3](https://github.com/payloadcms/payload/commit/64ad6a30a56969127dfb592a7e0c8807e9f3d8f7))
|
|
731
|
+
- graphql support for custom id types ([bc2a6e1](https://github.com/payloadcms/payload/commit/bc2a6e15753c62d2041e9afded3f1ca040dbffa3))
|
|
732
|
+
- point field localization and graphql ([30f1750](https://github.com/payloadcms/payload/commit/30f17509ea9927d923ffd42c703adefc902b66ea))
|
|
733
|
+
- replace the collection idType option with an explicit id field ([4b70a12](https://github.com/payloadcms/payload/commit/4b70a1225f834ecd0aab50c6e92ad50572389962))
|
|
734
|
+
- support custom ids ([3cc921a](https://github.com/payloadcms/payload/commit/3cc921acc92e1b4a372468b644b7e676400d9c26))
|
|
798
735
|
|
|
799
736
|
## [0.9.5](https://github.com/payloadcms/payload/compare/v0.9.4...v0.9.5) (2021-08-23)
|
|
800
737
|
|
|
801
|
-
|
|
802
738
|
### Bug Fixes
|
|
803
739
|
|
|
804
|
-
|
|
805
|
-
|
|
740
|
+
- obscure conditional logic bug ([b0dc125](https://github.com/payloadcms/payload/commit/b0dc12560423af5083d36cfd16f464f08ab66d9d))
|
|
741
|
+
- windows compatible absolute paths for staticDir ([b21316b](https://github.com/payloadcms/payload/commit/b21316b6cc392c793614024648c5301c7e03c326))
|
|
806
742
|
|
|
807
743
|
## [0.9.4](https://github.com/payloadcms/payload/compare/v0.9.3...v0.9.4) (2021-08-06)
|
|
808
744
|
|
|
809
745
|
## [0.9.3](https://github.com/payloadcms/payload/compare/v0.9.2...v0.9.3) (2021-08-06)
|
|
810
746
|
|
|
811
|
-
|
|
812
747
|
### Bug Fixes
|
|
813
748
|
|
|
814
|
-
|
|
749
|
+
- args no longer optional in collection and global hooks ([a5ea0ff](https://github.com/payloadcms/payload/commit/a5ea0ff61945f3da106f0d9dbb6a90fb1d884061))
|
|
815
750
|
|
|
816
751
|
## [0.9.2](https://github.com/payloadcms/payload/compare/v0.9.1...v0.9.2) (2021-08-06)
|
|
817
752
|
|
|
818
|
-
|
|
819
753
|
### Bug Fixes
|
|
820
754
|
|
|
821
|
-
|
|
822
|
-
|
|
755
|
+
- row admin type ([deef520](https://github.com/payloadcms/payload/commit/deef5202c15301b685fe5efc8a6ff59b012ea1d4))
|
|
823
756
|
|
|
824
757
|
### Features
|
|
825
758
|
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
759
|
+
- allow completely disabling local file storage ([9661c6d](https://github.com/payloadcms/payload/commit/9661c6d40acc41d21eebc42b0cc1871f28d35a73))
|
|
760
|
+
- allows upload resizing to maintain aspect ratio ([dea54a4](https://github.com/payloadcms/payload/commit/dea54a4cccead86e6ffc9f20457f295e1c08405b))
|
|
761
|
+
- exposes auto-sized uploads on payload req ([9c8935f](https://github.com/payloadcms/payload/commit/9c8935fd51439627cccf3f6625236375f5909445))
|
|
762
|
+
- reduces group heading from h2 to h3 ([907f8fd](https://github.com/payloadcms/payload/commit/907f8fd94d7e6cfa7eac0040c134cc714f29800d))
|
|
830
763
|
|
|
831
764
|
## [0.9.1](https://github.com/payloadcms/payload/compare/v0.9.0...v0.9.1) (2021-08-03)
|
|
832
765
|
|
|
833
|
-
|
|
834
766
|
### Bug Fixes
|
|
835
767
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
768
|
+
- groups with failing conditions being incorrectly required on backend ([4cc0ea1](https://github.com/payloadcms/payload/commit/4cc0ea1d81cd7579cb330091eb111a27262ff031))
|
|
769
|
+
- relationship field access control in admin UI ([65db8d9](https://github.com/payloadcms/payload/commit/65db8d9fc2c8b556cc284966b9b69f5d6512aca5))
|
|
839
770
|
|
|
840
771
|
### Features
|
|
841
772
|
|
|
842
|
-
|
|
773
|
+
- exposes collection after read hook type ([01a191a](https://github.com/payloadcms/payload/commit/01a191a13967d98ebf57891efd21b2607804e4e3))
|
|
843
774
|
|
|
844
775
|
# [0.9.0](https://github.com/payloadcms/payload/compare/v0.8.2...v0.9.0) (2021-08-02)
|
|
845
776
|
|
|
846
777
|
### BREAKING CHANGES
|
|
847
778
|
|
|
848
|
-
|
|
779
|
+
- Due to greater plugin possibilities and performance enhancements, plugins themselves no longer accept a completely sanitized config. Instead, they accept a _validated_ config as-provided, but sanitization is now only performed after all plugins have been initialized. By config santitization, we refer to merging in default values and ensuring that the config has its full, required shape. What this now means for plugins is that within plugin code, deeply nested properties like `config.graphQL.mutations` will need to be accessed safely (optional chaining is great for this), because a user's config may not have defined `config.graphQL`. So, the only real breaking change here is are that plugins now need to safely access properties from an incoming config.
|
|
849
780
|
|
|
850
781
|
### Features
|
|
851
782
|
|
|
852
|
-
|
|
783
|
+
- removes sanitization of configs before plugins are instantiated ([8af3947](https://github.com/payloadcms/payload/commit/8af39472e19a26453647d1c1ab0bbce15db2c642))
|
|
853
784
|
|
|
854
785
|
## [0.8.2](https://github.com/payloadcms/payload/compare/v0.8.1...v0.8.2) (2021-08-02)
|
|
855
786
|
|
|
856
|
-
|
|
857
787
|
### Bug Fixes
|
|
858
788
|
|
|
859
|
-
|
|
860
|
-
|
|
789
|
+
- more advanced conditional logic edge cases ([33983de](https://github.com/payloadcms/payload/commit/33983deb3761813506348f8ff804a2117d1324ef))
|
|
861
790
|
|
|
862
791
|
### Features
|
|
863
792
|
|
|
864
|
-
|
|
793
|
+
- export error types ([12cba62](https://github.com/payloadcms/payload/commit/12cba62930b8d35b22e3a7a99cf06df29bd4964a))
|
|
865
794
|
|
|
866
795
|
## [0.8.1](https://github.com/payloadcms/payload/compare/v0.8.0...v0.8.1) (2021-07-29)
|
|
867
796
|
|
|
868
|
-
|
|
869
797
|
### BREAKING CHANGES
|
|
870
798
|
|
|
871
|
-
|
|
799
|
+
- If you have any plugins that are written in TypeScript, we have changed plugin types to make them more flexible. Whereas before you needed to take in a fully sanitized config, and return a fully sanitized config, we now have simplified that requirement so that you can write configs in your own plugins just as an end user of Payload can write their own configs.
|
|
872
800
|
|
|
873
801
|
Now, configs will be sanitized **_before_** plugins are executed **_as well as_** after plugins are executed.
|
|
874
802
|
|
|
875
803
|
So, where your plugin may have been typed like this before:
|
|
876
804
|
|
|
877
805
|
```ts
|
|
878
|
-
|
|
806
|
+
import { SanitizedConfig } from "payload/config";
|
|
879
807
|
|
|
880
|
-
|
|
808
|
+
const plugin = (config: SanitizedConfig): SanitizedConfig => {
|
|
881
809
|
return {
|
|
882
810
|
...config,
|
|
883
|
-
}
|
|
884
|
-
|
|
811
|
+
};
|
|
812
|
+
};
|
|
885
813
|
```
|
|
886
814
|
|
|
887
815
|
It can now be written like this:
|
|
888
816
|
|
|
889
817
|
```ts
|
|
890
|
-
|
|
818
|
+
import { Config } from "payload/config";
|
|
891
819
|
|
|
892
|
-
|
|
820
|
+
const plugin = (config: Config): Config => {
|
|
893
821
|
return {
|
|
894
822
|
...config,
|
|
895
|
-
}
|
|
896
|
-
|
|
823
|
+
};
|
|
824
|
+
};
|
|
897
825
|
```
|
|
898
826
|
|
|
899
827
|
### Features
|
|
900
828
|
|
|
901
|
-
|
|
829
|
+
- improves plugin writability ([a002b71](https://github.com/payloadcms/payload/commit/a002b7105f5c312e846c80032a350046db10236c))
|
|
902
830
|
|
|
903
831
|
# [0.8.0](https://github.com/payloadcms/payload/compare/v0.7.10...v0.8.0) (2021-07-28)
|
|
904
832
|
|
|
905
833
|
### BREAKING CHANGES
|
|
906
834
|
|
|
907
|
-
|
|
835
|
+
- There have been a few very minor, yet breaking TypeScript changes in this release. If you are accessing Payload config types from directly within the `dist` folder, like any of the following:
|
|
908
836
|
|
|
909
837
|
- `import { PayloadCollectionConfig, CollectionConfig } from 'payload/dist/collections/config/types';`
|
|
910
838
|
- `import { PayloadGlobalConfig, GlobalConfig } from 'payload/dist/globals/config/types';`
|
|
@@ -923,229 +851,201 @@ They can be imported safely outside of the `dist` folder now as well. For more i
|
|
|
923
851
|
|
|
924
852
|
### Bug Fixes
|
|
925
853
|
|
|
926
|
-
|
|
927
|
-
|
|
854
|
+
- ensures text component is always controlled ([c649362](https://github.com/payloadcms/payload/commit/c649362b95f1ddaeb47cb121b814ca30712dea86))
|
|
928
855
|
|
|
929
856
|
### Features
|
|
930
857
|
|
|
931
|
-
|
|
858
|
+
- revises naming conventions of config types ([5a7e5b9](https://github.com/payloadcms/payload/commit/5a7e5b921d7803ec2da8cc3dc8162c1dd6828ca0))
|
|
932
859
|
|
|
933
860
|
## [0.7.10](https://github.com/payloadcms/payload/compare/v0.7.9...v0.7.10) (2021-07-27)
|
|
934
861
|
|
|
935
|
-
|
|
936
862
|
### Bug Fixes
|
|
937
863
|
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
864
|
+
- jest debug testing ([a2fa30f](https://github.com/payloadcms/payload/commit/a2fa30fad2cd9b8ab6ac4f3905706b97d5663954))
|
|
865
|
+
- skipValidation logic ([fedeaea](https://github.com/payloadcms/payload/commit/fedeaeafc9607f7c21e40c2df44923056e5d460c))
|
|
941
866
|
|
|
942
867
|
### Features
|
|
943
868
|
|
|
944
|
-
|
|
869
|
+
- improves conditional logic performance and edge cases ([d43390f](https://github.com/payloadcms/payload/commit/d43390f2a4c5ebeb7b9b0f07e003816005efc761))
|
|
945
870
|
|
|
946
871
|
## [0.7.9](https://github.com/payloadcms/payload/compare/v0.7.8...v0.7.9) (2021-07-27)
|
|
947
872
|
|
|
948
|
-
|
|
949
873
|
### Bug Fixes
|
|
950
874
|
|
|
951
|
-
|
|
952
|
-
|
|
875
|
+
- missing richtext gutter ([4d1249d](https://github.com/payloadcms/payload/commit/4d1249dd03f441ee872e66437118c3e8703aaefc))
|
|
953
876
|
|
|
954
877
|
### Features
|
|
955
878
|
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
879
|
+
- add admin description to collections and globals ([4544711](https://github.com/payloadcms/payload/commit/4544711f0e4ea0e78570b93717a4bf213946d9b3))
|
|
880
|
+
- add collection slug to schema validation errors ([ebfb72c](https://github.com/payloadcms/payload/commit/ebfb72c8fa0723ec75922c6fa4739b48ee82b29f))
|
|
881
|
+
- add component support to collection and global description ([fe0098c](https://github.com/payloadcms/payload/commit/fe0098ccd9b3477b47985222659a0e3fc2e7bb3b))
|
|
882
|
+
- add component support to field description ([e0933f6](https://github.com/payloadcms/payload/commit/e0933f612a70af0a18c88ef96e7af0878e20cf01))
|
|
883
|
+
- add customizable admin field descriptions ([dac60a0](https://github.com/payloadcms/payload/commit/dac60a024b0eb7197d5a501daea342827ee7c751))
|
|
884
|
+
- add descriptions to every allowed field type, globals and collections ([29a1108](https://github.com/payloadcms/payload/commit/29a1108518c7942f8ae06a990393a6e0ad4b6b16))
|
|
885
|
+
- add global slug and field names to schema validation errors ([bb63b4a](https://github.com/payloadcms/payload/commit/bb63b4aad153d125f68bf1fe1e9a3e4a5358ded9))
|
|
886
|
+
- improves group styling when there is no label ([ea358a6](https://github.com/payloadcms/payload/commit/ea358a66e8b8d2e54dd162eae0cf7066128cfabf))
|
|
964
887
|
|
|
965
888
|
## [0.7.8](https://github.com/payloadcms/payload/compare/v0.7.7...v0.7.8) (2021-07-23)
|
|
966
889
|
|
|
967
|
-
|
|
968
890
|
### Features
|
|
969
891
|
|
|
970
|
-
|
|
892
|
+
- fixes group label schema validation ([cbac888](https://github.com/payloadcms/payload/commit/cbac8887ddb7a4446f5502c577d4600905b13380))
|
|
971
893
|
|
|
972
894
|
## [0.7.7](https://github.com/payloadcms/payload/compare/v0.7.6...v0.7.7) (2021-07-23)
|
|
973
895
|
|
|
974
|
-
|
|
975
896
|
### Bug Fixes
|
|
976
897
|
|
|
977
|
-
|
|
978
|
-
|
|
898
|
+
- accurately documents the props for the datepicker field ([dcd8052](https://github.com/payloadcms/payload/commit/dcd8052498dd2900f228eaffcf6142b63e8e5a9b))
|
|
979
899
|
|
|
980
900
|
### Features
|
|
981
901
|
|
|
982
|
-
|
|
902
|
+
- only attempts to find config when payload is initialized ([266ccb3](https://github.com/payloadcms/payload/commit/266ccb374449b0a131a574d9b12275b6bb7e5c60))
|
|
983
903
|
|
|
984
904
|
## [0.7.6](https://github.com/payloadcms/payload/compare/v0.7.5...v0.7.6) (2021-07-07)
|
|
985
905
|
|
|
986
906
|
## [0.7.5](https://github.com/payloadcms/payload/compare/v0.7.4...v0.7.5) (2021-07-07)
|
|
987
907
|
|
|
988
|
-
|
|
989
908
|
### Bug Fixes
|
|
990
909
|
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
910
|
+
- crash on bullet list de-selection ([5388513](https://github.com/payloadcms/payload/commit/538851325d1558425918098e35e108595189774b))
|
|
911
|
+
- updates demo richtext elements with proper SCSS ([0075912](https://github.com/payloadcms/payload/commit/007591272f77e5dcc5e5a4a8f71459402f6605d4))
|
|
994
912
|
|
|
995
913
|
### Features
|
|
996
914
|
|
|
997
|
-
|
|
998
|
-
|
|
915
|
+
- adds plugins infrastructure ([6b25531](https://github.com/payloadcms/payload/commit/6b255315e0c475d700383f2738839966449fc563))
|
|
916
|
+
- enables backspace to deactivate richtext list elements ([91141ad](https://github.com/payloadcms/payload/commit/91141ad62f0f6ef3528e62eef23711e937d302ce))
|
|
999
917
|
|
|
1000
918
|
## [0.7.4](https://github.com/payloadcms/payload/compare/v0.7.3...v0.7.4) (2021-07-01)
|
|
1001
919
|
|
|
1002
|
-
|
|
1003
920
|
### Bug Fixes
|
|
1004
921
|
|
|
1005
|
-
|
|
922
|
+
- adds proper scss stylesheets to payload/scss ([84e31ae](https://github.com/payloadcms/payload/commit/84e31aed141efe5aa1b0c24a61bf35eb3d671242))
|
|
1006
923
|
|
|
1007
924
|
## [0.7.3](https://github.com/payloadcms/payload/compare/v0.7.2...v0.7.3) (2021-07-01)
|
|
1008
925
|
|
|
1009
|
-
|
|
1010
926
|
### Bug Fixes
|
|
1011
927
|
|
|
1012
|
-
|
|
1013
|
-
|
|
928
|
+
- changes scss imports to allow vars imports to payload projects ([ea80fd6](https://github.com/payloadcms/payload/commit/ea80fd68b14139cb01259a47ea597d33526d0c76))
|
|
1014
929
|
|
|
1015
930
|
### Features
|
|
1016
931
|
|
|
1017
|
-
|
|
932
|
+
- export all field prop types for custom components ([5bea9ae](https://github.com/payloadcms/payload/commit/5bea9ae1263f1d93e8b011ae97bb067a8c9bb4e1))
|
|
1018
933
|
|
|
1019
934
|
## [0.7.2](https://github.com/payloadcms/payload/compare/v0.7.1...v0.7.2) (2021-06-22)
|
|
1020
935
|
|
|
1021
|
-
|
|
1022
936
|
### Bug Fixes
|
|
1023
937
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
938
|
+
- parses incoming numbers through query string for use in where clauses ([4933b34](https://github.com/payloadcms/payload/commit/4933b34f6b5dfa960c2a830a8c74769d6712130a))
|
|
939
|
+
- respect maxDepth 0 ([95c1650](https://github.com/payloadcms/payload/commit/95c165018edf8e80c4dc828d3d77b6fa6d799de9))
|
|
940
|
+
- safely stringifies ObjectIDs while populating relationships ([d6bc6f9](https://github.com/payloadcms/payload/commit/d6bc6f9f0e8391818783cdf7edf282506e2c9fed))
|
|
1028
941
|
|
|
1029
942
|
### Features
|
|
1030
943
|
|
|
1031
|
-
|
|
944
|
+
- adds maxDepth to relationships and upload fields ([880dabd](https://github.com/payloadcms/payload/commit/880dabdcad10dcd9f057da71a601190fbeecf92d))
|
|
1032
945
|
|
|
1033
946
|
## [0.7.1](https://github.com/payloadcms/payload/compare/v0.7.0...v0.7.1) (2021-06-21)
|
|
1034
947
|
|
|
1035
|
-
|
|
1036
948
|
### Bug Fixes
|
|
1037
949
|
|
|
1038
|
-
|
|
950
|
+
- babel config file error ([3af2554](https://github.com/payloadcms/payload/commit/3af2554eacab45317745ad72c8848b4dd1ddc16a))
|
|
1039
951
|
|
|
1040
952
|
# [0.7.0](https://github.com/payloadcms/payload/compare/v0.6.10...v0.7.0) (2021-06-21)
|
|
1041
953
|
|
|
1042
|
-
|
|
1043
954
|
### Bug Fixes
|
|
1044
955
|
|
|
1045
|
-
|
|
1046
|
-
|
|
956
|
+
- handle all scenarios in select cell ([dd40ab0](https://github.com/payloadcms/payload/commit/dd40ab07fa359802578ed948136018dfc9a538c5))
|
|
1047
957
|
|
|
1048
958
|
### Features
|
|
1049
959
|
|
|
1050
|
-
|
|
1051
|
-
|
|
960
|
+
- exposes babel config via payload/babel ([#203](https://github.com/payloadcms/payload/issues/203)) ([67c1e28](https://github.com/payloadcms/payload/commit/67c1e280eb891a736703e242518bbeac8b8c2878))
|
|
961
|
+
- user preferences ([#195](https://github.com/payloadcms/payload/issues/195)) ([fb60bc7](https://github.com/payloadcms/payload/commit/fb60bc79a11d69c5dab6b4921d62614a7b914fef))
|
|
1052
962
|
|
|
1053
963
|
## [0.6.10](https://github.com/payloadcms/payload/compare/v0.6.9...v0.6.10) (2021-05-23)
|
|
1054
964
|
|
|
1055
965
|
## [0.6.9](https://github.com/payloadcms/payload/compare/v0.6.8...v0.6.9) (2021-05-16)
|
|
1056
966
|
|
|
1057
|
-
|
|
1058
967
|
### Bug Fixes
|
|
1059
968
|
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
969
|
+
- misc responsive improvements
|
|
970
|
+
- date clipping in sidebar ([#165](https://github.com/payloadcms/payload/issues/165))
|
|
971
|
+
- misc polish to popup component
|
|
972
|
+
- admin \_verified field not displaying proper field value
|
|
973
|
+
- properly typed express-fileupload config options ([#180](https://github.com/payloadcms/payload/issues/180))
|
|
1065
974
|
|
|
1066
975
|
## [0.6.8](https://github.com/payloadcms/payload/compare/v0.6.7...v0.6.8) (2021-05-12)
|
|
1067
976
|
|
|
1068
|
-
|
|
1069
977
|
### Features
|
|
1070
978
|
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
979
|
+
- add mimeTypes validation for uploads ([a5fcdf0](https://github.com/payloadcms/payload/commit/a5fcdf03bae681c5b2e0de6b681d20efe8ebdd7f))
|
|
980
|
+
- disables user scalable in mobile ([#177](https://github.com/payloadcms/payload/issues/177)) ([46c1a36](https://github.com/payloadcms/payload/commit/46c1a36fdb9363201b65ecdec44088cb41532bd6))
|
|
981
|
+
- exposes locale within preview function ([2d67448](https://github.com/payloadcms/payload/commit/2d67448d8ad1a7d4238820d0ccd93da961fc051c))
|
|
982
|
+
- restrict upload mime types in file picker ([1c6f32f](https://github.com/payloadcms/payload/commit/1c6f32f2881410a1534b61711af05fd35e7977c2))
|
|
1075
983
|
|
|
1076
984
|
## [0.6.7](https://github.com/payloadcms/payload/compare/v0.6.6...v0.6.7) (2021-05-07)
|
|
1077
985
|
|
|
1078
|
-
|
|
1079
986
|
### Features
|
|
1080
987
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
988
|
+
- add ability to hide gutter for RichText fields ([e791c5b](https://github.com/payloadcms/payload/commit/e791c5b7b325e58d273041ff426d19bafc4fc102))
|
|
989
|
+
- allows group field gutter to be disabled ([9aebeaf](https://github.com/payloadcms/payload/commit/9aebeaf579b9c8add64734dce92e4d92c0a1a24c))
|
|
990
|
+
- exposes component types ([99466fa](https://github.com/payloadcms/payload/commit/99466fa41e24779705f517d29d57e6174508ebcc))
|
|
991
|
+
- shrink image thumbnails on larger screens ([e565fa6](https://github.com/payloadcms/payload/commit/e565fa6f1ce13d76b8111e543d4c799a5d7f450e))
|
|
992
|
+
- support global date format ([670ccf2](https://github.com/payloadcms/payload/commit/670ccf2f589c306d13f3060b8acf4f4d33fcdd23))
|
|
1086
993
|
|
|
1087
994
|
## [0.6.6](https://github.com/payloadcms/payload/compare/v0.6.5...v0.6.6) (2021-04-27)
|
|
1088
995
|
|
|
1089
|
-
|
|
1090
996
|
### Bug Fixes
|
|
1091
997
|
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
998
|
+
- graphql returns compatible error format ([6f188b1](https://github.com/payloadcms/payload/commit/6f188b1fa6e631a992439f055e8e76c341ca6dfa))
|
|
999
|
+
- handle rich text saving as empty string ([382089b](https://github.com/payloadcms/payload/commit/382089b484b278e6ff491a2447ad06c41b96d5e3))
|
|
1000
|
+
- removes incoming.data.length check, since data is typed as a keyed array when it is an instance of APIError ([2643e1a](https://github.com/payloadcms/payload/commit/2643e1a1006f86b24001f65cf39da245fa4daaad))
|
|
1001
|
+
- support image resizing on M1 chip ([8cfc039](https://github.com/payloadcms/payload/commit/8cfc039cd0ffd497728f185b6ab45695302d3b95))
|
|
1002
|
+
- update operation can save password changes ([a85bf9e](https://github.com/payloadcms/payload/commit/a85bf9e836f9463d94f13857254f5d4df6f68c72))
|
|
1097
1003
|
|
|
1098
1004
|
## [0.6.5](https://github.com/payloadcms/payload/compare/v0.6.4...v0.6.5) (2021-04-22)
|
|
1099
1005
|
|
|
1100
|
-
|
|
1101
1006
|
### Features
|
|
1102
1007
|
|
|
1103
|
-
|
|
1008
|
+
- builds plugin infrastructure ([#149](https://github.com/payloadcms/payload/issues/149)) ([f17c6e4](https://github.com/payloadcms/payload/commit/f17c6e4010de07578af21398f667fa55bc8343bc))
|
|
1104
1009
|
|
|
1105
1010
|
## [0.6.4](https://github.com/payloadcms/payload/compare/v0.6.3...v0.6.4) (2021-04-21)
|
|
1106
1011
|
|
|
1107
|
-
|
|
1108
1012
|
### Bug Fixes
|
|
1109
1013
|
|
|
1110
|
-
|
|
1014
|
+
- allows \_verificationToken to come back via showHiddenFields ([74430ea](https://github.com/payloadcms/payload/commit/74430ea1519c1ba0ad655daf4e8f5d8dae855358))
|
|
1111
1015
|
|
|
1112
1016
|
## [0.6.3](https://github.com/payloadcms/payload/compare/v0.6.2...v0.6.3) (2021-04-21)
|
|
1113
1017
|
|
|
1114
|
-
|
|
1115
1018
|
### Bug Fixes
|
|
1116
1019
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1020
|
+
- make admin field properties in joi schema match TS types ([519c021](https://github.com/payloadcms/payload/commit/519c021525be114f43ad321233a9b8211d309ed0))
|
|
1021
|
+
- properly label arrays/blocks with plural and singular ([fa49811](https://github.com/payloadcms/payload/commit/fa49811377103db9241f43537e508da62eb19076))
|
|
1022
|
+
- safely parses incoming stringified richtext json ([9c95c75](https://github.com/payloadcms/payload/commit/9c95c750305633e99e7d80b5ba407b5b3146d691))
|
|
1120
1023
|
|
|
1121
1024
|
## [0.6.2](https://github.com/payloadcms/payload/compare/v0.6.1...v0.6.2) (2021-04-19)
|
|
1122
1025
|
|
|
1123
|
-
|
|
1124
1026
|
### Features
|
|
1125
1027
|
|
|
1126
|
-
|
|
1028
|
+
- modifies relationship field to react to changing relationTo ([ddf25fb](https://github.com/payloadcms/payload/commit/ddf25fbb6559d93dd5b9105bd4a0a952fc72154b))
|
|
1127
1029
|
|
|
1128
1030
|
## [0.6.1](https://github.com/payloadcms/payload/compare/v0.6.0...v0.6.1) (2021-04-19)
|
|
1129
1031
|
|
|
1130
|
-
|
|
1131
1032
|
### Bug Fixes
|
|
1132
1033
|
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1034
|
+
- cleans up duplicative columns ([5f2073a](https://github.com/payloadcms/payload/commit/5f2073ae685f22d099bc8f0d3e406e73ee59cd1d))
|
|
1035
|
+
- graphql localized relationship bugs ([280f809](https://github.com/payloadcms/payload/commit/280f8094217de759ba6424dfd2294a6bfcb1d57a))
|
|
1036
|
+
- moves enableRichTextRelationship to proper spot ([16ca22b](https://github.com/payloadcms/payload/commit/16ca22b4cc0d8e5d106fa8c8c6e2dde0ff972839))
|
|
1137
1037
|
|
|
1138
1038
|
### Features
|
|
1139
1039
|
|
|
1140
|
-
|
|
1040
|
+
- sets enableRichTextRelationship to true by default ([9970470](https://github.com/payloadcms/payload/commit/99704707dda25f8617d26552942915aa6e9d7a57))
|
|
1141
1041
|
|
|
1142
1042
|
# [0.6.0](https://github.com/payloadcms/payload/compare/v0.5.10...v0.6.0) (2021-04-19)
|
|
1143
1043
|
|
|
1144
1044
|
### BREAKING CHANGES
|
|
1145
1045
|
|
|
1146
|
-
|
|
1046
|
+
- By default, all Collection and Global access control functions are now set to require a user to be logged in to interact through GraphQL or REST APIs. This default access control is set to ensure that your API data is secure out of the box. From there, you can opt to publicly expose API actions as you need.
|
|
1147
1047
|
|
|
1148
|
-
#### Migration Instructions to `0.6.x
|
|
1048
|
+
#### Migration Instructions to `0.6.x`
|
|
1149
1049
|
|
|
1150
1050
|
If you have any Collections or Globals that should be publicly available without being logged in, you need to define an access control function for each operation that needs to be publicly available.
|
|
1151
1051
|
|
|
@@ -1153,743 +1053,582 @@ For example, if you have a `pages` collection with no existing access control, a
|
|
|
1153
1053
|
|
|
1154
1054
|
```js
|
|
1155
1055
|
const Page = {
|
|
1156
|
-
slug:
|
|
1056
|
+
slug: "pages",
|
|
1157
1057
|
access: {
|
|
1158
1058
|
// No `read` access control was set
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1059
|
+
},
|
|
1060
|
+
};
|
|
1161
1061
|
```
|
|
1162
1062
|
|
|
1163
1063
|
To:
|
|
1164
1064
|
|
|
1165
1065
|
```js
|
|
1166
1066
|
const Page = {
|
|
1167
|
-
slug:
|
|
1067
|
+
slug: "pages",
|
|
1168
1068
|
access: {
|
|
1169
1069
|
// Now we explicitly allow public read access
|
|
1170
1070
|
// to this collection's documents
|
|
1171
|
-
read: () => true
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1071
|
+
read: () => true,
|
|
1072
|
+
},
|
|
1073
|
+
};
|
|
1174
1074
|
```
|
|
1175
1075
|
|
|
1176
1076
|
If none of your collections or globals should be publicly exposed, you don't need to do anything to upgrade.
|
|
1177
1077
|
|
|
1178
1078
|
### Bug Fixes
|
|
1179
1079
|
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1080
|
+
- clears richtext element on enter, refocuses on toolbar button click ([4b19795](https://github.com/payloadcms/payload/commit/4b1979540d2ec33ce8396f572baba5e64962c0da))
|
|
1081
|
+
- ensures api keys are properly populated in admin ([4359a70](https://github.com/payloadcms/payload/commit/4359a70a8b0bca380cc513dfcb83b2fbe28cbef4))
|
|
1082
|
+
- ensures first relationship options are loaded only once ([75a5b04](https://github.com/payloadcms/payload/commit/75a5b047056b4e4e7a415a6903a1131cc61b0318))
|
|
1083
|
+
- searching on relationship fields properly fetches results ([b86c3da](https://github.com/payloadcms/payload/commit/b86c3daa9952ccc9db324fecd53bb75f69cecfd4))
|
|
1084
|
+
- upload useAsTitle set to filename by default ([7db23f8](https://github.com/payloadcms/payload/commit/7db23f8ebbf115ca45fa55718b0d1be18ca54cd3))
|
|
1186
1085
|
|
|
1187
1086
|
### Features
|
|
1188
1087
|
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1088
|
+
- autolabel fields when label is omitted ([#42](https://github.com/payloadcms/payload/issues/42)) ([b383eb6](https://github.com/payloadcms/payload/commit/b383eb65c6b524fd7cfddb7ac60a3f263e1b891e))
|
|
1089
|
+
- dynamically populates richtext relationships ([3530424](https://github.com/payloadcms/payload/commit/353042467f12458994d734cf54423eb95eea9003))
|
|
1090
|
+
- improve unique field value error handling ([21b2bd4](https://github.com/payloadcms/payload/commit/21b2bd4b6708823880fb87035495ab4c2c55da90))
|
|
1091
|
+
- improves margins in rich text elements ([20d7a01](https://github.com/payloadcms/payload/commit/20d7a01919634faa366add792f98a36e68f213e9))
|
|
1193
1092
|
|
|
1194
1093
|
## [0.5.10](https://github.com/payloadcms/payload/compare/v0.5.9...v0.5.10) (2021-04-14)
|
|
1195
1094
|
|
|
1196
|
-
|
|
1197
1095
|
### Bug Fixes
|
|
1198
1096
|
|
|
1199
|
-
|
|
1097
|
+
- feeds collectionSlug through me auth for graphql resolver ([9ee2f9c](https://github.com/payloadcms/payload/commit/9ee2f9c0dc25ea32ee0f0864e30afb389903b3cd))
|
|
1200
1098
|
|
|
1201
1099
|
## [0.5.9](https://github.com/payloadcms/payload/compare/v0.5.8...v0.5.9) (2021-04-14)
|
|
1202
1100
|
|
|
1203
1101
|
## [0.5.8](https://github.com/payloadcms/payload/compare/v0.5.7...v0.5.8) (2021-04-13)
|
|
1204
1102
|
|
|
1205
|
-
|
|
1206
1103
|
### Bug Fixes
|
|
1207
1104
|
|
|
1208
|
-
|
|
1105
|
+
- revises graphql import syntax ([20f1e6c](https://github.com/payloadcms/payload/commit/20f1e6cb044254af7a0db72cc9dab95d32db0333))
|
|
1209
1106
|
|
|
1210
1107
|
## [0.5.7](https://github.com/payloadcms/payload/compare/v0.5.5...v0.5.7) (2021-04-13)
|
|
1211
1108
|
|
|
1212
|
-
|
|
1213
1109
|
### Bug Fixes
|
|
1214
1110
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1111
|
+
- clears verificationToken when \_verified is true ([e58b152](https://github.com/payloadcms/payload/commit/e58b152d40394ec59b7a779feb3b9f02a6f4a0b6))
|
|
1112
|
+
- custom query / mutation types ([a78fc97](https://github.com/payloadcms/payload/commit/a78fc974b80b153028e4796b15d2b6b17fe023bb))
|
|
1113
|
+
- ensures email is still prefilled in auth configs ([31c41c2](https://github.com/payloadcms/payload/commit/31c41c22eca96721ce2982bcf5860dfd9e5c7beb))
|
|
1114
|
+
- ensures failed conditions send path to form ([dff72fb](https://github.com/payloadcms/payload/commit/dff72fbf2f49d372423da8bc2840aad6d9c1ea1b))
|
|
1115
|
+
- handle add/remove labels for all usage of Array field type ([ddf5df2](https://github.com/payloadcms/payload/commit/ddf5df290c5b36af0dc37a79c476001387f73275))
|
|
1116
|
+
- make upload cell mimetype inline ([414bc01](https://github.com/payloadcms/payload/commit/414bc01b055ed6075613f4241f185cb0c25f046d))
|
|
1117
|
+
- pagination calculation for current range ([000dee8](https://github.com/payloadcms/payload/commit/000dee85bd5858fe3d45e08c62943a6a1c6e349c))
|
|
1118
|
+
- updates config schema for graphQL mutations and queries ([afc9454](https://github.com/payloadcms/payload/commit/afc9454465d7445c45f560eade0b17d831b04e2c))
|
|
1224
1119
|
|
|
1225
1120
|
### Features
|
|
1226
1121
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1122
|
+
- auto verifies first user registration ([8f720c0](https://github.com/payloadcms/payload/commit/8f720c000df26d34f7f8652f170525c7d54184a5))
|
|
1123
|
+
- optimize save within Edit ([91d37fb](https://github.com/payloadcms/payload/commit/91d37fb41d820fe2cdcdbb28f999df2de751316e))
|
|
1124
|
+
- prevents DraggableSections from re-mounting on doc save ([0094837](https://github.com/payloadcms/payload/commit/00948376358a4bfecc3a6cb8cf0a6ad9a0b5a227))
|
|
1125
|
+
- remembers conditional field values after removing / readding ([988d0a4](https://github.com/payloadcms/payload/commit/988d0a4b08e1228bb358bb133bcb05dbce7f55ab))
|
|
1126
|
+
- remove mimetype from upload cell type ([776b9c9](https://github.com/payloadcms/payload/commit/776b9c9c30b6d9d795c509a558fd1eee666b2652))
|
|
1232
1127
|
|
|
1233
1128
|
## [0.5.5](https://github.com/payloadcms/payload/compare/v0.5.4...v0.5.5) (2021-04-02)
|
|
1234
1129
|
|
|
1235
|
-
|
|
1236
1130
|
### Features
|
|
1237
1131
|
|
|
1238
|
-
|
|
1132
|
+
- allows soft breaks in rich text ([ecd277d](https://github.com/payloadcms/payload/commit/ecd277da7dff24dc49f6061e7d50e4b21bc285c9))
|
|
1239
1133
|
|
|
1240
1134
|
## [0.5.4](https://github.com/payloadcms/payload/compare/v0.5.2...v0.5.4) (2021-04-02)
|
|
1241
1135
|
|
|
1242
|
-
|
|
1243
1136
|
### Bug Fixes
|
|
1244
1137
|
|
|
1245
|
-
|
|
1246
|
-
|
|
1138
|
+
- ensures arrays and blocks reset row count on initialState change ([9a7c0e3](https://github.com/payloadcms/payload/commit/9a7c0e3dbdf4e6decb03ae085a41fb239fd5b7a8))
|
|
1139
|
+
- unique indices ([23c45f1](https://github.com/payloadcms/payload/commit/23c45f137ac97c99ed38969bed64928f2ce2795e))
|
|
1247
1140
|
|
|
1248
1141
|
## [0.5.2](https://github.com/payloadcms/payload/compare/v0.5.1...v0.5.2) (2021-03-31)
|
|
1249
1142
|
|
|
1250
|
-
|
|
1251
1143
|
### Bug Fixes
|
|
1252
1144
|
|
|
1253
|
-
|
|
1145
|
+
- modal issues with richtext relationship ([8ea4407](https://github.com/payloadcms/payload/commit/8ea4407f04fd4b63df6afffbe15301f7d5746016))
|
|
1254
1146
|
|
|
1255
1147
|
## [0.5.1](https://github.com/payloadcms/payload/compare/v0.5.0...v0.5.1) (2021-03-29)
|
|
1256
1148
|
|
|
1257
|
-
|
|
1258
1149
|
### Bug Fixes
|
|
1259
1150
|
|
|
1260
|
-
|
|
1151
|
+
- base auth / upload fields no longer cause validation issues ([23e1fc3](https://github.com/payloadcms/payload/commit/23e1fc3f73673d4694763908bb819c77bf600702))
|
|
1261
1152
|
|
|
1262
1153
|
# [0.5.0](https://github.com/payloadcms/payload/compare/v0.4.7...v0.5.0) (2021-03-29)
|
|
1263
1154
|
|
|
1264
1155
|
### BREAKING CHANGES
|
|
1265
|
-
* changes global find and update payload api from global to slug as the key to find/update with ([c71ba2b](https://github.com/payloadcms/payload/commit/c71ba2b079d109d4028d74f76603905d9382d364))
|
|
1266
1156
|
|
|
1157
|
+
- changes global find and update payload api from global to slug as the key to find/update with ([c71ba2b](https://github.com/payloadcms/payload/commit/c71ba2b079d109d4028d74f76603905d9382d364))
|
|
1267
1158
|
|
|
1268
1159
|
### Bug Fixes
|
|
1269
1160
|
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1161
|
+
- allows absolute urls within adminThumbnail ([51b46d4](https://github.com/payloadcms/payload/commit/51b46d44b0c88387d8b23859129f163b581bf1cc))
|
|
1162
|
+
- handles empty indices within array field data ([d47e2c5](https://github.com/payloadcms/payload/commit/d47e2c57868667f2ff9ca87aa9ad862687bd985e))
|
|
1163
|
+
- moving nested arrays now properly persists row count ([5f9a5c8](https://github.com/payloadcms/payload/commit/5f9a5c859eca8854592b2a7a32bef50db4584709))
|
|
1164
|
+
- validation consistency within admin ([50b9937](https://github.com/payloadcms/payload/commit/50b99370d2b849e858fd64e6018ebf0e94103998))
|
|
1275
1165
|
|
|
1276
1166
|
### Features
|
|
1277
1167
|
|
|
1278
|
-
|
|
1168
|
+
- saves cursor position when relationship element is added to richText ([d24b3f7](https://github.com/payloadcms/payload/commit/d24b3f72ce222e4551c12e202238f171f9cc4b97))
|
|
1279
1169
|
|
|
1280
1170
|
## [0.4.7](https://github.com/payloadcms/payload/compare/v0.4.6...v0.4.7) (2021-03-15)
|
|
1281
1171
|
|
|
1282
1172
|
## [0.4.6](https://github.com/payloadcms/payload/compare/v0.4.5...v0.4.6) (2021-03-14)
|
|
1283
1173
|
|
|
1284
|
-
|
|
1285
1174
|
### Features
|
|
1286
1175
|
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1176
|
+
- allows admin thumbnail to be set programmatically ([b6a9fe4](https://github.com/payloadcms/payload/commit/b6a9fe4bcfc85815a60a3fe8d3cb38b7ae673424))
|
|
1177
|
+
- exports collection field hook types from payload/types ([36aae5c](https://github.com/payloadcms/payload/commit/36aae5c37f8ea8c5dde16a898a28b9301efa6a5b))
|
|
1178
|
+
- only runs adminThumbnail func if image type ([5e1ddb5](https://github.com/payloadcms/payload/commit/5e1ddb552ee9fc8972c9537eee62cddc93a24f42))
|
|
1179
|
+
- provides field access control with document data ([339f750](https://github.com/payloadcms/payload/commit/339f7503a41802421bb38c8cf5da0f0f1573bdd6))
|
|
1180
|
+
- reorders uploads to provide beforeChange hooks with upload data ([3c42e6e](https://github.com/payloadcms/payload/commit/3c42e6e6af849a8acc45e93017b0eafea74ecdba))
|
|
1292
1181
|
|
|
1293
1182
|
## [0.4.5](https://github.com/payloadcms/payload/compare/v0.4.4...v0.4.5) (2021-03-04)
|
|
1294
1183
|
|
|
1295
1184
|
### Bug Fixes
|
|
1296
|
-
|
|
1185
|
+
|
|
1186
|
+
- config validation allow admin dashboard ([2d1d1b4](https://github.com/payloadcms/payload/commit/2d1d1b4f32bcc6ee1ce709208ae28369611e5bdd))
|
|
1297
1187
|
|
|
1298
1188
|
## [0.4.4](https://github.com/payloadcms/payload/compare/v0.4.3...v0.4.4) (2021-03-04)
|
|
1299
1189
|
|
|
1300
1190
|
### Bug Fixes
|
|
1301
|
-
|
|
1191
|
+
|
|
1192
|
+
- email verification template missing token ([93ed664](https://github.com/payloadcms/payload/commit/93ed6649201511edfaea14c199022f05623c404c))
|
|
1302
1193
|
|
|
1303
1194
|
## [0.4.1](https://github.com/payloadcms/payload/compare/v0.4.0...v0.4.3) (2021-03-04)
|
|
1304
1195
|
|
|
1305
1196
|
### Documentation
|
|
1306
|
-
|
|
1197
|
+
|
|
1198
|
+
- fixed broken links throughout docs ([3afefbe](https://github.com/payloadcms/payload/commit/3afefbe5922ee7aff496a96c61ff9a5270d6a7cb))
|
|
1307
1199
|
|
|
1308
1200
|
## [0.4.0](https://github.com/payloadcms/payload/compare/v0.3.0...v0.4.0) (2021-02-28)
|
|
1309
1201
|
|
|
1310
1202
|
### Breaking Changes
|
|
1311
|
-
|
|
1203
|
+
|
|
1204
|
+
- reverts preview function to only requiring the return of a preview URL ([ca14e66](https://github.com/payloadcms/payload/commit/ca14e66a580fea94ef71416edf6c8caffcf446b0))
|
|
1312
1205
|
|
|
1313
1206
|
### Features
|
|
1314
|
-
* implements new billing model, including new Personal license which is free forever ([c97ddeb](https://github.com/payloadcms/payload/commit/c97ddeb2d96f949604d46212166c4784330cc72d))
|
|
1315
|
-
* simplifies logic in update operations ([e268e25](https://github.com/payloadcms/payload/commit/e268e25719dd4ebd1a6818dca86d12dc057386ca))
|
|
1316
|
-
* removes the requirement of returning a value from field hooks ([4de5605](https://github.com/payloadcms/payload/commit/4de56059319a6d13b6f0ec20ac4d344f265446bf))
|
|
1317
1207
|
|
|
1208
|
+
- implements new billing model, including new Personal license which is free forever ([c97ddeb](https://github.com/payloadcms/payload/commit/c97ddeb2d96f949604d46212166c4784330cc72d))
|
|
1209
|
+
- simplifies logic in update operations ([e268e25](https://github.com/payloadcms/payload/commit/e268e25719dd4ebd1a6818dca86d12dc057386ca))
|
|
1210
|
+
- removes the requirement of returning a value from field hooks ([4de5605](https://github.com/payloadcms/payload/commit/4de56059319a6d13b6f0ec20ac4d344f265446bf))
|
|
1318
1211
|
|
|
1319
1212
|
### Bug Fixes
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1213
|
+
|
|
1214
|
+
- properly exposes scss variables for re-use ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1215
|
+
- explicitly sets modal z-index and css breakpoints ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1216
|
+
- removes `overwrite` from update operation to ensure hidden fields don't get lost on document update ([a8e2cc1](https://github.com/payloadcms/payload/commit/a8e2cc11af177641409ff7726ed8c4f1a154dee4))
|
|
1323
1217
|
|
|
1324
1218
|
## [0.3.0](https://github.com/payloadcms/payload/compare/v0.2.13...v0.3.0) (2021-02-23)
|
|
1325
1219
|
|
|
1326
1220
|
### Bug Fixes
|
|
1327
|
-
* properly exposes scss variables for re-use ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1328
|
-
* explicitly sets modal z-index and css breakpoints ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1329
|
-
* removes `overwrite` from update operation to ensure hidden fields don't get lost on document update ([a8e2cc1](https://github.com/payloadcms/payload/commit/a8e2cc11af177641409ff7726ed8c4f1a154dee4))
|
|
1330
1221
|
|
|
1222
|
+
- properly exposes scss variables for re-use ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1223
|
+
- explicitly sets modal z-index and css breakpoints ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
|
|
1224
|
+
- removes `overwrite` from update operation to ensure hidden fields don't get lost on document update ([a8e2cc1](https://github.com/payloadcms/payload/commit/a8e2cc11af177641409ff7726ed8c4f1a154dee4))
|
|
1331
1225
|
|
|
1332
1226
|
## [0.2.13](https://github.com/payloadcms/payload/compare/v0.2.12...v0.2.13) (2021-02-20)
|
|
1333
1227
|
|
|
1334
1228
|
### Breaking Changes
|
|
1335
|
-
|
|
1229
|
+
|
|
1230
|
+
- Preview function now no longer takes form field state as an arg and instead takes a copy of the document itself
|
|
1336
1231
|
|
|
1337
1232
|
### Features
|
|
1338
|
-
|
|
1339
|
-
|
|
1233
|
+
|
|
1234
|
+
- supports newTab in Button, updates generatePreviewURL api to forward through PreviewButton ([6b6297f](https://github.com/payloadcms/payload/commit/6b6297fb2d22b813f45729429b7efbe9a6ab97da))
|
|
1235
|
+
- detaches localization from mongoose entirely ([162ec74](https://github.com/payloadcms/payload/commit/162ec74445c51a79cd50f75ffb56de8e4bcf9ace))
|
|
1340
1236
|
|
|
1341
1237
|
### Bug Fixes
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1238
|
+
|
|
1239
|
+
- infinite loop caused within block component ([9e42d11](https://github.com/payloadcms/payload/commit/9e42d119e471b0efe0d6f69e99d0e31ba5e9237f))
|
|
1240
|
+
- sets sparse true if field localized and unique ([2bc5c59](https://github.com/payloadcms/payload/commit/2bc5c59fec842cd5c5adf201084cdba9b0cab310))
|
|
1241
|
+
- returns entire doc to generatePreviewURL callback of PreviewButton ([9b9d0f2](https://github.com/payloadcms/payload/commit/9b9d0f24b54d46c24734f30ed9640d25e6c19097))
|
|
1242
|
+
- log mongoose connect error message ([e36c7d2](https://github.com/payloadcms/payload/commit/e36c7d269c4b5b49d6c85f416b26196999aadfc0))
|
|
1346
1243
|
|
|
1347
1244
|
### Documentation
|
|
1348
|
-
* removes incorrect hasMany from upload field type ([e549298](https://github.com/payloadcms/payload/commit/e549298ad5a9a6116659258bb738f5d87abe4ff7))
|
|
1349
1245
|
|
|
1246
|
+
- removes incorrect hasMany from upload field type ([e549298](https://github.com/payloadcms/payload/commit/e549298ad5a9a6116659258bb738f5d87abe4ff7))
|
|
1350
1247
|
|
|
1351
1248
|
## [0.2.12](https://github.com/payloadcms/payload/compare/v0.2.11...v0.2.12) (2021-02-1-0)
|
|
1352
1249
|
|
|
1353
1250
|
### Bug Fixes
|
|
1354
|
-
* middleware for cors set up on static files
|
|
1355
|
-
* windows compatible upload filename paths
|
|
1356
1251
|
|
|
1252
|
+
- middleware for cors set up on static files
|
|
1253
|
+
- windows compatible upload filename paths
|
|
1357
1254
|
|
|
1358
1255
|
## [0.2.11](https://github.com/payloadcms/payload/compare/v0.2.11...v0.2.12) (2021-02-05)
|
|
1359
1256
|
|
|
1360
1257
|
### Bug Fixes
|
|
1361
|
-
* middleware for cors set up on static files ([55e0de1](https://github.com/payloadcms/payload/commit/55e0de1719ec387e2182bf33922602243f7eda94))
|
|
1362
|
-
* file size in local operations ([0feb7b7](https://github.com/payloadcms/payload/commit/0feb7b7379de6429cf5cb1cdbdad0142f72cc5dc))
|
|
1363
1258
|
|
|
1259
|
+
- middleware for cors set up on static files ([55e0de1](https://github.com/payloadcms/payload/commit/55e0de1719ec387e2182bf33922602243f7eda94))
|
|
1260
|
+
- file size in local operations ([0feb7b7](https://github.com/payloadcms/payload/commit/0feb7b7379de6429cf5cb1cdbdad0142f72cc5dc))
|
|
1364
1261
|
|
|
1365
1262
|
## [0.2.11](https://github.com/payloadcms/payload/compare/v0.2.10...v0.2.11) (2021-02-05)
|
|
1366
1263
|
|
|
1367
1264
|
### Features
|
|
1368
|
-
|
|
1265
|
+
|
|
1266
|
+
- allows upload through Local API ([1a59028](https://github.com/payloadcms/payload/commit/1a590287ea181e4548c8e75d8cdb25ada5cbbdbf))
|
|
1369
1267
|
|
|
1370
1268
|
### Bug Fixes
|
|
1371
|
-
* fix localization within blocks ([e50fc1f](https://github.com/payloadcms/payload/commit/e50fc1f3142ae5e387cef3c778988c473b04417e))
|
|
1372
|
-
* forces fallbackLocale to null in update ops ([3005360](https://github.com/payloadcms/payload/commit/300536033ffe50a2eaedd2a714e844a5282f2ef0))
|
|
1373
1269
|
|
|
1270
|
+
- fix localization within blocks ([e50fc1f](https://github.com/payloadcms/payload/commit/e50fc1f3142ae5e387cef3c778988c473b04417e))
|
|
1271
|
+
- forces fallbackLocale to null in update ops ([3005360](https://github.com/payloadcms/payload/commit/300536033ffe50a2eaedd2a714e844a5282f2ef0))
|
|
1374
1272
|
|
|
1375
1273
|
## [0.2.10](https://github.com/payloadcms/payload/compare/v0.2.9...v0.2.10) (2021-02-04)
|
|
1376
1274
|
|
|
1377
1275
|
### Features
|
|
1378
|
-
|
|
1379
|
-
|
|
1276
|
+
|
|
1277
|
+
- add support for setting mongoose connection options ([82c4898](https://github.com/payloadcms/payload/commit/82c489841c418b953c7f08d30c8b19751ff050f4))
|
|
1278
|
+
- admin ui create first user add confirm password field (<https://github.com/payloadcms/payload/commit/60453fec9ee17e8f83f7e98c5e2b2e39bc6d0365>)
|
|
1380
1279
|
|
|
1381
1280
|
### Bug Fixes
|
|
1382
|
-
* flag scss variables with default ([8916e8a](https://github.com/payloadcms/payload/commit/8916e8af45e179748bf6f2a75216e8d1c35958f2))
|
|
1383
|
-
* relationship component hasMany bug ([d540706](https://github.com/payloadcms/payload/commit/d5407060d079c333081b0298e45dfe866d31b86e))
|
|
1384
|
-
* hide force unlock in admin ui when creating auth collection item ([3bd0de0](https://github.com/payloadcms/payload/commit/3bd0de0a0b6832f5940474c8c40fd85f6fcd1b74))
|
|
1385
1281
|
|
|
1282
|
+
- flag scss variables with default ([8916e8a](https://github.com/payloadcms/payload/commit/8916e8af45e179748bf6f2a75216e8d1c35958f2))
|
|
1283
|
+
- relationship component hasMany bug ([d540706](https://github.com/payloadcms/payload/commit/d5407060d079c333081b0298e45dfe866d31b86e))
|
|
1284
|
+
- hide force unlock in admin ui when creating auth collection item ([3bd0de0](https://github.com/payloadcms/payload/commit/3bd0de0a0b6832f5940474c8c40fd85f6fcd1b74))
|
|
1386
1285
|
|
|
1387
1286
|
## [0.2.9](https://github.com/payloadcms/payload/compare/v0.2.6...v0.2.9) (2021-01-27)
|
|
1388
1287
|
|
|
1389
1288
|
### Bug Fixes
|
|
1390
1289
|
|
|
1391
|
-
|
|
1290
|
+
- field validation type can return promise ([06ddab1](https://github.com/payloadcms/payload/commit/06ddab124919b28b74667e36e315682a0c9cf459))
|
|
1392
1291
|
|
|
1393
1292
|
## [0.2.8](https://github.com/payloadcms/payload/compare/v0.2.6...v0.2.8) (2021-01-25)
|
|
1394
1293
|
|
|
1395
1294
|
### Chore
|
|
1396
1295
|
|
|
1397
|
-
|
|
1296
|
+
- add bugs and keywords to package.json ([37f5b32](https://github.com/payloadcms/payload/commit/37f5b3283363220caa63a5066011b1cb9841812d))
|
|
1398
1297
|
|
|
1399
1298
|
## [0.2.6](https://github.com/payloadcms/payload/compare/v0.2.5...v0.2.6) (2021-01-25)
|
|
1400
1299
|
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
1300
|
## [0.2.5](https://github.com/payloadcms/payload/compare/v0.2.4...v0.2.5) (2021-01-25)
|
|
1404
1301
|
|
|
1405
|
-
|
|
1406
1302
|
### Bug Fixes
|
|
1407
1303
|
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1304
|
+
- field gutter padding ([90d2078](https://github.com/payloadcms/payload/commit/90d20786c33b2ef4ea937e75769c023c5776db1b))
|
|
1305
|
+
- richtext sticky toolbar within block ([8218343](https://github.com/payloadcms/payload/commit/8218343b6cf629faed0f752fb27b546684580ec4))
|
|
1412
1306
|
|
|
1413
1307
|
## [0.2.4](https://github.com/payloadcms/payload/compare/v0.2.3...v0.2.4) (2021-01-24)
|
|
1414
1308
|
|
|
1415
|
-
|
|
1416
1309
|
### Bug Fixes
|
|
1417
1310
|
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1311
|
+
- block field styles ([36f0bd8](https://github.com/payloadcms/payload/commit/36f0bd81eb340b6d8ac3011a4b10e828e79c20d8))
|
|
1421
1312
|
|
|
1422
1313
|
## [0.2.3](https://github.com/payloadcms/payload/compare/v0.2.2...v0.2.3) (2021-01-24)
|
|
1423
1314
|
|
|
1424
|
-
|
|
1425
1315
|
### Bug Fixes
|
|
1426
1316
|
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1317
|
+
- ensures modal heights are 100% of viewport ([7edab5d](https://github.com/payloadcms/payload/commit/7edab5d3543db27c444b180548fc076dd483848a))
|
|
1430
1318
|
|
|
1431
1319
|
## [0.2.2](https://github.com/payloadcms/payload/compare/v0.2.1...v0.2.2) (2021-01-24)
|
|
1432
1320
|
|
|
1433
|
-
|
|
1434
1321
|
### Bug Fixes
|
|
1435
1322
|
|
|
1436
|
-
|
|
1437
|
-
|
|
1323
|
+
- revert serverURL config change ([f558bd2](https://github.com/payloadcms/payload/commit/f558bd2733a82f1ed9d14604f8b3dea5bb5e8ef5))
|
|
1438
1324
|
|
|
1439
1325
|
### Features
|
|
1440
1326
|
|
|
1441
|
-
|
|
1442
|
-
|
|
1327
|
+
- adds better serverURL validation ([75056e2](https://github.com/payloadcms/payload/commit/75056e2e13c4d5f9a2d4341282b6c1f4c42e1609))
|
|
1443
1328
|
|
|
1444
1329
|
### Reverts
|
|
1445
1330
|
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1331
|
+
- Revert "docs: configuration overview describe serverURL and removed from code examples where not needed" ([bd446b6](https://github.com/payloadcms/payload/commit/bd446b60b8c56857fb99cda5a9f8a93216efc8b0))
|
|
1449
1332
|
|
|
1450
1333
|
## [0.2.1](https://github.com/payloadcms/payload/compare/v0.2.0...v0.2.1) (2021-01-24)
|
|
1451
1334
|
|
|
1452
|
-
|
|
1453
1335
|
### Features
|
|
1454
1336
|
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1337
|
+
- exposes further types ([e056348](https://github.com/payloadcms/payload/commit/e056348850638f3c621072668a4a9232492c209b))
|
|
1458
1338
|
|
|
1459
1339
|
# [0.2.0](https://github.com/payloadcms/payload/compare/v0.1.146...v0.2.0) (2021-01-23)
|
|
1460
1340
|
|
|
1461
|
-
|
|
1462
1341
|
### Bug Fixes
|
|
1463
1342
|
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1343
|
+
- better error handler when sendMail fails ([ea47736](https://github.com/payloadcms/payload/commit/ea47736274b3b176da534b461907da4ddeffa5e9))
|
|
1344
|
+
- button css specificity ([d8b5233](https://github.com/payloadcms/payload/commit/d8b52337b2d34785817b536fe7017853bbc3b5a6))
|
|
1345
|
+
- migrates Condition UI value/operator pattern ([d23cc20](https://github.com/payloadcms/payload/commit/d23cc20b3d0fa061a2b8111f65e04dd5d35a5557))
|
|
1346
|
+
- target es2019, optional chaining not supported for Node < 14 ([52a0096](https://github.com/payloadcms/payload/commit/52a0096d3b8eca47a8afdef42d47117d028b754d))
|
|
1469
1347
|
|
|
1470
1348
|
### Features
|
|
1471
1349
|
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1350
|
+
- adds contributing guidelines ([de5bf6e](https://github.com/payloadcms/payload/commit/de5bf6ea280f771e96de703b3732f851903b1fe5))
|
|
1351
|
+
- allows admins to autoverify via admin ([a6a23e3](https://github.com/payloadcms/payload/commit/a6a23e3b154802e5ec874760b3d3e44e90f56e7c))
|
|
1352
|
+
- auto-removes verificationToken upon manual user verify ([2139eb4](https://github.com/payloadcms/payload/commit/2139eb410f8c95505ef7b90e35a099b0955d4e12))
|
|
1353
|
+
- serverURL no longer required in config ([4770f24](https://github.com/payloadcms/payload/commit/4770f24adb50367ec6f6637cafc3f076023b0416))
|
|
1478
1354
|
|
|
1479
1355
|
## [0.1.146](https://github.com/payloadcms/payload/compare/v0.1.145...v0.1.146) (2021-01-18)
|
|
1480
1356
|
|
|
1481
|
-
|
|
1482
1357
|
### Bug Fixes
|
|
1483
1358
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1359
|
+
- localized groups ([f38e0fc](https://github.com/payloadcms/payload/commit/f38e0fce981a188b0adb2050cfe8a8e0f047e606))
|
|
1360
|
+
- textarea handle undefined ([ba31397](https://github.com/payloadcms/payload/commit/ba31397ac15402eb3837bcbe454e0aaf82ecbf03))
|
|
1488
1361
|
|
|
1489
1362
|
## [0.1.145](https://github.com/payloadcms/payload/compare/v0.1.144...v0.1.145) (2021-01-17)
|
|
1490
1363
|
|
|
1491
|
-
|
|
1492
1364
|
### Bug Fixes
|
|
1493
1365
|
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1366
|
+
- add minLength and maxLength to textarea field validations ([2c98087](https://github.com/payloadcms/payload/commit/2c98087c6f40c32dcbccf557aa61ebf8fc1fe17f))
|
|
1367
|
+
- minLength field validation error messages ([5e60b86](https://github.com/payloadcms/payload/commit/5e60b8617e715378831f10b90dedd017ed8d4a8c))
|
|
1498
1368
|
|
|
1499
1369
|
## [0.1.144](https://github.com/payloadcms/payload/compare/v0.1.143...v0.1.144) (2021-01-16)
|
|
1500
1370
|
|
|
1501
|
-
|
|
1502
1371
|
### Bug Fixes
|
|
1503
1372
|
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1373
|
+
- add default user to collections before checking for valid relationships ([b2d05c7](https://github.com/payloadcms/payload/commit/b2d05c781d7751bbede9e37996cbdc0736d07a66))
|
|
1374
|
+
- handle user collection 'auth: true' ([c303711](https://github.com/payloadcms/payload/commit/c3037118133a242769dfa4a31914e8e61068edcf))
|
|
1508
1375
|
|
|
1509
1376
|
## [0.1.143](https://github.com/payloadcms/payload/compare/v0.1.142...v0.1.143) (2021-01-14)
|
|
1510
1377
|
|
|
1511
|
-
|
|
1512
1378
|
### Bug Fixes
|
|
1513
1379
|
|
|
1514
|
-
|
|
1515
|
-
|
|
1380
|
+
- payload schema validation allow '\*' ([bd92b0a](https://github.com/payloadcms/payload/commit/bd92b0a94ba3562b01000a58a4bc0e0071c1f35b))
|
|
1516
1381
|
|
|
1517
1382
|
### Features
|
|
1518
1383
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1384
|
+
- allows undefined collections ([6bb58ce](https://github.com/payloadcms/payload/commit/6bb58cecd8bc0b8faa42bc8995ec5da0421375db))
|
|
1522
1385
|
|
|
1523
1386
|
## [0.1.142](https://github.com/payloadcms/payload/compare/v0.1.141...v0.1.142) (2021-01-09)
|
|
1524
1387
|
|
|
1525
|
-
|
|
1526
1388
|
### Bug Fixes
|
|
1527
1389
|
|
|
1528
|
-
|
|
1529
|
-
|
|
1390
|
+
- adds disableDuplicate to schema validation of collections config ([e9ed7ee](https://github.com/payloadcms/payload/commit/e9ed7ee4bdc99bdcc0d86272816f3d5c6904ac2b))
|
|
1530
1391
|
|
|
1531
1392
|
### Features
|
|
1532
1393
|
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1394
|
+
- add getAdminURL and getAPIURL functions ([8db73bb](https://github.com/payloadcms/payload/commit/8db73bbec22646bc626d17bb783b10ea2d837520))
|
|
1395
|
+
- adds build to CI ([87a1717](https://github.com/payloadcms/payload/commit/87a1717dcae8ec30892cebc46e88cabe8e62bf4c))
|
|
1396
|
+
- disable graphQL flag that will bypass gql on payload init ([d78c76e](https://github.com/payloadcms/payload/commit/d78c76e0b4b7e2c2cc834a2a1288ec75468852ec))
|
|
1538
1397
|
|
|
1539
1398
|
## [0.1.141](https://github.com/payloadcms/payload/compare/v0.1.140...v0.1.141) (2021-01-07)
|
|
1540
1399
|
|
|
1541
|
-
|
|
1542
1400
|
### Bug Fixes
|
|
1543
1401
|
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1402
|
+
- properly exports ES6 components ([f493263](https://github.com/payloadcms/payload/commit/f49326395dba523c2193c46a8ca4142ff761f3fd))
|
|
1547
1403
|
|
|
1548
1404
|
## [0.1.140](https://github.com/payloadcms/payload/compare/v0.1.139...v0.1.140) (2021-01-07)
|
|
1549
1405
|
|
|
1550
|
-
|
|
1551
1406
|
### Bug Fixes
|
|
1552
1407
|
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1408
|
+
- admin field error messages ([423df3f](https://github.com/payloadcms/payload/commit/423df3f83af0f899b4a9eafa041ab7c79ccfac78))
|
|
1556
1409
|
|
|
1557
1410
|
## [0.1.139](https://github.com/payloadcms/payload/compare/v0.1.138...v0.1.139) (2021-01-06)
|
|
1558
1411
|
|
|
1559
|
-
|
|
1560
1412
|
### Bug Fixes
|
|
1561
1413
|
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1414
|
+
- improves typing in delete op ([644519c](https://github.com/payloadcms/payload/commit/644519c539f6fda29d7b61978416b70306d0ea35))
|
|
1415
|
+
- use FileSize and ImageSize types ([4d6871a](https://github.com/payloadcms/payload/commit/4d6871abc854385121c761eea4e4705f45c35832))
|
|
1566
1416
|
|
|
1567
1417
|
## [0.1.138](https://github.com/payloadcms/payload/compare/v0.1.137...v0.1.138) (2021-01-06)
|
|
1568
1418
|
|
|
1569
|
-
|
|
1570
1419
|
### Bug Fixes
|
|
1571
1420
|
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1421
|
+
- removes old css ([6066f28](https://github.com/payloadcms/payload/commit/6066f2896a5c1e21137d41404f2a6161ef6de7a2))
|
|
1575
1422
|
|
|
1576
1423
|
## [0.1.137](https://github.com/payloadcms/payload/compare/v0.1.136...v0.1.137) (2021-01-05)
|
|
1577
1424
|
|
|
1578
|
-
|
|
1579
1425
|
### Bug Fixes
|
|
1580
1426
|
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1427
|
+
- removes prod devtool ([6808637](https://github.com/payloadcms/payload/commit/680863702e67d69dc4ec8d6a48b0e1402164cc97))
|
|
1584
1428
|
|
|
1585
1429
|
## [0.1.136](https://github.com/payloadcms/payload/compare/v0.1.135...v0.1.136) (2021-01-05)
|
|
1586
1430
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
1431
|
## [0.1.135](https://github.com/payloadcms/payload/compare/v0.1.134...v0.1.135) (2021-01-05)
|
|
1590
1432
|
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
1433
|
## [0.1.134](https://github.com/payloadcms/payload/compare/v0.1.133...v0.1.134) (2021-01-05)
|
|
1594
1434
|
|
|
1595
|
-
|
|
1596
1435
|
### Bug Fixes
|
|
1597
1436
|
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1437
|
+
- updates payload-config path within webpack ([6bf141c](https://github.com/payloadcms/payload/commit/6bf141c6d4707e622f56f5df4f8f3f366d847173))
|
|
1601
1438
|
|
|
1602
1439
|
## [0.1.133](https://github.com/payloadcms/payload/compare/v0.1.132...v0.1.133) (2021-01-05)
|
|
1603
1440
|
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
1441
|
## [0.1.132](https://github.com/payloadcms/payload/compare/v0.1.131...v0.1.132) (2021-01-05)
|
|
1607
1442
|
|
|
1608
|
-
|
|
1609
1443
|
### Bug Fixes
|
|
1610
1444
|
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1445
|
+
- renames webpack config alias ([c0636df](https://github.com/payloadcms/payload/commit/c0636dfe220b72c129c4e2b144e5714755a20043))
|
|
1614
1446
|
|
|
1615
1447
|
## [0.1.131](https://github.com/payloadcms/payload/compare/v0.1.130...v0.1.131) (2021-01-05)
|
|
1616
1448
|
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
1449
|
## [0.1.130](https://github.com/payloadcms/payload/compare/v0.1.129...v0.1.130) (2021-01-05)
|
|
1620
1450
|
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
1451
|
## [0.1.129](https://github.com/payloadcms/payload/compare/v0.1.128...v0.1.129) (2021-01-05)
|
|
1624
1452
|
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
1453
|
## [0.1.128](https://github.com/payloadcms/payload/compare/v0.1.127...v0.1.128) (2021-01-05)
|
|
1628
1454
|
|
|
1629
|
-
|
|
1630
1455
|
### Bug Fixes
|
|
1631
1456
|
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1457
|
+
- adds default thumbnail size ([f582a25](https://github.com/payloadcms/payload/commit/f582a254cd6b6f56bb8146923f3ab0130a4b7859))
|
|
1458
|
+
- config validation of block imageURL ([c572057](https://github.com/payloadcms/payload/commit/c572057706f58f7759e167a724837f84e88d0d10))
|
|
1459
|
+
- default config value for email removed as the property was moved out of config ([cf89d4c](https://github.com/payloadcms/payload/commit/cf89d4cb56add645e68cf0be31d943b734dabe39))
|
|
1460
|
+
- demo email start on payload init ([57d2c86](https://github.com/payloadcms/payload/commit/57d2c8602fb81a5d67d34a38c25a0429c2b9c44b))
|
|
1461
|
+
- Edit view main / sidebar widths ([e067fa1](https://github.com/payloadcms/payload/commit/e067fa12b2465d4767bc35b5f1ec0de8096f7439))
|
|
1462
|
+
- graphQL access ([4d871c2](https://github.com/payloadcms/payload/commit/4d871c27f6eefea26ec55302e654fc3b0f4a2933))
|
|
1463
|
+
- graphQL logout ([709cc9c](https://github.com/payloadcms/payload/commit/709cc9c294d959913b382e24dd0d7002d6a7c9cd))
|
|
1464
|
+
- improves edit view layout constraints ([0f7046b](https://github.com/payloadcms/payload/commit/0f7046b98efd82caf98d0d872bd6e68b076452a1))
|
|
1465
|
+
- issues with select hasMany ([a0bf503](https://github.com/payloadcms/payload/commit/a0bf503f888b7fde0c9660e9f8a461da2fab5d67))
|
|
1466
|
+
- lowecases joi like everywhere else in payload ([5823a86](https://github.com/payloadcms/payload/commit/5823a864f926bc6441267a21277059a368410b92))
|
|
1467
|
+
- payload config remove types for email ([faec969](https://github.com/payloadcms/payload/commit/faec969752622c70e9175cc226d888bf32ec732c))
|
|
1468
|
+
- reinstate explicit labels for AllFields collection ([885c73c](https://github.com/payloadcms/payload/commit/885c73c838c597ac03f79558af9946686274969f))
|
|
1469
|
+
- removes delete and unlock from baseField type and schema ([4fa942f](https://github.com/payloadcms/payload/commit/4fa942f3a02089c8320e483b896a59627c28f11e))
|
|
1470
|
+
- removes old reliance on config.email ([e093e06](https://github.com/payloadcms/payload/commit/e093e06926e55916ddb0bdb6f17e0317dfab951c))
|
|
1647
1471
|
|
|
1648
1472
|
### Features
|
|
1649
1473
|
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1474
|
+
- allows for refresh operation to accept a deliberately specified token ([7d05069](https://github.com/payloadcms/payload/commit/7d05069f361d30ff36d990e0926a60b1c374149a))
|
|
1475
|
+
- types this within crreate op ([d43ff8b](https://github.com/payloadcms/payload/commit/d43ff8b4a764dd203fa7eebda28b09dc21a88e31))
|
|
1654
1476
|
|
|
1655
1477
|
## [0.1.127](https://github.com/payloadcms/payload/compare/v0.1.126...v0.1.127) (2020-12-31)
|
|
1656
1478
|
|
|
1657
|
-
|
|
1658
1479
|
### Bug Fixes
|
|
1659
1480
|
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1481
|
+
- converts class methods to arrow functions ([662839f](https://github.com/payloadcms/payload/commit/662839fb06e95001bb0ef20c4f318cc4c2fccc31))
|
|
1663
1482
|
|
|
1664
1483
|
## [0.1.126](https://github.com/payloadcms/payload/compare/v0.1.125...v0.1.126) (2020-12-30)
|
|
1665
1484
|
|
|
1666
|
-
|
|
1667
1485
|
### Bug Fixes
|
|
1668
1486
|
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1487
|
+
- adds delete and unlock to joi baseField schema ([36d51de](https://github.com/payloadcms/payload/commit/36d51de201b27ef91f43f05992d980ad306ba9f3))
|
|
1672
1488
|
|
|
1673
1489
|
## [0.1.125](https://github.com/payloadcms/payload/compare/v0.1.124...v0.1.125) (2020-12-30)
|
|
1674
1490
|
|
|
1675
|
-
|
|
1676
1491
|
### Bug Fixes
|
|
1677
1492
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1493
|
+
- removes prod source maps ([eeea06d](https://github.com/payloadcms/payload/commit/eeea06d6aaa84efdfb479baf1baad7bdf038d7cd))
|
|
1681
1494
|
|
|
1682
1495
|
## [0.1.124](https://github.com/payloadcms/payload/compare/v0.1.123...v0.1.124) (2020-12-30)
|
|
1683
1496
|
|
|
1684
|
-
|
|
1685
1497
|
### Bug Fixes
|
|
1686
1498
|
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1499
|
+
- disable requiring default props in eslint ([64cf321](https://github.com/payloadcms/payload/commit/64cf32146ad75d8ce3e5f3e8e690391ac7884819))
|
|
1500
|
+
- disables inline sourcemaps for admin dist ([8090b2a](https://github.com/payloadcms/payload/commit/8090b2a23bb6298fdd998d9a72c6f596e7473cb0))
|
|
1501
|
+
- type issues that arose from reorganizing certain config props ([0c03c2e](https://github.com/payloadcms/payload/commit/0c03c2e3af34657e3dde1c3f2b675840147f78ec))
|
|
1502
|
+
- updates typing on DatePicker component and joi schema ([5100fd3](https://github.com/payloadcms/payload/commit/5100fd35dc796c5862ef9fd7261abdcba925b020))
|
|
1503
|
+
- webpack config override ([8401400](https://github.com/payloadcms/payload/commit/84014001297519ce7f82f691fb2c4d1c525222f9))
|
|
1693
1504
|
|
|
1694
1505
|
### Features
|
|
1695
1506
|
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1507
|
+
- allows for adding custom CSS in addition to SCSS overrides ([544a4db](https://github.com/payloadcms/payload/commit/544a4dbd3ab17e1c8c9ed864fe17b7359883d845))
|
|
1699
1508
|
|
|
1700
1509
|
## [0.1.123](https://github.com/payloadcms/payload/compare/v0.1.123...v0.1.123) (2020-12-28)
|
|
1701
1510
|
|
|
1702
|
-
|
|
1703
1511
|
### Bug Fixes
|
|
1704
1512
|
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1513
|
+
- allows config validation to accept esmodules as components ([b8ad84c](https://github.com/payloadcms/payload/commit/b8ad84c525e597e237caf05e00832ded30668a6b))
|
|
1514
|
+
- prod webpack publicPath ([8bda6ea](https://github.com/payloadcms/payload/commit/8bda6eaa762dff0027036d918155f4618740a84c))
|
|
1709
1515
|
|
|
1710
1516
|
## [0.1.122](https://github.com/payloadcms/payload/compare/v0.1.121...v0.1.122) (2020-12-28)
|
|
1711
1517
|
|
|
1712
|
-
|
|
1713
1518
|
### Bug Fixes
|
|
1714
1519
|
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1520
|
+
- improves field schema validation ([db13512](https://github.com/payloadcms/payload/commit/db135129d84bab9df03516ebfa2b667acead3cc9))
|
|
1521
|
+
- safely accesses field permissions ([1fff737](https://github.com/payloadcms/payload/commit/1fff7374d43921d203b9b655ac64dbed3867ad2a))
|
|
1718
1522
|
|
|
1719
1523
|
### Features
|
|
1720
1524
|
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1525
|
+
- sends config through babel/register ([fec718e](https://github.com/payloadcms/payload/commit/fec718e9e523b1e92ca2dc216d99eef2dcbed83a))
|
|
1526
|
+
- splits tsconfig between admin and server ([efe0b40](https://github.com/payloadcms/payload/commit/efe0b40aca4b88084c71f851604d08cae1d62a9a))
|
|
1725
1527
|
|
|
1726
1528
|
## [0.1.121](https://github.com/payloadcms/payload/compare/v0.1.120...v0.1.121) (2020-12-27)
|
|
1727
1529
|
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
1530
|
## [0.1.20](https://github.com/payloadcms/payload/compare/v0.1.19...v0.1.20) (2020-12-27)
|
|
1731
1531
|
|
|
1732
|
-
|
|
1733
1532
|
### Bug Fixes
|
|
1734
1533
|
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1534
|
+
- production webpack css ([6e83edc](https://github.com/payloadcms/payload/commit/6e83edc988e9284ec52164fc6399f45ab5851652))
|
|
1535
|
+
- removes unnecessary meta defaults in admin config ([0117f18](https://github.com/payloadcms/payload/commit/0117f18eb1dd163143e18cd8061a4b96d41c411e))
|
|
1738
1536
|
|
|
1739
1537
|
### Features
|
|
1740
1538
|
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1539
|
+
- improves edit scroll UX in Account and Globals ([604922a](https://github.com/payloadcms/payload/commit/604922a26e7aabde71b470c96ff1b27e0f7b6fc8))
|
|
1540
|
+
- improves scrolling UX in Edit views ([a715a42](https://github.com/payloadcms/payload/commit/a715a4206ed2cedc9b02b58339e44354c571fec5))
|
|
1745
1541
|
|
|
1746
1542
|
## [0.1.19](https://github.com/payloadcms/payload/compare/v0.1.18...v0.1.19) (2020-12-27)
|
|
1747
1543
|
|
|
1748
|
-
|
|
1749
1544
|
### Bug Fixes
|
|
1750
1545
|
|
|
1751
|
-
|
|
1752
|
-
|
|
1546
|
+
- copyfiles, autocomplete transition ([5b8c721](https://github.com/payloadcms/payload/commit/5b8c721292140e4cd0ed55d13e97c1d4cd359c98))
|
|
1753
1547
|
|
|
1754
1548
|
### Features
|
|
1755
1549
|
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1550
|
+
- flattens build into one command ([8571dc3](https://github.com/payloadcms/payload/commit/8571dc396591487d2a2854b9fe93f5338eb10659))
|
|
1759
1551
|
|
|
1760
1552
|
## [0.1.18](https://github.com/payloadcms/payload/compare/v0.1.17...v0.1.18) (2020-12-27)
|
|
1761
1553
|
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
1554
|
## [0.1.17](https://github.com/payloadcms/payload/compare/v0.1.16...v0.1.17) (2020-12-27)
|
|
1765
1555
|
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
1556
|
## [0.1.16](https://github.com/payloadcms/payload/compare/v0.1.15...v0.1.16) (2020-12-27)
|
|
1769
1557
|
|
|
1770
|
-
|
|
1771
1558
|
### Bug Fixes
|
|
1772
1559
|
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1560
|
+
- handle access result gracefully ([1cd578e](https://github.com/payloadcms/payload/commit/1cd578ef445499ceb3704ab28d736baaae123cbd))
|
|
1561
|
+
- undo property fix, field exists - bad typing ([66946c8](https://github.com/payloadcms/payload/commit/66946c86973c252585e98aa3f0a453cae9dff598))
|
|
1777
1562
|
|
|
1778
1563
|
## [0.1.15](https://github.com/payloadcms/payload/compare/v0.1.14...v0.1.15) (2020-12-02)
|
|
1779
1564
|
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
1565
|
## [0.1.14](https://github.com/payloadcms/payload/compare/v0.1.13...v0.1.14) (2020-12-02)
|
|
1783
1566
|
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
1567
|
## [0.1.13](https://github.com/payloadcms/payload/compare/v0.1.12...v0.1.13) (2020-12-02)
|
|
1787
1568
|
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
1569
|
## [0.1.12](https://github.com/payloadcms/payload/compare/v0.1.11...v0.1.12) (2020-12-02)
|
|
1791
1570
|
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
1571
|
## [0.1.11](https://github.com/payloadcms/payload/compare/v0.1.10...v0.1.11) (2020-12-01)
|
|
1795
1572
|
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
1573
|
## [0.1.10](https://github.com/payloadcms/payload/compare/v0.1.9...v0.1.10) (2020-12-01)
|
|
1799
1574
|
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
1575
|
## [0.1.9](https://github.com/payloadcms/payload/compare/v0.1.8...v0.1.9) (2020-11-25)
|
|
1803
1576
|
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
1577
|
## [0.1.8](https://github.com/payloadcms/payload/compare/v0.1.7...v0.1.8) (2020-11-25)
|
|
1807
1578
|
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
1579
|
## [0.1.7](https://github.com/payloadcms/payload/compare/v0.1.6...v0.1.7) (2020-11-25)
|
|
1811
1580
|
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
1581
|
## [0.1.6](https://github.com/payloadcms/payload/compare/v0.1.5...v0.1.6) (2020-11-25)
|
|
1815
1582
|
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
1583
|
## [0.1.5](https://github.com/payloadcms/payload/compare/v0.1.4...v0.1.5) (2020-11-25)
|
|
1819
1584
|
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
1585
|
## [0.1.4](https://github.com/payloadcms/payload/compare/v0.1.3...v0.1.4) (2020-11-25)
|
|
1823
1586
|
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
1587
|
## [0.1.3](https://github.com/payloadcms/payload/compare/v0.1.2...v0.1.3) (2020-11-24)
|
|
1827
1588
|
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
1589
|
## [0.1.2](https://github.com/payloadcms/payload/compare/v0.1.1...v0.1.2) (2020-11-24)
|
|
1831
1590
|
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
1591
|
## [0.1.1](https://github.com/payloadcms/payload/compare/v0.1.0...v0.1.1) (2020-11-24)
|
|
1835
1592
|
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
1593
|
# [0.1.0](https://github.com/payloadcms/payload/compare/v0.0.141...v0.1.0) (2020-11-24)
|
|
1839
1594
|
|
|
1840
|
-
|
|
1841
1595
|
### Bug Fixes
|
|
1842
1596
|
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1597
|
+
- **webpack:** more require.resolves needed ([924eb1d](https://github.com/payloadcms/payload/commit/924eb1d0b566eb7bb3912018e06cf431e5a85524))
|
|
1598
|
+
- **webpack:** use require.resolve for modules ([badd59a](https://github.com/payloadcms/payload/commit/badd59ac38e10e9caf700eece5761e7d65341c21))
|
|
1599
|
+
- add missing webpack dep path-browserify ([8789dae](https://github.com/payloadcms/payload/commit/8789dae155bbb93fdef5104cc616e0a29b1b6409))
|
|
1847
1600
|
|
|
1848
1601
|
### Features
|
|
1849
1602
|
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1603
|
+
- add initial types ([983bf71](https://github.com/payloadcms/payload/commit/983bf713b395a68d2374f2446a8a759aeda48579))
|
|
1853
1604
|
|
|
1854
1605
|
## [0.0.141](https://github.com/payloadcms/payload/compare/v0.0.140...v0.0.141) (2020-11-20)
|
|
1855
1606
|
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
1607
|
## [0.0.140](https://github.com/payloadcms/payload/compare/v0.0.139...v0.0.140) (2020-11-20)
|
|
1859
1608
|
|
|
1860
|
-
|
|
1861
1609
|
### Features
|
|
1862
1610
|
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1611
|
+
- show email creds when explicitly set to 'mock' ([dbd305a](https://github.com/payloadcms/payload/commit/dbd305acc5b083cea08227cbff8afebe8aa4c374))
|
|
1612
|
+
- use react-toastify for notifications ([131dd51](https://github.com/payloadcms/payload/commit/131dd51c39b08c2235582d23deb53188a04e5d80))
|
|
1613
|
+
- validate admin user ([83d32e4](https://github.com/payloadcms/payload/commit/83d32e44498460584bbc82512df91848bcf7cf47))
|
|
1868
1614
|
|
|
1869
1615
|
## [0.0.139](https://github.com/payloadcms/payload/compare/v0.0.138...v0.0.139) (2020-11-17)
|
|
1870
1616
|
|
|
1871
|
-
|
|
1872
1617
|
### Bug Fixes
|
|
1873
1618
|
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1619
|
+
- missed a file ([f52836a](https://github.com/payloadcms/payload/commit/f52836a7e342ecccd7409ba382eade43adb18d90))
|
|
1877
1620
|
|
|
1878
1621
|
## [0.0.138](https://github.com/payloadcms/payload/compare/v0.0.137...v0.0.138) (2020-11-17)
|
|
1879
1622
|
|
|
1880
|
-
|
|
1881
1623
|
### Bug Fixes
|
|
1882
1624
|
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1625
|
+
- allow e-mail to be unconfigured, remove default fromName and fromAddress ([dceeeaa](https://github.com/payloadcms/payload/commit/dceeeaac6a1a9057cdd9f973c7500b3763514f0a))
|
|
1626
|
+
- auth json schema didn't allow auth as boolean ([0694a09](https://github.com/payloadcms/payload/commit/0694a09abdde59eb8e785301230ed4e8e244c84a))
|
|
1627
|
+
- properly concat verification and locking fields ([2624ad5](https://github.com/payloadcms/payload/commit/2624ad5f7e50332eb9212877d0eefcdcb2fa399b))
|
|
1887
1628
|
|
|
1888
1629
|
### Features
|
|
1889
1630
|
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1631
|
+
- add blind index for encrypting API Keys ([9a1c1f6](https://github.com/payloadcms/payload/commit/9a1c1f64c0ea0066b679195f50e6cb1ac4bf3552))
|
|
1632
|
+
- add license key to access routej ([2565005](https://github.com/payloadcms/payload/commit/2565005cc099797a6e3b8995e0984c28b7837e82))
|
|
1894
1633
|
|
|
1895
1634
|
## [0.0.137](https://github.com/payloadcms/payload/commit/5c1e2846a2694a80cc8707703406c2ac1bb6af8a) (2020-11-12)
|