payload 1.6.9 → 1.6.10

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.
Files changed (1652) hide show
  1. package/CHANGELOG.md +2831 -0
  2. package/bin.js +0 -0
  3. package/components/index.js +1 -1
  4. package/dist/admin/api.d.ts +11 -11
  5. package/dist/admin/api.js +67 -67
  6. package/dist/admin/components/Routes.d.ts +3 -3
  7. package/dist/admin/components/Routes.js +219 -219
  8. package/dist/admin/components/elements/ArrayAction/index.d.ts +4 -4
  9. package/dist/admin/components/elements/ArrayAction/index.js +53 -53
  10. package/dist/admin/components/elements/ArrayAction/types.d.ts +8 -8
  11. package/dist/admin/components/elements/ArrayAction/types.js +2 -2
  12. package/dist/admin/components/elements/Autosave/index.d.ts +5 -5
  13. package/dist/admin/components/elements/Autosave/index.js +155 -155
  14. package/dist/admin/components/elements/Autosave/types.d.ts +8 -8
  15. package/dist/admin/components/elements/Autosave/types.js +2 -2
  16. package/dist/admin/components/elements/Banner/index.d.ts +5 -5
  17. package/dist/admin/components/elements/Banner/index.js +32 -32
  18. package/dist/admin/components/elements/Banner/types.d.ts +18 -18
  19. package/dist/admin/components/elements/Banner/types.js +2 -2
  20. package/dist/admin/components/elements/Button/index.d.ts +5 -5
  21. package/dist/admin/components/elements/Button/index.js +103 -103
  22. package/dist/admin/components/elements/Button/types.d.ts +21 -21
  23. package/dist/admin/components/elements/Button/types.js +2 -2
  24. package/dist/admin/components/elements/Card/index.d.ts +5 -5
  25. package/dist/admin/components/elements/Card/index.js +22 -22
  26. package/dist/admin/components/elements/Card/types.d.ts +7 -7
  27. package/dist/admin/components/elements/Card/types.js +2 -2
  28. package/dist/admin/components/elements/CodeEditor/CodeEditor.d.ts +5 -5
  29. package/dist/admin/components/elements/CodeEditor/CodeEditor.js +32 -32
  30. package/dist/admin/components/elements/CodeEditor/index.d.ts +3 -3
  31. package/dist/admin/components/elements/CodeEditor/index.js +35 -35
  32. package/dist/admin/components/elements/CodeEditor/types.d.ts +4 -4
  33. package/dist/admin/components/elements/CodeEditor/types.js +2 -2
  34. package/dist/admin/components/elements/Collapsible/index.d.ts +4 -4
  35. package/dist/admin/components/elements/Collapsible/index.js +75 -75
  36. package/dist/admin/components/elements/Collapsible/provider.d.ts +8 -8
  37. package/dist/admin/components/elements/Collapsible/provider.js +35 -35
  38. package/dist/admin/components/elements/Collapsible/types.d.ts +12 -12
  39. package/dist/admin/components/elements/Collapsible/types.js +2 -2
  40. package/dist/admin/components/elements/ColumnSelector/index.d.ts +5 -5
  41. package/dist/admin/components/elements/ColumnSelector/index.js +65 -65
  42. package/dist/admin/components/elements/ColumnSelector/types.d.ts +6 -6
  43. package/dist/admin/components/elements/ColumnSelector/types.js +2 -2
  44. package/dist/admin/components/elements/CopyToClipboard/index.d.ts +5 -5
  45. package/dist/admin/components/elements/CopyToClipboard/index.js +63 -63
  46. package/dist/admin/components/elements/CopyToClipboard/types.d.ts +5 -5
  47. package/dist/admin/components/elements/CopyToClipboard/types.js +2 -2
  48. package/dist/admin/components/elements/DatePicker/DatePicker.d.ts +6 -6
  49. package/dist/admin/components/elements/DatePicker/DatePicker.js +98 -103
  50. package/dist/admin/components/elements/DatePicker/DatePicker.js.map +1 -1
  51. package/dist/admin/components/elements/DatePicker/index.d.ts +4 -4
  52. package/dist/admin/components/elements/DatePicker/index.js +31 -31
  53. package/dist/admin/components/elements/DatePicker/types.d.ts +35 -35
  54. package/dist/admin/components/elements/DatePicker/types.js +2 -2
  55. package/dist/admin/components/elements/DeleteDocument/index.d.ts +5 -5
  56. package/dist/admin/components/elements/DeleteDocument/index.js +106 -106
  57. package/dist/admin/components/elements/DeleteDocument/types.d.ts +7 -7
  58. package/dist/admin/components/elements/DeleteDocument/types.js +2 -2
  59. package/dist/admin/components/elements/DocumentDrawer/DrawerContent.d.ts +3 -3
  60. package/dist/admin/components/elements/DocumentDrawer/DrawerContent.js +130 -130
  61. package/dist/admin/components/elements/DocumentDrawer/index.d.ts +7 -7
  62. package/dist/admin/components/elements/DocumentDrawer/index.js +97 -97
  63. package/dist/admin/components/elements/DocumentDrawer/types.d.ts +36 -36
  64. package/dist/admin/components/elements/DocumentDrawer/types.js +2 -2
  65. package/dist/admin/components/elements/Drawer/index.d.ts +9 -9
  66. package/dist/admin/components/elements/Drawer/index.js +91 -91
  67. package/dist/admin/components/elements/Drawer/types.d.ts +15 -15
  68. package/dist/admin/components/elements/Drawer/types.js +2 -2
  69. package/dist/admin/components/elements/Drawer/useDrawerSlug.d.ts +1 -1
  70. package/dist/admin/components/elements/Drawer/useDrawerSlug.js +15 -15
  71. package/dist/admin/components/elements/DuplicateDocument/index.d.ts +5 -5
  72. package/dist/admin/components/elements/DuplicateDocument/index.js +166 -166
  73. package/dist/admin/components/elements/DuplicateDocument/types.d.ts +6 -6
  74. package/dist/admin/components/elements/DuplicateDocument/types.js +2 -2
  75. package/dist/admin/components/elements/Eyebrow/index.d.ts +5 -5
  76. package/dist/admin/components/elements/Eyebrow/index.js +15 -15
  77. package/dist/admin/components/elements/Eyebrow/types.d.ts +4 -4
  78. package/dist/admin/components/elements/Eyebrow/types.js +2 -2
  79. package/dist/admin/components/elements/FileDetails/Meta/index.d.ts +5 -5
  80. package/dist/admin/components/elements/FileDetails/Meta/index.js +31 -31
  81. package/dist/admin/components/elements/FileDetails/Meta/types.d.ts +10 -10
  82. package/dist/admin/components/elements/FileDetails/Meta/types.js +2 -2
  83. package/dist/admin/components/elements/FileDetails/index.d.ts +5 -5
  84. package/dist/admin/components/elements/FileDetails/index.js +85 -85
  85. package/dist/admin/components/elements/FileDetails/types.d.ts +10 -10
  86. package/dist/admin/components/elements/FileDetails/types.js +2 -2
  87. package/dist/admin/components/elements/GenerateConfirmation/index.d.ts +5 -5
  88. package/dist/admin/components/elements/GenerateConfirmation/index.js +43 -43
  89. package/dist/admin/components/elements/GenerateConfirmation/types.d.ts +4 -4
  90. package/dist/admin/components/elements/GenerateConfirmation/types.js +2 -2
  91. package/dist/admin/components/elements/Gutter/index.d.ts +13 -13
  92. package/dist/admin/components/elements/Gutter/index.js +42 -42
  93. package/dist/admin/components/elements/IDLabel/index.d.ts +7 -7
  94. package/dist/admin/components/elements/IDLabel/index.js +13 -13
  95. package/dist/admin/components/elements/ListControls/getTextFieldsToBeSearched.d.ts +2 -2
  96. package/dist/admin/components/elements/ListControls/getTextFieldsToBeSearched.js +16 -16
  97. package/dist/admin/components/elements/ListControls/index.d.ts +5 -5
  98. package/dist/admin/components/elements/ListControls/index.js +68 -68
  99. package/dist/admin/components/elements/ListControls/types.d.ts +16 -16
  100. package/dist/admin/components/elements/ListControls/types.js +2 -2
  101. package/dist/admin/components/elements/ListDrawer/DrawerContent.d.ts +3 -3
  102. package/dist/admin/components/elements/ListDrawer/DrawerContent.js +237 -237
  103. package/dist/admin/components/elements/ListDrawer/index.d.ts +7 -7
  104. package/dist/admin/components/elements/ListDrawer/index.js +90 -90
  105. package/dist/admin/components/elements/ListDrawer/types.d.ts +37 -37
  106. package/dist/admin/components/elements/ListDrawer/types.js +2 -2
  107. package/dist/admin/components/elements/Loading/index.d.ts +26 -26
  108. package/dist/admin/components/elements/Loading/index.js +62 -62
  109. package/dist/admin/components/elements/Localizer/index.d.ts +5 -5
  110. package/dist/admin/components/elements/Localizer/index.js +46 -46
  111. package/dist/admin/components/elements/Localizer/types.d.ts +1 -1
  112. package/dist/admin/components/elements/Localizer/types.js +2 -2
  113. package/dist/admin/components/elements/Logout/index.d.ts +3 -3
  114. package/dist/admin/components/elements/Logout/index.js +24 -24
  115. package/dist/admin/components/elements/Nav/index.d.ts +4 -4
  116. package/dist/admin/components/elements/Nav/index.js +123 -123
  117. package/dist/admin/components/elements/NavGroup/index.d.ts +8 -8
  118. package/dist/admin/components/elements/NavGroup/index.js +80 -80
  119. package/dist/admin/components/elements/Paginator/ClickableArrow/index.d.ts +5 -5
  120. package/dist/admin/components/elements/Paginator/ClickableArrow/index.js +20 -20
  121. package/dist/admin/components/elements/Paginator/ClickableArrow/types.d.ts +5 -5
  122. package/dist/admin/components/elements/Paginator/ClickableArrow/types.js +2 -2
  123. package/dist/admin/components/elements/Paginator/Page/index.d.ts +4 -4
  124. package/dist/admin/components/elements/Paginator/Page/index.js +17 -17
  125. package/dist/admin/components/elements/Paginator/Page/types.d.ts +7 -7
  126. package/dist/admin/components/elements/Paginator/Page/types.js +2 -2
  127. package/dist/admin/components/elements/Paginator/Separator/index.d.ts +3 -3
  128. package/dist/admin/components/elements/Paginator/Separator/index.js +8 -8
  129. package/dist/admin/components/elements/Paginator/index.d.ts +5 -5
  130. package/dist/admin/components/elements/Paginator/index.js +101 -101
  131. package/dist/admin/components/elements/Paginator/types.d.ts +23 -23
  132. package/dist/admin/components/elements/Paginator/types.js +2 -2
  133. package/dist/admin/components/elements/PerPage/index.d.ts +11 -11
  134. package/dist/admin/components/elements/PerPage/index.js +46 -46
  135. package/dist/admin/components/elements/Pill/index.d.ts +5 -5
  136. package/dist/admin/components/elements/Pill/index.js +30 -30
  137. package/dist/admin/components/elements/Pill/types.d.ts +17 -17
  138. package/dist/admin/components/elements/Pill/types.js +2 -2
  139. package/dist/admin/components/elements/Popup/PopupButton/index.d.ts +5 -5
  140. package/dist/admin/components/elements/Popup/PopupButton/index.js +28 -28
  141. package/dist/admin/components/elements/Popup/PopupButton/types.d.ts +8 -8
  142. package/dist/admin/components/elements/Popup/PopupButton/types.js +2 -2
  143. package/dist/admin/components/elements/Popup/index.d.ts +5 -5
  144. package/dist/admin/components/elements/Popup/index.js +132 -132
  145. package/dist/admin/components/elements/Popup/types.d.ts +20 -20
  146. package/dist/admin/components/elements/Popup/types.js +2 -2
  147. package/dist/admin/components/elements/PreviewButton/index.d.ts +5 -5
  148. package/dist/admin/components/elements/PreviewButton/index.js +60 -60
  149. package/dist/admin/components/elements/PreviewButton/types.d.ts +4 -4
  150. package/dist/admin/components/elements/PreviewButton/types.js +2 -2
  151. package/dist/admin/components/elements/Publish/index.d.ts +4 -4
  152. package/dist/admin/components/elements/Publish/index.js +50 -50
  153. package/dist/admin/components/elements/Publish/types.d.ts +1 -1
  154. package/dist/admin/components/elements/Publish/types.js +2 -2
  155. package/dist/admin/components/elements/ReactSelect/ClearIndicator/index.d.ts +5 -5
  156. package/dist/admin/components/elements/ReactSelect/ClearIndicator/index.js +16 -16
  157. package/dist/admin/components/elements/ReactSelect/Control/index.d.ts +4 -4
  158. package/dist/admin/components/elements/ReactSelect/Control/index.js +30 -30
  159. package/dist/admin/components/elements/ReactSelect/MultiValue/index.d.ts +5 -5
  160. package/dist/admin/components/elements/ReactSelect/MultiValue/index.js +46 -46
  161. package/dist/admin/components/elements/ReactSelect/MultiValueLabel/index.d.ts +5 -5
  162. package/dist/admin/components/elements/ReactSelect/MultiValueLabel/index.js +19 -19
  163. package/dist/admin/components/elements/ReactSelect/MultiValueRemove/index.d.ts +5 -5
  164. package/dist/admin/components/elements/ReactSelect/MultiValueRemove/index.js +24 -24
  165. package/dist/admin/components/elements/ReactSelect/SingleValue/index.d.ts +5 -5
  166. package/dist/admin/components/elements/ReactSelect/SingleValue/index.js +16 -16
  167. package/dist/admin/components/elements/ReactSelect/ValueContainer/index.d.ts +5 -5
  168. package/dist/admin/components/elements/ReactSelect/ValueContainer/index.js +16 -16
  169. package/dist/admin/components/elements/ReactSelect/index.d.ts +5 -5
  170. package/dist/admin/components/elements/ReactSelect/index.js +102 -102
  171. package/dist/admin/components/elements/ReactSelect/types.d.ts +43 -43
  172. package/dist/admin/components/elements/ReactSelect/types.js +2 -2
  173. package/dist/admin/components/elements/RenderTitle/index.d.ts +4 -4
  174. package/dist/admin/components/elements/RenderTitle/index.js +25 -25
  175. package/dist/admin/components/elements/RenderTitle/types.d.ts +9 -9
  176. package/dist/admin/components/elements/RenderTitle/types.js +2 -2
  177. package/dist/admin/components/elements/SaveDraft/index.d.ts +4 -4
  178. package/dist/admin/components/elements/SaveDraft/index.js +69 -69
  179. package/dist/admin/components/elements/SearchFilter/index.d.ts +5 -5
  180. package/dist/admin/components/elements/SearchFilter/index.js +104 -104
  181. package/dist/admin/components/elements/SearchFilter/types.d.ts +9 -9
  182. package/dist/admin/components/elements/SearchFilter/types.js +2 -2
  183. package/dist/admin/components/elements/ShimmerEffect/index.d.ts +19 -19
  184. package/dist/admin/components/elements/ShimmerEffect/index.js +48 -48
  185. package/dist/admin/components/elements/SortColumn/index.d.ts +5 -5
  186. package/dist/admin/components/elements/SortColumn/index.js +69 -69
  187. package/dist/admin/components/elements/SortColumn/types.d.ts +5 -5
  188. package/dist/admin/components/elements/SortColumn/types.js +2 -2
  189. package/dist/admin/components/elements/SortComplex/index.d.ts +5 -5
  190. package/dist/admin/components/elements/SortComplex/index.js +88 -88
  191. package/dist/admin/components/elements/SortComplex/types.d.ts +7 -7
  192. package/dist/admin/components/elements/SortComplex/types.js +2 -2
  193. package/dist/admin/components/elements/Status/index.d.ts +5 -5
  194. package/dist/admin/components/elements/Status/index.js +143 -143
  195. package/dist/admin/components/elements/Status/types.d.ts +1 -1
  196. package/dist/admin/components/elements/Status/types.js +2 -2
  197. package/dist/admin/components/elements/StepNav/index.d.ts +10 -10
  198. package/dist/admin/components/elements/StepNav/index.js +70 -70
  199. package/dist/admin/components/elements/StepNav/types.d.ts +8 -8
  200. package/dist/admin/components/elements/StepNav/types.js +2 -2
  201. package/dist/admin/components/elements/Table/index.d.ts +5 -5
  202. package/dist/admin/components/elements/Table/index.js +19 -19
  203. package/dist/admin/components/elements/Table/types.d.ts +12 -12
  204. package/dist/admin/components/elements/Table/types.js +2 -2
  205. package/dist/admin/components/elements/Thumbnail/index.d.ts +5 -5
  206. package/dist/admin/components/elements/Thumbnail/index.js +22 -22
  207. package/dist/admin/components/elements/Thumbnail/types.d.ts +6 -6
  208. package/dist/admin/components/elements/Thumbnail/types.js +2 -2
  209. package/dist/admin/components/elements/ThumbnailCard/index.d.ts +4 -4
  210. package/dist/admin/components/elements/ThumbnailCard/index.js +52 -52
  211. package/dist/admin/components/elements/ThumbnailCard/types.d.ts +12 -12
  212. package/dist/admin/components/elements/ThumbnailCard/types.js +2 -2
  213. package/dist/admin/components/elements/Tooltip/index.d.ts +5 -5
  214. package/dist/admin/components/elements/Tooltip/index.js +53 -53
  215. package/dist/admin/components/elements/Tooltip/types.d.ts +7 -7
  216. package/dist/admin/components/elements/Tooltip/types.js +2 -2
  217. package/dist/admin/components/elements/UploadGallery/index.d.ts +5 -5
  218. package/dist/admin/components/elements/UploadGallery/index.js +18 -18
  219. package/dist/admin/components/elements/UploadGallery/types.d.ts +6 -6
  220. package/dist/admin/components/elements/UploadGallery/types.js +2 -2
  221. package/dist/admin/components/elements/VersionsCount/index.d.ts +5 -5
  222. package/dist/admin/components/elements/VersionsCount/index.js +29 -29
  223. package/dist/admin/components/elements/VersionsCount/types.d.ts +7 -7
  224. package/dist/admin/components/elements/VersionsCount/types.js +2 -2
  225. package/dist/admin/components/elements/ViewDescription/index.d.ts +5 -5
  226. package/dist/admin/components/elements/ViewDescription/index.js +23 -23
  227. package/dist/admin/components/elements/ViewDescription/types.d.ts +9 -9
  228. package/dist/admin/components/elements/ViewDescription/types.js +11 -11
  229. package/dist/admin/components/elements/WhereBuilder/Condition/Date/index.d.ts +4 -4
  230. package/dist/admin/components/elements/WhereBuilder/Condition/Date/index.js +11 -11
  231. package/dist/admin/components/elements/WhereBuilder/Condition/Date/types.d.ts +4 -4
  232. package/dist/admin/components/elements/WhereBuilder/Condition/Date/types.js +2 -2
  233. package/dist/admin/components/elements/WhereBuilder/Condition/Number/index.d.ts +5 -5
  234. package/dist/admin/components/elements/WhereBuilder/Condition/Number/index.js +14 -14
  235. package/dist/admin/components/elements/WhereBuilder/Condition/Number/types.d.ts +4 -4
  236. package/dist/admin/components/elements/WhereBuilder/Condition/Number/types.js +2 -2
  237. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/index.d.ts +5 -5
  238. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/index.js +243 -243
  239. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/optionsReducer.d.ts +3 -3
  240. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/optionsReducer.js +79 -79
  241. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/types.d.ts +38 -38
  242. package/dist/admin/components/elements/WhereBuilder/Condition/Relationship/types.js +2 -2
  243. package/dist/admin/components/elements/WhereBuilder/Condition/Text/index.d.ts +5 -5
  244. package/dist/admin/components/elements/WhereBuilder/Condition/Text/index.js +14 -14
  245. package/dist/admin/components/elements/WhereBuilder/Condition/Text/types.d.ts +4 -4
  246. package/dist/admin/components/elements/WhereBuilder/Condition/Text/types.js +2 -2
  247. package/dist/admin/components/elements/WhereBuilder/Condition/index.d.ts +5 -5
  248. package/dist/admin/components/elements/WhereBuilder/Condition/index.js +111 -111
  249. package/dist/admin/components/elements/WhereBuilder/Condition/types.d.ts +9 -9
  250. package/dist/admin/components/elements/WhereBuilder/Condition/types.js +2 -2
  251. package/dist/admin/components/elements/WhereBuilder/field-types.d.ts +94 -94
  252. package/dist/admin/components/elements/WhereBuilder/field-types.js +120 -120
  253. package/dist/admin/components/elements/WhereBuilder/index.d.ts +5 -5
  254. package/dist/admin/components/elements/WhereBuilder/index.js +125 -125
  255. package/dist/admin/components/elements/WhereBuilder/reducer.d.ts +4 -4
  256. package/dist/admin/components/elements/WhereBuilder/reducer.js +67 -67
  257. package/dist/admin/components/elements/WhereBuilder/types.d.ts +43 -43
  258. package/dist/admin/components/elements/WhereBuilder/types.js +2 -2
  259. package/dist/admin/components/elements/WhereBuilder/validateWhereQuery.d.ts +3 -3
  260. package/dist/admin/components/elements/WhereBuilder/validateWhereQuery.js +10 -10
  261. package/dist/admin/components/elements/elements.spec.d.ts +1 -1
  262. package/dist/admin/components/elements/elements.spec.js +17 -17
  263. package/dist/admin/components/forms/Error/index.d.ts +5 -5
  264. package/dist/admin/components/forms/Error/index.js +17 -17
  265. package/dist/admin/components/forms/Error/types.d.ts +4 -4
  266. package/dist/admin/components/forms/Error/types.js +2 -2
  267. package/dist/admin/components/forms/FieldDescription/index.d.ts +5 -5
  268. package/dist/admin/components/forms/FieldDescription/index.js +27 -27
  269. package/dist/admin/components/forms/FieldDescription/types.d.ts +12 -12
  270. package/dist/admin/components/forms/FieldDescription/types.js +11 -11
  271. package/dist/admin/components/forms/Form/buildInitialState.d.ts +2 -2
  272. package/dist/admin/components/forms/Form/buildInitialState.js +16 -16
  273. package/dist/admin/components/forms/Form/buildStateFromSchema/addFieldStatePromise.d.ts +19 -19
  274. package/dist/admin/components/forms/Form/buildStateFromSchema/addFieldStatePromise.js +199 -199
  275. package/dist/admin/components/forms/Form/buildStateFromSchema/index.d.ts +16 -16
  276. package/dist/admin/components/forms/Form/buildStateFromSchema/index.js +25 -25
  277. package/dist/admin/components/forms/Form/buildStateFromSchema/iterateFields.d.ts +19 -19
  278. package/dist/admin/components/forms/Form/buildStateFromSchema/iterateFields.js +30 -30
  279. package/dist/admin/components/forms/Form/context.d.ts +31 -31
  280. package/dist/admin/components/forms/Form/context.js +46 -46
  281. package/dist/admin/components/forms/Form/createNestedFieldPath.d.ts +2 -2
  282. package/dist/admin/components/forms/Form/createNestedFieldPath.js +17 -17
  283. package/dist/admin/components/forms/Form/errorMessages.d.ts +4 -4
  284. package/dist/admin/components/forms/Form/errorMessages.js +5 -5
  285. package/dist/admin/components/forms/Form/fieldReducer.d.ts +3 -3
  286. package/dist/admin/components/forms/Form/fieldReducer.js +159 -159
  287. package/dist/admin/components/forms/Form/getDataByPath.d.ts +3 -3
  288. package/dist/admin/components/forms/Form/getDataByPath.js +16 -16
  289. package/dist/admin/components/forms/Form/getSiblingData.d.ts +3 -3
  290. package/dist/admin/components/forms/Form/getSiblingData.js +37 -37
  291. package/dist/admin/components/forms/Form/index.d.ts +4 -4
  292. package/dist/admin/components/forms/Form/index.js +340 -340
  293. package/dist/admin/components/forms/Form/initContextState.d.ts +3 -3
  294. package/dist/admin/components/forms/Form/initContextState.js +30 -30
  295. package/dist/admin/components/forms/Form/reduceFieldsToValues.d.ts +3 -3
  296. package/dist/admin/components/forms/Form/reduceFieldsToValues.js +16 -16
  297. package/dist/admin/components/forms/Form/rows.d.ts +8 -8
  298. package/dist/admin/components/forms/Form/rows.js +36 -36
  299. package/dist/admin/components/forms/Form/types.d.ts +120 -120
  300. package/dist/admin/components/forms/Form/types.js +2 -2
  301. package/dist/admin/components/forms/Label/index.d.ts +5 -5
  302. package/dist/admin/components/forms/Label/index.js +20 -20
  303. package/dist/admin/components/forms/Label/types.d.ts +6 -6
  304. package/dist/admin/components/forms/Label/types.js +2 -2
  305. package/dist/admin/components/forms/NullifyField/index.d.ts +7 -7
  306. package/dist/admin/components/forms/NullifyField/index.js +70 -70
  307. package/dist/admin/components/forms/RenderFields/index.d.ts +4 -4
  308. package/dist/admin/components/forms/RenderFields/index.js +104 -104
  309. package/dist/admin/components/forms/RenderFields/types.d.ts +15 -15
  310. package/dist/admin/components/forms/RenderFields/types.js +2 -2
  311. package/dist/admin/components/forms/RowLabel/index.d.ts +3 -3
  312. package/dist/admin/components/forms/RowLabel/index.js +39 -39
  313. package/dist/admin/components/forms/RowLabel/types.d.ts +17 -17
  314. package/dist/admin/components/forms/RowLabel/types.js +11 -11
  315. package/dist/admin/components/forms/Submit/index.d.ts +5 -5
  316. package/dist/admin/components/forms/Submit/index.js +18 -18
  317. package/dist/admin/components/forms/field-types/Array/index.d.ts +5 -5
  318. package/dist/admin/components/forms/field-types/Array/index.js +240 -240
  319. package/dist/admin/components/forms/field-types/Array/types.d.ts +10 -10
  320. package/dist/admin/components/forms/field-types/Array/types.js +2 -2
  321. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/BlockSearch/index.d.ts +6 -6
  322. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/BlockSearch/index.js +21 -21
  323. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/index.d.ts +4 -4
  324. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/index.js +67 -67
  325. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/types.d.ts +8 -8
  326. package/dist/admin/components/forms/field-types/Blocks/BlocksDrawer/types.js +2 -2
  327. package/dist/admin/components/forms/field-types/Blocks/RowActions.d.ts +14 -14
  328. package/dist/admin/components/forms/field-types/Blocks/RowActions.js +27 -27
  329. package/dist/admin/components/forms/field-types/Blocks/SectionTitle/index.d.ts +5 -5
  330. package/dist/admin/components/forms/field-types/Blocks/SectionTitle/index.js +25 -25
  331. package/dist/admin/components/forms/field-types/Blocks/SectionTitle/types.d.ts +4 -4
  332. package/dist/admin/components/forms/field-types/Blocks/SectionTitle/types.js +2 -2
  333. package/dist/admin/components/forms/field-types/Blocks/index.d.ts +5 -5
  334. package/dist/admin/components/forms/field-types/Blocks/index.js +248 -248
  335. package/dist/admin/components/forms/field-types/Blocks/types.d.ts +9 -9
  336. package/dist/admin/components/forms/field-types/Blocks/types.js +2 -2
  337. package/dist/admin/components/forms/field-types/Checkbox/Input.d.ts +14 -14
  338. package/dist/admin/components/forms/field-types/Checkbox/Input.js +25 -25
  339. package/dist/admin/components/forms/field-types/Checkbox/index.d.ts +5 -5
  340. package/dist/admin/components/forms/field-types/Checkbox/index.js +77 -77
  341. package/dist/admin/components/forms/field-types/Checkbox/types.d.ts +6 -6
  342. package/dist/admin/components/forms/field-types/Checkbox/types.js +2 -2
  343. package/dist/admin/components/forms/field-types/Code/index.d.ts +5 -5
  344. package/dist/admin/components/forms/field-types/Code/index.js +70 -70
  345. package/dist/admin/components/forms/field-types/Code/types.d.ts +4 -4
  346. package/dist/admin/components/forms/field-types/Code/types.js +2 -2
  347. package/dist/admin/components/forms/field-types/Collapsible/index.d.ts +5 -5
  348. package/dist/admin/components/forms/field-types/Collapsible/index.js +98 -98
  349. package/dist/admin/components/forms/field-types/Collapsible/types.d.ts +9 -9
  350. package/dist/admin/components/forms/field-types/Collapsible/types.js +2 -2
  351. package/dist/admin/components/forms/field-types/ConfirmPassword/index.d.ts +4 -4
  352. package/dist/admin/components/forms/field-types/ConfirmPassword/index.js +63 -63
  353. package/dist/admin/components/forms/field-types/DateTime/index.d.ts +5 -5
  354. package/dist/admin/components/forms/field-types/DateTime/index.js +74 -74
  355. package/dist/admin/components/forms/field-types/DateTime/types.d.ts +4 -4
  356. package/dist/admin/components/forms/field-types/DateTime/types.js +2 -2
  357. package/dist/admin/components/forms/field-types/Email/index.d.ts +5 -5
  358. package/dist/admin/components/forms/field-types/Email/index.js +68 -68
  359. package/dist/admin/components/forms/field-types/Email/types.d.ts +4 -4
  360. package/dist/admin/components/forms/field-types/Email/types.js +2 -2
  361. package/dist/admin/components/forms/field-types/Group/index.d.ts +5 -5
  362. package/dist/admin/components/forms/field-types/Group/index.js +50 -50
  363. package/dist/admin/components/forms/field-types/Group/provider.d.ts +8 -8
  364. package/dist/admin/components/forms/field-types/Group/provider.js +35 -35
  365. package/dist/admin/components/forms/field-types/Group/types.d.ts +9 -9
  366. package/dist/admin/components/forms/field-types/Group/types.js +2 -2
  367. package/dist/admin/components/forms/field-types/HiddenInput/index.d.ts +4 -4
  368. package/dist/admin/components/forms/field-types/HiddenInput/index.js +45 -45
  369. package/dist/admin/components/forms/field-types/HiddenInput/types.d.ts +6 -6
  370. package/dist/admin/components/forms/field-types/HiddenInput/types.js +2 -2
  371. package/dist/admin/components/forms/field-types/JSON/index.d.ts +5 -5
  372. package/dist/admin/components/forms/field-types/JSON/index.js +83 -83
  373. package/dist/admin/components/forms/field-types/JSON/types.d.ts +4 -4
  374. package/dist/admin/components/forms/field-types/JSON/types.js +2 -2
  375. package/dist/admin/components/forms/field-types/Number/index.d.ts +5 -5
  376. package/dist/admin/components/forms/field-types/Number/index.js +80 -80
  377. package/dist/admin/components/forms/field-types/Number/types.d.ts +4 -4
  378. package/dist/admin/components/forms/field-types/Number/types.js +2 -2
  379. package/dist/admin/components/forms/field-types/Password/index.d.ts +5 -5
  380. package/dist/admin/components/forms/field-types/Password/index.js +61 -61
  381. package/dist/admin/components/forms/field-types/Password/types.d.ts +15 -15
  382. package/dist/admin/components/forms/field-types/Password/types.js +2 -2
  383. package/dist/admin/components/forms/field-types/Point/index.d.ts +5 -5
  384. package/dist/admin/components/forms/field-types/Point/index.js +82 -82
  385. package/dist/admin/components/forms/field-types/Point/types.d.ts +4 -4
  386. package/dist/admin/components/forms/field-types/Point/types.js +2 -2
  387. package/dist/admin/components/forms/field-types/RadioGroup/Input.d.ts +22 -22
  388. package/dist/admin/components/forms/field-types/RadioGroup/Input.js +46 -46
  389. package/dist/admin/components/forms/field-types/RadioGroup/RadioInput/index.d.ts +5 -5
  390. package/dist/admin/components/forms/field-types/RadioGroup/RadioInput/index.js +25 -25
  391. package/dist/admin/components/forms/field-types/RadioGroup/RadioInput/types.d.ts +10 -10
  392. package/dist/admin/components/forms/field-types/RadioGroup/RadioInput/types.js +2 -2
  393. package/dist/admin/components/forms/field-types/RadioGroup/index.d.ts +4 -4
  394. package/dist/admin/components/forms/field-types/RadioGroup/index.js +47 -47
  395. package/dist/admin/components/forms/field-types/RadioGroup/types.d.ts +5 -5
  396. package/dist/admin/components/forms/field-types/RadioGroup/types.js +2 -2
  397. package/dist/admin/components/forms/field-types/Relationship/AddNew/index.d.ts +4 -4
  398. package/dist/admin/components/forms/field-types/Relationship/AddNew/index.js +131 -131
  399. package/dist/admin/components/forms/field-types/Relationship/AddNew/types.d.ts +10 -10
  400. package/dist/admin/components/forms/field-types/Relationship/AddNew/types.js +2 -2
  401. package/dist/admin/components/forms/field-types/Relationship/AddNew/useRelatedCollections.d.ts +2 -2
  402. package/dist/admin/components/forms/field-types/Relationship/AddNew/useRelatedCollections.js +17 -17
  403. package/dist/admin/components/forms/field-types/Relationship/createRelationMap.d.ts +11 -10
  404. package/dist/admin/components/forms/field-types/Relationship/createRelationMap.js +40 -39
  405. package/dist/admin/components/forms/field-types/Relationship/createRelationMap.js.map +1 -1
  406. package/dist/admin/components/forms/field-types/Relationship/findOptionsByValue.d.ts +8 -8
  407. package/dist/admin/components/forms/field-types/Relationship/findOptionsByValue.js +37 -37
  408. package/dist/admin/components/forms/field-types/Relationship/index.d.ts +5 -5
  409. package/dist/admin/components/forms/field-types/Relationship/index.js +347 -343
  410. package/dist/admin/components/forms/field-types/Relationship/index.js.map +1 -1
  411. package/dist/admin/components/forms/field-types/Relationship/optionsReducer.d.ts +3 -3
  412. package/dist/admin/components/forms/field-types/Relationship/optionsReducer.js +92 -92
  413. package/dist/admin/components/forms/field-types/Relationship/select-components/MultiValueLabel/index.d.ts +5 -5
  414. package/dist/admin/components/forms/field-types/Relationship/select-components/MultiValueLabel/index.js +66 -66
  415. package/dist/admin/components/forms/field-types/Relationship/select-components/SingleValue/index.d.ts +5 -5
  416. package/dist/admin/components/forms/field-types/Relationship/select-components/SingleValue/index.js +64 -64
  417. package/dist/admin/components/forms/field-types/Relationship/types.d.ts +52 -55
  418. package/dist/admin/components/forms/field-types/Relationship/types.js +2 -2
  419. package/dist/admin/components/forms/field-types/RichText/RichText.d.ts +15 -15
  420. package/dist/admin/components/forms/field-types/RichText/RichText.js +272 -272
  421. package/dist/admin/components/forms/field-types/RichText/elements/Button.d.ts +6 -6
  422. package/dist/admin/components/forms/field-types/RichText/elements/Button.js +55 -55
  423. package/dist/admin/components/forms/field-types/RichText/elements/EnabledRelationshipsCondition.d.ts +2 -2
  424. package/dist/admin/components/forms/field-types/RichText/elements/EnabledRelationshipsCondition.js +46 -46
  425. package/dist/admin/components/forms/field-types/RichText/elements/ListButton.d.ts +6 -6
  426. package/dist/admin/components/forms/field-types/RichText/elements/ListButton.js +48 -48
  427. package/dist/admin/components/forms/field-types/RichText/elements/areAllChildrenElements.d.ts +2 -2
  428. package/dist/admin/components/forms/field-types/RichText/elements/areAllChildrenElements.js +8 -8
  429. package/dist/admin/components/forms/field-types/RichText/elements/getCommonBlock.d.ts +2 -2
  430. package/dist/admin/components/forms/field-types/RichText/elements/getCommonBlock.js +16 -16
  431. package/dist/admin/components/forms/field-types/RichText/elements/h1/index.d.ts +9 -9
  432. package/dist/admin/components/forms/field-types/RichText/elements/h1/index.js +15 -15
  433. package/dist/admin/components/forms/field-types/RichText/elements/h2/index.d.ts +9 -9
  434. package/dist/admin/components/forms/field-types/RichText/elements/h2/index.js +15 -15
  435. package/dist/admin/components/forms/field-types/RichText/elements/h3/index.d.ts +9 -9
  436. package/dist/admin/components/forms/field-types/RichText/elements/h3/index.js +15 -15
  437. package/dist/admin/components/forms/field-types/RichText/elements/h4/index.d.ts +9 -9
  438. package/dist/admin/components/forms/field-types/RichText/elements/h4/index.js +15 -15
  439. package/dist/admin/components/forms/field-types/RichText/elements/h5/index.d.ts +9 -9
  440. package/dist/admin/components/forms/field-types/RichText/elements/h5/index.js +15 -15
  441. package/dist/admin/components/forms/field-types/RichText/elements/h6/index.d.ts +9 -9
  442. package/dist/admin/components/forms/field-types/RichText/elements/h6/index.js +15 -15
  443. package/dist/admin/components/forms/field-types/RichText/elements/indent/index.d.ts +9 -9
  444. package/dist/admin/components/forms/field-types/RichText/elements/indent/index.js +190 -190
  445. package/dist/admin/components/forms/field-types/RichText/elements/index.d.ts +111 -111
  446. package/dist/admin/components/forms/field-types/RichText/elements/index.js +34 -34
  447. package/dist/admin/components/forms/field-types/RichText/elements/injectVoid.d.ts +2 -2
  448. package/dist/admin/components/forms/field-types/RichText/elements/injectVoid.js +28 -28
  449. package/dist/admin/components/forms/field-types/RichText/elements/isActive.d.ts +3 -3
  450. package/dist/admin/components/forms/field-types/RichText/elements/isActive.js +13 -13
  451. package/dist/admin/components/forms/field-types/RichText/elements/isLastSelectedElementEmpty.d.ts +2 -2
  452. package/dist/admin/components/forms/field-types/RichText/elements/isLastSelectedElementEmpty.js +20 -20
  453. package/dist/admin/components/forms/field-types/RichText/elements/isListActive.d.ts +3 -3
  454. package/dist/admin/components/forms/field-types/RichText/elements/isListActive.js +23 -23
  455. package/dist/admin/components/forms/field-types/RichText/elements/isWithinListItem.d.ts +2 -2
  456. package/dist/admin/components/forms/field-types/RichText/elements/isWithinListItem.js +19 -19
  457. package/dist/admin/components/forms/field-types/RichText/elements/li/index.d.ts +5 -5
  458. package/dist/admin/components/forms/field-types/RichText/elements/li/index.js +16 -16
  459. package/dist/admin/components/forms/field-types/RichText/elements/link/Button/index.d.ts +6 -6
  460. package/dist/admin/components/forms/field-types/RichText/elements/link/Button/index.js +136 -136
  461. package/dist/admin/components/forms/field-types/RichText/elements/link/Element/index.d.ts +10 -10
  462. package/dist/admin/components/forms/field-types/RichText/elements/link/Element/index.js +154 -154
  463. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/baseFields.d.ts +3 -3
  464. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/baseFields.js +71 -71
  465. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/index.d.ts +4 -4
  466. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/index.js +31 -31
  467. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/types.d.ts +9 -9
  468. package/dist/admin/components/forms/field-types/RichText/elements/link/LinkDrawer/types.js +2 -2
  469. package/dist/admin/components/forms/field-types/RichText/elements/link/index.d.ts +16 -16
  470. package/dist/admin/components/forms/field-types/RichText/elements/link/index.js +13 -13
  471. package/dist/admin/components/forms/field-types/RichText/elements/link/shared.d.ts +1 -1
  472. package/dist/admin/components/forms/field-types/RichText/elements/link/shared.js +4 -4
  473. package/dist/admin/components/forms/field-types/RichText/elements/link/utilities.d.ts +4 -4
  474. package/dist/admin/components/forms/field-types/RichText/elements/link/utilities.js +38 -38
  475. package/dist/admin/components/forms/field-types/RichText/elements/listTypes.d.ts +2 -2
  476. package/dist/admin/components/forms/field-types/RichText/elements/listTypes.js +3 -3
  477. package/dist/admin/components/forms/field-types/RichText/elements/ol/index.d.ts +10 -10
  478. package/dist/admin/components/forms/field-types/RichText/elements/ol/index.js +16 -16
  479. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Button/Fields/index.d.ts +3 -3
  480. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Button/Fields/index.js +62 -62
  481. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Button/index.d.ts +8 -8
  482. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Button/index.js +85 -85
  483. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Element/index.d.ts +11 -11
  484. package/dist/admin/components/forms/field-types/RichText/elements/relationship/Element/index.js +131 -131
  485. package/dist/admin/components/forms/field-types/RichText/elements/relationship/index.d.ts +15 -15
  486. package/dist/admin/components/forms/field-types/RichText/elements/relationship/index.js +15 -15
  487. package/dist/admin/components/forms/field-types/RichText/elements/relationship/plugin.d.ts +2 -2
  488. package/dist/admin/components/forms/field-types/RichText/elements/relationship/plugin.js +9 -9
  489. package/dist/admin/components/forms/field-types/RichText/elements/toggle.d.ts +3 -3
  490. package/dist/admin/components/forms/field-types/RichText/elements/toggle.js +28 -28
  491. package/dist/admin/components/forms/field-types/RichText/elements/toggleList.d.ts +3 -3
  492. package/dist/admin/components/forms/field-types/RichText/elements/toggleList.js +80 -80
  493. package/dist/admin/components/forms/field-types/RichText/elements/types.d.ts +9 -9
  494. package/dist/admin/components/forms/field-types/RichText/elements/types.js +2 -2
  495. package/dist/admin/components/forms/field-types/RichText/elements/ul/index.d.ts +10 -10
  496. package/dist/admin/components/forms/field-types/RichText/elements/ul/index.js +16 -16
  497. package/dist/admin/components/forms/field-types/RichText/elements/unwrapList.d.ts +2 -2
  498. package/dist/admin/components/forms/field-types/RichText/elements/unwrapList.js +45 -45
  499. package/dist/admin/components/forms/field-types/RichText/elements/upload/Button/index.d.ts +8 -8
  500. package/dist/admin/components/forms/field-types/RichText/elements/upload/Button/index.js +79 -79
  501. package/dist/admin/components/forms/field-types/RichText/elements/upload/Element/index.d.ts +12 -12
  502. package/dist/admin/components/forms/field-types/RichText/elements/upload/Element/index.js +133 -133
  503. package/dist/admin/components/forms/field-types/RichText/elements/upload/index.d.ts +16 -16
  504. package/dist/admin/components/forms/field-types/RichText/elements/upload/index.js +15 -15
  505. package/dist/admin/components/forms/field-types/RichText/elements/upload/plugin.d.ts +2 -2
  506. package/dist/admin/components/forms/field-types/RichText/elements/upload/plugin.js +9 -9
  507. package/dist/admin/components/forms/field-types/RichText/enablePlugins.d.ts +2 -2
  508. package/dist/admin/components/forms/field-types/RichText/enablePlugins.js +27 -27
  509. package/dist/admin/components/forms/field-types/RichText/hotkeys.d.ts +7 -7
  510. package/dist/admin/components/forms/field-types/RichText/hotkeys.js +8 -8
  511. package/dist/admin/components/forms/field-types/RichText/index.d.ts +4 -4
  512. package/dist/admin/components/forms/field-types/RichText/index.js +31 -31
  513. package/dist/admin/components/forms/field-types/RichText/leaves/Button.d.ts +7 -7
  514. package/dist/admin/components/forms/field-types/RichText/leaves/Button.js +22 -22
  515. package/dist/admin/components/forms/field-types/RichText/leaves/bold/index.d.ts +9 -9
  516. package/dist/admin/components/forms/field-types/RichText/leaves/bold/index.js +15 -15
  517. package/dist/admin/components/forms/field-types/RichText/leaves/code/index.d.ts +9 -9
  518. package/dist/admin/components/forms/field-types/RichText/leaves/code/index.js +15 -15
  519. package/dist/admin/components/forms/field-types/RichText/leaves/index.d.ts +39 -39
  520. package/dist/admin/components/forms/field-types/RichText/leaves/index.js +17 -17
  521. package/dist/admin/components/forms/field-types/RichText/leaves/isActive.d.ts +2 -2
  522. package/dist/admin/components/forms/field-types/RichText/leaves/isActive.js +8 -8
  523. package/dist/admin/components/forms/field-types/RichText/leaves/italic/index.d.ts +9 -9
  524. package/dist/admin/components/forms/field-types/RichText/leaves/italic/index.js +15 -15
  525. package/dist/admin/components/forms/field-types/RichText/leaves/strikethrough/index.d.ts +9 -9
  526. package/dist/admin/components/forms/field-types/RichText/leaves/strikethrough/index.js +15 -15
  527. package/dist/admin/components/forms/field-types/RichText/leaves/toggle.d.ts +2 -2
  528. package/dist/admin/components/forms/field-types/RichText/leaves/toggle.js +17 -17
  529. package/dist/admin/components/forms/field-types/RichText/leaves/underline/index.d.ts +9 -9
  530. package/dist/admin/components/forms/field-types/RichText/leaves/underline/index.js +15 -15
  531. package/dist/admin/components/forms/field-types/RichText/mergeCustomFunctions.d.ts +2 -2
  532. package/dist/admin/components/forms/field-types/RichText/mergeCustomFunctions.js +23 -23
  533. package/dist/admin/components/forms/field-types/RichText/plugins/withEnterBreakOut.d.ts +2 -2
  534. package/dist/admin/components/forms/field-types/RichText/plugins/withEnterBreakOut.js +9 -9
  535. package/dist/admin/components/forms/field-types/RichText/plugins/withHTML.d.ts +2 -2
  536. package/dist/admin/components/forms/field-types/RichText/plugins/withHTML.js +82 -82
  537. package/dist/admin/components/forms/field-types/RichText/plugins/withHTML.js.map +1 -1
  538. package/dist/admin/components/forms/field-types/RichText/types.d.ts +13 -13
  539. package/dist/admin/components/forms/field-types/RichText/types.js +7 -7
  540. package/dist/admin/components/forms/field-types/Row/index.d.ts +5 -5
  541. package/dist/admin/components/forms/field-types/Row/index.js +25 -25
  542. package/dist/admin/components/forms/field-types/Row/provider.d.ts +8 -8
  543. package/dist/admin/components/forms/field-types/Row/provider.js +35 -35
  544. package/dist/admin/components/forms/field-types/Row/types.d.ts +9 -9
  545. package/dist/admin/components/forms/field-types/Row/types.js +2 -2
  546. package/dist/admin/components/forms/field-types/Select/Input.d.ts +24 -24
  547. package/dist/admin/components/forms/field-types/Select/Input.js +52 -52
  548. package/dist/admin/components/forms/field-types/Select/index.d.ts +4 -4
  549. package/dist/admin/components/forms/field-types/Select/index.js +84 -84
  550. package/dist/admin/components/forms/field-types/Select/types.d.ts +4 -4
  551. package/dist/admin/components/forms/field-types/Select/types.js +2 -2
  552. package/dist/admin/components/forms/field-types/Tabs/index.d.ts +5 -5
  553. package/dist/admin/components/forms/field-types/Tabs/index.js +119 -119
  554. package/dist/admin/components/forms/field-types/Tabs/provider.d.ts +8 -8
  555. package/dist/admin/components/forms/field-types/Tabs/provider.js +35 -35
  556. package/dist/admin/components/forms/field-types/Tabs/types.d.ts +9 -9
  557. package/dist/admin/components/forms/field-types/Tabs/types.js +2 -2
  558. package/dist/admin/components/forms/field-types/Text/Input.d.ts +22 -22
  559. package/dist/admin/components/forms/field-types/Text/Input.js +32 -32
  560. package/dist/admin/components/forms/field-types/Text/index.d.ts +4 -4
  561. package/dist/admin/components/forms/field-types/Text/index.js +50 -50
  562. package/dist/admin/components/forms/field-types/Text/types.d.ts +7 -7
  563. package/dist/admin/components/forms/field-types/Text/types.js +2 -2
  564. package/dist/admin/components/forms/field-types/Textarea/Input.d.ts +21 -21
  565. package/dist/admin/components/forms/field-types/Textarea/Input.js +35 -35
  566. package/dist/admin/components/forms/field-types/Textarea/index.d.ts +5 -5
  567. package/dist/admin/components/forms/field-types/Textarea/index.js +53 -53
  568. package/dist/admin/components/forms/field-types/Textarea/types.d.ts +4 -4
  569. package/dist/admin/components/forms/field-types/Textarea/types.js +2 -2
  570. package/dist/admin/components/forms/field-types/UI/index.d.ts +4 -4
  571. package/dist/admin/components/forms/field-types/UI/index.js +15 -15
  572. package/dist/admin/components/forms/field-types/Upload/Input.d.ts +27 -27
  573. package/dist/admin/components/forms/field-types/Upload/Input.js +132 -132
  574. package/dist/admin/components/forms/field-types/Upload/index.d.ts +5 -5
  575. package/dist/admin/components/forms/field-types/Upload/index.js +60 -60
  576. package/dist/admin/components/forms/field-types/Upload/types.d.ts +6 -6
  577. package/dist/admin/components/forms/field-types/Upload/types.js +2 -2
  578. package/dist/admin/components/forms/field-types/getFilterOptionsQuery.d.ts +7 -7
  579. package/dist/admin/components/forms/field-types/getFilterOptionsQuery.js +15 -15
  580. package/dist/admin/components/forms/field-types/index.d.ts +29 -29
  581. package/dist/admin/components/forms/field-types/index.js +56 -56
  582. package/dist/admin/components/forms/field-types/rowReducer.d.ts +41 -41
  583. package/dist/admin/components/forms/field-types/rowReducer.js +68 -68
  584. package/dist/admin/components/forms/useField/index.d.ts +8 -8
  585. package/dist/admin/components/forms/useField/index.js +121 -121
  586. package/dist/admin/components/forms/useField/types.d.ts +16 -16
  587. package/dist/admin/components/forms/useField/types.js +2 -2
  588. package/dist/admin/components/forms/withCondition/index.d.ts +3 -3
  589. package/dist/admin/components/forms/withCondition/index.js +68 -68
  590. package/dist/admin/components/graphics/Account/Gravatar.d.ts +3 -3
  591. package/dist/admin/components/graphics/Account/Gravatar.js +20 -20
  592. package/dist/admin/components/graphics/Account/index.d.ts +3 -3
  593. package/dist/admin/components/graphics/Account/index.js +36 -36
  594. package/dist/admin/components/graphics/DefaultBlockImage/index.d.ts +3 -3
  595. package/dist/admin/components/graphics/DefaultBlockImage/index.js +38 -38
  596. package/dist/admin/components/graphics/File/index.d.ts +3 -3
  597. package/dist/admin/components/graphics/File/index.js +11 -11
  598. package/dist/admin/components/graphics/Icon/index.d.ts +3 -3
  599. package/dist/admin/components/graphics/Icon/index.js +20 -20
  600. package/dist/admin/components/graphics/Logo/index.d.ts +3 -3
  601. package/dist/admin/components/graphics/Logo/index.js +27 -27
  602. package/dist/admin/components/graphics/Search/index.d.ts +3 -3
  603. package/dist/admin/components/graphics/Search/index.js +10 -10
  604. package/dist/admin/components/icons/Blockquote/index.d.ts +3 -3
  605. package/dist/admin/components/icons/Blockquote/index.js +10 -10
  606. package/dist/admin/components/icons/Bold/index.d.ts +3 -3
  607. package/dist/admin/components/icons/Bold/index.js +10 -10
  608. package/dist/admin/components/icons/Calendar/index.d.ts +4 -4
  609. package/dist/admin/components/icons/Calendar/index.js +13 -13
  610. package/dist/admin/components/icons/Check/index.d.ts +4 -4
  611. package/dist/admin/components/icons/Check/index.js +11 -11
  612. package/dist/admin/components/icons/Chevron/index.d.ts +6 -6
  613. package/dist/admin/components/icons/Chevron/index.js +13 -13
  614. package/dist/admin/components/icons/CloseMenu/index.d.ts +4 -4
  615. package/dist/admin/components/icons/CloseMenu/index.js +11 -11
  616. package/dist/admin/components/icons/Code/index.d.ts +3 -3
  617. package/dist/admin/components/icons/Code/index.js +9 -9
  618. package/dist/admin/components/icons/CodeBlock/index.d.ts +3 -3
  619. package/dist/admin/components/icons/CodeBlock/index.js +10 -10
  620. package/dist/admin/components/icons/Copy/index.d.ts +4 -4
  621. package/dist/admin/components/icons/Copy/index.js +11 -11
  622. package/dist/admin/components/icons/Drag/index.d.ts +6 -6
  623. package/dist/admin/components/icons/Drag/index.js +18 -18
  624. package/dist/admin/components/icons/Edit/index.d.ts +4 -4
  625. package/dist/admin/components/icons/Edit/index.js +12 -12
  626. package/dist/admin/components/icons/IndentLeft/index.d.ts +4 -4
  627. package/dist/admin/components/icons/IndentLeft/index.js +13 -13
  628. package/dist/admin/components/icons/IndentRight/index.d.ts +4 -4
  629. package/dist/admin/components/icons/IndentRight/index.js +13 -13
  630. package/dist/admin/components/icons/Italic/index.d.ts +3 -3
  631. package/dist/admin/components/icons/Italic/index.js +10 -10
  632. package/dist/admin/components/icons/Link/index.d.ts +3 -3
  633. package/dist/admin/components/icons/Link/index.js +10 -10
  634. package/dist/admin/components/icons/LogOut/index.d.ts +4 -4
  635. package/dist/admin/components/icons/LogOut/index.js +13 -13
  636. package/dist/admin/components/icons/Menu/index.d.ts +4 -4
  637. package/dist/admin/components/icons/Menu/index.js +12 -12
  638. package/dist/admin/components/icons/More/index.d.ts +6 -6
  639. package/dist/admin/components/icons/More/index.js +15 -15
  640. package/dist/admin/components/icons/OrderedList/index.d.ts +3 -3
  641. package/dist/admin/components/icons/OrderedList/index.js +10 -10
  642. package/dist/admin/components/icons/Plus/index.d.ts +4 -4
  643. package/dist/admin/components/icons/Plus/index.js +11 -11
  644. package/dist/admin/components/icons/Relationship/index.d.ts +4 -4
  645. package/dist/admin/components/icons/Relationship/index.js +12 -12
  646. package/dist/admin/components/icons/Search/index.d.ts +4 -4
  647. package/dist/admin/components/icons/Search/index.js +11 -11
  648. package/dist/admin/components/icons/Strikethrough/index.d.ts +3 -3
  649. package/dist/admin/components/icons/Strikethrough/index.js +10 -10
  650. package/dist/admin/components/icons/Swap/index.d.ts +4 -4
  651. package/dist/admin/components/icons/Swap/index.js +13 -13
  652. package/dist/admin/components/icons/Underline/index.d.ts +3 -3
  653. package/dist/admin/components/icons/Underline/index.js +10 -10
  654. package/dist/admin/components/icons/UnorderedList/index.d.ts +3 -3
  655. package/dist/admin/components/icons/UnorderedList/index.js +10 -10
  656. package/dist/admin/components/icons/Upload/index.d.ts +4 -4
  657. package/dist/admin/components/icons/Upload/index.js +11 -11
  658. package/dist/admin/components/icons/X/index.d.ts +6 -6
  659. package/dist/admin/components/icons/X/index.js +14 -14
  660. package/dist/admin/components/icons/headings/H1/index.d.ts +3 -3
  661. package/dist/admin/components/icons/headings/H1/index.js +10 -10
  662. package/dist/admin/components/icons/headings/H2/index.d.ts +3 -3
  663. package/dist/admin/components/icons/headings/H2/index.js +10 -10
  664. package/dist/admin/components/icons/headings/H3/index.d.ts +3 -3
  665. package/dist/admin/components/icons/headings/H3/index.js +10 -10
  666. package/dist/admin/components/icons/headings/H4/index.d.ts +3 -3
  667. package/dist/admin/components/icons/headings/H4/index.js +10 -10
  668. package/dist/admin/components/icons/headings/H5/index.d.ts +3 -3
  669. package/dist/admin/components/icons/headings/H5/index.js +10 -10
  670. package/dist/admin/components/icons/headings/H6/index.d.ts +3 -3
  671. package/dist/admin/components/icons/headings/H6/index.js +10 -10
  672. package/dist/admin/components/icons/headings/index.d.ts +10 -10
  673. package/dist/admin/components/icons/headings/index.js +19 -19
  674. package/dist/admin/components/index.d.ts +10 -10
  675. package/dist/admin/components/index.js +26 -26
  676. package/dist/admin/components/modals/LeaveWithoutSaving/index.d.ts +4 -4
  677. package/dist/admin/components/modals/LeaveWithoutSaving/index.js +26 -26
  678. package/dist/admin/components/modals/StayLoggedIn/index.d.ts +5 -5
  679. package/dist/admin/components/modals/StayLoggedIn/index.js +37 -37
  680. package/dist/admin/components/modals/StayLoggedIn/types.d.ts +3 -3
  681. package/dist/admin/components/modals/StayLoggedIn/types.js +2 -2
  682. package/dist/admin/components/templates/Default/index.d.ts +5 -5
  683. package/dist/admin/components/templates/Default/index.js +28 -28
  684. package/dist/admin/components/templates/Default/types.d.ts +5 -5
  685. package/dist/admin/components/templates/Default/types.js +2 -2
  686. package/dist/admin/components/templates/Minimal/index.d.ts +5 -5
  687. package/dist/admin/components/templates/Minimal/index.js +19 -19
  688. package/dist/admin/components/templates/Minimal/types.d.ts +7 -7
  689. package/dist/admin/components/templates/Minimal/types.js +2 -2
  690. package/dist/admin/components/utilities/Auth/index.d.ts +9 -9
  691. package/dist/admin/components/utilities/Auth/index.js +170 -170
  692. package/dist/admin/components/utilities/Auth/types.d.ts +9 -9
  693. package/dist/admin/components/utilities/Auth/types.js +2 -2
  694. package/dist/admin/components/utilities/Config/index.d.ts +7 -7
  695. package/dist/admin/components/utilities/Config/index.js +48 -32
  696. package/dist/admin/components/utilities/Config/index.js.map +1 -1
  697. package/dist/admin/components/utilities/CustomProvider/index.d.ts +4 -4
  698. package/dist/admin/components/utilities/CustomProvider/index.js +25 -25
  699. package/dist/admin/components/utilities/DocumentInfo/index.d.ts +4 -4
  700. package/dist/admin/components/utilities/DocumentInfo/index.js +223 -223
  701. package/dist/admin/components/utilities/DocumentInfo/types.d.ts +32 -32
  702. package/dist/admin/components/utilities/DocumentInfo/types.js +2 -2
  703. package/dist/admin/components/utilities/EditDepth/index.d.ts +3 -3
  704. package/dist/admin/components/utilities/EditDepth/index.js +7 -7
  705. package/dist/admin/components/utilities/GetFilterOptions/index.d.ts +11 -11
  706. package/dist/admin/components/utilities/GetFilterOptions/index.js +44 -44
  707. package/dist/admin/components/utilities/I18n/index.d.ts +3 -3
  708. package/dist/admin/components/utilities/I18n/index.js +27 -27
  709. package/dist/admin/components/utilities/LoadingOverlay/index.d.ts +11 -11
  710. package/dist/admin/components/utilities/LoadingOverlay/index.js +86 -86
  711. package/dist/admin/components/utilities/LoadingOverlay/reducer.d.ts +8 -8
  712. package/dist/admin/components/utilities/LoadingOverlay/reducer.js +28 -28
  713. package/dist/admin/components/utilities/LoadingOverlay/types.d.ts +40 -40
  714. package/dist/admin/components/utilities/LoadingOverlay/types.js +2 -2
  715. package/dist/admin/components/utilities/Locale/index.d.ts +7 -7
  716. package/dist/admin/components/utilities/Locale/index.js +73 -73
  717. package/dist/admin/components/utilities/Meta/index.d.ts +4 -4
  718. package/dist/admin/components/utilities/Meta/index.js +64 -64
  719. package/dist/admin/components/utilities/Meta/types.d.ts +12 -12
  720. package/dist/admin/components/utilities/Meta/types.js +2 -2
  721. package/dist/admin/components/utilities/OperationProvider/index.d.ts +4 -4
  722. package/dist/admin/components/utilities/OperationProvider/index.js +7 -7
  723. package/dist/admin/components/utilities/Portal/index.d.ts +5 -5
  724. package/dist/admin/components/utilities/Portal/index.js +8 -8
  725. package/dist/admin/components/utilities/Preferences/index.d.ts +10 -10
  726. package/dist/admin/components/utilities/Preferences/index.js +85 -85
  727. package/dist/admin/components/utilities/RenderCustomComponent/index.d.ts +4 -4
  728. package/dist/admin/components/utilities/RenderCustomComponent/index.js +14 -14
  729. package/dist/admin/components/utilities/RenderCustomComponent/types.d.ts +6 -6
  730. package/dist/admin/components/utilities/RenderCustomComponent/types.js +2 -2
  731. package/dist/admin/components/utilities/SearchParams/index.d.ts +6 -6
  732. package/dist/admin/components/utilities/SearchParams/index.js +41 -41
  733. package/dist/admin/components/utilities/Theme/index.d.ts +13 -13
  734. package/dist/admin/components/utilities/Theme/index.js +75 -75
  735. package/dist/admin/components/views/Account/Default.d.ts +5 -5
  736. package/dist/admin/components/views/Account/Default.js +89 -89
  737. package/dist/admin/components/views/Account/Default.js.map +1 -1
  738. package/dist/admin/components/views/Account/ToggleTheme/index.d.ts +2 -2
  739. package/dist/admin/components/views/Account/ToggleTheme/index.js +55 -55
  740. package/dist/admin/components/views/Account/index.d.ts +3 -3
  741. package/dist/admin/components/views/Account/index.js +107 -107
  742. package/dist/admin/components/views/Account/types.d.ts +14 -14
  743. package/dist/admin/components/views/Account/types.js +2 -2
  744. package/dist/admin/components/views/CreateFirstUser/index.d.ts +5 -5
  745. package/dist/admin/components/views/CreateFirstUser/index.js +60 -60
  746. package/dist/admin/components/views/CreateFirstUser/types.d.ts +3 -3
  747. package/dist/admin/components/views/CreateFirstUser/types.js +2 -2
  748. package/dist/admin/components/views/Dashboard/Default.d.ts +5 -5
  749. package/dist/admin/components/views/Dashboard/Default.js +94 -94
  750. package/dist/admin/components/views/Dashboard/index.d.ts +3 -3
  751. package/dist/admin/components/views/Dashboard/index.js +54 -54
  752. package/dist/admin/components/views/Dashboard/types.d.ts +8 -8
  753. package/dist/admin/components/views/Dashboard/types.js +2 -2
  754. package/dist/admin/components/views/ForgotPassword/index.d.ts +4 -4
  755. package/dist/admin/components/views/ForgotPassword/index.js +79 -79
  756. package/dist/admin/components/views/Global/Default.d.ts +5 -5
  757. package/dist/admin/components/views/Global/Default.js +85 -85
  758. package/dist/admin/components/views/Global/Default.js.map +1 -1
  759. package/dist/admin/components/views/Global/index.d.ts +4 -4
  760. package/dist/admin/components/views/Global/index.js +93 -93
  761. package/dist/admin/components/views/Global/types.d.ts +19 -19
  762. package/dist/admin/components/views/Global/types.js +2 -2
  763. package/dist/admin/components/views/Login/index.d.ts +4 -4
  764. package/dist/admin/components/views/Login/index.js +60 -60
  765. package/dist/admin/components/views/Logout/index.d.ts +6 -6
  766. package/dist/admin/components/views/Logout/index.js +54 -54
  767. package/dist/admin/components/views/NotFound/index.d.ts +3 -3
  768. package/dist/admin/components/views/NotFound/index.js +55 -55
  769. package/dist/admin/components/views/ResetPassword/index.d.ts +4 -4
  770. package/dist/admin/components/views/ResetPassword/index.js +54 -54
  771. package/dist/admin/components/views/Unauthorized/index.d.ts +3 -3
  772. package/dist/admin/components/views/Unauthorized/index.js +23 -23
  773. package/dist/admin/components/views/Verify/index.d.ts +7 -7
  774. package/dist/admin/components/views/Verify/index.js +79 -79
  775. package/dist/admin/components/views/Version/Compare/index.d.ts +5 -5
  776. package/dist/admin/components/views/Version/Compare/index.js +114 -114
  777. package/dist/admin/components/views/Version/Compare/index.js.map +1 -1
  778. package/dist/admin/components/views/Version/Compare/types.d.ts +26 -26
  779. package/dist/admin/components/views/Version/Compare/types.js +2 -2
  780. package/dist/admin/components/views/Version/RenderFieldsToDiff/Label/index.d.ts +6 -6
  781. package/dist/admin/components/views/Version/RenderFieldsToDiff/Label/index.js +10 -10
  782. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +8 -8
  783. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +61 -61
  784. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Nested/index.d.ts +8 -8
  785. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Nested/index.js +26 -26
  786. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +8 -8
  787. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +77 -77
  788. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts +5 -5
  789. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Select/index.js +62 -62
  790. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +7 -7
  791. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +17 -17
  792. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts +5 -5
  793. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/index.js +56 -56
  794. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/richTextToHTML.d.ts +1 -1
  795. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/richTextToHTML.js +86 -86
  796. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/stringifyRichText.d.ts +1 -1
  797. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/Text/stringifyRichText.js +56 -56
  798. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/diffMethods.d.ts +6 -6
  799. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/diffMethods.js +9 -9
  800. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/index.d.ts +40 -40
  801. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/index.js +33 -33
  802. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/styles.d.ts +14 -14
  803. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/styles.js +17 -17
  804. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/types.d.ts +16 -16
  805. package/dist/admin/components/views/Version/RenderFieldsToDiff/fields/types.js +2 -2
  806. package/dist/admin/components/views/Version/RenderFieldsToDiff/index.d.ts +5 -5
  807. package/dist/admin/components/views/Version/RenderFieldsToDiff/index.js +49 -49
  808. package/dist/admin/components/views/Version/RenderFieldsToDiff/types.d.ts +11 -11
  809. package/dist/admin/components/views/Version/RenderFieldsToDiff/types.js +2 -2
  810. package/dist/admin/components/views/Version/Restore/index.d.ts +5 -5
  811. package/dist/admin/components/views/Version/Restore/index.js +82 -82
  812. package/dist/admin/components/views/Version/Restore/types.d.ts +10 -10
  813. package/dist/admin/components/views/Version/Restore/types.js +2 -2
  814. package/dist/admin/components/views/Version/SelectLocales/index.d.ts +5 -5
  815. package/dist/admin/components/views/Version/SelectLocales/index.js +17 -17
  816. package/dist/admin/components/views/Version/SelectLocales/types.d.ts +6 -6
  817. package/dist/admin/components/views/Version/SelectLocales/types.js +2 -2
  818. package/dist/admin/components/views/Version/Version.d.ts +5 -5
  819. package/dist/admin/components/views/Version/Version.js +187 -187
  820. package/dist/admin/components/views/Version/Version.js.map +1 -1
  821. package/dist/admin/components/views/Version/index.d.ts +4 -4
  822. package/dist/admin/components/views/Version/index.js +31 -31
  823. package/dist/admin/components/views/Version/shared.d.ts +8 -8
  824. package/dist/admin/components/views/Version/shared.js +11 -11
  825. package/dist/admin/components/views/Version/types.d.ts +16 -16
  826. package/dist/admin/components/views/Version/types.js +2 -2
  827. package/dist/admin/components/views/Versions/columns.d.ts +5 -5
  828. package/dist/admin/components/views/Versions/columns.js +56 -54
  829. package/dist/admin/components/views/Versions/columns.js.map +1 -1
  830. package/dist/admin/components/views/Versions/index.d.ts +5 -5
  831. package/dist/admin/components/views/Versions/index.js +191 -191
  832. package/dist/admin/components/views/Versions/types.d.ts +6 -6
  833. package/dist/admin/components/views/Versions/types.js +2 -2
  834. package/dist/admin/components/views/collections/Edit/Auth/APIKey.d.ts +3 -3
  835. package/dist/admin/components/views/collections/Edit/Auth/APIKey.js +89 -89
  836. package/dist/admin/components/views/collections/Edit/Auth/index.d.ts +5 -5
  837. package/dist/admin/components/views/collections/Edit/Auth/index.js +99 -98
  838. package/dist/admin/components/views/collections/Edit/Auth/index.js.map +1 -1
  839. package/dist/admin/components/views/collections/Edit/Auth/types.d.ts +10 -10
  840. package/dist/admin/components/views/collections/Edit/Auth/types.js +2 -2
  841. package/dist/admin/components/views/collections/Edit/Default.d.ts +5 -5
  842. package/dist/admin/components/views/collections/Edit/Default.js +111 -111
  843. package/dist/admin/components/views/collections/Edit/Default.js.map +1 -1
  844. package/dist/admin/components/views/collections/Edit/SetStepNav.d.ts +7 -7
  845. package/dist/admin/components/views/collections/Edit/SetStepNav.js +38 -38
  846. package/dist/admin/components/views/collections/Edit/Upload/index.d.ts +5 -5
  847. package/dist/admin/components/views/collections/Edit/Upload/index.js +161 -161
  848. package/dist/admin/components/views/collections/Edit/Upload/types.d.ts +9 -9
  849. package/dist/admin/components/views/collections/Edit/Upload/types.js +2 -2
  850. package/dist/admin/components/views/collections/Edit/formatFields.d.ts +4 -4
  851. package/dist/admin/components/views/collections/Edit/formatFields.js +7 -7
  852. package/dist/admin/components/views/collections/Edit/index.d.ts +4 -4
  853. package/dist/admin/components/views/collections/Edit/index.js +113 -113
  854. package/dist/admin/components/views/collections/Edit/types.d.ts +26 -26
  855. package/dist/admin/components/views/collections/Edit/types.js +2 -2
  856. package/dist/admin/components/views/collections/List/Cell/cellTypes.spec.d.ts +1 -1
  857. package/dist/admin/components/views/collections/List/Cell/cellTypes.spec.js +157 -157
  858. package/dist/admin/components/views/collections/List/Cell/field-types/Array/index.d.ts +8 -8
  859. package/dist/admin/components/views/collections/List/Cell/field-types/Array/index.js +16 -16
  860. package/dist/admin/components/views/collections/List/Cell/field-types/Blocks/index.d.ts +8 -8
  861. package/dist/admin/components/views/collections/List/Cell/field-types/Blocks/index.js +29 -29
  862. package/dist/admin/components/views/collections/List/Cell/field-types/Checkbox/index.d.ts +6 -6
  863. package/dist/admin/components/views/collections/List/Cell/field-types/Checkbox/index.js +11 -11
  864. package/dist/admin/components/views/collections/List/Cell/field-types/Code/index.d.ts +6 -6
  865. package/dist/admin/components/views/collections/List/Cell/field-types/Code/index.js +13 -13
  866. package/dist/admin/components/views/collections/List/Cell/field-types/Date/index.d.ts +6 -6
  867. package/dist/admin/components/views/collections/List/Cell/field-types/Date/index.js +17 -15
  868. package/dist/admin/components/views/collections/List/Cell/field-types/Date/index.js.map +1 -1
  869. package/dist/admin/components/views/collections/List/Cell/field-types/JSON/index.d.ts +6 -6
  870. package/dist/admin/components/views/collections/List/Cell/field-types/JSON/index.js +13 -13
  871. package/dist/admin/components/views/collections/List/Cell/field-types/Relationship/index.d.ts +4 -4
  872. package/dist/admin/components/views/collections/List/Cell/field-types/Relationship/index.js +83 -83
  873. package/dist/admin/components/views/collections/List/Cell/field-types/Richtext/index.d.ts +5 -5
  874. package/dist/admin/components/views/collections/List/Cell/field-types/Richtext/index.js +12 -12
  875. package/dist/admin/components/views/collections/List/Cell/field-types/Select/index.d.ts +8 -8
  876. package/dist/admin/components/views/collections/List/Cell/field-types/Select/index.js +31 -31
  877. package/dist/admin/components/views/collections/List/Cell/field-types/Textarea/index.d.ts +5 -5
  878. package/dist/admin/components/views/collections/List/Cell/field-types/Textarea/index.js +11 -11
  879. package/dist/admin/components/views/collections/List/Cell/field-types/index.d.ts +41 -41
  880. package/dist/admin/components/views/collections/List/Cell/field-types/index.js +29 -29
  881. package/dist/admin/components/views/collections/List/Cell/index.d.ts +4 -4
  882. package/dist/admin/components/views/collections/List/Cell/index.js +56 -56
  883. package/dist/admin/components/views/collections/List/Cell/types.d.ts +14 -14
  884. package/dist/admin/components/views/collections/List/Cell/types.js +2 -2
  885. package/dist/admin/components/views/collections/List/Default.d.ts +5 -5
  886. package/dist/admin/components/views/collections/List/Default.js +96 -96
  887. package/dist/admin/components/views/collections/List/RelationshipProvider/index.d.ts +19 -19
  888. package/dist/admin/components/views/collections/List/RelationshipProvider/index.js +85 -85
  889. package/dist/admin/components/views/collections/List/RelationshipProvider/reducer.d.ts +18 -18
  890. package/dist/admin/components/views/collections/List/RelationshipProvider/reducer.js +38 -38
  891. package/dist/admin/components/views/collections/List/buildColumns.d.ts +11 -11
  892. package/dist/admin/components/views/collections/List/buildColumns.js +54 -54
  893. package/dist/admin/components/views/collections/List/formatFields.d.ts +5 -5
  894. package/dist/admin/components/views/collections/List/formatFields.js +40 -40
  895. package/dist/admin/components/views/collections/List/getInitialColumns.d.ts +3 -3
  896. package/dist/admin/components/views/collections/List/getInitialColumns.js +41 -41
  897. package/dist/admin/components/views/collections/List/index.d.ts +4 -4
  898. package/dist/admin/components/views/collections/List/index.js +147 -147
  899. package/dist/admin/components/views/collections/List/types.d.ts +38 -38
  900. package/dist/admin/components/views/collections/List/types.js +2 -2
  901. package/dist/admin/hooks/useDebounce.d.ts +1 -1
  902. package/dist/admin/hooks/useDebounce.js +18 -18
  903. package/dist/admin/hooks/useDebouncedCallback.d.ts +7 -7
  904. package/dist/admin/hooks/useDebouncedCallback.js +24 -24
  905. package/dist/admin/hooks/useDelay.d.ts +3 -3
  906. package/dist/admin/hooks/useDelay.js +51 -51
  907. package/dist/admin/hooks/useDelayedRender.d.ts +24 -24
  908. package/dist/admin/hooks/useDelayedRender.js +63 -63
  909. package/dist/admin/hooks/useIntersect.d.ts +11 -11
  910. package/dist/admin/hooks/useIntersect.js +22 -22
  911. package/dist/admin/hooks/useMountEffect.d.ts +2 -2
  912. package/dist/admin/hooks/useMountEffect.js +5 -5
  913. package/dist/admin/hooks/usePayloadAPI.d.ts +18 -18
  914. package/dist/admin/hooks/usePayloadAPI.js +57 -57
  915. package/dist/admin/hooks/useThrottledEffect.d.ts +4 -4
  916. package/dist/admin/hooks/useThrottledEffect.js +19 -19
  917. package/dist/admin/hooks/useThumbnail.d.ts +3 -3
  918. package/dist/admin/hooks/useThumbnail.js +35 -35
  919. package/dist/admin/hooks/useTitle.d.ts +2 -2
  920. package/dist/admin/hooks/useTitle.js +24 -22
  921. package/dist/admin/hooks/useTitle.js.map +1 -1
  922. package/dist/admin/index.d.ts +1 -1
  923. package/dist/admin/index.js +57 -57
  924. package/dist/admin/utilities/formatDate/getSupportedDateLocale.d.ts +1 -0
  925. package/dist/admin/utilities/formatDate/getSupportedDateLocale.js +14 -0
  926. package/dist/admin/utilities/formatDate/getSupportedDateLocale.js.map +1 -0
  927. package/dist/admin/utilities/formatDate/index.d.ts +1 -0
  928. package/dist/admin/utilities/formatDate/index.js +36 -0
  929. package/dist/admin/utilities/formatDate/index.js.map +1 -0
  930. package/dist/admin/utilities/getOffsetTop.d.ts +1 -1
  931. package/dist/admin/utilities/getOffsetTop.js +18 -18
  932. package/dist/admin/utilities/groupNavItems.d.ts +20 -20
  933. package/dist/admin/utilities/groupNavItems.js +42 -42
  934. package/dist/admin/utilities/scrollToID.d.ts +1 -1
  935. package/dist/admin/utilities/scrollToID.js +14 -14
  936. package/dist/auth/baseFields/accountLock.d.ts +3 -3
  937. package/dist/auth/baseFields/accountLock.js +15 -15
  938. package/dist/auth/baseFields/apiKey.d.ts +3 -3
  939. package/dist/auth/baseFields/apiKey.js +64 -64
  940. package/dist/auth/baseFields/auth.d.ts +3 -3
  941. package/dist/auth/baseFields/auth.js +29 -29
  942. package/dist/auth/baseFields/verification.d.ts +3 -3
  943. package/dist/auth/baseFields/verification.js +40 -40
  944. package/dist/auth/crypto.d.ts +2 -2
  945. package/dist/auth/crypto.js +25 -25
  946. package/dist/auth/defaultAccess.d.ts +5 -5
  947. package/dist/auth/defaultAccess.js +3 -3
  948. package/dist/auth/defaultUser.d.ts +3 -3
  949. package/dist/auth/defaultUser.js +19 -19
  950. package/dist/auth/executeAccess.d.ts +3 -3
  951. package/dist/auth/executeAccess.js +20 -20
  952. package/dist/auth/getExecuteStaticAccess.d.ts +7 -7
  953. package/dist/auth/getExecuteStaticAccess.js +55 -55
  954. package/dist/auth/getExtractJWT.d.ts +4 -4
  955. package/dist/auth/getExtractJWT.js +24 -24
  956. package/dist/auth/graphql/resolvers/access.d.ts +3 -3
  957. package/dist/auth/graphql/resolvers/access.js +31 -31
  958. package/dist/auth/graphql/resolvers/forgotPassword.d.ts +3 -3
  959. package/dist/auth/graphql/resolvers/forgotPassword.js +23 -23
  960. package/dist/auth/graphql/resolvers/init.d.ts +3 -3
  961. package/dist/auth/graphql/resolvers/init.js +18 -18
  962. package/dist/auth/graphql/resolvers/login.d.ts +5 -5
  963. package/dist/auth/graphql/resolvers/login.js +23 -23
  964. package/dist/auth/graphql/resolvers/logout.d.ts +3 -3
  965. package/dist/auth/graphql/resolvers/logout.js +19 -19
  966. package/dist/auth/graphql/resolvers/me.d.ts +3 -3
  967. package/dist/auth/graphql/resolvers/me.js +17 -17
  968. package/dist/auth/graphql/resolvers/refresh.d.ts +3 -3
  969. package/dist/auth/graphql/resolvers/refresh.js +27 -27
  970. package/dist/auth/graphql/resolvers/resetPassword.d.ts +3 -3
  971. package/dist/auth/graphql/resolvers/resetPassword.js +25 -25
  972. package/dist/auth/graphql/resolvers/unlock.d.ts +3 -3
  973. package/dist/auth/graphql/resolvers/unlock.js +19 -19
  974. package/dist/auth/graphql/resolvers/verifyEmail.d.ts +3 -3
  975. package/dist/auth/graphql/resolvers/verifyEmail.js +25 -25
  976. package/dist/auth/index.d.ts +1 -1
  977. package/dist/auth/index.js +17 -17
  978. package/dist/auth/init.d.ts +3 -3
  979. package/dist/auth/init.js +13 -13
  980. package/dist/auth/isLocked.d.ts +2 -2
  981. package/dist/auth/isLocked.js +4 -4
  982. package/dist/auth/operations/access.d.ts +7 -7
  983. package/dist/auth/operations/access.js +59 -59
  984. package/dist/auth/operations/forgotPassword.d.ts +15 -15
  985. package/dist/auth/operations/forgotPassword.js +69 -69
  986. package/dist/auth/operations/init.d.ts +7 -7
  987. package/dist/auth/operations/init.js +8 -8
  988. package/dist/auth/operations/local/forgotPassword.d.ts +15 -15
  989. package/dist/auth/operations/local/forgotPassword.js +30 -30
  990. package/dist/auth/operations/local/index.d.ts +13 -13
  991. package/dist/auth/operations/local/index.js +17 -17
  992. package/dist/auth/operations/local/login.d.ts +23 -23
  993. package/dist/auth/operations/local/login.js +40 -40
  994. package/dist/auth/operations/local/resetPassword.d.ts +15 -15
  995. package/dist/auth/operations/local/resetPassword.js +30 -30
  996. package/dist/auth/operations/local/unlock.d.ts +13 -13
  997. package/dist/auth/operations/local/unlock.js +30 -30
  998. package/dist/auth/operations/local/verifyEmail.d.ts +8 -8
  999. package/dist/auth/operations/local/verifyEmail.js +19 -19
  1000. package/dist/auth/operations/login.d.ts +26 -26
  1001. package/dist/auth/operations/login.js +147 -147
  1002. package/dist/auth/operations/logout.d.ts +10 -10
  1003. package/dist/auth/operations/logout.js +34 -34
  1004. package/dist/auth/operations/me.d.ts +15 -15
  1005. package/dist/auth/operations/me.js +45 -45
  1006. package/dist/auth/operations/refresh.d.ts +17 -17
  1007. package/dist/auth/operations/refresh.js +69 -69
  1008. package/dist/auth/operations/registerFirstUser.d.ts +22 -22
  1009. package/dist/auth/operations/registerFirstUser.js +44 -44
  1010. package/dist/auth/operations/resetPassword.d.ts +19 -19
  1011. package/dist/auth/operations/resetPassword.js +61 -61
  1012. package/dist/auth/operations/unlock.d.ts +12 -12
  1013. package/dist/auth/operations/unlock.js +30 -30
  1014. package/dist/auth/operations/verifyEmail.d.ts +7 -7
  1015. package/dist/auth/operations/verifyEmail.js +24 -24
  1016. package/dist/auth/requestHandlers/access.d.ts +4 -4
  1017. package/dist/auth/requestHandlers/access.js +20 -20
  1018. package/dist/auth/requestHandlers/forgotPassword.d.ts +3 -3
  1019. package/dist/auth/requestHandlers/forgotPassword.js +26 -26
  1020. package/dist/auth/requestHandlers/init.d.ts +3 -3
  1021. package/dist/auth/requestHandlers/init.js +16 -16
  1022. package/dist/auth/requestHandlers/login.d.ts +6 -6
  1023. package/dist/auth/requestHandlers/login.js +29 -29
  1024. package/dist/auth/requestHandlers/logout.d.ts +5 -5
  1025. package/dist/auth/requestHandlers/logout.js +21 -21
  1026. package/dist/auth/requestHandlers/me.d.ts +3 -3
  1027. package/dist/auth/requestHandlers/me.js +19 -19
  1028. package/dist/auth/requestHandlers/refresh.d.ts +3 -3
  1029. package/dist/auth/requestHandlers/refresh.js +31 -31
  1030. package/dist/auth/requestHandlers/registerFirstUser.d.ts +3 -3
  1031. package/dist/auth/requestHandlers/registerFirstUser.js +21 -21
  1032. package/dist/auth/requestHandlers/resetPassword.d.ts +4 -4
  1033. package/dist/auth/requestHandlers/resetPassword.js +27 -27
  1034. package/dist/auth/requestHandlers/unlock.d.ts +3 -3
  1035. package/dist/auth/requestHandlers/unlock.js +24 -24
  1036. package/dist/auth/requestHandlers/verifyEmail.d.ts +4 -4
  1037. package/dist/auth/requestHandlers/verifyEmail.js +23 -23
  1038. package/dist/auth/sendVerificationEmail.d.ts +17 -17
  1039. package/dist/auth/sendVerificationEmail.js +35 -35
  1040. package/dist/auth/strategies/apiKey.d.ts +7 -7
  1041. package/dist/auth/strategies/apiKey.js +65 -65
  1042. package/dist/auth/strategies/jwt.d.ts +4 -4
  1043. package/dist/auth/strategies/jwt.js +43 -43
  1044. package/dist/auth/types.d.ts +121 -121
  1045. package/dist/auth/types.js +7 -7
  1046. package/dist/bin/build.d.ts +1 -1
  1047. package/dist/bin/build.js +42 -42
  1048. package/dist/bin/build.js.map +1 -1
  1049. package/dist/bin/generateGraphQLSchema.d.ts +1 -1
  1050. package/dist/bin/generateGraphQLSchema.js +29 -29
  1051. package/dist/bin/generateGraphQLSchema.js.map +1 -1
  1052. package/dist/bin/generateTypes.d.ts +1 -1
  1053. package/dist/bin/generateTypes.js +55 -55
  1054. package/dist/bin/generateTypes.js.map +1 -1
  1055. package/dist/bin/index.d.ts +1 -1
  1056. package/dist/bin/index.js +45 -45
  1057. package/dist/collections/bindCollection.d.ts +7 -7
  1058. package/dist/collections/bindCollection.js +7 -7
  1059. package/dist/collections/buildEndpoints.d.ts +4 -4
  1060. package/dist/collections/buildEndpoints.js +169 -169
  1061. package/dist/collections/buildSchema.d.ts +5 -5
  1062. package/dist/collections/buildSchema.js +23 -23
  1063. package/dist/collections/config/build.d.ts +3 -3
  1064. package/dist/collections/config/build.js +4 -4
  1065. package/dist/collections/config/defaults.d.ts +61 -61
  1066. package/dist/collections/config/defaults.js +58 -58
  1067. package/dist/collections/config/sanitize.d.ts +4 -4
  1068. package/dist/collections/config/sanitize.js +86 -86
  1069. package/dist/collections/config/schema.d.ts +3 -3
  1070. package/dist/collections/config/schema.js +148 -148
  1071. package/dist/collections/config/types.d.ts +304 -304
  1072. package/dist/collections/config/types.js +2 -2
  1073. package/dist/collections/dataloader.d.ts +4 -4
  1074. package/dist/collections/dataloader.js +97 -97
  1075. package/dist/collections/graphql/init.d.ts +3 -3
  1076. package/dist/collections/graphql/init.js +400 -400
  1077. package/dist/collections/graphql/resolvers/create.d.ts +14 -14
  1078. package/dist/collections/graphql/resolvers/create.js +23 -23
  1079. package/dist/collections/graphql/resolvers/delete.d.ts +12 -12
  1080. package/dist/collections/graphql/resolvers/delete.js +24 -24
  1081. package/dist/collections/graphql/resolvers/docAccess.d.ts +9 -9
  1082. package/dist/collections/graphql/resolvers/docAccess.js +14 -14
  1083. package/dist/collections/graphql/resolvers/find.d.ts +18 -18
  1084. package/dist/collections/graphql/resolvers/find.js +27 -27
  1085. package/dist/collections/graphql/resolvers/findByID.d.ts +13 -13
  1086. package/dist/collections/graphql/resolvers/findByID.js +25 -25
  1087. package/dist/collections/graphql/resolvers/findVersionByID.d.ts +13 -13
  1088. package/dist/collections/graphql/resolvers/findVersionByID.js +24 -24
  1089. package/dist/collections/graphql/resolvers/findVersions.d.ts +17 -17
  1090. package/dist/collections/graphql/resolvers/findVersions.js +28 -28
  1091. package/dist/collections/graphql/resolvers/restoreVersion.d.ts +10 -10
  1092. package/dist/collections/graphql/resolvers/restoreVersion.js +20 -20
  1093. package/dist/collections/graphql/resolvers/update.d.ts +15 -15
  1094. package/dist/collections/graphql/resolvers/update.js +27 -27
  1095. package/dist/collections/graphql/types.d.ts +12 -12
  1096. package/dist/collections/graphql/types.js +2 -2
  1097. package/dist/collections/initHTTP.d.ts +2 -2
  1098. package/dist/collections/initHTTP.js +36 -36
  1099. package/dist/collections/initLocal.d.ts +2 -2
  1100. package/dist/collections/initLocal.js +74 -74
  1101. package/dist/collections/operations/create.d.ts +20 -20
  1102. package/dist/collections/operations/create.js +246 -246
  1103. package/dist/collections/operations/delete.d.ts +13 -13
  1104. package/dist/collections/operations/delete.js +154 -154
  1105. package/dist/collections/operations/docAccess.d.ts +8 -8
  1106. package/dist/collections/operations/docAccess.js +25 -25
  1107. package/dist/collections/operations/find.d.ts +21 -21
  1108. package/dist/collections/operations/find.js +172 -172
  1109. package/dist/collections/operations/findByID.d.ts +15 -15
  1110. package/dist/collections/operations/findByID.js +129 -129
  1111. package/dist/collections/operations/findVersionByID.d.ts +15 -15
  1112. package/dist/collections/operations/findVersionByID.js +99 -99
  1113. package/dist/collections/operations/findVersions.d.ts +18 -18
  1114. package/dist/collections/operations/findVersions.js +128 -128
  1115. package/dist/collections/operations/local/create.d.ts +23 -23
  1116. package/dist/collections/operations/local/create.js +45 -45
  1117. package/dist/collections/operations/local/delete.d.ts +14 -14
  1118. package/dist/collections/operations/local/delete.js +39 -39
  1119. package/dist/collections/operations/local/find.d.ts +24 -24
  1120. package/dist/collections/operations/local/find.js +45 -45
  1121. package/dist/collections/operations/local/findByID.d.ts +19 -19
  1122. package/dist/collections/operations/local/findByID.js +41 -41
  1123. package/dist/collections/operations/local/findVersionByID.d.ts +18 -18
  1124. package/dist/collections/operations/local/findVersionByID.js +37 -37
  1125. package/dist/collections/operations/local/findVersions.d.ts +19 -19
  1126. package/dist/collections/operations/local/findVersions.js +43 -43
  1127. package/dist/collections/operations/local/index.d.ts +26 -26
  1128. package/dist/collections/operations/local/index.js +25 -25
  1129. package/dist/collections/operations/local/restoreVersion.d.ts +14 -14
  1130. package/dist/collections/operations/local/restoreVersion.js +40 -40
  1131. package/dist/collections/operations/local/update.d.ts +21 -21
  1132. package/dist/collections/operations/local/update.js +50 -50
  1133. package/dist/collections/operations/restoreVersion.d.ts +14 -14
  1134. package/dist/collections/operations/restoreVersion.js +137 -137
  1135. package/dist/collections/operations/update.d.ts +20 -20
  1136. package/dist/collections/operations/update.js +289 -289
  1137. package/dist/collections/requestHandlers/create.d.ts +8 -8
  1138. package/dist/collections/requestHandlers/create.js +31 -31
  1139. package/dist/collections/requestHandlers/delete.d.ts +8 -8
  1140. package/dist/collections/requestHandlers/delete.js +26 -26
  1141. package/dist/collections/requestHandlers/docAccess.d.ts +4 -4
  1142. package/dist/collections/requestHandlers/docAccess.js +20 -20
  1143. package/dist/collections/requestHandlers/find.d.ts +5 -5
  1144. package/dist/collections/requestHandlers/find.js +35 -35
  1145. package/dist/collections/requestHandlers/findByID.d.ts +8 -8
  1146. package/dist/collections/requestHandlers/findByID.js +22 -22
  1147. package/dist/collections/requestHandlers/findVersionByID.d.ts +8 -8
  1148. package/dist/collections/requestHandlers/findVersionByID.js +23 -23
  1149. package/dist/collections/requestHandlers/findVersions.d.ts +5 -5
  1150. package/dist/collections/requestHandlers/findVersions.js +35 -35
  1151. package/dist/collections/requestHandlers/restoreVersion.d.ts +8 -8
  1152. package/dist/collections/requestHandlers/restoreVersion.js +28 -28
  1153. package/dist/collections/requestHandlers/update.d.ts +9 -8
  1154. package/dist/collections/requestHandlers/update.js +42 -42
  1155. package/dist/collections/requestHandlers/update.js.map +1 -1
  1156. package/dist/config/build.d.ts +7 -7
  1157. package/dist/config/build.js +24 -21
  1158. package/dist/config/build.js.map +1 -1
  1159. package/dist/config/clientFiles.d.ts +1 -1
  1160. package/dist/config/clientFiles.js +4 -4
  1161. package/dist/config/defaults.d.ts +2 -2
  1162. package/dist/config/defaults.js +62 -62
  1163. package/dist/config/find.d.ts +2 -2
  1164. package/dist/config/find.js +32 -32
  1165. package/dist/config/load.d.ts +5 -5
  1166. package/dist/config/load.js +37 -37
  1167. package/dist/config/load.js.map +1 -1
  1168. package/dist/config/sanitize.d.ts +3 -3
  1169. package/dist/config/sanitize.js +45 -45
  1170. package/dist/config/schema.d.ts +4 -4
  1171. package/dist/config/schema.js +148 -148
  1172. package/dist/config/schema.js.map +1 -1
  1173. package/dist/config/types.d.ts +495 -495
  1174. package/dist/config/types.js +19 -19
  1175. package/dist/config/validate.d.ts +4 -4
  1176. package/dist/config/validate.js +107 -107
  1177. package/dist/config/validate.js.map +1 -1
  1178. package/dist/email/build.d.ts +4 -4
  1179. package/dist/email/build.js +56 -56
  1180. package/dist/email/mockHandler.d.ts +4 -4
  1181. package/dist/email/mockHandler.js +26 -26
  1182. package/dist/email/sendEmail.d.ts +2 -2
  1183. package/dist/email/sendEmail.js +15 -15
  1184. package/dist/email/types.d.ts +19 -19
  1185. package/dist/email/types.js +2 -2
  1186. package/dist/errors/APIError.d.ts +29 -29
  1187. package/dist/errors/APIError.js +41 -41
  1188. package/dist/errors/AuthenticationError.d.ts +6 -6
  1189. package/dist/errors/AuthenticationError.js +13 -13
  1190. package/dist/errors/DuplicateCollection.d.ts +5 -5
  1191. package/dist/errors/DuplicateCollection.js +12 -12
  1192. package/dist/errors/DuplicateGlobal.d.ts +6 -6
  1193. package/dist/errors/DuplicateGlobal.js +12 -12
  1194. package/dist/errors/ErrorDeletingFile.d.ts +6 -6
  1195. package/dist/errors/ErrorDeletingFile.js +13 -13
  1196. package/dist/errors/FileUploadError.d.ts +6 -6
  1197. package/dist/errors/FileUploadError.js +13 -13
  1198. package/dist/errors/Forbidden.d.ts +6 -6
  1199. package/dist/errors/Forbidden.js +13 -13
  1200. package/dist/errors/InvalidConfiguration.d.ts +5 -5
  1201. package/dist/errors/InvalidConfiguration.js +13 -13
  1202. package/dist/errors/InvalidFieldName.d.ts +6 -6
  1203. package/dist/errors/InvalidFieldName.js +12 -12
  1204. package/dist/errors/InvalidFieldRelationship.d.ts +6 -6
  1205. package/dist/errors/InvalidFieldRelationship.js +12 -12
  1206. package/dist/errors/InvalidSchema.d.ts +5 -5
  1207. package/dist/errors/InvalidSchema.js +13 -13
  1208. package/dist/errors/LockedAuth.d.ts +6 -6
  1209. package/dist/errors/LockedAuth.js +13 -13
  1210. package/dist/errors/MissingCollectionLabel.d.ts +5 -5
  1211. package/dist/errors/MissingCollectionLabel.js +12 -12
  1212. package/dist/errors/MissingFieldInputOptions.d.ts +6 -6
  1213. package/dist/errors/MissingFieldInputOptions.js +12 -12
  1214. package/dist/errors/MissingFieldType.d.ts +6 -6
  1215. package/dist/errors/MissingFieldType.js +13 -13
  1216. package/dist/errors/MissingFile.d.ts +6 -6
  1217. package/dist/errors/MissingFile.js +13 -13
  1218. package/dist/errors/NotFound.d.ts +6 -6
  1219. package/dist/errors/NotFound.js +13 -13
  1220. package/dist/errors/TimestampsRequired.d.ts +6 -6
  1221. package/dist/errors/TimestampsRequired.js +12 -12
  1222. package/dist/errors/UnathorizedError.d.ts +6 -6
  1223. package/dist/errors/UnathorizedError.js +13 -13
  1224. package/dist/errors/ValidationError.d.ts +9 -9
  1225. package/dist/errors/ValidationError.js +14 -14
  1226. package/dist/errors/index.d.ts +18 -18
  1227. package/dist/errors/index.js +42 -42
  1228. package/dist/errors/types.d.ts +1 -1
  1229. package/dist/errors/types.js +17 -17
  1230. package/dist/express/admin.d.ts +3 -3
  1231. package/dist/express/admin.js +34 -34
  1232. package/dist/express/middleware/authenticate.d.ts +5 -5
  1233. package/dist/express/middleware/authenticate.js +26 -26
  1234. package/dist/express/middleware/convertPayload.d.ts +3 -3
  1235. package/dist/express/middleware/convertPayload.js +14 -14
  1236. package/dist/express/middleware/corsHeaders.d.ts +4 -4
  1237. package/dist/express/middleware/corsHeaders.js +16 -16
  1238. package/dist/express/middleware/errorHandler.d.ts +9 -9
  1239. package/dist/express/middleware/errorHandler.js +25 -25
  1240. package/dist/express/middleware/i18n.d.ts +4 -4
  1241. package/dist/express/middleware/i18n.js +19 -19
  1242. package/dist/express/middleware/identifyAPI.d.ts +2 -2
  1243. package/dist/express/middleware/identifyAPI.js +9 -9
  1244. package/dist/express/middleware/index.d.ts +3 -3
  1245. package/dist/express/middleware/index.js +54 -54
  1246. package/dist/express/mountEndpoints.d.ts +4 -4
  1247. package/dist/express/mountEndpoints.js +13 -13
  1248. package/dist/express/responses/formatError.d.ts +10 -10
  1249. package/dist/express/responses/formatError.js +54 -54
  1250. package/dist/express/responses/formatSuccess.d.ts +2 -2
  1251. package/dist/express/responses/formatSuccess.js +13 -13
  1252. package/dist/express/static.d.ts +3 -3
  1253. package/dist/express/static.js +31 -31
  1254. package/dist/express/types.d.ts +51 -51
  1255. package/dist/express/types.js +2 -2
  1256. package/dist/fields/baseFields/baseBlockFields.d.ts +2 -2
  1257. package/dist/fields/baseFields/baseBlockFields.js +16 -16
  1258. package/dist/fields/baseFields/baseIDField.d.ts +2 -2
  1259. package/dist/fields/baseFields/baseIDField.js +21 -21
  1260. package/dist/fields/config/sanitize.d.ts +3 -3
  1261. package/dist/fields/config/sanitize.js +92 -92
  1262. package/dist/fields/config/schema.d.ts +28 -28
  1263. package/dist/fields/config/schema.js +312 -311
  1264. package/dist/fields/config/schema.js.map +1 -1
  1265. package/dist/fields/config/types.d.ts +362 -361
  1266. package/dist/fields/config/types.js +55 -55
  1267. package/dist/fields/config/types.js.map +1 -1
  1268. package/dist/fields/getDefaultValue.d.ts +9 -9
  1269. package/dist/fields/getDefaultValue.js +12 -12
  1270. package/dist/fields/hooks/afterChange/index.d.ts +13 -13
  1271. package/dist/fields/hooks/afterChange/index.js +24 -24
  1272. package/dist/fields/hooks/afterChange/promise.d.ts +15 -15
  1273. package/dist/fields/hooks/afterChange/promise.js +151 -151
  1274. package/dist/fields/hooks/afterChange/traverseFields.d.ts +15 -15
  1275. package/dist/fields/hooks/afterChange/traverseFields.js +22 -22
  1276. package/dist/fields/hooks/afterRead/index.d.ts +16 -16
  1277. package/dist/fields/hooks/afterRead/index.js +39 -39
  1278. package/dist/fields/hooks/afterRead/promise.d.ts +18 -18
  1279. package/dist/fields/hooks/afterRead/promise.js +293 -293
  1280. package/dist/fields/hooks/afterRead/relationshipPopulationPromise.d.ts +13 -13
  1281. package/dist/fields/hooks/afterRead/relationshipPopulationPromise.js +137 -137
  1282. package/dist/fields/hooks/afterRead/traverseFields.d.ts +18 -18
  1283. package/dist/fields/hooks/afterRead/traverseFields.js +23 -23
  1284. package/dist/fields/hooks/beforeChange/getExistingRowDoc.d.ts +7 -7
  1285. package/dist/fields/hooks/beforeChange/getExistingRowDoc.js +24 -24
  1286. package/dist/fields/hooks/beforeChange/index.d.ts +16 -16
  1287. package/dist/fields/hooks/beforeChange/index.js +36 -36
  1288. package/dist/fields/hooks/beforeChange/promise.d.ts +24 -24
  1289. package/dist/fields/hooks/beforeChange/promise.js +304 -304
  1290. package/dist/fields/hooks/beforeChange/traverseFields.d.ts +24 -24
  1291. package/dist/fields/hooks/beforeChange/traverseFields.js +27 -27
  1292. package/dist/fields/hooks/beforeValidate/index.d.ts +14 -14
  1293. package/dist/fields/hooks/beforeValidate/index.js +24 -24
  1294. package/dist/fields/hooks/beforeValidate/promise.d.ts +15 -15
  1295. package/dist/fields/hooks/beforeValidate/promise.js +267 -267
  1296. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts +15 -15
  1297. package/dist/fields/hooks/beforeValidate/traverseFields.js +22 -22
  1298. package/dist/fields/mergeBaseFields.d.ts +3 -3
  1299. package/dist/fields/mergeBaseFields.js +36 -36
  1300. package/dist/fields/richText/defaultValue.d.ts +6 -6
  1301. package/dist/fields/richText/defaultValue.js +5 -5
  1302. package/dist/fields/richText/populate.d.ts +19 -19
  1303. package/dist/fields/richText/populate.js +23 -23
  1304. package/dist/fields/richText/recurseNestedFields.d.ts +14 -14
  1305. package/dist/fields/richText/recurseNestedFields.js +176 -176
  1306. package/dist/fields/richText/richTextRelationshipPromise.d.ts +24 -24
  1307. package/dist/fields/richText/richTextRelationshipPromise.js +103 -103
  1308. package/dist/fields/sortableFieldTypes.d.ts +2 -2
  1309. package/dist/fields/sortableFieldTypes.js +13 -13
  1310. package/dist/fields/validations.d.ts +63 -63
  1311. package/dist/fields/validations.js +334 -334
  1312. package/dist/generated-types.d.ts +10 -10
  1313. package/dist/generated-types.js +5 -5
  1314. package/dist/globals/buildEndpoints.d.ts +4 -4
  1315. package/dist/globals/buildEndpoints.js +52 -52
  1316. package/dist/globals/buildModel.d.ts +4 -4
  1317. package/dist/globals/buildModel.js +22 -22
  1318. package/dist/globals/config/sanitize.d.ts +4 -4
  1319. package/dist/globals/config/sanitize.js +66 -66
  1320. package/dist/globals/config/schema.d.ts +3 -3
  1321. package/dist/globals/config/schema.js +52 -52
  1322. package/dist/globals/config/types.d.ts +115 -115
  1323. package/dist/globals/config/types.js +2 -2
  1324. package/dist/globals/graphql/init.d.ts +3 -3
  1325. package/dist/globals/graphql/init.js +137 -137
  1326. package/dist/globals/graphql/resolvers/docAccess.d.ts +8 -8
  1327. package/dist/globals/graphql/resolvers/docAccess.js +14 -14
  1328. package/dist/globals/graphql/resolvers/findOne.d.ts +3 -3
  1329. package/dist/globals/graphql/resolvers/findOne.js +26 -26
  1330. package/dist/globals/graphql/resolvers/findVersionByID.d.ts +14 -14
  1331. package/dist/globals/graphql/resolvers/findVersionByID.js +24 -24
  1332. package/dist/globals/graphql/resolvers/findVersions.d.ts +16 -16
  1333. package/dist/globals/graphql/resolvers/findVersions.js +22 -22
  1334. package/dist/globals/graphql/resolvers/index.d.ts +6 -6
  1335. package/dist/globals/graphql/resolvers/index.js +16 -16
  1336. package/dist/globals/graphql/resolvers/restoreVersion.d.ts +11 -11
  1337. package/dist/globals/graphql/resolvers/restoreVersion.js +20 -20
  1338. package/dist/globals/graphql/resolvers/update.d.ts +14 -14
  1339. package/dist/globals/graphql/resolvers/update.js +26 -26
  1340. package/dist/globals/initHTTP.d.ts +2 -2
  1341. package/dist/globals/initHTTP.js +20 -20
  1342. package/dist/globals/initLocal.d.ts +2 -2
  1343. package/dist/globals/initLocal.js +36 -36
  1344. package/dist/globals/operations/docAccess.d.ts +9 -9
  1345. package/dist/globals/operations/docAccess.js +20 -20
  1346. package/dist/globals/operations/findOne.d.ts +14 -14
  1347. package/dist/globals/operations/findOne.js +100 -100
  1348. package/dist/globals/operations/findVersionByID.d.ts +15 -15
  1349. package/dist/globals/operations/findVersionByID.js +93 -93
  1350. package/dist/globals/operations/findVersions.d.ts +18 -18
  1351. package/dist/globals/operations/findVersions.js +113 -113
  1352. package/dist/globals/operations/local/findOne.d.ts +14 -14
  1353. package/dist/globals/operations/local/findOne.js +39 -39
  1354. package/dist/globals/operations/local/findVersionByID.d.ts +16 -16
  1355. package/dist/globals/operations/local/findVersionByID.js +39 -39
  1356. package/dist/globals/operations/local/findVersions.d.ts +19 -19
  1357. package/dist/globals/operations/local/findVersions.js +41 -41
  1358. package/dist/globals/operations/local/index.d.ts +13 -13
  1359. package/dist/globals/operations/local/index.js +17 -17
  1360. package/dist/globals/operations/local/restoreVersion.d.ts +14 -14
  1361. package/dist/globals/operations/local/restoreVersion.js +38 -38
  1362. package/dist/globals/operations/local/update.d.ts +15 -15
  1363. package/dist/globals/operations/local/update.js +40 -40
  1364. package/dist/globals/operations/restoreVersion.d.ts +13 -13
  1365. package/dist/globals/operations/restoreVersion.js +100 -100
  1366. package/dist/globals/operations/update.d.ts +18 -18
  1367. package/dist/globals/operations/update.js +193 -193
  1368. package/dist/globals/operations/update.js.map +1 -1
  1369. package/dist/globals/requestHandlers/docAccess.d.ts +5 -5
  1370. package/dist/globals/requestHandlers/docAccess.js +20 -20
  1371. package/dist/globals/requestHandlers/findOne.d.ts +7 -7
  1372. package/dist/globals/requestHandlers/findOne.js +28 -28
  1373. package/dist/globals/requestHandlers/findVersionByID.d.ts +3 -3
  1374. package/dist/globals/requestHandlers/findVersionByID.js +26 -26
  1375. package/dist/globals/requestHandlers/findVersions.d.ts +6 -6
  1376. package/dist/globals/requestHandlers/findVersions.js +36 -36
  1377. package/dist/globals/requestHandlers/restoreVersion.d.ts +5 -5
  1378. package/dist/globals/requestHandlers/restoreVersion.js +29 -29
  1379. package/dist/globals/requestHandlers/update.d.ts +7 -7
  1380. package/dist/globals/requestHandlers/update.js +35 -35
  1381. package/dist/graphql/errorHandler.d.ts +12 -12
  1382. package/dist/graphql/errorHandler.js +28 -28
  1383. package/dist/graphql/graphQLHandler.d.ts +9 -9
  1384. package/dist/graphql/graphQLHandler.js +15 -15
  1385. package/dist/graphql/initPlayground.d.ts +3 -3
  1386. package/dist/graphql/initPlayground.js +19 -19
  1387. package/dist/graphql/registerSchema.d.ts +2 -2
  1388. package/dist/graphql/registerSchema.js +121 -121
  1389. package/dist/graphql/schema/buildBlockType.d.ts +9 -9
  1390. package/dist/graphql/schema/buildBlockType.js +27 -27
  1391. package/dist/graphql/schema/buildFallbackLocaleInputType.d.ts +4 -4
  1392. package/dist/graphql/schema/buildFallbackLocaleInputType.js +17 -17
  1393. package/dist/graphql/schema/buildLocaleInputType.d.ts +4 -4
  1394. package/dist/graphql/schema/buildLocaleInputType.js +19 -19
  1395. package/dist/graphql/schema/buildMutationInputType.d.ts +10 -10
  1396. package/dist/graphql/schema/buildMutationInputType.js +219 -219
  1397. package/dist/graphql/schema/buildObjectType.d.ts +16 -16
  1398. package/dist/graphql/schema/buildObjectType.js +408 -408
  1399. package/dist/graphql/schema/buildPaginatedListType.d.ts +3 -3
  1400. package/dist/graphql/schema/buildPaginatedListType.js +22 -22
  1401. package/dist/graphql/schema/buildPoliciesType.d.ts +31 -31
  1402. package/dist/graphql/schema/buildPoliciesType.js +165 -165
  1403. package/dist/graphql/schema/buildWhereInputType.d.ts +4 -4
  1404. package/dist/graphql/schema/buildWhereInputType.js +70 -70
  1405. package/dist/graphql/schema/fieldToWhereInputSchemaMap.d.ts +2 -2
  1406. package/dist/graphql/schema/fieldToWhereInputSchemaMap.js +218 -218
  1407. package/dist/graphql/schema/isFieldNullable.d.ts +3 -3
  1408. package/dist/graphql/schema/isFieldNullable.js +9 -9
  1409. package/dist/graphql/schema/operators.d.ts +8 -8
  1410. package/dist/graphql/schema/operators.js +10 -10
  1411. package/dist/graphql/schema/recursivelyBuildNestedPaths.d.ts +3 -3
  1412. package/dist/graphql/schema/recursivelyBuildNestedPaths.js +37 -37
  1413. package/dist/graphql/schema/withNullableType.d.ts +4 -4
  1414. package/dist/graphql/schema/withNullableType.js +12 -12
  1415. package/dist/graphql/schema/withOperators.d.ts +4 -4
  1416. package/dist/graphql/schema/withOperators.js +35 -35
  1417. package/dist/graphql/utilities/combineParentName.d.ts +2 -2
  1418. package/dist/graphql/utilities/combineParentName.js +8 -8
  1419. package/dist/graphql/utilities/formatName.d.ts +2 -2
  1420. package/dist/graphql/utilities/formatName.js +24 -24
  1421. package/dist/graphql/utilities/formatOptions.d.ts +3 -3
  1422. package/dist/graphql/utilities/formatOptions.js +26 -26
  1423. package/dist/graphql/utilities/getCheckIfLocaleObject.d.ts +4 -4
  1424. package/dist/graphql/utilities/getCheckIfLocaleObject.js +4 -4
  1425. package/dist/graphql/utilities/uppercase.d.ts +2 -2
  1426. package/dist/graphql/utilities/uppercase.js +11 -11
  1427. package/dist/index.d.ts +9 -9
  1428. package/dist/index.js +25 -25
  1429. package/dist/initHTTP.d.ts +3 -3
  1430. package/dist/initHTTP.js +72 -72
  1431. package/dist/localization/middleware.d.ts +7 -7
  1432. package/dist/localization/middleware.js +37 -37
  1433. package/dist/localization/sanitizeFallbackLocale.d.ts +2 -2
  1434. package/dist/localization/sanitizeFallbackLocale.js +9 -9
  1435. package/dist/mongoose/buildQuery.d.ts +2 -2
  1436. package/dist/mongoose/buildQuery.js +290 -290
  1437. package/dist/mongoose/buildSchema.d.ts +13 -13
  1438. package/dist/mongoose/buildSchema.js +364 -364
  1439. package/dist/mongoose/buildSortParam.d.ts +11 -11
  1440. package/dist/mongoose/buildSortParam.js +36 -36
  1441. package/dist/mongoose/connect.d.ts +4 -4
  1442. package/dist/mongoose/connect.js +48 -48
  1443. package/dist/mongoose/createArrayFromCommaDelineated.d.ts +1 -1
  1444. package/dist/mongoose/createArrayFromCommaDelineated.js +12 -12
  1445. package/dist/mongoose/getLocalizedSortProperty.d.ts +11 -11
  1446. package/dist/mongoose/getLocalizedSortProperty.js +68 -68
  1447. package/dist/mongoose/getSchemaTypeOptions.d.ts +4 -4
  1448. package/dist/mongoose/getSchemaTypeOptions.js +10 -10
  1449. package/dist/mongoose/operatorMap.d.ts +13 -13
  1450. package/dist/mongoose/operatorMap.js +16 -16
  1451. package/dist/mongoose/sanitizeFormattedValue.d.ts +2 -2
  1452. package/dist/mongoose/sanitizeFormattedValue.js +100 -100
  1453. package/dist/mongoose/testCredentials.d.ts +7 -7
  1454. package/dist/mongoose/testCredentials.js +10 -10
  1455. package/dist/mongoose/types.d.ts +12 -12
  1456. package/dist/mongoose/types.js +2 -2
  1457. package/dist/payload.d.ts +166 -166
  1458. package/dist/payload.js +244 -244
  1459. package/dist/payload.js.map +1 -1
  1460. package/dist/preferences/graphql/init.d.ts +3 -3
  1461. package/dist/preferences/graphql/init.js +58 -58
  1462. package/dist/preferences/init.d.ts +2 -2
  1463. package/dist/preferences/init.js +21 -21
  1464. package/dist/preferences/model.d.ts +4 -4
  1465. package/dist/preferences/model.js +37 -37
  1466. package/dist/preferences/operations/delete.d.ts +4 -4
  1467. package/dist/preferences/operations/delete.js +25 -25
  1468. package/dist/preferences/operations/findOne.d.ts +3 -3
  1469. package/dist/preferences/operations/findOne.js +27 -27
  1470. package/dist/preferences/operations/update.d.ts +3 -3
  1471. package/dist/preferences/operations/update.js +22 -22
  1472. package/dist/preferences/requestHandlers/delete.d.ts +3 -3
  1473. package/dist/preferences/requestHandlers/delete.js +24 -24
  1474. package/dist/preferences/requestHandlers/findOne.d.ts +4 -4
  1475. package/dist/preferences/requestHandlers/findOne.js +21 -21
  1476. package/dist/preferences/requestHandlers/update.d.ts +5 -5
  1477. package/dist/preferences/requestHandlers/update.js +26 -26
  1478. package/dist/preferences/types.d.ts +38 -38
  1479. package/dist/preferences/types.js +2 -2
  1480. package/dist/translations/cs.json +310 -310
  1481. package/dist/translations/de.json +309 -309
  1482. package/dist/translations/defaultOptions.d.ts +2 -2
  1483. package/dist/translations/defaultOptions.js +16 -16
  1484. package/dist/translations/en.json +313 -313
  1485. package/dist/translations/es.json +313 -300
  1486. package/dist/translations/extractTranslations.d.ts +1 -1
  1487. package/dist/translations/extractTranslations.js +21 -21
  1488. package/dist/translations/fr.json +301 -301
  1489. package/dist/translations/hr.json +313 -313
  1490. package/dist/translations/index.d.ts +6137 -6124
  1491. package/dist/translations/index.js +47 -47
  1492. package/dist/translations/init.d.ts +3 -3
  1493. package/dist/translations/init.js +17 -17
  1494. package/dist/translations/it.json +303 -303
  1495. package/dist/translations/ja.json +300 -300
  1496. package/dist/translations/my.json +300 -300
  1497. package/dist/translations/nb.json +312 -312
  1498. package/dist/translations/nl.json +301 -301
  1499. package/dist/translations/pl.json +300 -300
  1500. package/dist/translations/pt.json +300 -300
  1501. package/dist/translations/ru.json +312 -312
  1502. package/dist/translations/sv.json +301 -301
  1503. package/dist/translations/th.json +313 -313
  1504. package/dist/translations/tr.json +312 -312
  1505. package/dist/translations/type.d.ts +5 -5
  1506. package/dist/translations/type.js +2 -2
  1507. package/dist/translations/ua.json +309 -309
  1508. package/dist/translations/vi.json +301 -301
  1509. package/dist/translations/zh.json +311 -311
  1510. package/dist/types/index.d.ts +24 -24
  1511. package/dist/types/index.js +7 -7
  1512. package/dist/uploads/canResizeImage.d.ts +1 -1
  1513. package/dist/uploads/canResizeImage.js +6 -6
  1514. package/dist/uploads/docWithFilenameExists.d.ts +3 -3
  1515. package/dist/uploads/docWithFilenameExists.js +9 -9
  1516. package/dist/uploads/fileExists.d.ts +2 -2
  1517. package/dist/uploads/fileExists.js +18 -18
  1518. package/dist/uploads/formatFilesize.d.ts +1 -1
  1519. package/dist/uploads/formatFilesize.js +12 -12
  1520. package/dist/uploads/generateFileData.d.ts +18 -18
  1521. package/dist/uploads/generateFileData.js +128 -128
  1522. package/dist/uploads/getBaseFields.d.ts +9 -9
  1523. package/dist/uploads/getBaseFields.js +134 -134
  1524. package/dist/uploads/getFileByPath.d.ts +3 -3
  1525. package/dist/uploads/getFileByPath.js +24 -24
  1526. package/dist/uploads/getImageSize.d.ts +3 -3
  1527. package/dist/uploads/getImageSize.js +13 -13
  1528. package/dist/uploads/getSafeFilename.d.ts +3 -3
  1529. package/dist/uploads/getSafeFilename.js +34 -34
  1530. package/dist/uploads/imageResizer.d.ts +23 -23
  1531. package/dist/uploads/imageResizer.js +80 -80
  1532. package/dist/uploads/isImage.d.ts +1 -1
  1533. package/dist/uploads/isImage.js +6 -6
  1534. package/dist/uploads/mimeTypeValidator.d.ts +2 -2
  1535. package/dist/uploads/mimeTypeValidator.js +16 -16
  1536. package/dist/uploads/saveBufferToFile.d.ts +8 -8
  1537. package/dist/uploads/saveBufferToFile.js +24 -24
  1538. package/dist/uploads/types.d.ts +83 -83
  1539. package/dist/uploads/types.js +2 -2
  1540. package/dist/uploads/uploadFiles.d.ts +4 -4
  1541. package/dist/uploads/uploadFiles.js +20 -20
  1542. package/dist/utilities/canUseDOM.d.ts +2 -2
  1543. package/dist/utilities/canUseDOM.js +4 -4
  1544. package/dist/utilities/checkDuplicateCollections.d.ts +3 -3
  1545. package/dist/utilities/checkDuplicateCollections.js +11 -11
  1546. package/dist/utilities/combineMerge.d.ts +1 -1
  1547. package/dist/utilities/combineMerge.js +23 -23
  1548. package/dist/utilities/componentSchema.d.ts +2 -2
  1549. package/dist/utilities/componentSchema.js +8 -8
  1550. package/dist/utilities/convertData.d.ts +4 -4
  1551. package/dist/utilities/convertData.js +19 -19
  1552. package/dist/utilities/deepCopyObject.d.ts +2 -2
  1553. package/dist/utilities/deepCopyObject.js +18 -18
  1554. package/dist/utilities/entityToJSONSchema.d.ts +6 -6
  1555. package/dist/utilities/entityToJSONSchema.js +382 -382
  1556. package/dist/utilities/flattenTopLevelFields.d.ts +3 -3
  1557. package/dist/utilities/flattenTopLevelFields.js +32 -32
  1558. package/dist/utilities/flattenWhereConstraints.d.ts +3 -3
  1559. package/dist/utilities/flattenWhereConstraints.js +17 -17
  1560. package/dist/utilities/formatLabels.d.ts +11 -11
  1561. package/dist/utilities/formatLabels.js +70 -70
  1562. package/dist/utilities/getCSSVariable.d.ts +2 -2
  1563. package/dist/utilities/getCSSVariable.js +3 -3
  1564. package/dist/utilities/getCookieExpiration.d.ts +2 -2
  1565. package/dist/utilities/getCookieExpiration.js +8 -8
  1566. package/dist/utilities/getEntityPolicies.d.ts +19 -19
  1567. package/dist/utilities/getEntityPolicies.js +155 -155
  1568. package/dist/utilities/getIDType.d.ts +2 -2
  1569. package/dist/utilities/getIDType.js +10 -10
  1570. package/dist/utilities/getTranslation.d.ts +3 -3
  1571. package/dist/utilities/getTranslation.js +27 -27
  1572. package/dist/utilities/getUniqueListBy.d.ts +1 -1
  1573. package/dist/utilities/getUniqueListBy.js +6 -6
  1574. package/dist/utilities/groupOrTabHasRequiredSubfield.d.ts +2 -2
  1575. package/dist/utilities/groupOrTabHasRequiredSubfield.js +16 -16
  1576. package/dist/utilities/isNumber.d.ts +1 -1
  1577. package/dist/utilities/isNumber.js +7 -7
  1578. package/dist/utilities/isValidID.d.ts +1 -1
  1579. package/dist/utilities/isValidID.js +15 -15
  1580. package/dist/utilities/logger.d.ts +4 -4
  1581. package/dist/utilities/logger.js +18 -18
  1582. package/dist/utilities/mapAsync.d.ts +1 -1
  1583. package/dist/utilities/mapAsync.js +7 -7
  1584. package/dist/utilities/overwriteMerge.d.ts +2 -2
  1585. package/dist/utilities/overwriteMerge.js +4 -4
  1586. package/dist/utilities/parseCookies.d.ts +4 -4
  1587. package/dist/utilities/parseCookies.js +14 -14
  1588. package/dist/utilities/sanitizeInternalFields.d.ts +2 -2
  1589. package/dist/utilities/sanitizeInternalFields.js +19 -19
  1590. package/dist/utilities/telemetry/events/adminInit.d.ts +7 -7
  1591. package/dist/utilities/telemetry/events/adminInit.js +26 -26
  1592. package/dist/utilities/telemetry/events/serverInit.d.ts +5 -5
  1593. package/dist/utilities/telemetry/events/serverInit.js +13 -13
  1594. package/dist/utilities/telemetry/index.d.ts +22 -22
  1595. package/dist/utilities/telemetry/index.js +81 -81
  1596. package/dist/utilities/telemetry/oneWayHash.d.ts +2 -2
  1597. package/dist/utilities/telemetry/oneWayHash.js +14 -14
  1598. package/dist/utilities/toKebabCase.d.ts +2 -2
  1599. package/dist/utilities/toKebabCase.js +4 -4
  1600. package/dist/utilities/wait.d.ts +2 -2
  1601. package/dist/utilities/wait.js +8 -8
  1602. package/dist/utilities/wordBoundariesRegex.d.ts +2 -2
  1603. package/dist/utilities/wordBoundariesRegex.js +13 -13
  1604. package/dist/versions/baseFields.d.ts +7 -7
  1605. package/dist/versions/baseFields.js +30 -30
  1606. package/dist/versions/buildCollectionFields.d.ts +3 -3
  1607. package/dist/versions/buildCollectionFields.js +44 -44
  1608. package/dist/versions/buildGlobalFields.d.ts +3 -3
  1609. package/dist/versions/buildGlobalFields.js +36 -36
  1610. package/dist/versions/defaults.d.ts +3 -3
  1611. package/dist/versions/defaults.js +17 -17
  1612. package/dist/versions/deleteCollectionVersions.d.ts +8 -8
  1613. package/dist/versions/deleteCollectionVersions.js +17 -17
  1614. package/dist/versions/drafts/appendVersionToQueryKey.d.ts +2 -2
  1615. package/dist/versions/drafts/appendVersionToQueryKey.js +21 -21
  1616. package/dist/versions/drafts/queryDrafts.d.ts +15 -15
  1617. package/dist/versions/drafts/queryDrafts.js +57 -57
  1618. package/dist/versions/drafts/replaceWithDraftIfAvailable.d.ts +14 -14
  1619. package/dist/versions/drafts/replaceWithDraftIfAvailable.js +61 -61
  1620. package/dist/versions/enforceMaxVersions.d.ts +12 -12
  1621. package/dist/versions/enforceMaxVersions.js +26 -26
  1622. package/dist/versions/getLatestCollectionVersion.d.ts +20 -20
  1623. package/dist/versions/getLatestCollectionVersion.js +31 -31
  1624. package/dist/versions/getVersionsModelName.d.ts +3 -3
  1625. package/dist/versions/getVersionsModelName.js +5 -5
  1626. package/dist/versions/saveVersion.d.ts +16 -16
  1627. package/dist/versions/saveVersion.js +90 -90
  1628. package/dist/versions/saveVersion.js.map +1 -1
  1629. package/dist/versions/types.d.ts +32 -32
  1630. package/dist/versions/types.js +2 -2
  1631. package/dist/webpack/components.config.d.ts +79 -79
  1632. package/dist/webpack/components.config.js +93 -93
  1633. package/dist/webpack/getBaseConfig.d.ts +4 -4
  1634. package/dist/webpack/getBaseConfig.js +82 -82
  1635. package/dist/webpack/getDevConfig.d.ts +4 -4
  1636. package/dist/webpack/getDevConfig.js +67 -67
  1637. package/dist/webpack/getProdConfig.d.ts +4 -4
  1638. package/dist/webpack/getProdConfig.js +73 -73
  1639. package/dist/webpack/init.d.ts +4 -4
  1640. package/dist/webpack/init.js +21 -21
  1641. package/dist/webpack/mocks/dotENV.d.ts +4 -4
  1642. package/dist/webpack/mocks/dotENV.js +5 -5
  1643. package/dist/webpack/mocks/emptyModule.d.ts +2 -2
  1644. package/dist/webpack/mocks/emptyModule.js +3 -3
  1645. package/dist/webpack/mocks/fileMock.d.ts +2 -2
  1646. package/dist/webpack/mocks/fileMock.js +3 -3
  1647. package/docs/fields/date.mdx +2 -2
  1648. package/docs/fields/radio.mdx +3 -3
  1649. package/docs/fields/relationship.mdx +70 -57
  1650. package/docs/production/deployment.mdx +6 -0
  1651. package/errors.js +34 -1
  1652. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,2831 @@
1
+
2
+
3
+ ## [1.6.10](https://github.com/payloadcms/payload/compare/v1.6.9...v1.6.10) (2023-02-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * [#2077](https://github.com/payloadcms/payload/issues/2077) useAPIKey UI missing with disableLocalStrategy ([#2084](https://github.com/payloadcms/payload/issues/2084)) ([586b25a](https://github.com/payloadcms/payload/commit/586b25a54c6ec8bd134bce05c480cd429e47e252))
9
+ * Add missing Spanish translations and fix typos ([c4742e5](https://github.com/payloadcms/payload/commit/c4742e5c303ca4ba41c2fbb45a8e8474608418c1))
10
+ * document type in update request handler ([d5cd970](https://github.com/payloadcms/payload/commit/d5cd9709f717b08b930461079b147967d8d7a885))
11
+ * ensures versions createdAt matches the original doc ([8c7e37c](https://github.com/payloadcms/payload/commit/8c7e37c56aab2bb28de01cf7d4a91062cbde80de))
12
+ * globals not saving drafts unless published first ([#2082](https://github.com/payloadcms/payload/issues/2082)) ([4999fba](https://github.com/payloadcms/payload/commit/4999fbaee680e256ece7083fbe422f25e85de0d5))
13
+ * Use the user's AdminUI locale for the DatePicker ([#2046](https://github.com/payloadcms/payload/issues/2046)) ([#2057](https://github.com/payloadcms/payload/issues/2057)) ([b4a7e91](https://github.com/payloadcms/payload/commit/b4a7e912b2117cef3345adb8b514958345838030))
14
+ * validate type ([7bb0984](https://github.com/payloadcms/payload/commit/7bb0984a12a0d80d9ac2af82427ac7dbc985ffc5))
15
+
16
+
17
+ ### Features
18
+
19
+ * allows control over relationship add new button ([6096044](https://github.com/payloadcms/payload/commit/6096044fe058113ca47c7f7d833cb788d97df9a2))
20
+ * async plugins ([#2030](https://github.com/payloadcms/payload/issues/2030)) ([9f30553](https://github.com/payloadcms/payload/commit/9f3055381337f80229f220c1e6114b4ea56be969))
21
+ * export more errors ([3a2a41d](https://github.com/payloadcms/payload/commit/3a2a41d2b6ead4188b432d9e6780764a7c08b2dd))
22
+
23
+ ## [1.6.9](https://github.com/payloadcms/payload/compare/v1.6.7...v1.6.9) (2023-02-10)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * adds query constraint to ensureMaxVersions query ([30688bb](https://github.com/payloadcms/payload/commit/30688bbe4136285af181a5deae5e949b98bea0be))
29
+ * translation of "or" -> "ou" in french ([#2047](https://github.com/payloadcms/payload/issues/2047)) ([dddbec2](https://github.com/payloadcms/payload/commit/dddbec268255c41b7ea786bdddc02dfeb7d66fbd))
30
+
31
+
32
+ ### Features
33
+
34
+ * allows customization of the folder used to serve admin bundled files in production ([4d259a6](https://github.com/payloadcms/payload/commit/4d259a69f2c9beb1d84f703a08921469e6f1c34b))
35
+
36
+ ## [1.6.7](https://github.com/payloadcms/payload/compare/v1.6.6...v1.6.7) (2023-02-08)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * drawer state was not set when opened ([e6ac872](https://github.com/payloadcms/payload/commit/e6ac872b0d80470883836ef5aac0bdf4b62d6de9))
42
+
43
+ ## [1.6.6](https://github.com/payloadcms/payload/compare/v1.6.5...v1.6.6) (2023-02-07)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * [#1887](https://github.com/payloadcms/payload/issues/1887), dataloader rich text population infinite loop ([ac2e174](https://github.com/payloadcms/payload/commit/ac2e174643419e5b01cfbbf53234b0145aeb5e4e))
49
+ * enables locales with date field ([aefb655](https://github.com/payloadcms/payload/commit/aefb655769e7998a44cef9f93a19e4aef24c50bb))
50
+
51
+ ## [1.6.5](https://github.com/payloadcms/payload/compare/v1.6.4...v1.6.5) (2023-02-07)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * allows radio input to be tabbable ([b5880f2](https://github.com/payloadcms/payload/commit/b5880f26af8b97d47eca83a9fc7bd05b006cc54c))
57
+ * auth type leaking into type gen ([1f0a1c7](https://github.com/payloadcms/payload/commit/1f0a1c796ab4126a464949f3a1bc34c7360470a5))
58
+ * corrects keyboard accessibility for checkbox field ([65b8fd2](https://github.com/payloadcms/payload/commit/65b8fd27af05c25c3ddf86c34e1f181b8a605c27))
59
+ * ensures preview is enabled before rendering button ([e968f40](https://github.com/payloadcms/payload/commit/e968f4067c2427965c0f96845aff8eaca36d0df6))
60
+ * local API update typing ([#2010](https://github.com/payloadcms/payload/issues/2010)) ([4b0d4f4](https://github.com/payloadcms/payload/commit/4b0d4f4cd59940cace6b6b8cebf3d834d2b88dab)), closes [#2009](https://github.com/payloadcms/payload/issues/2009)
61
+ * max versions incorrectly sorting, causing incorrect versions to be held onto ([2e4f7ab](https://github.com/payloadcms/payload/commit/2e4f7ab35c23f25051a5000e7902df7f255ed607))
62
+ * named tabs not displaying data in versions view ([a41e295](https://github.com/payloadcms/payload/commit/a41e295e42fbf283733afd8b63bced9555cb1338))
63
+ * replaced media not rendering after document save ([827428d](https://github.com/payloadcms/payload/commit/827428d6b57a7abe858ca5ddaad5ba4ec9d3a270))
64
+ * webpack css-loader resolve urls ([ade4c01](https://github.com/payloadcms/payload/commit/ade4c011d348249e975a1510ae481018834a2ca2))
65
+
66
+
67
+ ### Features
68
+
69
+ * deletes old media upon re-upload [#1897](https://github.com/payloadcms/payload/issues/1897) ([02f9be2](https://github.com/payloadcms/payload/commit/02f9be2c4a15eed6bba07f504319a2213ea411df))
70
+ * enables document drawers from read-only fields ([#1989](https://github.com/payloadcms/payload/issues/1989)) ([0dbc4fa](https://github.com/payloadcms/payload/commit/0dbc4fa21334e1a17c5aa35d84d78973fb7f54ec))
71
+
72
+ ## [1.6.4](https://github.com/payloadcms/payload/compare/v1.6.3...v1.6.4) (2023-02-03)
73
+
74
+
75
+ ### Bug Fixes
76
+
77
+ * only hoists localized values if localization is enabled ([8c65f6a](https://github.com/payloadcms/payload/commit/8c65f6a93836d80fb22724454f5efb49e11763ad))
78
+
79
+
80
+ ### Features
81
+
82
+ * support large file uploads ([#1981](https://github.com/payloadcms/payload/issues/1981)) ([12ed655](https://github.com/payloadcms/payload/commit/12ed65588131c6db5252a1302a7dd82f0a10bd2e))
83
+
84
+ ## [1.6.3](https://github.com/payloadcms/payload/compare/v1.6.2...v1.6.3) (2023-02-01)
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * properly await graphql schema generation ([888b3a2](https://github.com/payloadcms/payload/commit/888b3a26727b32d19e39d1a8b672eb1881effad7))
90
+
91
+ ## [1.6.2](https://github.com/payloadcms/payload/compare/v1.6.1...v1.6.2) (2023-02-01)
92
+
93
+ ### Features
94
+
95
+ - Adds optional password to generated types within auth-enabled collections
96
+
97
+ ## [1.6.1](https://github.com/payloadcms/payload/compare/v1.5.9...v1.6.1) (2023-02-01)
98
+
99
+ ### 🐛 Bug Fixes
100
+
101
+ - updated nl i18n typos ([cc7257e](https://github.com/payloadcms/payload/commit/cc7257efd529580b1eb7b6c01df9f7420838c345))
102
+ - fixes [#1905](https://github.com/payloadcms/payload/issues/1905)
103
+ - fixes [#1885](https://github.com/payloadcms/payload/issues/1885)
104
+ - fixes [#1869](https://github.com/payloadcms/payload/issues/1869)
105
+ - versions error on cosmos db ([338c4e2](https://github.com/payloadcms/payload/commit/338c4e2fb1f7fa4877b14b6a7adfdd80b08996d3))
106
+ - hides fallback locale checkbox when field localization is set to false ([#1893](https://github.com/payloadcms/payload/issues/1893)) ([0623039](https://github.com/payloadcms/payload/commit/06230398d7251240e45e843f1a4d70e6e7f547e7))
107
+ - [#1870](https://github.com/payloadcms/payload/issues/1870) and [#1859](https://github.com/payloadcms/payload/issues/1859) ([c0ac155](https://github.com/payloadcms/payload/commit/c0ac155a719aa69e1d0e2da97659c56d024325db))
108
+ - creates backup of latest version after restoring draft [#1873](https://github.com/payloadcms/payload/issues/1873) ([bd4da37](https://github.com/payloadcms/payload/commit/bd4da37f237d7bd33583d21b4ed8b910dd7d71cb))
109
+ - disables escapeValue for i18n ([#1886](https://github.com/payloadcms/payload/issues/1886)) ([eec4b3a](https://github.com/payloadcms/payload/commit/eec4b3ace5a3c9bbea168f2c87de1243414042aa))
110
+
111
+ ### ✨ Features
112
+
113
+ - Roadmap - [improved TypeScript experience](https://github.com/payloadcms/payload/discussions/1563) - begins work to SIGNIFICANTLY improve typing of Payload's Local API, removing the need for generics and inferring types automatically from your generated types
114
+ - Refactors the Local API to include only the bare minimum code necessary for running local API operations, which will allow us to deploy serverlessly
115
+ - blocks drawer [#1909](https://github.com/payloadcms/payload/issues/1909) ([339cee4](https://github.com/payloadcms/payload/commit/339cee416a0f331d8ad718d6d0c0ad2ae8dca74d))
116
+ - requires ts-node to start a project for any config that uses ts or jsx ([f1c342e](https://github.com/payloadcms/payload/commit/f1c342e05eb84254c9d84a425b4f0da1249fcef3))
117
+ - simplifies versions logic ([8cfa550](https://github.com/payloadcms/payload/commit/8cfa5509540225100237e6f569eb9eb1a7d5448e))
118
+ - add Chinese translation ([#1926](https://github.com/payloadcms/payload/issues/1926)) ([7c6ff89](https://github.com/payloadcms/payload/commit/7c6ff89ab661f9dedb171f26349bfdcfdb6ebc96))
119
+ - add Croatian translation ([#1982](https://github.com/payloadcms/payload/issues/1982)) ([dfa47a0](https://github.com/payloadcms/payload/commit/dfa47a0e0fafa30d7e9fdef59aa001097b305c92)
120
+
121
+ ### 🚨 BREAKING CHANGES
122
+
123
+ #### ✋ Payload now no longer transpiles your config for you
124
+
125
+ This release removes the need to use `@swc/register` to automatically transpile Payload configs, which dramatically improves Payload initialization speeds and simplifies the core Payload logic significantly. More info in the PR [here](https://github.com/payloadcms/payload/pull/1847).
126
+
127
+ If you are not using TypeScript, this will be a breaking change. There are many ways to mitigate this - but the best way is to just quickly scaffold a barebones TS implementation. You can still write JavaScript, and this PR does not require you to write TS, but handling transpilation with TypeScript will be an easy way forward and can set you up to opt-in to TS over time as well.
128
+
129
+ For instructions regarding how to migrate to TS, [review the PR here](https://github.com/payloadcms/payload/pull/1847).
130
+
131
+ #### ✋ Payload `init` is now always async, and `payload.initAsync` has been removed
132
+
133
+ We are pulling off a bandaid here and enforcing that `payload.init` is now asynchronous across the board. This will help prevent issues in the future and allow us to do more advanced things within `init` down the road. But this will be a breaking change if your project uses `payload.init` right now.
134
+
135
+ To migrate, you need to convert your code everywhere that you run `payload.init` to be asynchronous instead. For example, here is an example of a traditional `payload.init` call which needs to be migrated:
136
+
137
+ ```js
138
+ const express = require("express");
139
+ const payload = require("payload");
140
+
141
+ const app = express();
142
+
143
+ payload.init({
144
+ secret: "SECRET_KEY",
145
+ mongoURL: "mongodb://localhost/payload",
146
+ express: app,
147
+ });
148
+
149
+ app.listen(3000, async () => {
150
+ console.log(
151
+ "Express is now listening for incoming connections on port 3000."
152
+ );
153
+ });
154
+ ```
155
+
156
+ Your `payload.init` call will need to be converted into the following:
157
+
158
+ ```js
159
+ const express = require("express");
160
+ const payload = require("payload");
161
+
162
+ const app = express();
163
+
164
+ const start = async () => {
165
+ await payload.init({
166
+ secret: "SECRET_KEY",
167
+ mongoURL: "mongodb://localhost/payload",
168
+ express: app,
169
+ });
170
+
171
+ app.listen(3000, async () => {
172
+ console.log(
173
+ "Express is now listening for incoming connections on port 3000."
174
+ );
175
+ });
176
+ };
177
+
178
+ start();
179
+ ```
180
+
181
+ Notice that all we've done is wrapped the `payload.init` and `app.listen` calls with a `start` function that is asynchronous.
182
+
183
+ #### ✋ All Local API methods are no longer typed as generics, and instead will infer types for you automatically
184
+
185
+ Before this release, the Local API methods were configured as generics. For example, here is an example of the `findByID` method prior to this release:
186
+
187
+ ```ts
188
+ const post = await payload.findByID<Post>({
189
+ collection: "posts",
190
+ id: "id-of-post-here",
191
+ });
192
+ ```
193
+
194
+ Now, you don't need to pass your types and Payload will automatically infer them for you, as well as significantly improve typing throughout the local API. Here's an example:
195
+
196
+ ```ts
197
+ const post = await payload.findByID({
198
+ collection: "posts", // this is now auto-typed
199
+ id: "id-of-post-here",
200
+ });
201
+
202
+ // `post` will be automatically typed as `Post`
203
+ ```
204
+
205
+ To migrate, just remove the generic implementation!
206
+
207
+ But there's one more thing to do before Payload can automatically type your Local API. You need to add a path to your `tsconfig.json` file that matches your exported types from Payload:
208
+
209
+ ```json
210
+ {
211
+ "compilerOptions": {
212
+ // your compilerOptions here
213
+ "paths": {
214
+ // Tell TS where to find your generated types
215
+ // This is the default location below
216
+ "payload/generated-types": ["./src/payload-types.ts"]
217
+ }
218
+ }
219
+ }
220
+ ```
221
+
222
+ Then go regenerate your types. We've extended the `payload generate:types` method a bit to be more complete. Upon regenerating types, you'll see a new `Config` export at the top of the file which contains a key - value pair of all your collection and global types, which Payload will automatically import.
223
+
224
+ #### ✋ JSX support must be defined in `tsconfig.json`
225
+
226
+ If not already defined, add the following to your `compilerOptions`:
227
+
228
+ ```ts
229
+ "compilerOptions": {
230
+ "jsx": "react"
231
+ }
232
+ ```
233
+
234
+ #### ✋ Versions may need to be migrated
235
+
236
+ This release includes a substantial simplification / optimization of how Versions work within Payload. They are now significantly more performant and easier to understand behind-the-scenes. We've removed ~600 lines of code and have ensured that Payload can be compatible with all flavors of Mongo - including versions earlier than 4.0, Azure Cosmos MongoDB, AWS' DocumentDB and more.
237
+
238
+ But, some of your draft-enabled documents may need to be migrated.
239
+
240
+ If you are using versions and drafts on any collections, you can run a simple migration script to ensure that your drafts appear correctly in the Admin UI. Your data will never disappear from your database in any case if you update, but some drafts may not show in the List view anymore.
241
+
242
+ To migrate, create this file within the root of your Payload project:
243
+
244
+ **migrateVersions.ts**
245
+
246
+ ```ts
247
+ const payload = require("payload");
248
+
249
+ require("dotenv").config();
250
+
251
+ const { PAYLOAD_SECRET, MONGODB_URI } = process.env;
252
+
253
+ // This function ensures that there is at least one corresponding version for any document
254
+ // within each of your draft-enabled collections.
255
+
256
+ const ensureAtLeastOneVersion = async () => {
257
+ // Initialize Payload
258
+ // IMPORTANT: make sure your ENV variables are filled properly here
259
+ // as the below variable names are just for reference.
260
+ await payload.init({
261
+ secret: PAYLOAD_SECRET,
262
+ mongoURL: MONGODB_URI,
263
+ local: true,
264
+ });
265
+
266
+ // For each collection
267
+ await Promise.all(
268
+ payload.config.collections.map(async ({ slug, versions }) => {
269
+ // If drafts are enabled
270
+ if (versions?.drafts) {
271
+ const { docs } = await payload.find({
272
+ collection: slug,
273
+ limit: 0,
274
+ depth: 0,
275
+ locale: "all",
276
+ });
277
+
278
+ const VersionsModel = payload.versions[slug];
279
+ const existingCollectionDocIds: Array<string> = [];
280
+ await Promise.all(
281
+ docs.map(async (doc) => {
282
+ existingCollectionDocIds.push(doc.id);
283
+ // Find at least one version for the doc
284
+ const versionDocs = await VersionsModel.find(
285
+ {
286
+ parent: doc.id,
287
+ updatedAt: { $gte: doc.updatedAt },
288
+ },
289
+ null,
290
+ { limit: 1 }
291
+ ).lean();
292
+
293
+ // If there are no corresponding versions,
294
+ // we need to create one
295
+ if (versionDocs.length === 0) {
296
+ try {
297
+ await VersionsModel.create({
298
+ parent: doc.id,
299
+ version: doc,
300
+ autosave: Boolean(versions?.drafts?.autosave),
301
+ updatedAt: doc.updatedAt,
302
+ createdAt: doc.createdAt,
303
+ });
304
+ } catch (e) {
305
+ console.error(
306
+ `Unable to create version corresponding with collection ${slug} document ID ${doc.id}`,
307
+ e?.errors || e
308
+ );
309
+ }
310
+
311
+ console.log(
312
+ `Created version corresponding with ${slug} document ID ${doc.id}`
313
+ );
314
+ }
315
+ })
316
+ );
317
+
318
+ const versionsWithoutParentDocs = await VersionsModel.deleteMany({
319
+ parent: { $nin: existingCollectionDocIds },
320
+ });
321
+
322
+ if (versionsWithoutParentDocs.deletedCount > 0) {
323
+ console.log(
324
+ `Removing ${versionsWithoutParentDocs.deletedCount} versions for ${slug} collection - parent documents no longer exist`
325
+ );
326
+ }
327
+ }
328
+ })
329
+ );
330
+
331
+ console.log("Done!");
332
+ process.exit(0);
333
+ };
334
+
335
+ ensureAtLeastOneVersion();
336
+ ```
337
+
338
+ Make sure your environment variables match the script's values above and then run `PAYLOAD_CONFIG_PATH=src/payload.config.ts npx ts-node -T migrateVersions.ts` in your terminal. Make sure that you point the command to your Payload config.
339
+
340
+ This migration script will ensure that there is at least one corresponding version for each of your draft-enabled documents. It will also delete any versions that no longer have parent documents.
341
+
342
+ ### 👀 Example of a properly migrated project
343
+
344
+ For an example of how everything works with this update, go ahead and run `npx create-payload-app`. We've updated `create-payload-app` to reflect all the necessary changes here and you can use a new project to compare / contrast what you have in your current project with what Payload needs now in this release.
345
+
346
+ ## [1.5.9](https://github.com/payloadcms/payload/compare/v1.5.8...v1.5.9) (2023-01-15)
347
+
348
+ ### Bug Fixes
349
+
350
+ - [#1877](https://github.com/payloadcms/payload/issues/1877), [#1867](https://github.com/payloadcms/payload/issues/1867) - mimeTypes and imageSizes no longer cause error in admin ui ([b06ca70](https://github.com/payloadcms/payload/commit/b06ca700be36cc3a945f81e3fa23ebb53d06ca23))
351
+
352
+ ## [1.5.8](https://github.com/payloadcms/payload/compare/v1.5.7...v1.5.8) (2023-01-12)
353
+
354
+ ### Features
355
+
356
+ - throws descriptive error when collection or global slug not found ([b847d85](https://github.com/payloadcms/payload/commit/b847d85e60032b47a8eacc2c9426fdd373dff879))
357
+
358
+ ## [1.5.7](https://github.com/payloadcms/payload/compare/v1.5.6...v1.5.7) (2023-01-12)
359
+
360
+ ### Bug Fixes
361
+
362
+ - ensures find with draft=true does not improperly exclude draft ids ([69026c5](https://github.com/payloadcms/payload/commit/69026c577914ba029f2c45423d9f621b605a3ca0))
363
+ - ensures querying with drafts works on both published and non-published posts ([f018fc0](https://github.com/payloadcms/payload/commit/f018fc04b02f70d0e6ea545d5eb36ea860206964))
364
+
365
+ ## [1.5.6](https://github.com/payloadcms/payload/compare/v1.5.5...v1.5.6) (2023-01-11)
366
+
367
+ ### Bug Fixes
368
+
369
+ - ensures that find with draft=true returns ids with drafts ([3f30b2f](https://github.com/payloadcms/payload/commit/3f30b2f4894258d67e9a9a79e2213f9d5f69f856))
370
+
371
+ ## [1.5.5](https://github.com/payloadcms/payload/compare/v1.5.4...v1.5.5) (2023-01-11)
372
+
373
+ ### Bug Fixes
374
+
375
+ - [#1808](https://github.com/payloadcms/payload/issues/1808), arrays and blocks now save localized nested field data upon reordering rows ([ee54c14](https://github.com/payloadcms/payload/commit/ee54c1481cdb8d6669864f20584fa6ef072c9097))
376
+ - bug when clearing relationship field without hasMany: true ([#1829](https://github.com/payloadcms/payload/issues/1829)) ([ed7cfff](https://github.com/payloadcms/payload/commit/ed7cfff45c262206495580509a77adb72a646ddb))
377
+ - ensures upload file data is available for conditions ([d40e136](https://github.com/payloadcms/payload/commit/d40e1369472f212b5f85bfc72fac01dc708aa507))
378
+ - fix miss typo in Thai translation ([25e5ab7](https://github.com/payloadcms/payload/commit/25e5ab7ceebfb36960b6969db543a2b4ae7127d2))
379
+ - formats date when useAsTitle ([086117d](https://github.com/payloadcms/payload/commit/086117d7039b2b68ab2789b57cac97e2735819cf))
380
+ - prevents uploads drawer from crashing when no uploads are enabled ([84e1417](https://github.com/payloadcms/payload/commit/84e1417b711e0823753f0b9174c145e40b68e0be))
381
+ - rte link element initial state [#1848](https://github.com/payloadcms/payload/issues/1848) ([1cde647](https://github.com/payloadcms/payload/commit/1cde647a2a86df21312229b8beec0a6b75df22c3))
382
+ - updatesmargin for group field within a row ([1c3a257](https://github.com/payloadcms/payload/commit/1c3a257244e322c04164f6630772a40baf256da7))
383
+ - upload field filterOptions ([9483ccb](https://github.com/payloadcms/payload/commit/9483ccb1208a91c1376ac4bd5186037f909aa45d))
384
+ - wrong translation and punctuation spacing ([bf1242a](https://github.com/payloadcms/payload/commit/bf1242aafa3fa7e72e81af10284f4ddade28c4a0))
385
+
386
+ ### Features
387
+
388
+ - adds translations for fallbackToDefaultLocale ([c247f31](https://github.com/payloadcms/payload/commit/c247f3130cf03d1dc12d456886b04db028161800))
389
+ - ensures compatibility with azure cosmos and aws documentdb ([73af283](https://github.com/payloadcms/payload/commit/73af283e1c24befc2797e2bc9766a22d26e3c288))
390
+
391
+ ## [1.5.4](https://github.com/payloadcms/payload/compare/v1.5.3...v1.5.4) (2023-01-06)
392
+
393
+ ### Features
394
+
395
+ - allows init to accept a pre-built config ([84e00bf](https://github.com/payloadcms/payload/commit/84e00bf7b3dfc1c23367765eec60bec45b81617b))
396
+
397
+ ## [1.5.3](https://github.com/payloadcms/payload/compare/v1.5.2...v1.5.3) (2023-01-05)
398
+
399
+ ### Bug Fixes
400
+
401
+ - theme flicker on code editor ([6567454](https://github.com/payloadcms/payload/commit/6567454ae4e4808303da9b80d26633bc77e1445d))
402
+
403
+ ## [1.5.2](https://github.com/payloadcms/payload/compare/v1.5.1...v1.5.2) (2023-01-04)
404
+
405
+ ### Bug Fixes
406
+
407
+ - ignores admin and components from swc ([7d27431](https://github.com/payloadcms/payload/commit/7d274313129c44618ebd8d1fd7a176694ee40476))
408
+
409
+ ## [1.5.1](https://github.com/payloadcms/payload/compare/v1.5.0...v1.5.1) (2023-01-04)
410
+
411
+ ### Bug Fixes
412
+
413
+ - reverts components directory back to ts ([1bbf099](https://github.com/payloadcms/payload/commit/1bbf099fe052e767512e111f8f2b778c1b9c59d9))
414
+
415
+ # [1.5.0](https://github.com/payloadcms/payload/compare/v1.4.2...v1.5.0) (2023-01-04)
416
+
417
+ ### Bug Fixes
418
+
419
+ - json field type ([73b8ba3](https://github.com/payloadcms/payload/commit/73b8ba3d4a86385cd0a80efcdc19e4972d16b0b7))
420
+
421
+ ### Features
422
+
423
+ - adds initial json field ([28d9f90](https://github.com/payloadcms/payload/commit/28d9f9009cc479b0e5da5c5b4fb85eb29b055309))
424
+ - fixes json editor errors and misc styling ([efe4f6d](https://github.com/payloadcms/payload/commit/efe4f6d861a99337cfd35592557d3e8f16ff924a))
425
+ - swc register ([#1779](https://github.com/payloadcms/payload/issues/1779)) ([c11bcd1](https://github.com/payloadcms/payload/commit/c11bcd1416b19e48569218d9011d013ad77306ce))
426
+ - updates code field editor ([4d6eba8](https://github.com/payloadcms/payload/commit/4d6eba8d21d19eac63df02d56d27b0a17006d042))
427
+ - wires up i18n with monaco editor ([07b2cca](https://github.com/payloadcms/payload/commit/07b2ccad61a619478f6613fa65f4f630222639d4))
428
+
429
+ ## [1.4.2](https://github.com/payloadcms/payload/compare/v1.4.1...v1.4.2) (2023-01-03)
430
+
431
+ ### Bug Fixes
432
+
433
+ - [#1775](https://github.com/payloadcms/payload/issues/1775) - siblingData for unnamed fields within array rows improperly formatted ([d6fcd19](https://github.com/payloadcms/payload/commit/d6fcd19bd1eaf2942c2eaa31f0de4770ca10ff06))
434
+ - [#1786](https://github.com/payloadcms/payload/issues/1786), relationship with hasMany no longer sets empty array as default value ([ecfb363](https://github.com/payloadcms/payload/commit/ecfb36316961ef0eb9dd1ba1dc95ba98f95223f8))
435
+ - error clearing date field ([883daf7](https://github.com/payloadcms/payload/commit/883daf7b469c03fae67c16292af6aded662c0bd0))
436
+ - select field crash on missing value option ([ec9196e](https://github.com/payloadcms/payload/commit/ec9196e33ca01e6a15097943b4be6dee6ea5202f))
437
+
438
+ ### Features
439
+
440
+ - add Ukrainian translation ([#1767](https://github.com/payloadcms/payload/issues/1767)) ([49fa5cb](https://github.com/payloadcms/payload/commit/49fa5cb23a0bb57348d8cd7ec0b7805d651fda2d))
441
+ - preview now exposes most recent draft data ([54dadbe](https://github.com/payloadcms/payload/commit/54dadbeae5b195405a7cfb480fd38b2eeb684938))
442
+
443
+ ## [1.4.1](https://github.com/payloadcms/payload/compare/v1.4.0...v1.4.1) (2022-12-24)
444
+
445
+ ### Bug Fixes
446
+
447
+ - [#1761](https://github.com/payloadcms/payload/issues/1761), avoids rich text modifying form due to selection change ([9f4ce8d](https://github.com/payloadcms/payload/commit/9f4ce8d756742a6e1b2644ea49d0778774aae457))
448
+
449
+ # [1.4.0](https://github.com/payloadcms/payload/compare/v1.3.4...v1.4.0) (2022-12-23)
450
+
451
+ ### Bug Fixes
452
+
453
+ - [#1611](https://github.com/payloadcms/payload/issues/1611), unable to query draft versions with draft=true ([44b31a9](https://github.com/payloadcms/payload/commit/44b31a9e585aad515557b749bf05253139a17bd9))
454
+ - [#1656](https://github.com/payloadcms/payload/issues/1656) remove size data ([389ee26](https://github.com/payloadcms/payload/commit/389ee261d4ebae0b773bca375ed8a74685506aa0))
455
+ - [#1698](https://github.com/payloadcms/payload/issues/1698) - globals and autosave not working ([915f1e2](https://github.com/payloadcms/payload/commit/915f1e2b3a0c9618d5699a0ee6f5e74c6f4038ee))
456
+ - [#1738](https://github.com/payloadcms/payload/issues/1738) save image dimensions to svg uploads ([2de435f](https://github.com/payloadcms/payload/commit/2de435f43a2e75391a655e91a0cda251da776bcb))
457
+ - [#1747](https://github.com/payloadcms/payload/issues/1747), rich text in arrays improperly updating initialValue when moving rows ([d417e50](https://github.com/payloadcms/payload/commit/d417e50d52fc0824fb5aaedd3e1208c3e1468bdd))
458
+ - [#1748](https://github.com/payloadcms/payload/issues/1748), bails out of autosave if doc is published while autosaving ([95e9300](https://github.com/payloadcms/payload/commit/95e9300d109c9bfd377d5b5efbb68ddca306bbec))
459
+ - [#1752](https://github.com/payloadcms/payload/issues/1752), removes label from row field type ([ff3ab18](https://github.com/payloadcms/payload/commit/ff3ab18d1690e50473be2d77897fb9de48361413))
460
+ - [#551](https://github.com/payloadcms/payload/issues/551) - rich text nested list structure ([542ea8e](https://github.com/payloadcms/payload/commit/542ea8eb81a6e608c7368882da9692d656f1d36b))
461
+ - allows cleared file to be reselected ([35abe81](https://github.com/payloadcms/payload/commit/35abe811c1534ba4f7e926edd3a2978ee67b181e))
462
+ - get relationships in locale of i18n language setting ([#1648](https://github.com/payloadcms/payload/issues/1648)) ([60bb265](https://github.com/payloadcms/payload/commit/60bb2652f0aa63747513e771173362985123519c))
463
+ - missing file after reselect in upload component ([6bc1758](https://github.com/payloadcms/payload/commit/6bc1758dc0cad3f52ce332e71134ee527e17fff0))
464
+ - prevents special characters breaking relationship field search ([#1710](https://github.com/payloadcms/payload/issues/1710)) ([9af4c1d](https://github.com/payloadcms/payload/commit/9af4c1dde7f4a68dc629738dff4fc314626cabb8))
465
+ - refreshes document drawer on save ([9567328](https://github.com/payloadcms/payload/commit/9567328d28709c5721b33e5bd61c9535568ffffd))
466
+ - removes update and created at fields when duplicating, ensures updatedAt data is reactive ([bd4ed5b](https://github.com/payloadcms/payload/commit/bd4ed5b99b5026544c910592c3bff6040e2058bc))
467
+ - safely clears sort [#1736](https://github.com/payloadcms/payload/issues/1736) ([341c163](https://github.com/payloadcms/payload/commit/341c163b36c330df76a6eb5146fccc80059eb9d7))
468
+ - simplifies radio validation ([0dfed3b](https://github.com/payloadcms/payload/commit/0dfed3b30a15829f9454332a4cbd7d9ce1fddea3))
469
+ - translated tab classnames ([238bada](https://github.com/payloadcms/payload/commit/238badabb4f38e691608219c54a541993d9f3010))
470
+ - updates relationship label on drawer save and prevents stepnav update ([59de4f7](https://github.com/payloadcms/payload/commit/59de4f7e82dc4f08240b13d48054589b561688fa))
471
+ - updates richtext toolbar position if inside a drawer ([468b0d2](https://github.com/payloadcms/payload/commit/468b0d2a55616993f10eac7d1709620d114ad7d6))
472
+ - use the slug for authentication header API Key ([5b70ebd](https://github.com/payloadcms/payload/commit/5b70ebd119b557cff66e97e3554af730657b4071))
473
+
474
+ ### Features
475
+
476
+ - add Czech translation ([#1705](https://github.com/payloadcms/payload/issues/1705)) ([0be4285](https://github.com/payloadcms/payload/commit/0be428530512c3babdfe39be259dd165bb66b5f4))
477
+ - adds doc permissions to account view ([8d643fb](https://github.com/payloadcms/payload/commit/8d643fb29d3604b78f6cb46582720dde2a46affb))
478
+ - **graphql:** upgrade to graphql 16 ([57f5f5e](https://github.com/payloadcms/payload/commit/57f5f5ec439b5aee1d46bff0bf31aac6148f16b2))
479
+
480
+ ### BREAKING CHANGES
481
+
482
+ - replaced the useAPIKey authentication header format to use the collection slug instead of the collection label. Previous: `${collection.labels.singular} API-Key ${apiKey}`, updated: `${collection.slug} API-Key ${apiKey}`
483
+
484
+ ## [1.3.4](https://github.com/payloadcms/payload/compare/v1.3.3...v1.3.4) (2022-12-16)
485
+
486
+ ### Bug Fixes
487
+
488
+ - async validate out of order ([e913fbe](https://github.com/payloadcms/payload/commit/e913fbe4ea4f9abf7eeb29db3b03e1afe4649d50))
489
+ - autosave with nested localized fields ([4202fc2](https://github.com/payloadcms/payload/commit/4202fc29337763f8fd90ec4beaf0d34e39a916bc))
490
+ - doc access should not run where query on collections without id ([016beb6](https://github.com/payloadcms/payload/commit/016beb6eec96857fe913888a1d9c4994dbd94e7e))
491
+ - run docAccess also when checking global ([b8c0482](https://github.com/payloadcms/payload/commit/b8c0482cdae6d372f81823ee4541717131d9dac4))
492
+
493
+ ## [1.3.3](https://github.com/payloadcms/payload/compare/v1.3.2...v1.3.3) (2022-12-16)
494
+
495
+ ### Bug Fixes
496
+
497
+ - allow translation in group admin.description ([#1680](https://github.com/payloadcms/payload/issues/1680)) ([91e33ad](https://github.com/payloadcms/payload/commit/91e33ad1ee04750425112602fcfddcf329f934e8))
498
+ - ensures select field avoids circular dependencies ([f715146](https://github.com/payloadcms/payload/commit/f715146aa35a6f3a8f5d7d4e066c71fb26027472))
499
+
500
+ ## [1.3.2](https://github.com/payloadcms/payload/compare/v1.3.1...v1.3.2) (2022-12-15)
501
+
502
+ ### Bug Fixes
503
+
504
+ - safely handles rich text deselection ([420eef4](https://github.com/payloadcms/payload/commit/420eef4d91d6c5810b4e9dbda1e87e9f0e6d8dba))
505
+
506
+ ## [1.3.1](https://github.com/payloadcms/payload/compare/v1.3.0...v1.3.1) (2022-12-15)
507
+
508
+ ### Bug Fixes
509
+
510
+ - add i18n type to collection and globals admin.description ([#1675](https://github.com/payloadcms/payload/issues/1675)) ([049d560](https://github.com/payloadcms/payload/commit/049d560898fdf3fd9be40a4689eb1ef4170ef207))
511
+ - adds draftsEnabled to baseSchema for tabs / arrays / groups & allows for null enum ([80da898](https://github.com/payloadcms/payload/commit/80da898de8cfe068a0ad685803d8523fd9a10dcd))
512
+ - adds draftsEnabled to versionSchema in collections / globals ([f0db5e0](https://github.com/payloadcms/payload/commit/f0db5e0170807944cfbed8495c813b7c28b05bb3))
513
+ - collapsible margin bottom adjustment ([#1673](https://github.com/payloadcms/payload/issues/1673)) ([64086e8](https://github.com/payloadcms/payload/commit/64086e8122e04965ca0ae8d254b99114208944bf))
514
+ - escapes react-select events when drawer is open ([f290cda](https://github.com/payloadcms/payload/commit/f290cda333aecab104d7cd195bcc7fab2059134d))
515
+ - label translation in about to delete dialog ([#1667](https://github.com/payloadcms/payload/issues/1667)) ([d9c45f6](https://github.com/payloadcms/payload/commit/d9c45f62b19162a34bc317e997d9912213a3012b))
516
+ - list view date field display format ([#1661](https://github.com/payloadcms/payload/issues/1661)) ([934b443](https://github.com/payloadcms/payload/commit/934b443b5b3b0f610767786f940175b9db0b2da7))
517
+ - removes case for select field that sets data to undefined if set to null ([b4f39d5](https://github.com/payloadcms/payload/commit/b4f39d5fd380190ee82a5bb967756d25e9c98e95))
518
+ - Set 'Dashboard's link to config route ([#1652](https://github.com/payloadcms/payload/issues/1652)) ([940c1e8](https://github.com/payloadcms/payload/commit/940c1e84f5f091bf4b4ae0bd6628f077d9d0d6e9))
519
+ - stringifies date in DateTime field for useAsTitle ([#1674](https://github.com/payloadcms/payload/issues/1674)) ([a1813ca](https://github.com/payloadcms/payload/commit/a1813ca4b32dfcd8ca3604f7f03b1ba316d740e2))
520
+
521
+ ### Features
522
+
523
+ - inline relationships ([8d744c8](https://github.com/payloadcms/payload/commit/c6013c39043cc7bf9e8ff39551662c25e8d744c8))
524
+ - custom button html element ([5592fb1](https://github.com/payloadcms/payload/commit/5592fb148dfa3058df577cfb7f5ed72ea25e1217))
525
+ - further Tooltip improvements ([e101f92](https://github.com/payloadcms/payload/commit/e101f925cc71af4c3a1b5ce4ad552d9834d35bfd))
526
+
527
+ # [1.3.0](https://github.com/payloadcms/payload/compare/v1.2.5...v1.3.0) (2022-12-09)
528
+
529
+ ### Bug Fixes
530
+
531
+ - [#1547](https://github.com/payloadcms/payload/issues/1547), global afterChange hook not falling back to original global if nothing returned ([a72123d](https://github.com/payloadcms/payload/commit/a72123dd471e1032d832e409560bda9cf3058095))
532
+ - [#1632](https://github.com/payloadcms/payload/issues/1632) graphQL non-nullable relationship and upload fields ([#1633](https://github.com/payloadcms/payload/issues/1633)) ([eff3f18](https://github.com/payloadcms/payload/commit/eff3f18e7c184e5f82325e960b4cbe84b6377d82))
533
+ - change edit key to prevent richtext editor from crashing ([#1616](https://github.com/payloadcms/payload/issues/1616)) ([471d214](https://github.com/payloadcms/payload/commit/471d21410ac9ac852a8581a019dd6759f56cd8b2))
534
+ - filterOptions function argument relationTo is an array ([#1627](https://github.com/payloadcms/payload/issues/1627)) ([11b1c0e](https://github.com/payloadcms/payload/commit/11b1c0efc66acd32de2efcaf65bad504d2e2eb45))
535
+ - resets slate state when initialValue changes, fixes [#1600](https://github.com/payloadcms/payload/issues/1600), [#1546](https://github.com/payloadcms/payload/issues/1546) ([9558a22](https://github.com/payloadcms/payload/commit/9558a22ce6cdf9bc13215931b43bde0a7dd4bf50))
536
+ - sanitizes global find query params ([512bc1e](https://github.com/payloadcms/payload/commit/512bc1ebe636841f1dee6ce49c1d97db1810c4bd))
537
+ - Select with hasMany and localized ([#1636](https://github.com/payloadcms/payload/issues/1636)) ([756edb8](https://github.com/payloadcms/payload/commit/756edb858a1ca66c32e674770ddcdceae77bf349))
538
+ - translation key in revert published modal ([#1628](https://github.com/payloadcms/payload/issues/1628)) ([b6c597a](https://github.com/payloadcms/payload/commit/b6c597ab5c4fcd879496db5373155df48c657e28))
539
+ - unflattens fields in filterOptions callback ([acff46b](https://github.com/payloadcms/payload/commit/acff46b4a5b57f01fa0b14c1e9fd8330b4d787db))
540
+
541
+ - feat!: no longer sanitize collection slugs to kebab case (#1607) ([ba2f2d6](https://github.com/payloadcms/payload/commit/ba2f2d6e9b66568b11632bacdd92cfdc8ddae300)), closes [#1607](https://github.com/payloadcms/payload/issues/1607)
542
+
543
+ ### Features
544
+
545
+ - add Norwegian bokmål (nb) translation ([#1614](https://github.com/payloadcms/payload/issues/1614)) ([759f001](https://github.com/payloadcms/payload/commit/759f00168137ff1a0fd862796a5971a9ba0264cd))
546
+ - add Thai translation ([#1630](https://github.com/payloadcms/payload/issues/1630)) ([7777d11](https://github.com/payloadcms/payload/commit/7777d11b9ed458a6c64efc8c9572edb898f6ceed))
547
+ - upload support pasting file ([eb69b82](https://github.com/payloadcms/payload/commit/eb69b82adfb4e94c1ef36b219310c55afc7a1d4e))
548
+
549
+ ### BREAKING CHANGES
550
+
551
+ - collection slugs are no longer automatically sanitized to be kebab case. This will only be an issue if your current slugs were in camel case. The upgrade path will be to change those slugs to the kebab case version that the slug was automatically being sanitized to on the backend.
552
+
553
+ If you only use kebab case or single word slugs: no action needed.
554
+
555
+ If you have existing slugs with camel case and populated data: you'll need to convert these to the kebab case version to match the previously sanitized value.
556
+
557
+ ie. myOldSlug is your slug, you should convert it to my-old-slug.
558
+
559
+ Any future slugs after updating will be used as-is.
560
+
561
+ ## [1.2.5](https://github.com/payloadcms/payload/compare/v1.2.4...v1.2.5) (2022-12-06)
562
+
563
+ ### Bug Fixes
564
+
565
+ - exits findOptionsByValue when matchedOption is found ([881c067](https://github.com/payloadcms/payload/commit/881c067c40d7477fa2a56d9c700feab49410e1c1))
566
+ - mismatch language condition when rendering unpublish ([3ddd0ea](https://github.com/payloadcms/payload/commit/3ddd0ea3efbd4d673a943dbf63363c548ae5562c))
567
+ - safely coerces limit and depth to number or undefined ([dd04d78](https://github.com/payloadcms/payload/commit/dd04d7842efe9228e98271a878fd68a814042f41))
568
+ - uses pathOrName to pass to internal Relationship field components ([8874e87](https://github.com/payloadcms/payload/commit/8874e871d4a48d5d3fccb8233464437d8ea61ad4))
569
+
570
+ ### Features
571
+
572
+ - add Turkish translations ([#1596](https://github.com/payloadcms/payload/issues/1596)) ([c8a6831](https://github.com/payloadcms/payload/commit/c8a683100f1ec663a2fdfd5c1ab82300d2618995))
573
+
574
+ ## [1.2.4](https://github.com/payloadcms/payload/compare/v1.2.3...v1.2.4) (2022-12-03)
575
+
576
+ ### Bug Fixes
577
+
578
+ - missing translation richText link modal ([#1573](https://github.com/payloadcms/payload/issues/1573)) ([2dcada1](https://github.com/payloadcms/payload/commit/2dcada199c21bee97eca88aa6bc8ba1bc2b45e7c))
579
+
580
+ ## [1.2.3](https://github.com/payloadcms/payload/compare/v1.2.2...v1.2.3) (2022-12-02)
581
+
582
+ ### Bug Fixes
583
+
584
+ - reset password regression ([#1574](https://github.com/payloadcms/payload/issues/1574)) ([396ea0b](https://github.com/payloadcms/payload/commit/396ea0bd53dc9e1ae1e348d6fe1eb3c36232b35b))
585
+
586
+ ## [1.2.2](https://github.com/payloadcms/payload/compare/v1.2.1...v1.2.2) (2022-12-02)
587
+
588
+ ### Bug Fixes
589
+
590
+ - adds contain operators for text/email/radio fields ([4c37af6](https://github.com/payloadcms/payload/commit/4c37af6f10dcfd77b5aec963bc5f84a178942143))
591
+ - adjusts how limit is set, both in options and paginates limit ([a718010](https://github.com/payloadcms/payload/commit/a71801006cbc4b989d5057a5f04e8e8e0a6dbeed))
592
+ - aligns mongoose PaginatedDocs type with actual lib type ([dce2081](https://github.com/payloadcms/payload/commit/dce208166337a8e47cc41301c9c5be0854199eaa))
593
+ - allows for form controlled relationship fields to be populated ([e4435bb](https://github.com/payloadcms/payload/commit/e4435bb8bd13fd7122124fb6e171f4bd1cce819c))
594
+ - allows for limit bypass on version find operations ([891f00d](https://github.com/payloadcms/payload/commit/891f00d05cd57d9387dd25be81daa3de99e315ed))
595
+ - blockName grows in all browsers ([03c2ab5](https://github.com/payloadcms/payload/commit/03c2ab52a89817e94ec9a7b4339e807d995e04f6))
596
+ - corrects skipValidation ([e6f1c6f](https://github.com/payloadcms/payload/commit/e6f1c6fc7bb56fe5a858b405c3bf799a46ac57f4))
597
+ - dynamic relationship filterOptions ([99c1f41](https://github.com/payloadcms/payload/commit/99c1f41e306a11547965fd938fa5607787243003))
598
+ - ensures enums cannot query on partial matches ([ec51929](https://github.com/payloadcms/payload/commit/ec51929b1af0b2c1138aa315d106b52f7e771779))
599
+ - german translation optimizations ([#1485](https://github.com/payloadcms/payload/issues/1485)) ([e9d2163](https://github.com/payloadcms/payload/commit/e9d21636011ac084fa26ffbea199fc766fe19b25))
600
+ - handle multiple locales in relationship population ([#1452](https://github.com/payloadcms/payload/issues/1452)) ([04c689c](https://github.com/payloadcms/payload/commit/04c689c5b04bc91020eb682b97721eba213836d2))
601
+ - **i18n:** requiresAtLeast variable in de.json ([#1556](https://github.com/payloadcms/payload/issues/1556)) ([47fd0d9](https://github.com/payloadcms/payload/commit/47fd0d9ec4aa62335d505a0bfba0305355a318ca))
602
+ - ignore validation when unpublishing, do not allow restore with invalid form state ([77ab542](https://github.com/payloadcms/payload/commit/77ab54243ab1857f4f430be4f8c4dc51e15f94ca))
603
+ - indexSortableFields timestamp fields [#1506](https://github.com/payloadcms/payload/issues/1506) ([#1537](https://github.com/payloadcms/payload/issues/1537)) ([7aada3c](https://github.com/payloadcms/payload/commit/7aada3c746603b91bbb4fadf953f36e23fba5121))
604
+ - infinite rerenders, accounts for hasMany false ([16d00e8](https://github.com/payloadcms/payload/commit/16d00e87c2f8b63e695e46ccbf279ad90621dc17))
605
+ - moves relationship field useEffect into async reducer action ([54ef40a](https://github.com/payloadcms/payload/commit/54ef40a335905f7295f847c68762f7fe06bccc30))
606
+ - moves sharp types from devDeps to deps ([b3d526b](https://github.com/payloadcms/payload/commit/b3d526b59a275a1f58a76322a588ba8a6370f26b))
607
+ - reverts async reducer and resolves infinite effect ([a9da81f](https://github.com/payloadcms/payload/commit/a9da81f18cf9e6eba67187a3a2735b267949e0ae))
608
+ - sanitize number query params before passing to find operation ([c8d1b9f](https://github.com/payloadcms/payload/commit/c8d1b9f88af62ad1ab927ca3d035fa4c031989f1))
609
+ - translate select field option labels ([#1476](https://github.com/payloadcms/payload/issues/1476)) ([3a9dc9e](https://github.com/payloadcms/payload/commit/3a9dc9ef68374692c3314651bee6e1b00ae55f17))
610
+ - update drafts includes latest version changes ([48989d0](https://github.com/payloadcms/payload/commit/48989d0f6ed086dc60dc94165a4e0ca8120f9b1a))
611
+ - updates code field css ([3eebd66](https://github.com/payloadcms/payload/commit/3eebd6613f66f3cac38e00cfd94e80b2999cf791))
612
+ - updates syntax colors for light theme ([dbfe7ca](https://github.com/payloadcms/payload/commit/dbfe7ca6e61e3a93baabc378f52835af9e53fd38))
613
+ - uses baseClass in code field ([d03f0ae](https://github.com/payloadcms/payload/commit/d03f0aef8423597aceb36ddbbb1cc63033d0066d))
614
+
615
+ ### Features
616
+
617
+ - decouples limit from pagination, allows for no limit query ([f7ce0c6](https://github.com/payloadcms/payload/commit/f7ce0c615d76035ee48ef32047613ab1415deb44))
618
+ - improve typescript comments ([#1467](https://github.com/payloadcms/payload/issues/1467)) ([5bd8657](https://github.com/payloadcms/payload/commit/5bd86571cada5791003bbfa84183f5b300649533))
619
+ - log email transport error messages ([#1469](https://github.com/payloadcms/payload/issues/1469)) ([a90a1a9](https://github.com/payloadcms/payload/commit/a90a1a9e19bb54eb6d88129b5e2cb6483e22db61))
620
+ - removes theme provider and updates background for code fields ([1a6c9a3](https://github.com/payloadcms/payload/commit/1a6c9a3e181930a6f45027fecc5313e8d7228c71))
621
+
622
+ ## [1.2.1](https://github.com/payloadcms/payload/compare/v1.2.0...v1.2.1) (2022-11-22)
623
+
624
+ ### Bug Fixes
625
+
626
+ - adjusts styles to allow error bg to fill textarea ([2e57b76](https://github.com/payloadcms/payload/commit/2e57b76df01acf7ed1ce5fcb824ef5f96d11621d))
627
+ - allows patching global drafts [#1415](https://github.com/payloadcms/payload/issues/1415) ([25822a9](https://github.com/payloadcms/payload/commit/25822a91b1e4f2bf4804f15947d211138d696219))
628
+ - dynamically sets stepnav from default edit view ([40c8778](https://github.com/payloadcms/payload/commit/40c87784b0c6281c599b6d2a46a27b70b0568c30))
629
+ - ensures drafts operations saves as draft [#1415](https://github.com/payloadcms/payload/issues/1415) ([fc16ffe](https://github.com/payloadcms/payload/commit/fc16ffefdb354ea023462d784cdac7ab6fcc26d3))
630
+ - flattens locales before versioning published docs [#1415](https://github.com/payloadcms/payload/issues/1415) ([f700f51](https://github.com/payloadcms/payload/commit/f700f51f2bcdd657d1fab6b6d83ac00a11ed870d))
631
+ - **i18n:** version count ([#1465](https://github.com/payloadcms/payload/issues/1465)) ([075b7e9](https://github.com/payloadcms/payload/commit/075b7e9f02498ea253cf270654dcce0f11ec1f93))
632
+ - Increase textarea click area ([c303913](https://github.com/payloadcms/payload/commit/c303913e61881a3b0d90615dda905b20347d6f1e))
633
+ - invalid query string user account request ([#1478](https://github.com/payloadcms/payload/issues/1478)) ([400cb9b](https://github.com/payloadcms/payload/commit/400cb9b6bcfd09c39cb6aa438daad876d12e8e13))
634
+ - removes incorrectly import/export option type - [#1441](https://github.com/payloadcms/payload/issues/1441) ([ed01a17](https://github.com/payloadcms/payload/commit/ed01a176210a02a32874f4d0d1c5206d9a772e7e))
635
+ - rendering of localized select value ([1d1d249](https://github.com/payloadcms/payload/commit/1d1d2493aa08db4c300c01e72ccb6c11e03f9e09))
636
+ - sanitizes select values on the server, allowing isClearable selects to be cleared without error ([699ca14](https://github.com/payloadcms/payload/commit/699ca14434eeff3025cffd3f6e00efada80e021f))
637
+ - translate version comparison view field labels ([#1470](https://github.com/payloadcms/payload/issues/1470)) ([8123585](https://github.com/payloadcms/payload/commit/8123585592b9a53ef746f17476b36a2661cca025))
638
+ - versionCount was broken & other i18n improvements ([#1450](https://github.com/payloadcms/payload/issues/1450)) ([078c28b](https://github.com/payloadcms/payload/commit/078c28bd5fd08fd17a0b0b360e904f51fe8a2e98))
639
+ - versions tests ([af6a7aa](https://github.com/payloadcms/payload/commit/af6a7aa9e850c0817ea40d755f51255ccf0938c2))
640
+
641
+ ### Features
642
+
643
+ - add i18n to option labels in version comparison ([#1477](https://github.com/payloadcms/payload/issues/1477)) ([7b6a9ed](https://github.com/payloadcms/payload/commit/7b6a9ede6e3a72e7e64358cb88946b16153d8dc6))
644
+ - exports field types properly ([7c6d6fd](https://github.com/payloadcms/payload/commit/7c6d6fd1caeb25e1a871fa1b9cecc53be8a2a7a1))
645
+
646
+ # [1.2.0](https://github.com/payloadcms/payload/compare/v1.1.26...v1.2.0) (2022-11-18)
647
+
648
+ ### 🐛 Bug Fixes
649
+
650
+ - build errors ([65f0e1c](https://github.com/payloadcms/payload/commit/65f0e1caace193f034139e331883d01d8eb92d2c))
651
+ - components optional chaining ([d5e725c](https://github.com/payloadcms/payload/commit/d5e725c608588e96b974291fa86d5e89dea9060d))
652
+ - corrects exported custom component type ([2878b4b](https://github.com/payloadcms/payload/commit/2878b4b1bec5c0c9997c1ba2a080640d4d3f8e5f))
653
+ - corrects type for CollapsibleLabel example type, adjusts custom component filenames ([ccb4231](https://github.com/payloadcms/payload/commit/ccb42319abf0679d998e15b6b47fff3ce95d4ca1))
654
+ - sets pointer-events to none so the entire label bar is clickable ([e458087](https://github.com/payloadcms/payload/commit/e458087a55cbbad29ca3568ca4c089aaee49693a))
655
+
656
+ ### ✨ Features
657
+
658
+ - add i18n to admin panel ([#1326](https://github.com/payloadcms/payload/issues/1326)) ([bab34d8](https://github.com/payloadcms/payload/commit/bab34d82f5fddad32ceafd116ad97e87cab4c862))
659
+ - adds docs example ([2bf0fff](https://github.com/payloadcms/payload/commit/2bf0fffa0dd83f395aa3318b3baba1e22dd58b51))
660
+ - adds playwright tests for array fields ([57a8c35](https://github.com/payloadcms/payload/commit/57a8c352e44750d1785b65074c15812dc8226585))
661
+ - converts rowHeader to collapsibleLabel, extends data passed to functions/components ([13ec1e0](https://github.com/payloadcms/payload/commit/13ec1e0398d2a9ce1aeddc5692008173acfde45e))
662
+ - customizable header-labels ([d45de99](https://github.com/payloadcms/payload/commit/d45de99956273c59e6d1a3a11c7cce36f3d123f6))
663
+ - simplifies collapsible label API, adds e2e tests ([d9df98f](https://github.com/payloadcms/payload/commit/d9df98ff22041908fc2ce0972c844116edd409be))
664
+ - specifies component names for arrays/collapsibles, simplifies threaded data ([b74ea21](https://github.com/payloadcms/payload/commit/b74ea218ca47ce9db9d20586dbbce73e4ce0f917))
665
+
666
+ ### 🚨 BREAKING CHANGES
667
+
668
+ - You **_might_** need to update your config. This change affects `collections`, `globals` and `block fields` with custom labeling.
669
+
670
+ - **Collections:** are affected if you have a custom `labels.singular` defined that differs from your collection slug.
671
+
672
+ ```typescript
673
+ // ExampleCollection.ts
674
+
675
+ // Before
676
+ const ExampleCollection: CollectionConfig = {
677
+ slug: "case-studies",
678
+ labels: {
679
+ // Before Payload used `labels.singular` to generate types/graphQL schema
680
+ singular: "Project",
681
+ plural: "Projects",
682
+ },
683
+ };
684
+
685
+ // After
686
+ const ExampleCollection: CollectionConfig = {
687
+ // Now Payload uses `slug` to generate types/graphQL schema
688
+ slug: "case-studies",
689
+ labels: {
690
+ singular: "Project",
691
+ plural: "Projects",
692
+ },
693
+ // To override the usage of slug in graphQL schema generation
694
+ graphQL: {
695
+ singularName: "Project",
696
+ pluralName: "Projects",
697
+ },
698
+ // To override the usage of slug in type file generation
699
+ typescript: {
700
+ interface: "Project",
701
+ },
702
+ };
703
+ ```
704
+
705
+ - **Globals:** are affected if you have a `label` defined that differs from your global slug.
706
+
707
+ ```typescript
708
+ // ExampleGlobal.ts
709
+
710
+ // Before
711
+ const ExampleGlobal: GlobalConfig = {
712
+ slug: "footer",
713
+ // Before Payload used `label` to generate types/graphQL schema
714
+ label: "Page Footer",
715
+ };
716
+
717
+ // After
718
+ const ExampleGlobal: GlobalConfig = {
719
+ // Now Payload uses `slug` to generate types/graphQL schema
720
+ slug: "footer",
721
+ label: "Page Footer",
722
+ // To override the usage of slug in graphQL schema generation
723
+ graphQL: {
724
+ name: "PageFooter",
725
+ },
726
+ // To override the usage of slug in type file generation
727
+ typescript: {
728
+ interface: "PageFooter",
729
+ },
730
+ };
731
+ ```
732
+
733
+ - **Block Fields:** are affected if you have a `label` defined that differs from your block slug.
734
+
735
+ ````typescript
736
+ // ExampleBlock.ts
737
+
738
+ // Before
739
+ const ExampleBlock: Block = {
740
+ slug: 'content',
741
+ // Before Payload used `label` to generate graphQL schema
742
+ label: 'Content Block',
743
+ }
744
+
745
+ // After
746
+ const ExampleBlock: Block = {
747
+ // Now Payload uses `slug` to generate graphQL schema
748
+ slug: 'content',
749
+ label: 'Content Block',
750
+ // To override the usage of slug in graphQL schema generation
751
+ graphQL: {
752
+ singularName: 'ContentBlock',
753
+ },
754
+ }
755
+ ```
756
+
757
+ **Breaking changes recap**:
758
+ ````
759
+
760
+ * On Collections
761
+
762
+ - Use `graphQL.singularName`, `graphQL.pluralName` for GraphQL schema names.
763
+ - Use `typescript.interface` for typescript generation name.
764
+
765
+ * On Globals
766
+
767
+ - Use `graphQL.name` for GraphQL Schema name.
768
+ - Use `typescript.interface` for typescript generation name.
769
+
770
+ * On Blocks (within Block fields)
771
+ - Use `graphQL.singularName` for graphQL schema names.
772
+
773
+ ## [1.1.26](https://github.com/payloadcms/payload/compare/v1.1.25...v1.1.26) (2022-11-15)
774
+
775
+ ### Bug Fixes
776
+
777
+ - [#1414](https://github.com/payloadcms/payload/issues/1414) ([50bcf00](https://github.com/payloadcms/payload/commit/50bcf001ea613c65cfe0545e7257d5b13ca688f3))
778
+
779
+ ## [1.1.25](https://github.com/payloadcms/payload/compare/v1.1.24...v1.1.25) (2022-11-15)
780
+
781
+ ### Bug Fixes
782
+
783
+ - add slug to DocumentInfo context ([#1389](https://github.com/payloadcms/payload/issues/1389)) ([4d8cc97](https://github.com/payloadcms/payload/commit/4d8cc97475c73e5131699ef03dca275a17535a25))
784
+ - adds unique key to upload cards to prevent old images being shown while navigating to new page ([5e8a8b2](https://github.com/payloadcms/payload/commit/5e8a8b2df9af435f0df8a8a07dddf7dcc24cf9ac))
785
+ - ensures admin components is defaulted ([d103f6c](https://github.com/payloadcms/payload/commit/d103f6c94f91b5359aea722c2d7781bf144f6a26))
786
+ - global afterRead and afterChange execution ([#1405](https://github.com/payloadcms/payload/issues/1405)) ([cdaa8cc](https://github.com/payloadcms/payload/commit/cdaa8cc29f58308a387375ec41eafd0d38b13bcb))
787
+
788
+ ### Features
789
+
790
+ - admin UI logout extensibility ([#1274](https://github.com/payloadcms/payload/issues/1274)) ([a345ef0](https://github.com/payloadcms/payload/commit/a345ef0d3179000a2930f8b09886e06fd0801d21))
791
+ - let textarea grow based on value ([#1398](https://github.com/payloadcms/payload/issues/1398)) ([0f27b10](https://github.com/payloadcms/payload/commit/0f27b103b44935480b8ffe17427fc5ed05b92446))
792
+ - saves tab index to user preferences ([5eb8e4a](https://github.com/payloadcms/payload/commit/5eb8e4a28f34a1c51790d4eabfb21606b7fb41c6))
793
+
794
+ ## [1.1.24](https://github.com/payloadcms/payload/compare/v1.1.23...v1.1.24) (2022-11-14)
795
+
796
+ ### Bug Fixes
797
+
798
+ - cursor jumping while typing in inputs ([216b9f8](https://github.com/payloadcms/payload/commit/216b9f88d988c692d6acdf920ee4dbb9903020ae)), closes [#1393](https://github.com/payloadcms/payload/issues/1393)
799
+
800
+ ## [1.1.23](https://github.com/payloadcms/payload/compare/v1.1.22...v1.1.23) (2022-11-12)
801
+
802
+ ### Bug Fixes
803
+
804
+ - [#1361](https://github.com/payloadcms/payload/issues/1361), ensures collection auth depth works while retrieving static assets ([2f68404](https://github.com/payloadcms/payload/commit/2f684040fc9ca717d48b0d95cbd3468c35973993))
805
+
806
+ ### Features
807
+
808
+ - optimizes field performance by storing internal values in useField hook ([66210b8](https://github.com/payloadcms/payload/commit/66210b856b97139f9959fac47154bca44f0a4de0))
809
+
810
+ ## [1.1.22](https://github.com/payloadcms/payload/compare/v1.1.21...v1.1.22) (2022-11-12)
811
+
812
+ ### Bug Fixes
813
+
814
+ - [#1353](https://github.com/payloadcms/payload/issues/1353), ensures errors returned from server make their way to UI ([3f28a69](https://github.com/payloadcms/payload/commit/3f28a69959be9c98869f81bcd379b8c7cd505a12))
815
+ - [#1357](https://github.com/payloadcms/payload/issues/1357), nested arrays and blocks sometimes not allowing save ([86855d6](https://github.com/payloadcms/payload/commit/86855d68f65dfadbf51050bdaf6a28c3220add6f))
816
+ - [#1358](https://github.com/payloadcms/payload/issues/1358), allows listSearchableFields to work when indicated fields are nested ([eb0023e](https://github.com/payloadcms/payload/commit/eb0023e9617894873fe75748de187d85279498c8))
817
+ - [#1360](https://github.com/payloadcms/payload/issues/1360), relationship field onMenuScrollToBottom not working in some browsers ([7136db4](https://github.com/payloadcms/payload/commit/7136db4c718b70833fa75f5c8e9ae596298b3aa9))
818
+ - [#1367](https://github.com/payloadcms/payload/issues/1367), allows custom global components within schema validation ([1d76e97](https://github.com/payloadcms/payload/commit/1d76e973bb8e6e33e40b469bd410042ae4b90e2e))
819
+ - 1309, duplicative logout in admin UI ([35f91b0](https://github.com/payloadcms/payload/commit/35f91b038b66d74468dad250dbe7cbf1ea88b444))
820
+ - fixed GraphQL Access query resolver to return the correct data ([#1339](https://github.com/payloadcms/payload/issues/1339)) ([cfef68f](https://github.com/payloadcms/payload/commit/cfef68f36477e34b9943d9334c65fa46ee3eb339))
821
+
822
+ ## [1.1.21](https://github.com/payloadcms/payload/compare/v1.1.20...v1.1.21) (2022-11-05)
823
+
824
+ ## [1.1.20](https://github.com/payloadcms/payload/compare/v1.1.19...v1.1.20) (2022-11-05)
825
+
826
+ ### Features
827
+
828
+ - optimizes blocks and arrays by removing some additional rerenders ([483adf0](https://github.com/payloadcms/payload/commit/483adf08c4131d0401e47ec45d72200b9dc60de2))
829
+
830
+ ## [1.1.19](https://github.com/payloadcms/payload/compare/v1.1.18...v1.1.19) (2022-10-31)
831
+
832
+ ### Bug Fixes
833
+
834
+ - [#1307](https://github.com/payloadcms/payload/issues/1307), [#1321](https://github.com/payloadcms/payload/issues/1321) - bug with disableFormData and blocks field ([2a09f15](https://github.com/payloadcms/payload/commit/2a09f15a158ff30e89c5454f81aa140448f15d30))
835
+ - [#1311](https://github.com/payloadcms/payload/issues/1311), select existing upload modal always updates state ([e2ec2f7](https://github.com/payloadcms/payload/commit/e2ec2f7b97ed308c4ff7deefbc58cf0df6ff0602))
836
+ - [#1318](https://github.com/payloadcms/payload/issues/1318), improves popup positioning and logic ([c651835](https://github.com/payloadcms/payload/commit/c6518350617d14818dfc537b5b0a147274c1119b))
837
+ - custom pino logger options ([#1299](https://github.com/payloadcms/payload/issues/1299)) ([2500026](https://github.com/payloadcms/payload/commit/25000261bd6ecb0f05ae79de9a0693078a0e3e0d))
838
+
839
+ ## [1.1.18](https://github.com/payloadcms/payload/compare/v1.1.17...v1.1.18) (2022-10-25)
840
+
841
+ ## [1.1.17](https://github.com/payloadcms/payload/compare/v1.1.16...v1.1.17) (2022-10-25)
842
+
843
+ ### Bug Fixes
844
+
845
+ - [#1286](https://github.com/payloadcms/payload/issues/1286), uses defaultDepth in graphql rich text depth ([66bf8c3](https://github.com/payloadcms/payload/commit/66bf8c3cbd080ee5a28b7af521d427d3aae59ba2))
846
+ - [#1290](https://github.com/payloadcms/payload/issues/1290), renders more than one rich text leaf where applicable ([a9f2f0e](https://github.com/payloadcms/payload/commit/a9f2f0ec03383ef4c3ef3ba98274b0abaaf962ed))
847
+ - [#1291](https://github.com/payloadcms/payload/issues/1291), add inline relationship drafts ([3967c12](https://github.com/payloadcms/payload/commit/3967c1233fda00b48e9df15276502a6b14b737ff))
848
+ - enforces depth: 0 in graphql resolvers ([3301f59](https://github.com/payloadcms/payload/commit/3301f598223d517ac310909bb74e455891c27693))
849
+ - ensures field updates when disableFormData changes ([c929725](https://github.com/payloadcms/payload/commit/c929725dd565de08871dad655442ee9ac4f29dd5))
850
+ - group + group styles within collapsible ([17dbbc7](https://github.com/payloadcms/payload/commit/17dbbc77757a7cd6e517bac443859561fee86e32))
851
+
852
+ ### Features
853
+
854
+ - added beforeLogin hook ([#1289](https://github.com/payloadcms/payload/issues/1289)) ([09d7939](https://github.com/payloadcms/payload/commit/09d793926dbb642bbcb6ab975735d069df355a8a))
855
+ - adds default max length for text-based fields ([6a1b25a](https://github.com/payloadcms/payload/commit/6a1b25ab302cbdf7f312012b29b78288815810af))
856
+ - specify node 14+ and yarn classic LTS ([#1240](https://github.com/payloadcms/payload/issues/1240)) ([9181477](https://github.com/payloadcms/payload/commit/91814777b0bf3830c4a468b76783ff6f42ad824a))
857
+
858
+ ## [1.1.16](https://github.com/payloadcms/payload/compare/v1.1.15...v1.1.16) (2022-10-21)
859
+
860
+ ### Bug Fixes
861
+
862
+ - indexSortableFields not respected ([785b992](https://github.com/payloadcms/payload/commit/785b992c3ea31f7818f1c87c816b8b8de644851d))
863
+ - obscure bug where upload collection has upload field relating to itself ([36ef378](https://github.com/payloadcms/payload/commit/36ef3789fbe00cafe8b3587d6c370e28efd5a187))
864
+
865
+ ## [1.1.15](https://github.com/payloadcms/payload/compare/v1.1.14...v1.1.15) (2022-10-14)
866
+
867
+ ### Bug Fixes
868
+
869
+ - ensures svg mime type is always image/svg+xml ([0b0d971](https://github.com/payloadcms/payload/commit/0b0d9714917b1a56fb899a053e2e35c878a00992))
870
+
871
+ ## [1.1.14](https://github.com/payloadcms/payload/compare/v1.1.13...v1.1.14) (2022-10-14)
872
+
873
+ ## [1.1.11](https://github.com/payloadcms/payload/compare/v1.1.10...v1.1.11) (2022-10-12)
874
+
875
+ ### Bug Fixes
876
+
877
+ - ensures arrays and blocks mount as disableFormData: true, fixes [#1242](https://github.com/payloadcms/payload/issues/1242) ([5ca5aba](https://github.com/payloadcms/payload/commit/5ca5abab422ad1cdb1b449a8298f439c57dda464))
878
+
879
+ ### Features
880
+
881
+ - builds beforeDuplicate admin hook, closes [#1243](https://github.com/payloadcms/payload/issues/1243) ([6f6f2f8](https://github.com/payloadcms/payload/commit/6f6f2f8e7b83821ae2f2d30d08460439746cc0c6))
882
+
883
+ ## [1.1.10](https://github.com/payloadcms/payload/compare/v1.1.9...v1.1.10) (2022-10-11)
884
+
885
+ ## [1.1.9](https://github.com/payloadcms/payload/compare/v1.1.8...v1.1.9) (2022-10-11)
886
+
887
+ ### Features
888
+
889
+ - improves access control typing ([5322ada](https://github.com/payloadcms/payload/commit/5322ada9e690544c4864abba202a14ec1f2f5e9d))
890
+
891
+ ## [1.1.8](https://github.com/payloadcms/payload/compare/v1.1.7...v1.1.8) (2022-10-11)
892
+
893
+ ### Features
894
+
895
+ - adds ability to create related docs while editing another ([1e048fe](https://github.com/payloadcms/payload/commit/1e048fe03787577fe4d584cec9c2d7c78bc90a17))
896
+ - implements use-context-selector for form field access ([5c1a3fa](https://github.com/payloadcms/payload/commit/5c1a3fabeef48b78f173af084f9117515e1297ba))
897
+
898
+ ## [1.1.7](https://github.com/payloadcms/payload/compare/v1.1.6...v1.1.7) (2022-10-06)
899
+
900
+ ## [1.1.6](https://github.com/payloadcms/payload/compare/v1.1.5...v1.1.6) (2022-10-06)
901
+
902
+ ### Bug Fixes
903
+
904
+ - [#1184](https://github.com/payloadcms/payload/issues/1184) ([c2ec54a](https://github.com/payloadcms/payload/commit/c2ec54a7cbd8cd94bcd4a68d885e35986fec7f18))
905
+ - [#1189](https://github.com/payloadcms/payload/issues/1189) ([3641dfd](https://github.com/payloadcms/payload/commit/3641dfd38a147b24e0e3ef93a125b12ad7763f66))
906
+ - [#1204](https://github.com/payloadcms/payload/issues/1204) ([b4becd1](https://github.com/payloadcms/payload/commit/b4becd1493d55aae887008ab573ab710c400103a))
907
+ - [#940](https://github.com/payloadcms/payload/issues/940) ([7926083](https://github.com/payloadcms/payload/commit/7926083732fbaec78d87f67742cdbd8bd00cd48a))
908
+ - ajusts how disabled states are being set on anchors and buttons ([00ef170](https://github.com/payloadcms/payload/commit/00ef1700ae41e68ff0831a587bf3f09fe6c2c966))
909
+ - remove min-width from fileupload ([73848b6](https://github.com/payloadcms/payload/commit/73848b603790b3c3d8ad8c9dac81b33c0b65fc7e))
910
+ - resize textarea only vertically ([6e1dfff](https://github.com/payloadcms/payload/commit/6e1dfff1b8195a1f81e6ea6ccf3b36dd5359c039))
911
+ - richText e2e test, specific selectors ([09a8144](https://github.com/payloadcms/payload/commit/09a8144f3cc63f7ec15fd75f51b8ac8d0cf3f1b5))
912
+ - styles readOnly RichTextEditor, removes interactivity within when readOnly ([9181304](https://github.com/payloadcms/payload/commit/918130486e1e38a3d57fb993f466207209c5c0bb))
913
+ - **style:** system dark scrollbars ([a30d9dc](https://github.com/payloadcms/payload/commit/a30d9dc1d70340cc6c5ac5b3415a6f57bec117ae))
914
+ - threads readOnly to ReactSelect ([b454811](https://github.com/payloadcms/payload/commit/b454811698c7ea0cee944ed50030c13163cf72c9))
915
+ - upload xls renaming ext ([7fd8124](https://github.com/payloadcms/payload/commit/7fd8124df68d208813de46172c5cd3f479b9b8be))
916
+
917
+ ### Features
918
+
919
+ - async admin access control ([1cfce87](https://github.com/payloadcms/payload/commit/1cfce8754947487e6c598ed5bc881526295acabf))
920
+ - sort select and relationship fields by default ([813c46c](https://github.com/payloadcms/payload/commit/813c46c86d86f8b0a3ba7280d31f24e844c916b6))
921
+
922
+ ## [1.1.5](https://github.com/payloadcms/payload/compare/v1.1.4...v1.1.5) (2022-09-29)
923
+
924
+ ### Bug Fixes
925
+
926
+ - bug in useThrottledEffect ([3ce8ee4](https://github.com/payloadcms/payload/commit/3ce8ee4661bfa3825c5b8c41232d5da57f7591ed))
927
+
928
+ ## [1.1.4](https://github.com/payloadcms/payload/compare/v1.1.3...v1.1.4) (2022-09-24)
929
+
930
+ ### Bug Fixes
931
+
932
+ - field level access for nested fields ([22ea98c](https://github.com/payloadcms/payload/commit/22ea98ca33770a0ec6652f814726454abb6da24e))
933
+ - refine type generation for relationships ([ef83bdb](https://github.com/payloadcms/payload/commit/ef83bdb709ebde008b90930a6875b24f042a41b0))
934
+
935
+ ### Features
936
+
937
+ - supports root endpoints ([52cd3b4](https://github.com/payloadcms/payload/commit/52cd3b4a7ed9bc85e93d753a3aaf190489ca98cd))
938
+
939
+ ## [1.1.3](https://github.com/payloadcms/payload/compare/v1.1.2...v1.1.3) (2022-09-16)
940
+
941
+ ### Bug Fixes
942
+
943
+ - adjust prevPage and nextPage graphql typing ([#1140](https://github.com/payloadcms/payload/issues/1140)) ([b3bb421](https://github.com/payloadcms/payload/commit/b3bb421c6ca4176974488b3270384386a151560c))
944
+ - duplicate with relationships ([eabb981](https://github.com/payloadcms/payload/commit/eabb981243e005facb5fff6d9222903d4704ca55))
945
+
946
+ ## [1.1.2](https://github.com/payloadcms/payload/compare/v1.1.1...v1.1.2) (2022-09-14)
947
+
948
+ ### Bug Fixes
949
+
950
+ - resize images without local storage ([1496679](https://github.com/payloadcms/payload/commit/14966796ae0d0bcff8cb56b62e3a21c2de2176da))
951
+ - resize images without local storage ([7b756f3](https://github.com/payloadcms/payload/commit/7b756f3421f02d1ff55374a72396e15e9f3e23d7))
952
+
953
+ ## [1.1.1](https://github.com/payloadcms/payload/compare/v1.1.0...v1.1.1) (2022-09-13)
954
+
955
+ ### Bug Fixes
956
+
957
+ - conditions on collapsible fields ([9c4f2b6](https://github.com/payloadcms/payload/commit/9c4f2b68b07bbdd2ac9a6dee280f50379638fc50))
958
+ - dashboard links to globals ([dcc8dad](https://github.com/payloadcms/payload/commit/dcc8dad53b006f86e93150f9439eafc8d9e01d79))
959
+
960
+ # [1.1.0](https://github.com/payloadcms/payload/compare/v1.0.36...v1.1.0) (2022-09-13)
961
+
962
+ ### Bug Fixes
963
+
964
+ - [#1106](https://github.com/payloadcms/payload/issues/1106) ([9a461b8](https://github.com/payloadcms/payload/commit/9a461b853689fdbc8229c8e103c5e237e451425f))
965
+ - word boundaries, no regex lookbehind support for Safari ([#1114](https://github.com/payloadcms/payload/issues/1114)) ([391c9d8](https://github.com/payloadcms/payload/commit/391c9d8682175ea37f1f7b2bb9d1361dc4ac8140))
966
+
967
+ ### Features
968
+
969
+ - [#1001](https://github.com/payloadcms/payload/issues/1001) - builds a way to allow list view to search multiple fields ([a108372](https://github.com/payloadcms/payload/commit/a1083727ef54ec15ea2c3b4dfd114567639dfef1))
970
+ - collection groups ([dffeaf6](https://github.com/payloadcms/payload/commit/dffeaf6a69746b944bf36bd172da3cc19fa025a0))
971
+ - globals groups ([59af872](https://github.com/payloadcms/payload/commit/59af8725b4625f8e08aaab730fce177e870279ca))
972
+ - hide nav labels with no un-grouped collections ([c40e232](https://github.com/payloadcms/payload/commit/c40e232ac67e7bc1ced3775060beb835efff46b9))
973
+ - implement gravatar ([#1107](https://github.com/payloadcms/payload/issues/1107)) ([ca434b8](https://github.com/payloadcms/payload/commit/ca434b8a929af081bb3b92b51f35058a23ce5e37))
974
+ - support localized tab fields ([a83921a](https://github.com/payloadcms/payload/commit/a83921a2fe927d59562272cb111c68a840b1914f))
975
+ - tabs support localization at the tab level ([6a6a691](https://github.com/payloadcms/payload/commit/6a6a69190fe13bebf3e0b089265d71be2a691488))
976
+ - WIP tab compatible with traverseFields ([2ae33b6](https://github.com/payloadcms/payload/commit/2ae33b603abaec4ff80261a465781f508b4a1e06))
977
+
978
+ ## [1.0.36](https://github.com/payloadcms/payload/compare/v1.0.35...v1.0.36) (2022-09-10)
979
+
980
+ ### Bug Fixes
981
+
982
+ - bug with account view ([ada1871](https://github.com/payloadcms/payload/commit/ada1871993bae92bc7a30f48029b437d63eb3871))
983
+
984
+ ## [1.0.35](https://github.com/payloadcms/payload/compare/v1.0.34...v1.0.35) (2022-09-10)
985
+
986
+ ### Bug Fixes
987
+
988
+ - [#1059](https://github.com/payloadcms/payload/issues/1059) ([13dc39d](https://github.com/payloadcms/payload/commit/13dc39dc6da4cb7c450477f539b09a3cb54ed5af))
989
+ - add height/width if imageSizes not specified ([8bd2a0e](https://github.com/payloadcms/payload/commit/8bd2a0e6c9a9cd05c7b162ade47f3bb111236ba3))
990
+ - incorrect auth strategy type ([c8b37f4](https://github.com/payloadcms/payload/commit/c8b37f40cbdc766a45dbe21573b1848bfc091901))
991
+ - rich text link with no selection ([5a19f69](https://github.com/payloadcms/payload/commit/5a19f6915a17dbb072b89f63f32705d5f0fc75ce))
992
+
993
+ ### Features
994
+
995
+ - allows rich text links to link to other docs ([a99d9c9](https://github.com/payloadcms/payload/commit/a99d9c98c3f92d6fbeb65c384ca4d43b82184bfd))
996
+ - improves rich text link ux ([91000d7](https://github.com/payloadcms/payload/commit/91000d7fdaa9628650c737fc3f7f6a900b7447d4))
997
+
998
+ ## [1.0.34](https://github.com/payloadcms/payload/compare/v1.0.33...v1.0.34) (2022-09-07)
999
+
1000
+ ### Bug Fixes
1001
+
1002
+ - pins faceless ui modal ([b38b642](https://github.com/payloadcms/payload/commit/b38b6427b8b813487922db0bb7d3762cc41d3447))
1003
+
1004
+ ## [1.0.33](https://github.com/payloadcms/payload/compare/v1.0.30...v1.0.33) (2022-09-07)
1005
+
1006
+ ### Bug Fixes
1007
+
1008
+ - [#1062](https://github.com/payloadcms/payload/issues/1062) ([05d1b14](https://github.com/payloadcms/payload/commit/05d1b141b22f66cb9007f20f2ae9d8e31db4f32f))
1009
+ - [#948](https://github.com/payloadcms/payload/issues/948) ([8df9ee7](https://github.com/payloadcms/payload/commit/8df9ee7b2dfcb2f77f049d02788a5c60c45f8c12))
1010
+ - [#981](https://github.com/payloadcms/payload/issues/981) ([d588843](https://github.com/payloadcms/payload/commit/d58884312132e109ae3f6619be2e0d7bab3f3111))
1011
+ - accented label char sanitization for GraphQL ([#1080](https://github.com/payloadcms/payload/issues/1080)) ([888734d](https://github.com/payloadcms/payload/commit/888734dcdf775f416395f8830561c47235bb9019))
1012
+ - children of conditional fields required in graphql schema ([#1055](https://github.com/payloadcms/payload/issues/1055)) ([29e82ec](https://github.com/payloadcms/payload/commit/29e82ec845f69bf5a09b682739e88529ebc53c16))
1013
+ - ensures adding new media to upload works when existing doc does not exist ([5ae666b](https://github.com/payloadcms/payload/commit/5ae666b0e08b128bdf2d576428e8638c2b8c2ed8))
1014
+ - implement the same word boundary search as the like query ([#1038](https://github.com/payloadcms/payload/issues/1038)) ([c3a0bd8](https://github.com/payloadcms/payload/commit/c3a0bd86254dfc3f49e46d4e41bdf717424ea342))
1015
+ - reorder plugin wrapping ([#1051](https://github.com/payloadcms/payload/issues/1051)) ([cd8edba](https://github.com/payloadcms/payload/commit/cd8edbaa1faa5a94166396918089a01058a4e75e))
1016
+ - require min 1 option in field schema validation ([#1082](https://github.com/payloadcms/payload/issues/1082)) ([d56882c](https://github.com/payloadcms/payload/commit/d56882cc20764b793049f20a91864c943e711375))
1017
+ - update removing a relationship with null ([#1056](https://github.com/payloadcms/payload/issues/1056)) ([44b0073](https://github.com/payloadcms/payload/commit/44b0073834830a9d645a11bcafab3869b4eb1899))
1018
+ - update removing an upload with null ([#1076](https://github.com/payloadcms/payload/issues/1076)) ([2ee4c7a](https://github.com/payloadcms/payload/commit/2ee4c7ad727b9311578d3049660de81c27dace55))
1019
+
1020
+ ### Features
1021
+
1022
+ - cyrillic like query support ([#1078](https://github.com/payloadcms/payload/issues/1078)) ([b7e5828](https://github.com/payloadcms/payload/commit/b7e5828adc7bc6602da7992b073b005b30aa896f))
1023
+ - duplicate copies all locales ([51c7770](https://github.com/payloadcms/payload/commit/51c7770b10c34a3e40520ca8d64beedc67693c5c))
1024
+ - update operator type with contains ([#1045](https://github.com/payloadcms/payload/issues/1045)) ([482cbe7](https://github.com/payloadcms/payload/commit/482cbe71c7b1d39b665fb0b29a7a0b69f454180a))
1025
+
1026
+ ## [1.0.30](https://github.com/payloadcms/payload/compare/v1.0.29...v1.0.30) (2022-08-30)
1027
+
1028
+ ### Bug Fixes
1029
+
1030
+ - upload field validation not required ([#1025](https://github.com/payloadcms/payload/issues/1025)) ([689fa00](https://github.com/payloadcms/payload/commit/689fa008fb0b28fb92be4ca785a77f4c35ae16b2))
1031
+
1032
+ ## [1.0.29](https://github.com/payloadcms/payload/compare/v1.0.28...v1.0.29) (2022-08-29)
1033
+
1034
+ ### Bug Fixes
1035
+
1036
+ - [#953](https://github.com/payloadcms/payload/issues/953) ([a73c391](https://github.com/payloadcms/payload/commit/a73c391c2cecc3acf8dc3115b56c018f85d9bebf))
1037
+
1038
+ ## [1.0.28](https://github.com/payloadcms/payload/compare/v1.0.27...v1.0.28) (2022-08-29)
1039
+
1040
+ ### Bug Fixes
1041
+
1042
+ - incorrect field paths when nesting unnamed fields ([#1011](https://github.com/payloadcms/payload/issues/1011)) ([50b0303](https://github.com/payloadcms/payload/commit/50b0303ab39f0d0500c5e4116df95f02d1d7fff3)), closes [#976](https://github.com/payloadcms/payload/issues/976)
1043
+ - relationship cell loading ([#1021](https://github.com/payloadcms/payload/issues/1021)) ([6a3cfce](https://github.com/payloadcms/payload/commit/6a3cfced9a6e0ef75b398ec663f908c725b10d1a))
1044
+ - remove lazy loading of array and blocks ([4900fa7](https://github.com/payloadcms/payload/commit/4900fa799ffbeb70e689622b269dc04a67978552))
1045
+ - require properties in blocks and arrays fields ([#1020](https://github.com/payloadcms/payload/issues/1020)) ([6bc6e7b](https://github.com/payloadcms/payload/commit/6bc6e7bb616bd9f28f2464d3e55e7a1d19a8e7f8))
1046
+ - unpublish item will not crash the UI anymore ([#1016](https://github.com/payloadcms/payload/issues/1016)) ([0586d7a](https://github.com/payloadcms/payload/commit/0586d7aa7d0938df25492487aa073c2aa366e1e4))
1047
+
1048
+ ### Features
1049
+
1050
+ - export more fields config types and validation type ([#989](https://github.com/payloadcms/payload/issues/989)) ([25f5d68](https://github.com/payloadcms/payload/commit/25f5d68b74b081c060ddf6f0405c9211f5da6b54))
1051
+ - types custom components to allow any props ([#1013](https://github.com/payloadcms/payload/issues/1013)) ([3736755](https://github.com/payloadcms/payload/commit/3736755a12cf5bbaaa916a5c0363026318a60823))
1052
+ - validate relationship and upload ids ([#1004](https://github.com/payloadcms/payload/issues/1004)) ([d727fc8](https://github.com/payloadcms/payload/commit/d727fc8e2467e3f438ea6b1d2031e0657bffd183))
1053
+
1054
+ ## [1.0.27](https://github.com/payloadcms/payload/compare/v1.0.26...v1.0.27) (2022-08-18)
1055
+
1056
+ ### Bug Fixes
1057
+
1058
+ - react-sortable-hoc dependency instead of dev dependency ([4ef6801](https://github.com/payloadcms/payload/commit/4ef6801230cb0309a9d20dd092f8a3372f75f9ca))
1059
+
1060
+ ## [1.0.26](https://github.com/payloadcms/payload/compare/v1.0.25...v1.0.26) (2022-08-18)
1061
+
1062
+ ### Bug Fixes
1063
+
1064
+ - missing fields in rows on custom id collections ([#954](https://github.com/payloadcms/payload/issues/954)) ([39586d3](https://github.com/payloadcms/payload/commit/39586d3cdb01131b29f1f8f7346086d2bc9903c1))
1065
+
1066
+ ### Features
1067
+
1068
+ - adds more prismjs syntax highlighting options for code blocks ([#961](https://github.com/payloadcms/payload/issues/961)) ([f45d5a0](https://github.com/payloadcms/payload/commit/f45d5a0421117180f85f8e3cd86f835c13ac6d16))
1069
+ - enable reordering of hasMany relationship and select fields ([#952](https://github.com/payloadcms/payload/issues/952)) ([38a1a38](https://github.com/payloadcms/payload/commit/38a1a38c0c52403083458619b2f9b58044c5c0ea))
1070
+
1071
+ ## [1.0.25](https://github.com/payloadcms/payload/compare/v1.0.24...v1.0.25) (2022-08-17)
1072
+
1073
+ ### Bug Fixes
1074
+
1075
+ - [#568](https://github.com/payloadcms/payload/issues/568) ([a3edbf4](https://github.com/payloadcms/payload/commit/a3edbf4fef5efd8293cb4d6139b2513441cb741e))
1076
+
1077
+ ### Features
1078
+
1079
+ - add new pickerAppearance option 'monthOnly' ([566c6ba](https://github.com/payloadcms/payload/commit/566c6ba3a9beb13ea9437844313ec6701effce27))
1080
+ - custom api endpoints ([11d8fc7](https://github.com/payloadcms/payload/commit/11d8fc71e8bdb62c6755789903702b0ee257b448))
1081
+
1082
+ ## [1.0.24](https://github.com/payloadcms/payload/compare/v1.0.23...v1.0.24) (2022-08-16)
1083
+
1084
+ ### Bug Fixes
1085
+
1086
+ - [#939](https://github.com/payloadcms/payload/issues/939) ([b1a1575](https://github.com/payloadcms/payload/commit/b1a1575122f602ff6ba77973ab2a67893d352487))
1087
+ - create indexes in nested fields ([f615abc](https://github.com/payloadcms/payload/commit/f615abc9b1d9000aff114010ef7f618ec70b6491))
1088
+ - format graphql localization input type ([#932](https://github.com/payloadcms/payload/issues/932)) ([1c7445d](https://github.com/payloadcms/payload/commit/1c7445dc7fd883f6d5dcba532e9e048b1cff08f5))
1089
+
1090
+ ### Features
1091
+
1092
+ - ensures you can query on blocks via specifying locale or not specifying locale ([078e8dc](https://github.com/payloadcms/payload/commit/078e8dcc51197133788294bac6fa380b192defbc))
1093
+
1094
+ ## [1.0.23](https://github.com/payloadcms/payload/compare/v1.0.22...v1.0.23) (2022-08-15)
1095
+
1096
+ ### Bug Fixes
1097
+
1098
+ - [#930](https://github.com/payloadcms/payload/issues/930) ([cbb1c84](https://github.com/payloadcms/payload/commit/cbb1c84be76146301ce41c4bdace647df83a4aac))
1099
+ - dev:generate-types on all test configs ([#919](https://github.com/payloadcms/payload/issues/919)) ([145e1db](https://github.com/payloadcms/payload/commit/145e1db05db0e71149ba74e95764970dfdfd8b6b))
1100
+
1101
+ ## [1.0.22](https://github.com/payloadcms/payload/compare/v1.0.21...v1.0.22) (2022-08-12)
1102
+
1103
+ ### Bug Fixes
1104
+
1105
+ - [#905](https://github.com/payloadcms/payload/issues/905) ([b8421dd](https://github.com/payloadcms/payload/commit/b8421ddc0c9357de7a61bdc565fe2f9c4cf62681))
1106
+ - ensures you can query on mixed schema type within blocks ([fba0847](https://github.com/payloadcms/payload/commit/fba0847f0fbc4c144ec85bb7a1ed3f2a953f5e05))
1107
+
1108
+ ## [1.0.21](https://github.com/payloadcms/payload/compare/v1.0.20...v1.0.21) (2022-08-11)
1109
+
1110
+ ### Bug Fixes
1111
+
1112
+ - ensures you can query on nested block fields ([ca852e8](https://github.com/payloadcms/payload/commit/ca852e8cb2d78982abeae0b5db4117f0261d8fed))
1113
+ - saving multiple versions ([#918](https://github.com/payloadcms/payload/issues/918)) ([d0da3d7](https://github.com/payloadcms/payload/commit/d0da3d7962bbddfbdc1c553816409823bf6e1335))
1114
+
1115
+ ## [1.0.20](https://github.com/payloadcms/payload/compare/v1.0.19...v1.0.20) (2022-08-11)
1116
+
1117
+ ### Bug Fixes
1118
+
1119
+ - E11000 duplicate key error has no keyValue ([#916](https://github.com/payloadcms/payload/issues/916)) ([50972b9](https://github.com/payloadcms/payload/commit/50972b98a1d30c86d8b429ee5ba1c7dacac59f2c))
1120
+ - number validation works with 0 min and max ([#906](https://github.com/payloadcms/payload/issues/906)) ([874c001](https://github.com/payloadcms/payload/commit/874c001d3b9712bce342c206e66f794a7e4938ba))
1121
+
1122
+ ### Features
1123
+
1124
+ - field name validation ([#903](https://github.com/payloadcms/payload/issues/903)) ([2f4f075](https://github.com/payloadcms/payload/commit/2f4f075441768475f1202587abf578d5e4ae9f2a))
1125
+
1126
+ ## [1.0.19](https://github.com/payloadcms/payload/compare/v1.0.18...v1.0.19) (2022-08-07)
1127
+
1128
+ ### Features
1129
+
1130
+ - exposes static upload handlers ([a8d2e09](https://github.com/payloadcms/payload/commit/a8d2e099523cc7b99f94ae0cad574b41679c6e25))
1131
+
1132
+ ## [1.0.18](https://github.com/payloadcms/payload/compare/v1.0.17...v1.0.18) (2022-08-06)
1133
+
1134
+ ## [1.0.17](https://github.com/payloadcms/payload/compare/v1.0.16...v1.0.17) (2022-08-06)
1135
+
1136
+ ### Bug Fixes
1137
+
1138
+ - [#898](https://github.com/payloadcms/payload/issues/898) ([209b02b](https://github.com/payloadcms/payload/commit/209b02b0699b17d060dab3cc09cdd06ad813c053))
1139
+
1140
+ ## [1.0.16](https://github.com/payloadcms/payload/compare/v1.0.15...v1.0.16) (2022-08-05)
1141
+
1142
+ ### Bug Fixes
1143
+
1144
+ - [#896](https://github.com/payloadcms/payload/issues/896) ([c32dfea](https://github.com/payloadcms/payload/commit/c32dfea35607991f7260c74121074d105f1b200c))
1145
+
1146
+ ## [1.0.15](https://github.com/payloadcms/payload/compare/v1.0.14...v1.0.15) (2022-08-04)
1147
+
1148
+ ## [1.0.14](https://github.com/payloadcms/payload/compare/v1.0.13...v1.0.14) (2022-08-04)
1149
+
1150
+ ### Bug Fixes
1151
+
1152
+ - [#884](https://github.com/payloadcms/payload/issues/884) ([e9b3f3f](https://github.com/payloadcms/payload/commit/e9b3f3f060d134f3ed4b410adddb9d2593f6ee95))
1153
+ - allows querying incomplete drafts in graphql ([8d968b7](https://github.com/payloadcms/payload/commit/8d968b7690c147685d569c334c108d8830ee7581))
1154
+
1155
+ ### Features
1156
+
1157
+ - allows querying on rich text content ([3343adb](https://github.com/payloadcms/payload/commit/3343adb95257daae0be49daf6c768788292ef267))
1158
+
1159
+ ## [1.0.13](https://github.com/payloadcms/payload/compare/v1.0.12...v1.0.13) (2022-08-03)
1160
+
1161
+ ### Bug Fixes
1162
+
1163
+ - [#878](https://github.com/payloadcms/payload/issues/878) ([b8504ff](https://github.com/payloadcms/payload/commit/b8504ffb25310095097f35107e2b33dc648580cc))
1164
+ - [#880](https://github.com/payloadcms/payload/issues/880) ([9c0c606](https://github.com/payloadcms/payload/commit/9c0c606b20e963a12d23b428c54c63d6a73be472))
1165
+
1166
+ ### Features
1167
+
1168
+ - improves adjacent group styling ([0294c02](https://github.com/payloadcms/payload/commit/0294c02aedaa11a72240ab1dc7d6ccd2318de51f))
1169
+
1170
+ ## [1.0.12](https://github.com/payloadcms/payload/compare/v1.0.11...v1.0.12) (2022-08-02)
1171
+
1172
+ ### Bug Fixes
1173
+
1174
+ - ensures tabs can overflow on mobile when there are many ([663cae4](https://github.com/payloadcms/payload/commit/663cae4788f2726f3fa2430228706be63b7e642b))
1175
+ - unique index creation ([#867](https://github.com/payloadcms/payload/issues/867)) ([c175476](https://github.com/payloadcms/payload/commit/c175476e74b31ea1fbc4a250fa8d23953d13e541))
1176
+
1177
+ ## [1.0.11](https://github.com/payloadcms/payload/compare/v1.0.10...v1.0.11) (2022-07-28)
1178
+
1179
+ ### Bug Fixes
1180
+
1181
+ - ensures when initial values changes, field value is updated ([858b1af](https://github.com/payloadcms/payload/commit/858b1afa546db68416d625a7ab970c9693d0595e))
1182
+
1183
+ ## [1.0.10](https://github.com/payloadcms/payload/compare/v1.0.9...v1.0.10) (2022-07-27)
1184
+
1185
+ ### Bug Fixes
1186
+
1187
+ - [#806](https://github.com/payloadcms/payload/issues/806), allow partial word matches using 'like' operator ([c96985b](https://github.com/payloadcms/payload/commit/c96985be0c14fcff768e036de96ebef3caa24d1c))
1188
+ - [#836](https://github.com/payloadcms/payload/issues/836) ([84611af](https://github.com/payloadcms/payload/commit/84611aff2c9e0b1a1e721a72e9d3fc0740f10aff))
1189
+ - accesses payload config correctly in gql refresh resolver ([d5e88cc](https://github.com/payloadcms/payload/commit/d5e88cc1a93ee8f93ee2eb75ab1690281f266f6a))
1190
+ - email not always loading while viewing auth collections ([36e9acc](https://github.com/payloadcms/payload/commit/36e9acc637c4a706f0d3d07fbfb88e9afdccc2da))
1191
+ - ensures collapsible preferences are retained through doc save ([61f0e8e](https://github.com/payloadcms/payload/commit/61f0e8ea9fd574fc40186f63c0016da150610d70))
1192
+ - id now properly required in graphql findByID operation ([5dc7caf](https://github.com/payloadcms/payload/commit/5dc7caf35689d3f5cd71b9b2759edcb9b7eaadc5))
1193
+ - set overflow payload modal container to auto ([cfb5540](https://github.com/payloadcms/payload/commit/cfb5540e64ccc016a4ef408a71b9aaf3d219b0fc))
1194
+ - trim trailing whitespaces of email in login ([8feed39](https://github.com/payloadcms/payload/commit/8feed39fb92f2e194ae628b090cbb84d802586b6))
1195
+
1196
+ ### Features
1197
+
1198
+ - greatly enhances performance by using dataloader pattern to batch populations ([c5bcd1e](https://github.com/payloadcms/payload/commit/c5bcd1e3412087249a2a3d98830a1b69e33736a0))
1199
+ - significantly improves complex GraphQL query performance ([5d57bfa](https://github.com/payloadcms/payload/commit/5d57bfa4382470d2a171dcac3743523c930e3a3f))
1200
+
1201
+ ## [1.0.9](https://github.com/payloadcms/payload/compare/v1.0.8...v1.0.9) (2022-07-21)
1202
+
1203
+ ### Bug Fixes
1204
+
1205
+ - avoid assuming Email will be present on JWT token. Using ID instead as email might not be in if using disableLocalStrategy ([#789](https://github.com/payloadcms/payload/issues/789)) ([3b4d5af](https://github.com/payloadcms/payload/commit/3b4d5afd41f898c06c5d0f2b96ce0478c27d0976))
1206
+ - enable index creation from schema ([#791](https://github.com/payloadcms/payload/issues/791)) ([2a1f387](https://github.com/payloadcms/payload/commit/2a1f387bcc071730692b5eadadf01a91d7a1f5d4))
1207
+ - graphql gen logging output ([#795](https://github.com/payloadcms/payload/issues/795)) ([8a81d0b](https://github.com/payloadcms/payload/commit/8a81d0b2746b727784280704aab26b0aed3a757d))
1208
+ - sharpens radio input edges by replacing box-shadow trick with border property ([#768](https://github.com/payloadcms/payload/issues/768)) ([e2c366f](https://github.com/payloadcms/payload/commit/e2c366f5363aa88b29a1b90688f75a1da0c2cca8))
1209
+
1210
+ ### Features
1211
+
1212
+ - pass payload and names to custom auth strategies ([#781](https://github.com/payloadcms/payload/issues/781)) ([3a3026c](https://github.com/payloadcms/payload/commit/3a3026cd637c1274fdf6e4c4cba4f30a202e1ff7))
1213
+ - use provided auth strategy name or strategy.name ([#797](https://github.com/payloadcms/payload/issues/797)) ([f22f56e](https://github.com/payloadcms/payload/commit/f22f56e73c979ee3e1b165b327b1bcf6e1de6eda))
1214
+
1215
+ ## [1.0.8](https://github.com/payloadcms/payload/compare/v1.0.7...v1.0.8) (2022-07-20)
1216
+
1217
+ ### Bug Fixes
1218
+
1219
+ - await field hooks recursively ([893772e](https://github.com/payloadcms/payload/commit/893772ebd8b3d565f9c62d83ca0fa131b9d59970))
1220
+ - potential solution for [#756](https://github.com/payloadcms/payload/issues/756) ([b987cb8](https://github.com/payloadcms/payload/commit/b987cb8dc4774fbcc11b71661f2c4d25208f7de2))
1221
+
1222
+ ### Features
1223
+
1224
+ - export PayloadRequest ([66c820c](https://github.com/payloadcms/payload/commit/66c820c863e7aeaa9050c0a0964256d6878af9d9))
1225
+ - improves generated types by removing unnecessary optional properties ([#784](https://github.com/payloadcms/payload/issues/784)) ([6f748f1](https://github.com/payloadcms/payload/commit/6f748f1adb78a70c9e5dba6cedcf1e2cdd55498a))
1226
+
1227
+ ## [1.0.7](https://github.com/payloadcms/payload/compare/v1.0.6...v1.0.7) (2022-07-19)
1228
+
1229
+ ## [1.0.6](https://github.com/payloadcms/payload/compare/v1.0.5...v1.0.6) (2022-07-19)
1230
+
1231
+ ### Features
1232
+
1233
+ - improves initAsync pattern ([428edb0](https://github.com/payloadcms/payload/commit/428edb05c4d8805bb2c4fb98f51e57eed2926374))
1234
+
1235
+ ## [1.0.5](https://github.com/payloadcms/payload/compare/v1.0.4...v1.0.5) (2022-07-19)
1236
+
1237
+ ### Features
1238
+
1239
+ - adds initAsync ([b4ffa22](https://github.com/payloadcms/payload/commit/b4ffa228858e584b3a177b0b096077a5c660b892))
1240
+
1241
+ ## [1.0.4](https://github.com/payloadcms/payload/compare/v0.20.1...v1.0.4) (2022-07-19)
1242
+
1243
+ ### Features
1244
+
1245
+ - Updated UI: Dark Mode
1246
+ - Updated UI: Collapsibles ([60bfb1c](https://github.com/payloadcms/payload/commit/60bfb1c3b801c89de055d11cee50a1b51e864b7b))
1247
+ - Updated UI: Tabs field ([68e7c41](https://github.com/payloadcms/payload/commit/68e7c41fdc07df04dcc3caaf486d2d596354039d))
1248
+ - Updated UI: Styling Revamp and responsive improvements
1249
+ - More maintainable colors via CSS vars
1250
+ - Improved test coverage through granular Payload configs
1251
+ - Introduction of E2E tests through Playwright
1252
+ - allow clear select value ([#735](https://github.com/payloadcms/payload/issues/735)) ([3132d35](https://github.com/payloadcms/payload/commit/3132d35e27f3c1037aeb3d1801e13df2e992e98b))
1253
+
1254
+ ### BREAKING CHANGES
1255
+
1256
+ We have removed our reliance on SCSS variables like color and font, replacing them instead with CSS variables wherever possible.
1257
+
1258
+ 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.
1259
+
1260
+ ## [0.19.2](https://github.com/payloadcms/payload/compare/v0.19.1...v0.19.2) (2022-07-11)
1261
+
1262
+ ### Bug Fixes
1263
+
1264
+ - ensures only plain objects are merged within incoming configs ([2c66ad8](https://github.com/payloadcms/payload/commit/2c66ad86898c28da32b1714821c2ea8fe8e17868))
1265
+
1266
+ ### Features
1267
+
1268
+ - :tada: [Extensible Authentication Strategies](https://github.com/payloadcms/payload/discussions/290)!
1269
+ - add afterMe afterLogout and afterRefresh ([4055908](https://github.com/payloadcms/payload/commit/4055908bc885ec1b2d69817a9937e4591d099fa1))
1270
+ - add preMiddleware and postMiddleware, deprecate middleware ([e806437](https://github.com/payloadcms/payload/commit/e8064371b01b4e66d3b1af980e71364714bf3d5b))
1271
+ - better types useAuth and custom provider components ([38b52bf](https://github.com/payloadcms/payload/commit/38b52bf67b0d1545bb8ee627f3b6140e27887099))
1272
+
1273
+ ## [0.19.1](https://github.com/payloadcms/payload/compare/v0.19.0...v0.19.1) (2022-07-09)
1274
+
1275
+ ### Bug Fixes
1276
+
1277
+ - ensures duplicative relationship options are not present ([#732](https://github.com/payloadcms/payload/issues/732)) ([ce1c99b](https://github.com/payloadcms/payload/commit/ce1c99b01c0b615401d618bd1894450114cc1f4c))
1278
+
1279
+ # [0.19.0](https://github.com/payloadcms/payload/compare/v0.18.5...v0.19.0) (2022-07-08)
1280
+
1281
+ ### BREAKING CHANGES
1282
+
1283
+ - relationship fields with access control preventing read of relation will return id instead of null ([#644](https://github.com/payloadcms/payload/pull/644))
1284
+
1285
+ ### Bug Fixes
1286
+
1287
+ - allow passing of autoIndex mongoose connectionOptions ([#722](https://github.com/payloadcms/payload/issues/722)) ([567d8c1](https://github.com/payloadcms/payload/commit/567d8c19bff05c4d5edfcff1f04ff5e7804412ce))
1288
+ - copyfiles cross platform ([#712](https://github.com/payloadcms/payload/issues/712)) ([67331eb](https://github.com/payloadcms/payload/commit/67331eb975c57897236466bef109a9559ff0d1a0))
1289
+ - ensures auth/me relations in gql can be queried ([01bc1fe](https://github.com/payloadcms/payload/commit/01bc1fef1e498038457b9454fc0969c2a1fe4601))
1290
+ - ensures old data from arrays is not persisted ([d9ef803](https://github.com/payloadcms/payload/commit/d9ef803d203c03a161dedff7076381ed944cf8d6))
1291
+ - 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))
1292
+
1293
+ ### Features
1294
+
1295
+ - allow clearing DatePicker value ([#641](https://github.com/payloadcms/payload/issues/641)) ([9fd171b](https://github.com/payloadcms/payload/commit/9fd171b26db5e3aaa6ade706f02c9697e1d785f3))
1296
+ - File argument in create/update operation ([#708](https://github.com/payloadcms/payload/issues/708)) ([f3b7dcf](https://github.com/payloadcms/payload/commit/f3b7dcff57961e0c6a5b1536de23b7fe6fa035cf))
1297
+ - graphql schema output ([#730](https://github.com/payloadcms/payload/issues/730)) ([ad43cbc](https://github.com/payloadcms/payload/commit/ad43cbc808572f15157e4e52d211253c63012d7f))
1298
+
1299
+ ## [0.18.5](https://github.com/payloadcms/payload/compare/v0.18.4...v0.18.5) (2022-06-29)
1300
+
1301
+ ### Bug Fixes
1302
+
1303
+ - empty cell data renders in list ([#699](https://github.com/payloadcms/payload/issues/699)) ([b6b0ffb](https://github.com/payloadcms/payload/commit/b6b0ffb674ca6d1568981ab110013e66c678270f))
1304
+ - icon appears above select field's option list ([#685](https://github.com/payloadcms/payload/issues/685)) ([c78d774](https://github.com/payloadcms/payload/commit/c78d77446a6a8fd1e85f8c094f751dfc1f8b0530))
1305
+
1306
+ ## [0.18.4](https://github.com/payloadcms/payload/compare/v0.18.3...v0.18.4) (2022-06-24)
1307
+
1308
+ ## [0.18.3](https://github.com/payloadcms/payload/compare/v0.18.2...v0.18.3) (2022-06-24)
1309
+
1310
+ ### Bug Fixes
1311
+
1312
+ - [#670](https://github.com/payloadcms/payload/issues/670), max tokenExpiration ([918062d](https://github.com/payloadcms/payload/commit/918062de2fba371068efc62a989a93ee07fd4c17))
1313
+
1314
+ ## [0.18.2](https://github.com/payloadcms/payload/compare/v0.18.1...v0.18.2) (2022-06-24)
1315
+
1316
+ ### Features
1317
+
1318
+ - telemetry ([1c37ec3](https://github.com/payloadcms/payload/commit/1c37ec39027c73e57ff53db58eca94d485d1fa14))
1319
+
1320
+ ## [0.18.1](https://github.com/payloadcms/payload/compare/v0.18.0...v0.18.1) (2022-06-21)
1321
+
1322
+ ### Bug Fixes
1323
+
1324
+ - [#671](https://github.com/payloadcms/payload/issues/671), password reset broken ([3d5ed93](https://github.com/payloadcms/payload/commit/3d5ed93fcea8a44d70aa6d46184fa7a50372cf88))
1325
+
1326
+ # [0.18.0](https://github.com/payloadcms/payload/compare/v0.17.3...v0.18.0) (2022-06-14)
1327
+
1328
+ ### Bug Fixes
1329
+
1330
+ - custom fields values resetting in ui ([#626](https://github.com/payloadcms/payload/issues/626)) ([f2bf239](https://github.com/payloadcms/payload/commit/f2bf2399fa34c49b3b68be55257908b0f8733962))
1331
+ - me auth route breaks with query params ([#648](https://github.com/payloadcms/payload/issues/648)) ([a1fe17d](https://github.com/payloadcms/payload/commit/a1fe17d05da57a6fc3ab933d064289fdcd7bf280))
1332
+
1333
+ ### Features
1334
+
1335
+ - adds timestamps to generated collection types if enabled ([#604](https://github.com/payloadcms/payload/issues/604)) ([af6479b](https://github.com/payloadcms/payload/commit/af6479bf34128ee1c64f534778d6151fdc15f4f6))
1336
+ - enable webpack filesystem cache in dev ([#621](https://github.com/payloadcms/payload/issues/621)) ([44c1232](https://github.com/payloadcms/payload/commit/44c12325b4e47eed26c70047c4e594650bcf2648))
1337
+
1338
+ ## [0.17.3](https://github.com/payloadcms/payload/compare/v0.17.2...v0.17.3) (2022-06-08)
1339
+
1340
+ ### Bug Fixes
1341
+
1342
+ - 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))
1343
+ - ensures unflattening locales only happens if config specifies locales ([c18cc23](https://github.com/payloadcms/payload/commit/c18cc23c71bf8147a0cebed8415642c81f38eb0f))
1344
+
1345
+ ## [0.17.2](https://github.com/payloadcms/payload/compare/v0.17.1...v0.17.2) (2022-05-24)
1346
+
1347
+ ### Bug Fixes
1348
+
1349
+ - [#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))
1350
+ - 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))
1351
+ - passes required prop for select field ([#579](https://github.com/payloadcms/payload/issues/579)) ([734e905](https://github.com/payloadcms/payload/commit/734e905c186ebf96ff659008cb240f5adaa2b5b5))
1352
+
1353
+ ## [0.17.1](https://github.com/payloadcms/payload/compare/v0.17.0...v0.17.1) (2022-05-17)
1354
+
1355
+ ### Bug Fixes
1356
+
1357
+ - only localizes schema if both field and top-level config are enabled ([e1a5547](https://github.com/payloadcms/payload/commit/e1a5547fea065f5590930cbeb6d07bf59d62d21d))
1358
+
1359
+ # [0.17.0](https://github.com/payloadcms/payload/compare/v0.16.4...v0.17.0) (2022-05-16)
1360
+
1361
+ ### Bug Fixes
1362
+
1363
+ - apply field condition to custom components ([#560](https://github.com/payloadcms/payload/issues/560)) ([1dfe2b8](https://github.com/payloadcms/payload/commit/1dfe2b892947411ff5295f5818befe28c4972915))
1364
+ - prevent changing order of readOnly arrays ([#563](https://github.com/payloadcms/payload/issues/563)) ([16b7edb](https://github.com/payloadcms/payload/commit/16b7edbc9782dcfb3bef77f1ff312e041d66922c))
1365
+
1366
+ ## [0.16.4](https://github.com/payloadcms/payload/compare/v0.16.3...v0.16.4) (2022-05-06)
1367
+
1368
+ ### Bug Fixes
1369
+
1370
+ - fields in groups causing console error in browser ([#553](https://github.com/payloadcms/payload/issues/553)) ([78edac6](https://github.com/payloadcms/payload/commit/78edac684e54d335b15303d8348c8abcb2bba716))
1371
+ - 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))
1372
+
1373
+ ## [0.16.3](https://github.com/payloadcms/payload/compare/v0.16.2...v0.16.3) (2022-05-04)
1374
+
1375
+ ### Bug Fixes
1376
+
1377
+ - rare bug while merging locale data ([47c37e0](https://github.com/payloadcms/payload/commit/47c37e015300be4f9d5d4387f26a0adb39b8379c))
1378
+
1379
+ ## [0.16.2](https://github.com/payloadcms/payload/compare/v0.16.1...v0.16.2) (2022-05-02)
1380
+
1381
+ ### Bug Fixes
1382
+
1383
+ - checkbox defaultValues and more typing of sanitize ([#550](https://github.com/payloadcms/payload/issues/550)) ([1e4a68f](https://github.com/payloadcms/payload/commit/1e4a68f76eeaab58ced0cc500223a1b86d66668e))
1384
+
1385
+ ### Features
1386
+
1387
+ - exposes findMany argument to afterRead hooks to discern between find and findByID ([b3832e2](https://github.com/payloadcms/payload/commit/b3832e21c91fa5d52067cfc24a0b4f8aa6e178ec))
1388
+ - optimizes field operations ([18489fa](https://github.com/payloadcms/payload/commit/18489facebe5d7b0abc87dcc30fae28510b6bb19))
1389
+
1390
+ ## [0.16.1](https://github.com/payloadcms/payload/compare/v0.16.0...v0.16.1) (2022-04-29)
1391
+
1392
+ ### Features
1393
+
1394
+ - exposes payload within server-side validation args ([e46b942](https://github.com/payloadcms/payload/commit/e46b94225957bba7758a0a2c22776c44a2d2d633))
1395
+
1396
+ # [0.16.0](https://github.com/payloadcms/payload/compare/v0.15.13...v0.16.0) (2022-04-29)
1397
+
1398
+ ### Bug Fixes
1399
+
1400
+ - file upload safely handles missing mimeTypes ([#540](https://github.com/payloadcms/payload/issues/540)) ([bf48fdf](https://github.com/payloadcms/payload/commit/bf48fdf18961a2e57bcc5aae73de4c569e97e42b))
1401
+
1402
+ ### Features
1403
+
1404
+ - allow subfield readOnly to override parent readOnly ([#546](https://github.com/payloadcms/payload/issues/546)) ([834f4c2](https://github.com/payloadcms/payload/commit/834f4c270020bf32852c00a3abbb908853689006))
1405
+ - 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))
1406
+
1407
+ ## [0.15.13](https://github.com/payloadcms/payload/compare/v0.15.12...v0.15.13) (2022-04-26)
1408
+
1409
+ ## [0.15.12](https://github.com/payloadcms/payload/compare/v0.15.11...v0.15.12) (2022-04-26)
1410
+
1411
+ ### Bug Fixes
1412
+
1413
+ - ensures adding array / block rows modifies form state ([8bdbd0d](https://github.com/payloadcms/payload/commit/8bdbd0dd418cd665441703fa4fd87becafd26170))
1414
+
1415
+ ## [0.15.11](https://github.com/payloadcms/payload/compare/v0.15.10...v0.15.11) (2022-04-24)
1416
+
1417
+ ### Bug Fixes
1418
+
1419
+ - improperly typed access control ([b99ec06](https://github.com/payloadcms/payload/commit/b99ec060cacf7a05c20ba0a05dd6ef6ab60df304))
1420
+
1421
+ ## [0.15.10](https://github.com/payloadcms/payload/compare/v0.15.9...v0.15.10) (2022-04-24)
1422
+
1423
+ ### Bug Fixes
1424
+
1425
+ - block form-data bug ([3b70560](https://github.com/payloadcms/payload/commit/3b70560e2566de5294eb15945120ffd6f1f5f1c4))
1426
+
1427
+ ## [0.15.9](https://github.com/payloadcms/payload/compare/v0.15.8...v0.15.9) (2022-04-20)
1428
+
1429
+ ### Bug Fixes
1430
+
1431
+ - intermittent blocks UI issue ([3c1dfb8](https://github.com/payloadcms/payload/commit/3c1dfb88df8651b26cb1dbc102a34cd0aad722bc))
1432
+
1433
+ ## [0.15.8](https://github.com/payloadcms/payload/compare/v0.15.7...v0.15.8) (2022-04-20)
1434
+
1435
+ ### Bug Fixes
1436
+
1437
+ - ensure relationTo is valid in upload fields ([#533](https://github.com/payloadcms/payload/issues/533)) ([9e324be](https://github.com/payloadcms/payload/commit/9e324be0577447965ee2f87c3a3943cd4f0c0a1c))
1438
+ - richtext editor input height ([#529](https://github.com/payloadcms/payload/issues/529)) ([3dcd8a2](https://github.com/payloadcms/payload/commit/3dcd8a24cb8cbb77aae82a1f841429e7149e3182))
1439
+
1440
+ ## [0.15.7](https://github.com/payloadcms/payload/compare/v0.15.6...v0.15.7) (2022-04-12)
1441
+
1442
+ ### Bug Fixes
1443
+
1444
+ - checkbox validation error positioning ([9af89b6](https://github.com/payloadcms/payload/commit/9af89b6c03bc4e82a0c3e353f0d53ec14a847ee2))
1445
+
1446
+ ### Features
1447
+
1448
+ - sanitize defaultValue to false when field is required ([6f84c0a](https://github.com/payloadcms/payload/commit/6f84c0a86943e9d99edde21b1d448e7ece3dd83c))
1449
+
1450
+ ## [0.15.6](https://github.com/payloadcms/payload/compare/v0.15.5...v0.15.6) (2022-04-06)
1451
+
1452
+ ### Bug Fixes
1453
+
1454
+ - new up separate logger for generateTypes script ([cf54b33](https://github.com/payloadcms/payload/commit/cf54b336d17a79d775dd673c0eda361b356d159c))
1455
+
1456
+ ## [0.15.5](https://github.com/payloadcms/payload/compare/v0.15.4...v0.15.5) (2022-04-06)
1457
+
1458
+ ### Bug Fixes
1459
+
1460
+ - relationship component showing no results ([#508](https://github.com/payloadcms/payload/issues/508)) ([e1c6d9d](https://github.com/payloadcms/payload/commit/e1c6d9dd7d390c671edb0430d04aa0f194bf43e3))
1461
+
1462
+ ## [0.15.4](https://github.com/payloadcms/payload/compare/v0.15.3...v0.15.4) (2022-04-05)
1463
+
1464
+ ### Bug Fixes
1465
+
1466
+ - [#495](https://github.com/payloadcms/payload/issues/495), avoids appending version to id queries ([ab432a4](https://github.com/payloadcms/payload/commit/ab432a43dc568da0b7e65e275aed335d729600fa))
1467
+ - default point validation allows not required and some edge cases ([29405bb](https://github.com/payloadcms/payload/commit/29405bbc0e3a5c3c1f3dadb2386a68e1fe159c42))
1468
+
1469
+ ### Features
1470
+
1471
+ - allows like to search by many words, adds contain to match exact strings ([ec91757](https://github.com/payloadcms/payload/commit/ec91757257ed062c7743fca3d07d1b6af21cacb4))
1472
+ - 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)
1473
+ - filter relationship options using filterOptions ([485991b](https://github.com/payloadcms/payload/commit/485991bd48c3512acca8dd94b3ab6c160bf1f153))
1474
+ - **logging:** allow pino logger options to be passed into init ([6620a4f](https://github.com/payloadcms/payload/commit/6620a4f682f0a3169218dd83e1de315f95726287))
1475
+ - 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))
1476
+
1477
+ ## [0.15.3](https://github.com/payloadcms/payload/compare/v0.15.2...v0.15.3) (2022-04-04)
1478
+
1479
+ ### Bug Fixes
1480
+
1481
+ - [#499](https://github.com/payloadcms/payload/issues/499), graphql row / ui field bug ([f4a2dff](https://github.com/payloadcms/payload/commit/f4a2dff892e6e8a6aa201c2a66b4db4fa2cd98b8))
1482
+
1483
+ ## [0.15.2](https://github.com/payloadcms/payload/compare/v0.15.1...v0.15.2) (2022-04-04)
1484
+
1485
+ ### Bug Fixes
1486
+
1487
+ - [#495](https://github.com/payloadcms/payload/issues/495), avoids appending version to id queries ([a703e05](https://github.com/payloadcms/payload/commit/a703e0582df3f4706ee051cf1752c79ff4b551ef))
1488
+
1489
+ ## [0.15.1](https://github.com/payloadcms/payload/compare/v0.15.0...v0.15.1) (2022-03-28)
1490
+
1491
+ ### Features
1492
+
1493
+ - builds a way to inject custom React providers into admin UI ([5a7e8a9](https://github.com/payloadcms/payload/commit/5a7e8a980be4e93f2503d8d007019948199a4867))
1494
+ - export Plugin type from config types ([#491](https://github.com/payloadcms/payload/issues/491)) ([45f7011](https://github.com/payloadcms/payload/commit/45f70114e6664942228b46373843879c06ab8211))
1495
+
1496
+ # [0.15.0](https://github.com/payloadcms/payload/compare/v0.14.0...v0.15.0) (2022-03-16)
1497
+
1498
+ ### BREAKING CHANGES
1499
+
1500
+ The GraphQL error response data object has moved from the top level to the extensions object.
1501
+
1502
+ Here is a previous example:
1503
+
1504
+ ```js
1505
+ {
1506
+ "message": "The following fields are invalid: location,",
1507
+ "data": [
1508
+ {
1509
+ "message": "This field requires two numbers",
1510
+ "field": "location"
1511
+ },
1512
+ ]
1513
+ },
1514
+ ```
1515
+
1516
+ The new shape of GraphQL errors is as follows:
1517
+
1518
+ ```js
1519
+ "extensions": {
1520
+ "name": "ValidationError",
1521
+ "data": [
1522
+ {
1523
+ "message": "This field requires two numbers",
1524
+ "field": "location"
1525
+ },
1526
+ ]
1527
+ }
1528
+ ```
1529
+
1530
+ ### Bug Fixes
1531
+
1532
+ - [#422](https://github.com/payloadcms/payload/issues/422), prevents loading duplicative relationship options ([414679d](https://github.com/payloadcms/payload/commit/414679d86aac7ed94970a6eee14ff77b65f5c1d1))
1533
+ - [#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))
1534
+ - [#424](https://github.com/payloadcms/payload/issues/424), unable to clear localized property vals ([1a05fe4](https://github.com/payloadcms/payload/commit/1a05fe448c0755438dedc20c95d4a6a587912e2f))
1535
+ - [#431](https://github.com/payloadcms/payload/issues/431) - relationship field not properly fetching option results ([6fab8bf](https://github.com/payloadcms/payload/commit/6fab8bfbef43d5da67cadc7dd61fd14b9b36bdc1))
1536
+ - [#454](https://github.com/payloadcms/payload/issues/454), withCondition type usability ([56c16d5](https://github.com/payloadcms/payload/commit/56c16d5c16311b445662f715cc07e67d651e53a6))
1537
+ - [#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))
1538
+ - [#461](https://github.com/payloadcms/payload/issues/461) ([08924a1](https://github.com/payloadcms/payload/commit/08924a1934ef257992381dfdded0cd9c7333e40c))
1539
+ - [#464](https://github.com/payloadcms/payload/issues/464), graphql upload access control ([fd0629e](https://github.com/payloadcms/payload/commit/fd0629e93202dfaa399c753c59481b1cbd139bf6))
1540
+ - adds key to RichText based on initialValue ([f710b8c](https://github.com/payloadcms/payload/commit/f710b8c4f3247156f64fb2b528a960bf808ef7ac))
1541
+ - 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))
1542
+ - allow jwt to work without csrf in config ([4048734](https://github.com/payloadcms/payload/commit/40487347e3f8bd03da440a73bec0ee491abbef85))
1543
+ - awaits beforeDelete hooks ([609b871](https://github.com/payloadcms/payload/commit/609b871fa274e8b6d9eaf301e52ab42179aad9b7))
1544
+ - config empty and sparse csrf is now allowed ([7e7b058](https://github.com/payloadcms/payload/commit/7e7b0589ef6c06941af3e7e3a24c7071d8b77a1a))
1545
+ - ensures empty hasMany relationships save as empty arrays ([08b3e8f](https://github.com/payloadcms/payload/commit/08b3e8f18f0aa620d537f3258b2e080600e0f43e))
1546
+ - ensures nested lists always render properly ([20e5dfb](https://github.com/payloadcms/payload/commit/20e5dfbb4ab8dab320d60772f5195c5faffe38d3))
1547
+ - ensures overrideAccess is false if undefined while populating ([97f3178](https://github.com/payloadcms/payload/commit/97f31780051828a9d506eba3520a1390acb99a96))
1548
+ - ensures rte upload is populated when only upload is enabled ([39438b8](https://github.com/payloadcms/payload/commit/39438b8460f853f64d84436eed49dde74cd207d2))
1549
+ - import path for createRichTextRelationshipPromise ([586cd4d](https://github.com/payloadcms/payload/commit/586cd4d6af5485116ebb299a5af3d24f5baeaa2e))
1550
+ - improperly typed local create method ([48aa27c](https://github.com/payloadcms/payload/commit/48aa27ce701e44561edf442ee6c248b007ecafcb))
1551
+ - mobile styling to not found page ([d3f88a1](https://github.com/payloadcms/payload/commit/d3f88a1bd9aeb1551d64b9ed975da5e69e5821bd))
1552
+ - new slate version types ([c5de01b](https://github.com/payloadcms/payload/commit/c5de01bfc48ca6793c1526499fe934d9ad8f0cc9))
1553
+ - optimizes relationship input search querying ([7e69fcb](https://github.com/payloadcms/payload/commit/7e69fcbc7d89012a7caff6e0e9013a9ad8a62a14))
1554
+ - prevents None from appearing in hasMany relationship select options ([cbf43fa](https://github.com/payloadcms/payload/commit/cbf43fa0d8ba50b7a9ef952f1693de6923068ffd))
1555
+ - rare crash with link rte element ([f5535f6](https://github.com/payloadcms/payload/commit/f5535f613ac4d876d040be74b45e105e0f4775a8))
1556
+ - rte upload field population ([8327b5a](https://github.com/payloadcms/payload/commit/8327b5aae505a189a5b9617c3485d646b5f8b517))
1557
+ - type error in useField ([ef4e6d3](https://github.com/payloadcms/payload/commit/ef4e6d32a90215c07aa2c1e7217cf53558bfae97))
1558
+
1559
+ ### Features
1560
+
1561
+ - :tada: versions, drafts, & autosave!
1562
+ - [#458](https://github.com/payloadcms/payload/issues/458), provides field hooks with sibling data ([8e23a24](https://github.com/payloadcms/payload/commit/8e23a24f34ef7425bb4d43e96e869b255740c739))
1563
+ - add before and after login components ([#427](https://github.com/payloadcms/payload/issues/427)) ([5591eea](https://github.com/payloadcms/payload/commit/5591eeafca1aa6e8abcc2d8276f7478e00b75ef2))
1564
+ - add logMockCredentials email option ([ff33453](https://github.com/payloadcms/payload/commit/ff3345373630ca6913165284123a62269b3fa2c6))
1565
+ - 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))
1566
+ - adds a way to customize express.static options ([dbb3c50](https://github.com/payloadcms/payload/commit/dbb3c502227597ef4d04c9e5c8db6d2f51a8aac4))
1567
+ - 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))
1568
+ - adds indentation controls to rich text ([7df50f9](https://github.com/payloadcms/payload/commit/7df50f9bf9d4867e65bdd8cebdf43e0ab1737a63))
1569
+ - adds originalDoc to field access control ([c979513](https://github.com/payloadcms/payload/commit/c9795133b376d8159457a0a38784d0b53a549061))
1570
+ - adds path to GraphQL errors ([#457](https://github.com/payloadcms/payload/issues/457)) ([ad98b29](https://github.com/payloadcms/payload/commit/ad98b293983016db3c730112c9d2387de7bacb34))
1571
+ - adds recursion to richText field to populate relationship and upload nested fields ([42af22c](https://github.com/payloadcms/payload/commit/42af22c2a10de44555bfedf902e7b4a4c9b25d6b))
1572
+ - allow empty string radio and select option values ([#479](https://github.com/payloadcms/payload/issues/479)) ([f14e187](https://github.com/payloadcms/payload/commit/f14e187545b759ac4623189d5e31f25382728cc0))
1573
+ - allows access control to prevent reading of drafts ([c38470c](https://github.com/payloadcms/payload/commit/c38470c7b2119cec6ff9a3efc89f087a5999bb66))
1574
+ - allows global access control to return query constraints ([c0150ae](https://github.com/payloadcms/payload/commit/c0150ae8465777a2be1b6bc496a5be30cf478f42))
1575
+ - allows select input to receive new options ([#435](https://github.com/payloadcms/payload/issues/435)) ([500fb1c](https://github.com/payloadcms/payload/commit/500fb1c5c41a55d35c41173d50a976388fd0bd1b))
1576
+ - builds a way for multipart/form-data reqs to retain non-string values ([4efc2cf](https://github.com/payloadcms/payload/commit/4efc2cf71c8ec4c452fea0febfd1156b37868739))
1577
+ - enhances rich text upload with custom field API ([0e4eb90](https://github.com/payloadcms/payload/commit/0e4eb906f2881dca518fea6b41e460bc57da9801))
1578
+ - ensures field hooks run on all locales when locale=all ([c3f743a](https://github.com/payloadcms/payload/commit/c3f743af03bbde856dcd87114383f0b484c0b20f))
1579
+ - exposes data arg within create and update access control ([73f418b](https://github.com/payloadcms/payload/commit/73f418bb5cadf73f683fe04ee94e4d24c8cfe96f))
1580
+ - exposes FieldWithPath type for reuse ([df3a836](https://github.com/payloadcms/payload/commit/df3a83634fcb64724ef239600e3af4fc295fee4f))
1581
+ - exposes useLocale for reuse ([bef0206](https://github.com/payloadcms/payload/commit/bef02062e769d1b0279c51af748f06d41c924c8a))
1582
+ - improves adding rich text voids to RTE ([966c3c6](https://github.com/payloadcms/payload/commit/966c3c647198569ba06013481a3b6fa9042b058d))
1583
+ - improves relationship field performance ([13318ff](https://github.com/payloadcms/payload/commit/13318ff3608a6be3dc7b86cc4e97155b26ef9df6))
1584
+ - improves rich text link ([2e9a4c7](https://github.com/payloadcms/payload/commit/2e9a4c7d717e3a08b2982b8c49eb358baf23da17))
1585
+ - indexes filenames ([07c8ac0](https://github.com/payloadcms/payload/commit/07c8ac08e21689cc6a3a2a546e58cf544fb61dec))
1586
+ a79570c))
1587
+ - rich text indentation ([2deed8b](https://github.com/payloadcms/payload/commit/2deed8b1464931c4bc76a288923b307cf04b6a4a))
1588
+ - serverURL is no longer required ([#437](https://github.com/payloadcms/payload/issues/437)) ([dca90c4](https://github.com/payloadcms/payload/commit/dca90c4aa92dd0cc2084ba16249254c9259622c3))
1589
+ - updates dependencies ([3ca3f53](https://github.com/payloadcms/payload/commit/3ca3f533d07b644fa8a3d077932860e9f12318c2))
1590
+
1591
+ ## [0.14.31-beta.0](https://github.com/payloadcms/payload/compare/v0.14.0...v0.14.31-beta.0) (2022-03-10)
1592
+
1593
+ ### Bug Fixes
1594
+
1595
+ - improves rich text link ([2e9a4c7](https://github.com/payloadcms/payload/commit/2e9a4c7d717e3a08b2982b8c49eb358baf23da17))
1596
+ - improves adding rich text voids to RTE ([966c3c6](https://github.com/payloadcms/payload/commit/966c3c647198569ba06013481a3b6fa9042b058d))
1597
+ - rare crash with link rte element ([f5535f6](https://github.com/payloadcms/payload/commit/f5535f613ac4d876d040be74b45e105e0f4775a8))
1598
+ - ensures empty hasMany relationships save as empty arrays ([08b3e8f](https://github.com/payloadcms/payload/commit/08b3e8f18f0aa620d537f3258b2e080600e0f43e))
1599
+ - [#422](https://github.com/payloadcms/payload/issues/422), prevents loading duplicative relationship options ([414679d](https://github.com/payloadcms/payload/commit/414679d86aac7ed94970a6eee14ff77b65f5c1d1))
1600
+ - [#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))
1601
+ - [#424](https://github.com/payloadcms/payload/issues/424), unable to clear localized property vals ([1a05fe4](https://github.com/payloadcms/payload/commit/1a05fe448c0755438dedc20c95d4a6a587912e2f))
1602
+ - [#431](https://github.com/payloadcms/payload/issues/431) - relationship field not properly fetching option results ([6fab8bf](https://github.com/payloadcms/payload/commit/6fab8bfbef43d5da67cadc7dd61fd14b9b36bdc1))
1603
+ - adds key to RichText based on initialValue ([f710b8c](https://github.com/payloadcms/payload/commit/f710b8c4f3247156f64fb2b528a960bf808ef7ac))
1604
+ - awaits beforeDelete hooks ([609b871](https://github.com/payloadcms/payload/commit/609b871fa274e8b6d9eaf301e52ab42179aad9b7))
1605
+ - ensures multipart/form-data using \_payload flattens field data before sending ([ae44727](https://github.com/payloadcms/payload/commit/ae44727fb9734fc3801f7249fa9e78668311c09e))
1606
+ - ensures nested lists always render properly ([20e5dfb](https://github.com/payloadcms/payload/commit/20e5dfbb4ab8dab320d60772f5195c5faffe38d3))
1607
+ - ensures rte upload is populated when only upload is enabled ([39438b8](https://github.com/payloadcms/payload/commit/39438b8460f853f64d84436eed49dde74cd207d2))
1608
+ - import path for createRichTextRelationshipPromise ([586cd4d](https://github.com/payloadcms/payload/commit/586cd4d6af5485116ebb299a5af3d24f5baeaa2e))
1609
+ - improperly typed local create method ([48aa27c](https://github.com/payloadcms/payload/commit/48aa27ce701e44561edf442ee6c248b007ecafcb))
1610
+ - mobile styling to not found page ([d3f88a1](https://github.com/payloadcms/payload/commit/d3f88a1bd9aeb1551d64b9ed975da5e69e5821bd))
1611
+ - new slate version types ([c5de01b](https://github.com/payloadcms/payload/commit/c5de01bfc48ca6793c1526499fe934d9ad8f0cc9))
1612
+ - rte upload field population ([8327b5a](https://github.com/payloadcms/payload/commit/8327b5aae505a189a5b9617c3485d646b5f8b517))
1613
+ - type error in useField ([ef4e6d3](https://github.com/payloadcms/payload/commit/ef4e6d32a90215c07aa2c1e7217cf53558bfae97))
1614
+ - [#464](https://github.com/payloadcms/payload/issues/464), graphql upload access control ([fd0629e](https://github.com/payloadcms/payload/commit/fd0629e93202dfaa399c753c59481b1cbd139bf6))
1615
+ - ensures overrideAccess is false if undefined while populating ([97f3178](https://github.com/payloadcms/payload/commit/97f31780051828a9d506eba3520a1390acb99a96))
1616
+
1617
+ ### Features
1618
+
1619
+ - :tada: versions, drafts, & autosave!
1620
+ - adds originalDoc to field access control ([c979513](https://github.com/payloadcms/payload/commit/c9795133b376d8159457a0a38784d0b53a549061))
1621
+ - [#458](https://github.com/payloadcms/payload/issues/458), provides field hooks with sibling data ([8e23a24](https://github.com/payloadcms/payload/commit/8e23a24f34ef7425bb4d43e96e869b255740c739))
1622
+ - add before and after login components ([#427](https://github.com/payloadcms/payload/issues/427)) ([5591eea](https://github.com/payloadcms/payload/commit/5591eeafca1aa6e8abcc2d8276f7478e00b75ef2))
1623
+ - add logMockCredentials email option ([ff33453](https://github.com/payloadcms/payload/commit/ff3345373630ca6913165284123a62269b3fa2c6))
1624
+ - adds a way to customize express.static options ([dbb3c50](https://github.com/payloadcms/payload/commit/dbb3c502227597ef4d04c9e5c8db6d2f51a8aac4))
1625
+ - 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))
1626
+ - adds indentation controls to rich text ([7df50f9](https://github.com/payloadcms/payload/commit/7df50f9bf9d4867e65bdd8cebdf43e0ab1737a63))
1627
+ - adds recursion to richText field to populate relationship and upload nested fields ([42af22c](https://github.com/payloadcms/payload/commit/42af22c2a10de44555bfedf902e7b4a4c9b25d6b))
1628
+ - allows access control to prevent reading of drafts ([c38470c](https://github.com/payloadcms/payload/commit/c38470c7b2119cec6ff9a3efc89f087a5999bb66))
1629
+ - allows global access control to return query constraints ([c0150ae](https://github.com/payloadcms/payload/commit/c0150ae8465777a2be1b6bc496a5be30cf478f42))
1630
+ - allows select input to receive new options ([#435](https://github.com/payloadcms/payload/issues/435)) ([500fb1c](https://github.com/payloadcms/payload/commit/500fb1c5c41a55d35c41173d50a976388fd0bd1b))
1631
+ - builds a way for multipart/form-data reqs to retain non-string values ([4efc2cf](https://github.com/payloadcms/payload/commit/4efc2cf71c8ec4c452fea0febfd1156b37868739))
1632
+ - enhances rich text upload with custom field API ([0e4eb90](https://github.com/payloadcms/payload/commit/0e4eb906f2881dca518fea6b41e460bc57da9801))
1633
+ - ensures field hooks run on all locales when locale=all ([c3f743a](https://github.com/payloadcms/payload/commit/c3f743af03bbde856dcd87114383f0b484c0b20f))
1634
+ - exposes FieldWithPath type for reuse ([df3a836](https://github.com/payloadcms/payload/commit/df3a83634fcb64724ef239600e3af4fc295fee4f))
1635
+ - exposes useLocale for reuse ([bef0206](https://github.com/payloadcms/payload/commit/bef02062e769d1b0279c51af748f06d41c924c8a))
1636
+ - improves relationship field performance ([13318ff](https://github.com/payloadcms/payload/commit/13318ff3608a6be3dc7b86cc4e97155b26ef9df6))
1637
+ - indexes filenames ([07c8ac0](https://github.com/payloadcms/payload/commit/07c8ac08e21689cc6a3a2a546e58cf544fb61dec))
1638
+ - serverURL is no longer required ([#437](https://github.com/payloadcms/payload/issues/437)) ([dca90c4](https://github.com/payloadcms/payload/commit/dca90c4aa92dd0cc2084ba16249254c9259622c3))
1639
+ - updates dependencies ([3ca3f53](https://github.com/payloadcms/payload/commit/3ca3f533d07b644fa8a3d077932860e9f12318c2))
1640
+ - uses DocumentInfo to fetch and maintain doc versions ([8f30c3b](https://github.com/payloadcms/payload/commit/8f30c3bfefaa1530ac086aba22d4b8e6bac8f97d))
1641
+ - exposes data arg within create and update access control ([73f418b](https://github.com/payloadcms/payload/commit/73f418bb5cadf73f683fe04ee94e4d24c8cfe96f))
1642
+
1643
+ # [0.14.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.14.0) (2022-01-03)
1644
+
1645
+ ### Bug Fixes
1646
+
1647
+ - [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
1648
+ - [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
1649
+ - [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
1650
+ - [#408](https://github.com/payloadcms/payload/issues/408) ([5c3cfa4](https://github.com/payloadcms/payload/commit/5c3cfa4c93767a5ead9e816bf11a000ebdac9761))
1651
+ - [#408](https://github.com/payloadcms/payload/issues/408) ([e2c5d93](https://github.com/payloadcms/payload/commit/e2c5d93751cb1902d6dce2147953b97c2dc17939))
1652
+ - 407 ([a09570c](https://github.com/payloadcms/payload/commit/a09570c78dc923f3553f36d726e5cfac925290a0))
1653
+ - allows null in ImageSize width and height types ([ba79fd4](https://github.com/payloadcms/payload/commit/ba79fd42dbf20ba712a0632da9193fcc516c0257))
1654
+ - cross-browser upload drag and drop ([4119eec](https://github.com/payloadcms/payload/commit/4119eec796794d6a026f34f8b097b379eb9895a0))
1655
+ - ensures getDataByPath works ([140a3aa](https://github.com/payloadcms/payload/commit/140a3aa9eafa29b2a43bdfd8883c79c6ee4a93e4))
1656
+ - ensures local findByID retains user ([05288ee](https://github.com/payloadcms/payload/commit/05288ee08c077019e4432bf385aeacc23a0643f3))
1657
+ - ensures row count is set properly in block fields ([9e091af](https://github.com/payloadcms/payload/commit/9e091af67e944e6a15d1d1174a18cde6deda40d7))
1658
+ - ensures searching relationships works with many pages of results ([961787d](https://github.com/payloadcms/payload/commit/961787d681882e5ab48bb676490555c93f5d4a2e))
1659
+ - globals model typing ([da7c0c9](https://github.com/payloadcms/payload/commit/da7c0c984c1fb57038d620fc59bcd27972919ade))
1660
+
1661
+ ### Features
1662
+
1663
+ - builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
1664
+ - exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
1665
+ - exposes default Dashboard and Nav components for re-import ([ffe8e17](https://github.com/payloadcms/payload/commit/ffe8e17ac06c2fc89c3c51cab545df9756d3910b))
1666
+
1667
+ ## [0.13.21-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.21-beta.0) (2021-12-29)
1668
+
1669
+ ### Bug Fixes
1670
+
1671
+ - [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
1672
+ - [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
1673
+ - [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
1674
+ - [#408](https://github.com/payloadcms/payload/issues/408) ([5c3cfa4](https://github.com/payloadcms/payload/commit/5c3cfa4c93767a5ead9e816bf11a000ebdac9761))
1675
+ - [#408](https://github.com/payloadcms/payload/issues/408) ([e2c5d93](https://github.com/payloadcms/payload/commit/e2c5d93751cb1902d6dce2147953b97c2dc17939))
1676
+ - 407 ([a09570c](https://github.com/payloadcms/payload/commit/a09570c78dc923f3553f36d726e5cfac925290a0))
1677
+ - allows null in ImageSize width and height types ([ba79fd4](https://github.com/payloadcms/payload/commit/ba79fd42dbf20ba712a0632da9193fcc516c0257))
1678
+ - cross-browser upload drag and drop ([4119eec](https://github.com/payloadcms/payload/commit/4119eec796794d6a026f34f8b097b379eb9895a0))
1679
+ - ensures getDataByPath works ([140a3aa](https://github.com/payloadcms/payload/commit/140a3aa9eafa29b2a43bdfd8883c79c6ee4a93e4))
1680
+ - ensures local findByID retains user ([05288ee](https://github.com/payloadcms/payload/commit/05288ee08c077019e4432bf385aeacc23a0643f3))
1681
+ - ensures row count is set properly in block fields ([9e091af](https://github.com/payloadcms/payload/commit/9e091af67e944e6a15d1d1174a18cde6deda40d7))
1682
+ - ensures searching relationships works with many pages of results ([961787d](https://github.com/payloadcms/payload/commit/961787d681882e5ab48bb676490555c93f5d4a2e))
1683
+ - globals model typing ([da7c0c9](https://github.com/payloadcms/payload/commit/da7c0c984c1fb57038d620fc59bcd27972919ade))
1684
+
1685
+ ### Features
1686
+
1687
+ - builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
1688
+ - exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
1689
+ - exposes default Dashboard and Nav components for re-import ([ffe8e17](https://github.com/payloadcms/payload/commit/ffe8e17ac06c2fc89c3c51cab545df9756d3910b))
1690
+
1691
+ ## [0.13.6](https://github.com/payloadcms/payload/compare/v0.13.5...v0.13.6) (2021-11-30)
1692
+
1693
+ ### Bug Fixes
1694
+
1695
+ - requires path in select, text, textarea, and upload components ([925a33e](https://github.com/payloadcms/payload/commit/925a33e5602336f6128188aaf73001dbd23bd411))
1696
+
1697
+ ## [0.13.5](https://github.com/payloadcms/payload/compare/v0.13.4...v0.13.5) (2021-11-30)
1698
+
1699
+ ### Bug Fixes
1700
+
1701
+ - select component rendered value ([ecabf13](https://github.com/payloadcms/payload/commit/ecabf130fd1b4b87c45196d4bdf675e76b20c9e3))
1702
+
1703
+ ## [0.13.4](https://github.com/payloadcms/payload/compare/v0.13.3...v0.13.4) (2021-11-30)
1704
+
1705
+ ### Bug Fixes
1706
+
1707
+ - passes hasMany through select component ([c77bf3a](https://github.com/payloadcms/payload/commit/c77bf3aa42d76b7a0649b28fee3fe5d4bd06dcf6))
1708
+ - prevents uncontrolled text field component ([f0fd859](https://github.com/payloadcms/payload/commit/f0fd859347804fdf0d79bbe566412abaeec6ff6a))
1709
+ - select component types ([7e2b259](https://github.com/payloadcms/payload/commit/7e2b2598167dc59b8982f635cb95eacf247abb43))
1710
+ - threads props through textarea component ([0b13eda](https://github.com/payloadcms/payload/commit/0b13eda1e55299f7d6dfac2854acc04cff459396))
1711
+
1712
+ ### Features
1713
+
1714
+ - abstracts input from text component ([615e369](https://github.com/payloadcms/payload/commit/615e3695f2e62ce5d8a43ccb84192aca57770af8))
1715
+ - abstracts select component ([fa67137](https://github.com/payloadcms/payload/commit/fa671378c7282cda1ed6f46340a53622e3bc96dc))
1716
+ - abstracts textarea component and improves event typing ([86480b7](https://github.com/payloadcms/payload/commit/86480b7482b2b9413272ab0f9d0a82cd5e2920b8))
1717
+ - abstracts upload component ([f234f68](https://github.com/payloadcms/payload/commit/f234f68019f122bd46cb2af2e8f62cf07cd53c1b))
1718
+
1719
+ ## [0.13.3](https://github.com/payloadcms/payload/compare/v0.13.2...v0.13.3) (2021-11-29)
1720
+
1721
+ ### Bug Fixes
1722
+
1723
+ - upgrade sharp for prebuilt M1 binaries ([34f416a](https://github.com/payloadcms/payload/commit/34f416aace112013359351e17c4371c30303156f))
1724
+
1725
+ ## [0.13.2](https://github.com/payloadcms/payload/compare/v0.13.1...v0.13.2) (2021-11-29)
1726
+
1727
+ ### Bug Fixes
1728
+
1729
+ - [#373](https://github.com/payloadcms/payload/issues/373) ([727fbec](https://github.com/payloadcms/payload/commit/727fbeceb4b93936ca08d0ca48ac0d2beb1ce96e))
1730
+
1731
+ ## [0.13.1](https://github.com/payloadcms/payload/compare/v0.13.0...v0.13.1) (2021-11-29)
1732
+
1733
+ ### Bug Fixes
1734
+
1735
+ - ensures sorting by \_id instead of improper id ([ded891e](https://github.com/payloadcms/payload/commit/ded891e390a93f71963762c0200c97a0beec5cad))
1736
+
1737
+ ### Features
1738
+
1739
+ - only adds list search query param if value is present ([d6d76d4](https://github.com/payloadcms/payload/commit/d6d76d4088a23ed43122333873ada6846c808d37))
1740
+
1741
+ # [0.13.0](https://github.com/payloadcms/payload/compare/v0.12.3...v0.13.0) (2021-11-26)
1742
+
1743
+ ### Bug Fixes
1744
+
1745
+ - [#351](https://github.com/payloadcms/payload/issues/351) ([94c2b8d](https://github.com/payloadcms/payload/commit/94c2b8d80b046c067057d4ad089ed6a2edd656cf))
1746
+ - [#358](https://github.com/payloadcms/payload/issues/358) - reuploading with existing filenames ([a0fb48c](https://github.com/payloadcms/payload/commit/a0fb48c9a37beceafc6f0638604e9946d0814635))
1747
+ - allows sync or async preview urls ([da6e1df](https://github.com/payloadcms/payload/commit/da6e1df293ce46bc4d0c84645db61feea2881aa7))
1748
+ - bug with relationship cell when no doc is available ([40b33d9](https://github.com/payloadcms/payload/commit/40b33d9f5e99285cb0de148dbe059259817fcad8))
1749
+ 3839ef75151f))
1750
+ - ensures richtext links retain proper formatting ([abf61d0](https://github.com/payloadcms/payload/commit/abf61d0734c09fd0fc5c5b827cb0631e11701f71))
1751
+ - ensures that querying by relationship subpaths works ([37b21b0](https://github.com/payloadcms/payload/commit/37b21b07628e892e85c2cf979d9e2c8af0d291f7))
1752
+ - ensures uploads can be fetched with CORS ([96421b3](https://github.com/payloadcms/payload/commit/96421b3d59a87f8a3d781005c02344fe5d3a607f))
1753
+ - typing for collection description ([bb18e82](https://github.com/payloadcms/payload/commit/bb18e8250c5742d9615e5780c1cd02d33ecca3d0))
1754
+ - updates field description type to include react nodes ([291c193](https://github.com/payloadcms/payload/commit/291c193ad4a9ec8ce9310cc63c714eba10eca102))
1755
+
1756
+ ### Features
1757
+
1758
+ - :tada: :tada: builds a way to automatically generate types for collections and globals!.
1759
+ - :tada: dramatically improves Payload types like local API methods and hooks to function as `generic`s
1760
+ - adds relationship filter field ([463c4e6](https://github.com/payloadcms/payload/commit/463c4e60de8e647fca6268b826d826f9c6e45412))
1761
+ - applies upload access control to all auto-generated image sizes ([051b7d4](https://github.com/payloadcms/payload/commit/051b7d45befc331af3f73a669b2bb6467505902f))
1762
+ - azure cosmos compatibility ([6fd5ac2](https://github.com/payloadcms/payload/commit/6fd5ac2c082a5a5e6f510d781b2a2e12b7b62cb9))
1763
+ - ensures update hooks have access to full original docs even in spite of access control ([b2c5b7e](https://github.com/payloadcms/payload/commit/b2c5b7e5752e829c7a53c054decceb43ec33065e))
1764
+ - improves querying logic ([4c85747](https://github.com/payloadcms/payload/commit/4c8574784995b1cb1f939648f4d2158286089b3d))
1765
+ - indexes filenames ([5d43262](https://github.com/payloadcms/payload/commit/5d43262f42e0529a44572f398aa1ec5fd7858286))
1766
+ - renames useFieldType to useField ([0245747](https://github.com/payloadcms/payload/commit/0245747020c7c039b15d055f54a4548a364d047e))
1767
+ - supports custom onChange handling in text, select, and upload fields ([4affdc3](https://github.com/payloadcms/payload/commit/4affdc3a9397d70f5baacdd12753c8fc8c7d8368))
1768
+
1769
+ ## [0.12.3](https://github.com/payloadcms/payload/compare/v0.12.2...v0.12.3) (2021-10-23)
1770
+
1771
+ ### Bug Fixes
1772
+
1773
+ - [#348](https://github.com/payloadcms/payload/issues/348), relationship options appearing twice in admin ui ([b4c15ed](https://github.com/payloadcms/payload/commit/b4c15ed3f3649ea6d157987571874fb8486ab3cb))
1774
+ - ensures tooltips in email fields are positioned properly ([a0b38f6](https://github.com/payloadcms/payload/commit/a0b38f68322cd7a39ca6ae08e6ffb7f57aa62171))
1775
+
1776
+ ## [0.12.2](https://github.com/payloadcms/payload/compare/v0.12.1...v0.12.2) (2021-10-21)
1777
+
1778
+ ### Bug Fixes
1779
+
1780
+ - improves paste html formatting ([d443ea5](https://github.com/payloadcms/payload/commit/d443ea582cc60be367dd3edbdcb062af0786b8ee))
1781
+
1782
+ ## [0.12.1](https://github.com/payloadcms/payload/compare/v0.12.0...v0.12.1) (2021-10-21)
1783
+
1784
+ ### Bug Fixes
1785
+
1786
+ - rich text copy and paste now saves formatting properly ([9d7feb9](https://github.com/payloadcms/payload/commit/9d7feb9796e4b76e01f4ac2d0cb117bb091aa3d5))
1787
+
1788
+ # [0.12.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.12.0) (2021-10-21)
1789
+
1790
+ ### Bug Fixes
1791
+
1792
+ - bug where field hooks and access control couuld potentially compete ([c35009f](https://github.com/payloadcms/payload/commit/c35009f14c9403e63727d4d77af51a449a5f7b4b))
1793
+
1794
+ ### Features
1795
+
1796
+ - builds UI field ([edb723a](https://github.com/payloadcms/payload/commit/edb723a4fb8b4c353a9073cc7ec5f5cfd026cbe0))
1797
+ - exposes withCondition for re-use ([c02e8f1](https://github.com/payloadcms/payload/commit/c02e8f14c74a2ab9a53b0d8fd81f1083bede594e))
1798
+
1799
+ ## [0.11.2-beta.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.11.2-beta.0) (2021-10-21)
1800
+
1801
+ ### Features
1802
+
1803
+ - exposes withCondition for re-use ([c02e8f1](https://github.com/payloadcms/payload/commit/c02e8f14c74a2ab9a53b0d8fd81f1083bede594e))
1804
+
1805
+ ## [0.11.1-beta.0](https://github.com/payloadcms/payload/compare/v0.11.0...v0.11.1-beta.0) (2021-10-20)
1806
+
1807
+ ### Features
1808
+
1809
+ - builds UI field ([edb723a](https://github.com/payloadcms/payload/commit/edb723a4fb8b4c353a9073cc7ec5f5cfd026cbe0))
1810
+
1811
+ # [0.11.0](https://github.com/payloadcms/payload/compare/v0.10.11...v0.11.0) (2021-10-20)
1812
+
1813
+ ### Bug Fixes
1814
+
1815
+ - [#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))
1816
+ - [#341](https://github.com/payloadcms/payload/issues/341) - searching on multiple relationship collections ([3b99ded](https://github.com/payloadcms/payload/commit/3b99deda450fbbe4a9d05c28c9c485c466872097))
1817
+ - [#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))
1818
+ - make name required on field types ([#337](https://github.com/payloadcms/payload/issues/337)) ([b257e01](https://github.com/payloadcms/payload/commit/b257e01c8dea5d22172ce4f71e4124aecc39bba8))
1819
+ - more strict field typing ([84f6a9d](https://github.com/payloadcms/payload/commit/84f6a9d659fd443545f3ba7adf9f6adab98452ca))
1820
+ - per page now properly modifies search query ([fcd9c28](https://github.com/payloadcms/payload/commit/fcd9c2887175396bdedc051f3f30f1080d8c5953))
1821
+ - properly types row field ([7d49302](https://github.com/payloadcms/payload/commit/7d49302ffa8207498e6e70255b3be84b3ac890c1))
1822
+ - removes node 15 from CI ([a2df67e](https://github.com/payloadcms/payload/commit/a2df67eccd9ab6f8c9d4982bdade9b47186c2c82))
1823
+ - use proper error code on webpack build failure ([2eb8154](https://github.com/payloadcms/payload/commit/2eb81546c3b4bf1804d25ccd5307af4855c4f750))
1824
+
1825
+ ### Features
1826
+
1827
+ - adds dynamic url field to upload-enabled collections ([cc4d1fd](https://github.com/payloadcms/payload/commit/cc4d1fd045ed54c6a35c7104182e6fbeadb6dac4))
1828
+ - adds safety checks while querying on id with bad values ([900f05e](https://github.com/payloadcms/payload/commit/900f05eefdc63978809a88a2e1474be08afff6c6))
1829
+ - **admin:** initial per page component ([3715e01](https://github.com/payloadcms/payload/commit/3715e011c97c8e30174c35c502fa7db12bc84e2c))
1830
+ - allows richText enter key break out functionality to be extended in custom elements ([ca91f47](https://github.com/payloadcms/payload/commit/ca91f47d325de5211f24000c7d90b10a8fdfc544))
1831
+ - improves richtext link ([423ca01](https://github.com/payloadcms/payload/commit/423ca01ab1d5d07e2f5369d82928d6c7dad052b0))
1832
+ - **per-page:** add pagination to admin config ([c132f2f](https://github.com/payloadcms/payload/commit/c132f2ff10b3efdb3854ec2d5a895120ccf22002))
1833
+ - **per-page:** set and load from preferences ([d88ce2d](https://github.com/payloadcms/payload/commit/d88ce2d342b20c1601b1b58470c226a9826758b3))
1834
+ - saves active list filters in URL, implements per-page control ([a6fc1fd](https://github.com/payloadcms/payload/commit/a6fc1fdc5838c3d17c5a8b6cbe9a46b86c89af71))
1835
+
1836
+ ## [0.10.11](https://github.com/payloadcms/payload/compare/v0.10.10...v0.10.11) (2021-10-08)
1837
+
1838
+ ### Bug Fixes
1839
+
1840
+ - bug with local API and not passing array / block data ([fd4fbe8](https://github.com/payloadcms/payload/commit/fd4fbe8c8b492445ab29d26d9648cff4e98d5708))
1841
+
1842
+ ## [0.10.10](https://github.com/payloadcms/payload/compare/v0.10.9...v0.10.10) (2021-10-07)
1843
+
1844
+ ### Bug Fixes
1845
+
1846
+ - deepObjectCopy returns Date object instead of empty object ([2711729](https://github.com/payloadcms/payload/commit/27117292f3a4e207d9705e79f82fb78f70985915))
1847
+
1848
+ ## [0.10.9](https://github.com/payloadcms/payload/compare/v0.10.8...v0.10.9) (2021-10-05)
1849
+
1850
+ ### Bug Fixes
1851
+
1852
+ - ensures field read access within login operation has id ([e3229c5](https://github.com/payloadcms/payload/commit/e3229c55f352a2f68bbea967f816badfd265dd02))
1853
+
1854
+ ## [0.10.8](https://github.com/payloadcms/payload/compare/v0.10.7...v0.10.8) (2021-10-04)
1855
+
1856
+ ### Bug Fixes
1857
+
1858
+ - ensures update field access control receives id ([ffab6c4](https://github.com/payloadcms/payload/commit/ffab6c46c1c267f46d1d4eb3fd8060a4e5fada4b))
1859
+
1860
+ ## [0.10.7](https://github.com/payloadcms/payload/compare/v0.10.6...v0.10.7) (2021-10-04)
1861
+
1862
+ ### Bug Fixes
1863
+
1864
+ - ensures non populated relationships still retain IDs ([a201109](https://github.com/payloadcms/payload/commit/a20110974d781e972831fa8a52a0839a613121f6))
1865
+ - ensures relationship field access control receives id ([470d434](https://github.com/payloadcms/payload/commit/470d4345f9ccc7630dc55b40172937509475d534))
1866
+
1867
+ ### Features
1868
+
1869
+ - add indexSortableField option to create indexes for sortable fields on all collections ([ad09782](https://github.com/payloadcms/payload/commit/ad097820bfe32b0a4ef428a37a78e5a569258ec6))
1870
+
1871
+ ## [0.10.6](https://github.com/payloadcms/payload/compare/v0.10.5...v0.10.6) (2021-09-30)
1872
+
1873
+ ### Bug Fixes
1874
+
1875
+ - allow debug in payload config ([65bf13d](https://github.com/payloadcms/payload/commit/65bf13d7c137eafdbbeadc1d36d26b7b8389088f))
1876
+ - relationship + new slate incompatibility ([f422053](https://github.com/payloadcms/payload/commit/f42205307e33916fc3b139f6ee97eb66d5d0816a))
1877
+
1878
+ ## [0.10.5](https://github.com/payloadcms/payload/compare/v0.10.4...v0.10.5) (2021-09-28)
1879
+
1880
+ ### Bug Fixes
1881
+
1882
+ - ensures that fields within non-required groups are correctly not required ([1597055](https://github.com/payloadcms/payload/commit/15970550f7b00ce0527027c362a9550ff8ad5d2a))
1883
+ - index creation on localized field parent ([23e8197](https://github.com/payloadcms/payload/commit/23e81971eb94fd5b991aedb02aab84931937ae37))
1884
+ - pagination estimatedCount limited to near query ([73bd698](https://github.com/payloadcms/payload/commit/73bd69870c4ff8ae92053e77ef95cfae18c142b5))
1885
+
1886
+ ### Features
1887
+
1888
+ - adds rich text editor upload element ([aa76950](https://github.com/payloadcms/payload/commit/aa769500c934f4dee51a24c0cfc0297c12b5ae47))
1889
+ - updates slate, finishes rte upload ([08db431](https://github.com/payloadcms/payload/commit/08db431c0c4626a0d10f4e1c7bca29fa075eedc6))
1890
+
1891
+ ## [0.10.4](https://github.com/payloadcms/payload/compare/v0.10.0...v0.10.4) (2021-09-22)
1892
+
1893
+ ### Bug Fixes
1894
+
1895
+ - allows image resizing if either width or height is larger ([8661115](https://github.com/payloadcms/payload/commit/866111528377808009fa71595691e6a08ec77dc5))
1896
+ - array objects now properly save IDs ([2b8f925](https://github.com/payloadcms/payload/commit/2b8f925e81c58f6aa010bf13a318236f211ea091))
1897
+ - date field error message position ([03c0435](https://github.com/payloadcms/payload/commit/03c0435e3b3ecdfa0713e3e5026b80f8985ca290))
1898
+ - properly types optional req in local findByID ([02e7fe3](https://github.com/payloadcms/payload/commit/02e7fe3f1f3763f32f100cf2e5a8596aa16f3bd9))
1899
+
1900
+ ### Features
1901
+
1902
+ - defaults empty group fields to empty object ([8a890fd](https://github.com/payloadcms/payload/commit/8a890fdc15b646c24963a1ef7584237b1d3c5783))
1903
+ - allows local update api to replace existing files with newly uploaded ones ([dbbff4c](https://github.com/payloadcms/payload/commit/dbbff4cfa41aa20077e47c8c7b87d4d00683c571))
1904
+ - exposes Pill component for re-use ([7e8df10](https://github.com/payloadcms/payload/commit/7e8df100bbf86798de292466afd4c00c455ecb35))
1905
+ - performance improvement while saving large docs ([901ad49](https://github.com/payloadcms/payload/commit/901ad498b47bcb8ae995ade18f2fc08cd33f0645))
1906
+
1907
+ # [0.10.0](https://github.com/payloadcms/payload/compare/v0.9.5...v0.10.0) (2021-09-09)
1908
+
1909
+ ### Bug Fixes
1910
+
1911
+ - admin UI collection id is required ([dc96b90](https://github.com/payloadcms/payload/commit/dc96b90cba01756374dde5b91f7702e0a0c661aa))
1912
+ - allow save of collection with an undefined point ([f80646c](https://github.com/payloadcms/payload/commit/f80646c5987db4c228b00beda9549259021c2a40))
1913
+ - config validation correctly prevents empty strings for option values ([41e7feb](https://github.com/payloadcms/payload/commit/41e7febf6a21d2fff39a335c033d9e9582294147))
1914
+ - ensures hooks run before access ([96629f1](https://github.com/payloadcms/payload/commit/96629f1f0100efdb9c5ad57c1a46add3c15ea65d))
1915
+ - ensures proper order while transforming incoming and outgoing data ([c187da0](https://github.com/payloadcms/payload/commit/c187da00b1f18c66d9252a5a3e2029455d75b371))
1916
+ - improve id type semantic and restrict possible types to text and number ([29529b2](https://github.com/payloadcms/payload/commit/29529b2c56d4af7c6abce113da2f7ce84f1dcc02))
1917
+ - remove media directory to improve test run consistency ([d42d8f7](https://github.com/payloadcms/payload/commit/d42d8f76efcda7a24f2f50d60caf47b1027d81f6))
1918
+ - sanitize custom id number types ([c7558d8](https://github.com/payloadcms/payload/commit/c7558d8652780e24479b39e5f2a08a49ffff3358))
1919
+ - sort id columns ([114dc1b](https://github.com/payloadcms/payload/commit/114dc1b3fb9a1895e09671aca7a57fd5c7d84911))
1920
+
1921
+ ### Features
1922
+
1923
+ - add config validation for collections with custom id ([fe1dc0b](https://github.com/payloadcms/payload/commit/fe1dc0b191e73f350b77a90887d8172bf76d46fd))
1924
+ - add config validation for collections with custom id ([d0aaf4a](https://github.com/payloadcms/payload/commit/d0aaf4a4128ad585013c392bb608f586985b71ad))
1925
+ - add point field type ([7504155](https://github.com/payloadcms/payload/commit/7504155e17a2881b7a60f49e610c062665b46d21))
1926
+ - allows user to pass req through local findByID ([8675481](https://github.com/payloadcms/payload/commit/8675481343ef45fefc2eaaea939eda8ed0a2577f))
1927
+ - frontend polish to point field ([64ad6a3](https://github.com/payloadcms/payload/commit/64ad6a30a56969127dfb592a7e0c8807e9f3d8f7))
1928
+ - graphql support for custom id types ([bc2a6e1](https://github.com/payloadcms/payload/commit/bc2a6e15753c62d2041e9afded3f1ca040dbffa3))
1929
+ - point field localization and graphql ([30f1750](https://github.com/payloadcms/payload/commit/30f17509ea9927d923ffd42c703adefc902b66ea))
1930
+ - replace the collection idType option with an explicit id field ([4b70a12](https://github.com/payloadcms/payload/commit/4b70a1225f834ecd0aab50c6e92ad50572389962))
1931
+ - support custom ids ([3cc921a](https://github.com/payloadcms/payload/commit/3cc921acc92e1b4a372468b644b7e676400d9c26))
1932
+
1933
+ ## [0.9.5](https://github.com/payloadcms/payload/compare/v0.9.4...v0.9.5) (2021-08-23)
1934
+
1935
+ ### Bug Fixes
1936
+
1937
+ - obscure conditional logic bug ([b0dc125](https://github.com/payloadcms/payload/commit/b0dc12560423af5083d36cfd16f464f08ab66d9d))
1938
+ - windows compatible absolute paths for staticDir ([b21316b](https://github.com/payloadcms/payload/commit/b21316b6cc392c793614024648c5301c7e03c326))
1939
+
1940
+ ## [0.9.4](https://github.com/payloadcms/payload/compare/v0.9.3...v0.9.4) (2021-08-06)
1941
+
1942
+ ## [0.9.3](https://github.com/payloadcms/payload/compare/v0.9.2...v0.9.3) (2021-08-06)
1943
+
1944
+ ### Bug Fixes
1945
+
1946
+ - args no longer optional in collection and global hooks ([a5ea0ff](https://github.com/payloadcms/payload/commit/a5ea0ff61945f3da106f0d9dbb6a90fb1d884061))
1947
+
1948
+ ## [0.9.2](https://github.com/payloadcms/payload/compare/v0.9.1...v0.9.2) (2021-08-06)
1949
+
1950
+ ### Bug Fixes
1951
+
1952
+ - row admin type ([deef520](https://github.com/payloadcms/payload/commit/deef5202c15301b685fe5efc8a6ff59b012ea1d4))
1953
+
1954
+ ### Features
1955
+
1956
+ - allow completely disabling local file storage ([9661c6d](https://github.com/payloadcms/payload/commit/9661c6d40acc41d21eebc42b0cc1871f28d35a73))
1957
+ - allows upload resizing to maintain aspect ratio ([dea54a4](https://github.com/payloadcms/payload/commit/dea54a4cccead86e6ffc9f20457f295e1c08405b))
1958
+ - exposes auto-sized uploads on payload req ([9c8935f](https://github.com/payloadcms/payload/commit/9c8935fd51439627cccf3f6625236375f5909445))
1959
+ - reduces group heading from h2 to h3 ([907f8fd](https://github.com/payloadcms/payload/commit/907f8fd94d7e6cfa7eac0040c134cc714f29800d))
1960
+
1961
+ ## [0.9.1](https://github.com/payloadcms/payload/compare/v0.9.0...v0.9.1) (2021-08-03)
1962
+
1963
+ ### Bug Fixes
1964
+
1965
+ - groups with failing conditions being incorrectly required on backend ([4cc0ea1](https://github.com/payloadcms/payload/commit/4cc0ea1d81cd7579cb330091eb111a27262ff031))
1966
+ - relationship field access control in admin UI ([65db8d9](https://github.com/payloadcms/payload/commit/65db8d9fc2c8b556cc284966b9b69f5d6512aca5))
1967
+
1968
+ ### Features
1969
+
1970
+ - exposes collection after read hook type ([01a191a](https://github.com/payloadcms/payload/commit/01a191a13967d98ebf57891efd21b2607804e4e3))
1971
+
1972
+ # [0.9.0](https://github.com/payloadcms/payload/compare/v0.8.2...v0.9.0) (2021-08-02)
1973
+
1974
+ ### BREAKING CHANGES
1975
+
1976
+ - 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.
1977
+
1978
+ ### Features
1979
+
1980
+ - removes sanitization of configs before plugins are instantiated ([8af3947](https://github.com/payloadcms/payload/commit/8af39472e19a26453647d1c1ab0bbce15db2c642))
1981
+
1982
+ ## [0.8.2](https://github.com/payloadcms/payload/compare/v0.8.1...v0.8.2) (2021-08-02)
1983
+
1984
+ ### Bug Fixes
1985
+
1986
+ - more advanced conditional logic edge cases ([33983de](https://github.com/payloadcms/payload/commit/33983deb3761813506348f8ff804a2117d1324ef))
1987
+
1988
+ ### Features
1989
+
1990
+ - export error types ([12cba62](https://github.com/payloadcms/payload/commit/12cba62930b8d35b22e3a7a99cf06df29bd4964a))
1991
+
1992
+ ## [0.8.1](https://github.com/payloadcms/payload/compare/v0.8.0...v0.8.1) (2021-07-29)
1993
+
1994
+ ### BREAKING CHANGES
1995
+
1996
+ - 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.
1997
+
1998
+ Now, configs will be sanitized **_before_** plugins are executed **_as well as_** after plugins are executed.
1999
+
2000
+ So, where your plugin may have been typed like this before:
2001
+
2002
+ ```ts
2003
+ import { SanitizedConfig } from "payload/config";
2004
+
2005
+ const plugin = (config: SanitizedConfig): SanitizedConfig => {
2006
+ return {
2007
+ ...config,
2008
+ };
2009
+ };
2010
+ ```
2011
+
2012
+ It can now be written like this:
2013
+
2014
+ ```ts
2015
+ import { Config } from "payload/config";
2016
+
2017
+ const plugin = (config: Config): Config => {
2018
+ return {
2019
+ ...config,
2020
+ };
2021
+ };
2022
+ ```
2023
+
2024
+ ### Features
2025
+
2026
+ - improves plugin writability ([a002b71](https://github.com/payloadcms/payload/commit/a002b7105f5c312e846c80032a350046db10236c))
2027
+
2028
+ # [0.8.0](https://github.com/payloadcms/payload/compare/v0.7.10...v0.8.0) (2021-07-28)
2029
+
2030
+ ### BREAKING CHANGES
2031
+
2032
+ - 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:
2033
+
2034
+ - `import { PayloadCollectionConfig, CollectionConfig } from 'payload/dist/collections/config/types';`
2035
+ - `import { PayloadGlobalConfig, GlobalConfig } from 'payload/dist/globals/config/types';`
2036
+ - `import { Config, PayloadConfig } from 'payload/config';`
2037
+
2038
+ You may need to modify your code to work with this release. The TL;DR of the change is that we have improved our naming conventions of internally used types, which will become more important over time. Now, we have landed on a naming convention as follows:
2039
+
2040
+ - Incoming configs, typed correctly for optional / required config properties, are named `Config`, `CollectionConfig`, and `GlobalConfig`.
2041
+ - Fully defaulted, sanitized, and validated configs are now named `SanitizedConfig`, `SanitizedCollectionConfig`, and `SanitizedGlobalConfig`.
2042
+
2043
+ They can be imported safely outside of the `dist` folder now as well. For more information on how to properly import which types you need, see the following Docs pages which have now been updated with examples on how to properly access the new types:
2044
+
2045
+ - [Base Payload config docs](https://payloadcms.com/docs/configuration/overview)
2046
+ - [Collection config docs](https://payloadcms.com/docs/configuration/collections)
2047
+ - [Global config docs](https://payloadcms.com/docs/configuration/globals)
2048
+
2049
+ ### Bug Fixes
2050
+
2051
+ - ensures text component is always controlled ([c649362](https://github.com/payloadcms/payload/commit/c649362b95f1ddaeb47cb121b814ca30712dea86))
2052
+
2053
+ ### Features
2054
+
2055
+ - revises naming conventions of config types ([5a7e5b9](https://github.com/payloadcms/payload/commit/5a7e5b921d7803ec2da8cc3dc8162c1dd6828ca0))
2056
+
2057
+ ## [0.7.10](https://github.com/payloadcms/payload/compare/v0.7.9...v0.7.10) (2021-07-27)
2058
+
2059
+ ### Bug Fixes
2060
+
2061
+ - jest debug testing ([a2fa30f](https://github.com/payloadcms/payload/commit/a2fa30fad2cd9b8ab6ac4f3905706b97d5663954))
2062
+ - skipValidation logic ([fedeaea](https://github.com/payloadcms/payload/commit/fedeaeafc9607f7c21e40c2df44923056e5d460c))
2063
+
2064
+ ### Features
2065
+
2066
+ - improves conditional logic performance and edge cases ([d43390f](https://github.com/payloadcms/payload/commit/d43390f2a4c5ebeb7b9b0f07e003816005efc761))
2067
+
2068
+ ## [0.7.9](https://github.com/payloadcms/payload/compare/v0.7.8...v0.7.9) (2021-07-27)
2069
+
2070
+ ### Bug Fixes
2071
+
2072
+ - missing richtext gutter ([4d1249d](https://github.com/payloadcms/payload/commit/4d1249dd03f441ee872e66437118c3e8703aaefc))
2073
+
2074
+ ### Features
2075
+
2076
+ - add admin description to collections and globals ([4544711](https://github.com/payloadcms/payload/commit/4544711f0e4ea0e78570b93717a4bf213946d9b3))
2077
+ - add collection slug to schema validation errors ([ebfb72c](https://github.com/payloadcms/payload/commit/ebfb72c8fa0723ec75922c6fa4739b48ee82b29f))
2078
+ - add component support to collection and global description ([fe0098c](https://github.com/payloadcms/payload/commit/fe0098ccd9b3477b47985222659a0e3fc2e7bb3b))
2079
+ - add component support to field description ([e0933f6](https://github.com/payloadcms/payload/commit/e0933f612a70af0a18c88ef96e7af0878e20cf01))
2080
+ - add customizable admin field descriptions ([dac60a0](https://github.com/payloadcms/payload/commit/dac60a024b0eb7197d5a501daea342827ee7c751))
2081
+ - add descriptions to every allowed field type, globals and collections ([29a1108](https://github.com/payloadcms/payload/commit/29a1108518c7942f8ae06a990393a6e0ad4b6b16))
2082
+ - add global slug and field names to schema validation errors ([bb63b4a](https://github.com/payloadcms/payload/commit/bb63b4aad153d125f68bf1fe1e9a3e4a5358ded9))
2083
+ - improves group styling when there is no label ([ea358a6](https://github.com/payloadcms/payload/commit/ea358a66e8b8d2e54dd162eae0cf7066128cfabf))
2084
+
2085
+ ## [0.7.8](https://github.com/payloadcms/payload/compare/v0.7.7...v0.7.8) (2021-07-23)
2086
+
2087
+ ### Features
2088
+
2089
+ - fixes group label schema validation ([cbac888](https://github.com/payloadcms/payload/commit/cbac8887ddb7a4446f5502c577d4600905b13380))
2090
+
2091
+ ## [0.7.7](https://github.com/payloadcms/payload/compare/v0.7.6...v0.7.7) (2021-07-23)
2092
+
2093
+ ### Bug Fixes
2094
+
2095
+ - accurately documents the props for the datepicker field ([dcd8052](https://github.com/payloadcms/payload/commit/dcd8052498dd2900f228eaffcf6142b63e8e5a9b))
2096
+
2097
+ ### Features
2098
+
2099
+ - only attempts to find config when payload is initialized ([266ccb3](https://github.com/payloadcms/payload/commit/266ccb374449b0a131a574d9b12275b6bb7e5c60))
2100
+
2101
+ ## [0.7.6](https://github.com/payloadcms/payload/compare/v0.7.5...v0.7.6) (2021-07-07)
2102
+
2103
+ ## [0.7.5](https://github.com/payloadcms/payload/compare/v0.7.4...v0.7.5) (2021-07-07)
2104
+
2105
+ ### Bug Fixes
2106
+
2107
+ - crash on bullet list de-selection ([5388513](https://github.com/payloadcms/payload/commit/538851325d1558425918098e35e108595189774b))
2108
+ - updates demo richtext elements with proper SCSS ([0075912](https://github.com/payloadcms/payload/commit/007591272f77e5dcc5e5a4a8f71459402f6605d4))
2109
+
2110
+ ### Features
2111
+
2112
+ - adds plugins infrastructure ([6b25531](https://github.com/payloadcms/payload/commit/6b255315e0c475d700383f2738839966449fc563))
2113
+ - enables backspace to deactivate richtext list elements ([91141ad](https://github.com/payloadcms/payload/commit/91141ad62f0f6ef3528e62eef23711e937d302ce))
2114
+
2115
+ ## [0.7.4](https://github.com/payloadcms/payload/compare/v0.7.3...v0.7.4) (2021-07-01)
2116
+
2117
+ ### Bug Fixes
2118
+
2119
+ - adds proper scss stylesheets to payload/scss ([84e31ae](https://github.com/payloadcms/payload/commit/84e31aed141efe5aa1b0c24a61bf35eb3d671242))
2120
+
2121
+ ## [0.7.3](https://github.com/payloadcms/payload/compare/v0.7.2...v0.7.3) (2021-07-01)
2122
+
2123
+ ### Bug Fixes
2124
+
2125
+ - changes scss imports to allow vars imports to payload projects ([ea80fd6](https://github.com/payloadcms/payload/commit/ea80fd68b14139cb01259a47ea597d33526d0c76))
2126
+
2127
+ ### Features
2128
+
2129
+ - export all field prop types for custom components ([5bea9ae](https://github.com/payloadcms/payload/commit/5bea9ae1263f1d93e8b011ae97bb067a8c9bb4e1))
2130
+
2131
+ ## [0.7.2](https://github.com/payloadcms/payload/compare/v0.7.1...v0.7.2) (2021-06-22)
2132
+
2133
+ ### Bug Fixes
2134
+
2135
+ - parses incoming numbers through query string for use in where clauses ([4933b34](https://github.com/payloadcms/payload/commit/4933b34f6b5dfa960c2a830a8c74769d6712130a))
2136
+ - respect maxDepth 0 ([95c1650](https://github.com/payloadcms/payload/commit/95c165018edf8e80c4dc828d3d77b6fa6d799de9))
2137
+ - safely stringifies ObjectIDs while populating relationships ([d6bc6f9](https://github.com/payloadcms/payload/commit/d6bc6f9f0e8391818783cdf7edf282506e2c9fed))
2138
+
2139
+ ### Features
2140
+
2141
+ - adds maxDepth to relationships and upload fields ([880dabd](https://github.com/payloadcms/payload/commit/880dabdcad10dcd9f057da71a601190fbeecf92d))
2142
+
2143
+ ## [0.7.1](https://github.com/payloadcms/payload/compare/v0.7.0...v0.7.1) (2021-06-21)
2144
+
2145
+ ### Bug Fixes
2146
+
2147
+ - babel config file error ([3af2554](https://github.com/payloadcms/payload/commit/3af2554eacab45317745ad72c8848b4dd1ddc16a))
2148
+
2149
+ # [0.7.0](https://github.com/payloadcms/payload/compare/v0.6.10...v0.7.0) (2021-06-21)
2150
+
2151
+ ### Bug Fixes
2152
+
2153
+ - handle all scenarios in select cell ([dd40ab0](https://github.com/payloadcms/payload/commit/dd40ab07fa359802578ed948136018dfc9a538c5))
2154
+
2155
+ ### Features
2156
+
2157
+ - exposes babel config via payload/babel ([#203](https://github.com/payloadcms/payload/issues/203)) ([67c1e28](https://github.com/payloadcms/payload/commit/67c1e280eb891a736703e242518bbeac8b8c2878))
2158
+ - user preferences ([#195](https://github.com/payloadcms/payload/issues/195)) ([fb60bc7](https://github.com/payloadcms/payload/commit/fb60bc79a11d69c5dab6b4921d62614a7b914fef))
2159
+
2160
+ ## [0.6.10](https://github.com/payloadcms/payload/compare/v0.6.9...v0.6.10) (2021-05-23)
2161
+
2162
+ ## [0.6.9](https://github.com/payloadcms/payload/compare/v0.6.8...v0.6.9) (2021-05-16)
2163
+
2164
+ ### Bug Fixes
2165
+
2166
+ - misc responsive improvements
2167
+ - date clipping in sidebar ([#165](https://github.com/payloadcms/payload/issues/165))
2168
+ - misc polish to popup component
2169
+ - admin \_verified field not displaying proper field value
2170
+ - properly typed express-fileupload config options ([#180](https://github.com/payloadcms/payload/issues/180))
2171
+
2172
+ ## [0.6.8](https://github.com/payloadcms/payload/compare/v0.6.7...v0.6.8) (2021-05-12)
2173
+
2174
+ ### Features
2175
+
2176
+ - add mimeTypes validation for uploads ([a5fcdf0](https://github.com/payloadcms/payload/commit/a5fcdf03bae681c5b2e0de6b681d20efe8ebdd7f))
2177
+ - disables user scalable in mobile ([#177](https://github.com/payloadcms/payload/issues/177)) ([46c1a36](https://github.com/payloadcms/payload/commit/46c1a36fdb9363201b65ecdec44088cb41532bd6))
2178
+ - exposes locale within preview function ([2d67448](https://github.com/payloadcms/payload/commit/2d67448d8ad1a7d4238820d0ccd93da961fc051c))
2179
+ - restrict upload mime types in file picker ([1c6f32f](https://github.com/payloadcms/payload/commit/1c6f32f2881410a1534b61711af05fd35e7977c2))
2180
+
2181
+ ## [0.6.7](https://github.com/payloadcms/payload/compare/v0.6.6...v0.6.7) (2021-05-07)
2182
+
2183
+ ### Features
2184
+
2185
+ - add ability to hide gutter for RichText fields ([e791c5b](https://github.com/payloadcms/payload/commit/e791c5b7b325e58d273041ff426d19bafc4fc102))
2186
+ - allows group field gutter to be disabled ([9aebeaf](https://github.com/payloadcms/payload/commit/9aebeaf579b9c8add64734dce92e4d92c0a1a24c))
2187
+ - exposes component types ([99466fa](https://github.com/payloadcms/payload/commit/99466fa41e24779705f517d29d57e6174508ebcc))
2188
+ - shrink image thumbnails on larger screens ([e565fa6](https://github.com/payloadcms/payload/commit/e565fa6f1ce13d76b8111e543d4c799a5d7f450e))
2189
+ - support global date format ([670ccf2](https://github.com/payloadcms/payload/commit/670ccf2f589c306d13f3060b8acf4f4d33fcdd23))
2190
+
2191
+ ## [0.6.6](https://github.com/payloadcms/payload/compare/v0.6.5...v0.6.6) (2021-04-27)
2192
+
2193
+ ### Bug Fixes
2194
+
2195
+ - graphql returns compatible error format ([6f188b1](https://github.com/payloadcms/payload/commit/6f188b1fa6e631a992439f055e8e76c341ca6dfa))
2196
+ - handle rich text saving as empty string ([382089b](https://github.com/payloadcms/payload/commit/382089b484b278e6ff491a2447ad06c41b96d5e3))
2197
+ - 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))
2198
+ - support image resizing on M1 chip ([8cfc039](https://github.com/payloadcms/payload/commit/8cfc039cd0ffd497728f185b6ab45695302d3b95))
2199
+ - update operation can save password changes ([a85bf9e](https://github.com/payloadcms/payload/commit/a85bf9e836f9463d94f13857254f5d4df6f68c72))
2200
+
2201
+ ## [0.6.5](https://github.com/payloadcms/payload/compare/v0.6.4...v0.6.5) (2021-04-22)
2202
+
2203
+ ### Features
2204
+
2205
+ - builds plugin infrastructure ([#149](https://github.com/payloadcms/payload/issues/149)) ([f17c6e4](https://github.com/payloadcms/payload/commit/f17c6e4010de07578af21398f667fa55bc8343bc))
2206
+
2207
+ ## [0.6.4](https://github.com/payloadcms/payload/compare/v0.6.3...v0.6.4) (2021-04-21)
2208
+
2209
+ ### Bug Fixes
2210
+
2211
+ - allows \_verificationToken to come back via showHiddenFields ([74430ea](https://github.com/payloadcms/payload/commit/74430ea1519c1ba0ad655daf4e8f5d8dae855358))
2212
+
2213
+ ## [0.6.3](https://github.com/payloadcms/payload/compare/v0.6.2...v0.6.3) (2021-04-21)
2214
+
2215
+ ### Bug Fixes
2216
+
2217
+ - make admin field properties in joi schema match TS types ([519c021](https://github.com/payloadcms/payload/commit/519c021525be114f43ad321233a9b8211d309ed0))
2218
+ - properly label arrays/blocks with plural and singular ([fa49811](https://github.com/payloadcms/payload/commit/fa49811377103db9241f43537e508da62eb19076))
2219
+ - safely parses incoming stringified richtext json ([9c95c75](https://github.com/payloadcms/payload/commit/9c95c750305633e99e7d80b5ba407b5b3146d691))
2220
+
2221
+ ## [0.6.2](https://github.com/payloadcms/payload/compare/v0.6.1...v0.6.2) (2021-04-19)
2222
+
2223
+ ### Features
2224
+
2225
+ - modifies relationship field to react to changing relationTo ([ddf25fb](https://github.com/payloadcms/payload/commit/ddf25fbb6559d93dd5b9105bd4a0a952fc72154b))
2226
+
2227
+ ## [0.6.1](https://github.com/payloadcms/payload/compare/v0.6.0...v0.6.1) (2021-04-19)
2228
+
2229
+ ### Bug Fixes
2230
+
2231
+ - cleans up duplicative columns ([5f2073a](https://github.com/payloadcms/payload/commit/5f2073ae685f22d099bc8f0d3e406e73ee59cd1d))
2232
+ - graphql localized relationship bugs ([280f809](https://github.com/payloadcms/payload/commit/280f8094217de759ba6424dfd2294a6bfcb1d57a))
2233
+ - moves enableRichTextRelationship to proper spot ([16ca22b](https://github.com/payloadcms/payload/commit/16ca22b4cc0d8e5d106fa8c8c6e2dde0ff972839))
2234
+
2235
+ ### Features
2236
+
2237
+ - sets enableRichTextRelationship to true by default ([9970470](https://github.com/payloadcms/payload/commit/99704707dda25f8617d26552942915aa6e9d7a57))
2238
+
2239
+ # [0.6.0](https://github.com/payloadcms/payload/compare/v0.5.10...v0.6.0) (2021-04-19)
2240
+
2241
+ ### BREAKING CHANGES
2242
+
2243
+ - 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.
2244
+
2245
+ #### Migration Instructions to `0.6.x`
2246
+
2247
+ 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.
2248
+
2249
+ For example, if you have a `pages` collection with no existing access control, and it should be publicly readable, you should change its config from this:
2250
+
2251
+ ```js
2252
+ const Page = {
2253
+ slug: "pages",
2254
+ access: {
2255
+ // No `read` access control was set
2256
+ },
2257
+ };
2258
+ ```
2259
+
2260
+ To:
2261
+
2262
+ ```js
2263
+ const Page = {
2264
+ slug: "pages",
2265
+ access: {
2266
+ // Now we explicitly allow public read access
2267
+ // to this collection's documents
2268
+ read: () => true,
2269
+ },
2270
+ };
2271
+ ```
2272
+
2273
+ If none of your collections or globals should be publicly exposed, you don't need to do anything to upgrade.
2274
+
2275
+ ### Bug Fixes
2276
+
2277
+ - clears richtext element on enter, refocuses on toolbar button click ([4b19795](https://github.com/payloadcms/payload/commit/4b1979540d2ec33ce8396f572baba5e64962c0da))
2278
+ - ensures api keys are properly populated in admin ([4359a70](https://github.com/payloadcms/payload/commit/4359a70a8b0bca380cc513dfcb83b2fbe28cbef4))
2279
+ - ensures first relationship options are loaded only once ([75a5b04](https://github.com/payloadcms/payload/commit/75a5b047056b4e4e7a415a6903a1131cc61b0318))
2280
+ - searching on relationship fields properly fetches results ([b86c3da](https://github.com/payloadcms/payload/commit/b86c3daa9952ccc9db324fecd53bb75f69cecfd4))
2281
+ - upload useAsTitle set to filename by default ([7db23f8](https://github.com/payloadcms/payload/commit/7db23f8ebbf115ca45fa55718b0d1be18ca54cd3))
2282
+
2283
+ ### Features
2284
+
2285
+ - autolabel fields when label is omitted ([#42](https://github.com/payloadcms/payload/issues/42)) ([b383eb6](https://github.com/payloadcms/payload/commit/b383eb65c6b524fd7cfddb7ac60a3f263e1b891e))
2286
+ - dynamically populates richtext relationships ([3530424](https://github.com/payloadcms/payload/commit/353042467f12458994d734cf54423eb95eea9003))
2287
+ - improve unique field value error handling ([21b2bd4](https://github.com/payloadcms/payload/commit/21b2bd4b6708823880fb87035495ab4c2c55da90))
2288
+ - improves margins in rich text elements ([20d7a01](https://github.com/payloadcms/payload/commit/20d7a01919634faa366add792f98a36e68f213e9))
2289
+
2290
+ ## [0.5.10](https://github.com/payloadcms/payload/compare/v0.5.9...v0.5.10) (2021-04-14)
2291
+
2292
+ ### Bug Fixes
2293
+
2294
+ - feeds collectionSlug through me auth for graphql resolver ([9ee2f9c](https://github.com/payloadcms/payload/commit/9ee2f9c0dc25ea32ee0f0864e30afb389903b3cd))
2295
+
2296
+ ## [0.5.9](https://github.com/payloadcms/payload/compare/v0.5.8...v0.5.9) (2021-04-14)
2297
+
2298
+ ## [0.5.8](https://github.com/payloadcms/payload/compare/v0.5.7...v0.5.8) (2021-04-13)
2299
+
2300
+ ### Bug Fixes
2301
+
2302
+ - revises graphql import syntax ([20f1e6c](https://github.com/payloadcms/payload/commit/20f1e6cb044254af7a0db72cc9dab95d32db0333))
2303
+
2304
+ ## [0.5.7](https://github.com/payloadcms/payload/compare/v0.5.5...v0.5.7) (2021-04-13)
2305
+
2306
+ ### Bug Fixes
2307
+
2308
+ - clears verificationToken when \_verified is true ([e58b152](https://github.com/payloadcms/payload/commit/e58b152d40394ec59b7a779feb3b9f02a6f4a0b6))
2309
+ - custom query / mutation types ([a78fc97](https://github.com/payloadcms/payload/commit/a78fc974b80b153028e4796b15d2b6b17fe023bb))
2310
+ - ensures email is still prefilled in auth configs ([31c41c2](https://github.com/payloadcms/payload/commit/31c41c22eca96721ce2982bcf5860dfd9e5c7beb))
2311
+ - ensures failed conditions send path to form ([dff72fb](https://github.com/payloadcms/payload/commit/dff72fbf2f49d372423da8bc2840aad6d9c1ea1b))
2312
+ - handle add/remove labels for all usage of Array field type ([ddf5df2](https://github.com/payloadcms/payload/commit/ddf5df290c5b36af0dc37a79c476001387f73275))
2313
+ - make upload cell mimetype inline ([414bc01](https://github.com/payloadcms/payload/commit/414bc01b055ed6075613f4241f185cb0c25f046d))
2314
+ - pagination calculation for current range ([000dee8](https://github.com/payloadcms/payload/commit/000dee85bd5858fe3d45e08c62943a6a1c6e349c))
2315
+ - updates config schema for graphQL mutations and queries ([afc9454](https://github.com/payloadcms/payload/commit/afc9454465d7445c45f560eade0b17d831b04e2c))
2316
+
2317
+ ### Features
2318
+
2319
+ - auto verifies first user registration ([8f720c0](https://github.com/payloadcms/payload/commit/8f720c000df26d34f7f8652f170525c7d54184a5))
2320
+ - optimize save within Edit ([91d37fb](https://github.com/payloadcms/payload/commit/91d37fb41d820fe2cdcdbb28f999df2de751316e))
2321
+ - prevents DraggableSections from re-mounting on doc save ([0094837](https://github.com/payloadcms/payload/commit/00948376358a4bfecc3a6cb8cf0a6ad9a0b5a227))
2322
+ - remembers conditional field values after removing / readding ([988d0a4](https://github.com/payloadcms/payload/commit/988d0a4b08e1228bb358bb133bcb05dbce7f55ab))
2323
+ - remove mimetype from upload cell type ([776b9c9](https://github.com/payloadcms/payload/commit/776b9c9c30b6d9d795c509a558fd1eee666b2652))
2324
+
2325
+ ## [0.5.5](https://github.com/payloadcms/payload/compare/v0.5.4...v0.5.5) (2021-04-02)
2326
+
2327
+ ### Features
2328
+
2329
+ - allows soft breaks in rich text ([ecd277d](https://github.com/payloadcms/payload/commit/ecd277da7dff24dc49f6061e7d50e4b21bc285c9))
2330
+
2331
+ ## [0.5.4](https://github.com/payloadcms/payload/compare/v0.5.2...v0.5.4) (2021-04-02)
2332
+
2333
+ ### Bug Fixes
2334
+
2335
+ - ensures arrays and blocks reset row count on initialState change ([9a7c0e3](https://github.com/payloadcms/payload/commit/9a7c0e3dbdf4e6decb03ae085a41fb239fd5b7a8))
2336
+ - unique indices ([23c45f1](https://github.com/payloadcms/payload/commit/23c45f137ac97c99ed38969bed64928f2ce2795e))
2337
+
2338
+ ## [0.5.2](https://github.com/payloadcms/payload/compare/v0.5.1...v0.5.2) (2021-03-31)
2339
+
2340
+ ### Bug Fixes
2341
+
2342
+ - modal issues with richtext relationship ([8ea4407](https://github.com/payloadcms/payload/commit/8ea4407f04fd4b63df6afffbe15301f7d5746016))
2343
+
2344
+ ## [0.5.1](https://github.com/payloadcms/payload/compare/v0.5.0...v0.5.1) (2021-03-29)
2345
+
2346
+ ### Bug Fixes
2347
+
2348
+ - base auth / upload fields no longer cause validation issues ([23e1fc3](https://github.com/payloadcms/payload/commit/23e1fc3f73673d4694763908bb819c77bf600702))
2349
+
2350
+ # [0.5.0](https://github.com/payloadcms/payload/compare/v0.4.7...v0.5.0) (2021-03-29)
2351
+
2352
+ ### BREAKING CHANGES
2353
+
2354
+ - 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))
2355
+
2356
+ ### Bug Fixes
2357
+
2358
+ - allows absolute urls within adminThumbnail ([51b46d4](https://github.com/payloadcms/payload/commit/51b46d44b0c88387d8b23859129f163b581bf1cc))
2359
+ - handles empty indices within array field data ([d47e2c5](https://github.com/payloadcms/payload/commit/d47e2c57868667f2ff9ca87aa9ad862687bd985e))
2360
+ - moving nested arrays now properly persists row count ([5f9a5c8](https://github.com/payloadcms/payload/commit/5f9a5c859eca8854592b2a7a32bef50db4584709))
2361
+ - validation consistency within admin ([50b9937](https://github.com/payloadcms/payload/commit/50b99370d2b849e858fd64e6018ebf0e94103998))
2362
+
2363
+ ### Features
2364
+
2365
+ - saves cursor position when relationship element is added to richText ([d24b3f7](https://github.com/payloadcms/payload/commit/d24b3f72ce222e4551c12e202238f171f9cc4b97))
2366
+
2367
+ ## [0.4.7](https://github.com/payloadcms/payload/compare/v0.4.6...v0.4.7) (2021-03-15)
2368
+
2369
+ ## [0.4.6](https://github.com/payloadcms/payload/compare/v0.4.5...v0.4.6) (2021-03-14)
2370
+
2371
+ ### Features
2372
+
2373
+ - allows admin thumbnail to be set programmatically ([b6a9fe4](https://github.com/payloadcms/payload/commit/b6a9fe4bcfc85815a60a3fe8d3cb38b7ae673424))
2374
+ - exports collection field hook types from payload/types ([36aae5c](https://github.com/payloadcms/payload/commit/36aae5c37f8ea8c5dde16a898a28b9301efa6a5b))
2375
+ - only runs adminThumbnail func if image type ([5e1ddb5](https://github.com/payloadcms/payload/commit/5e1ddb552ee9fc8972c9537eee62cddc93a24f42))
2376
+ - provides field access control with document data ([339f750](https://github.com/payloadcms/payload/commit/339f7503a41802421bb38c8cf5da0f0f1573bdd6))
2377
+ - reorders uploads to provide beforeChange hooks with upload data ([3c42e6e](https://github.com/payloadcms/payload/commit/3c42e6e6af849a8acc45e93017b0eafea74ecdba))
2378
+
2379
+ ## [0.4.5](https://github.com/payloadcms/payload/compare/v0.4.4...v0.4.5) (2021-03-04)
2380
+
2381
+ ### Bug Fixes
2382
+
2383
+ - config validation allow admin dashboard ([2d1d1b4](https://github.com/payloadcms/payload/commit/2d1d1b4f32bcc6ee1ce709208ae28369611e5bdd))
2384
+
2385
+ ## [0.4.4](https://github.com/payloadcms/payload/compare/v0.4.3...v0.4.4) (2021-03-04)
2386
+
2387
+ ### Bug Fixes
2388
+
2389
+ - email verification template missing token ([93ed664](https://github.com/payloadcms/payload/commit/93ed6649201511edfaea14c199022f05623c404c))
2390
+
2391
+ ## [0.4.1](https://github.com/payloadcms/payload/compare/v0.4.0...v0.4.3) (2021-03-04)
2392
+
2393
+ ### Documentation
2394
+
2395
+ - fixed broken links throughout docs ([3afefbe](https://github.com/payloadcms/payload/commit/3afefbe5922ee7aff496a96c61ff9a5270d6a7cb))
2396
+
2397
+ ## [0.4.0](https://github.com/payloadcms/payload/compare/v0.3.0...v0.4.0) (2021-02-28)
2398
+
2399
+ ### Breaking Changes
2400
+
2401
+ - reverts preview function to only requiring the return of a preview URL ([ca14e66](https://github.com/payloadcms/payload/commit/ca14e66a580fea94ef71416edf6c8caffcf446b0))
2402
+
2403
+ ### Features
2404
+
2405
+ - implements new billing model, including new Personal license which is free forever ([c97ddeb](https://github.com/payloadcms/payload/commit/c97ddeb2d96f949604d46212166c4784330cc72d))
2406
+ - simplifies logic in update operations ([e268e25](https://github.com/payloadcms/payload/commit/e268e25719dd4ebd1a6818dca86d12dc057386ca))
2407
+ - removes the requirement of returning a value from field hooks ([4de5605](https://github.com/payloadcms/payload/commit/4de56059319a6d13b6f0ec20ac4d344f265446bf))
2408
+
2409
+ ### Bug Fixes
2410
+
2411
+ - properly exposes scss variables for re-use ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
2412
+ - explicitly sets modal z-index and css breakpoints ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
2413
+ - removes `overwrite` from update operation to ensure hidden fields don't get lost on document update ([a8e2cc1](https://github.com/payloadcms/payload/commit/a8e2cc11af177641409ff7726ed8c4f1a154dee4))
2414
+
2415
+ ## [0.3.0](https://github.com/payloadcms/payload/compare/v0.2.13...v0.3.0) (2021-02-23)
2416
+
2417
+ ### Bug Fixes
2418
+
2419
+ - properly exposes scss variables for re-use ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
2420
+ - explicitly sets modal z-index and css breakpoints ([c1b2301](https://github.com/payloadcms/payload/commit/c1b230165033ed3cf382a6e42b590815489525f9))
2421
+ - removes `overwrite` from update operation to ensure hidden fields don't get lost on document update ([a8e2cc1](https://github.com/payloadcms/payload/commit/a8e2cc11af177641409ff7726ed8c4f1a154dee4))
2422
+
2423
+ ## [0.2.13](https://github.com/payloadcms/payload/compare/v0.2.12...v0.2.13) (2021-02-20)
2424
+
2425
+ ### Breaking Changes
2426
+
2427
+ - Preview function now no longer takes form field state as an arg and instead takes a copy of the document itself
2428
+
2429
+ ### Features
2430
+
2431
+ - supports newTab in Button, updates generatePreviewURL api to forward through PreviewButton ([6b6297f](https://github.com/payloadcms/payload/commit/6b6297fb2d22b813f45729429b7efbe9a6ab97da))
2432
+ - detaches localization from mongoose entirely ([162ec74](https://github.com/payloadcms/payload/commit/162ec74445c51a79cd50f75ffb56de8e4bcf9ace))
2433
+
2434
+ ### Bug Fixes
2435
+
2436
+ - infinite loop caused within block component ([9e42d11](https://github.com/payloadcms/payload/commit/9e42d119e471b0efe0d6f69e99d0e31ba5e9237f))
2437
+ - sets sparse true if field localized and unique ([2bc5c59](https://github.com/payloadcms/payload/commit/2bc5c59fec842cd5c5adf201084cdba9b0cab310))
2438
+ - returns entire doc to generatePreviewURL callback of PreviewButton ([9b9d0f2](https://github.com/payloadcms/payload/commit/9b9d0f24b54d46c24734f30ed9640d25e6c19097))
2439
+ - log mongoose connect error message ([e36c7d2](https://github.com/payloadcms/payload/commit/e36c7d269c4b5b49d6c85f416b26196999aadfc0))
2440
+
2441
+ ### Documentation
2442
+
2443
+ - removes incorrect hasMany from upload field type ([e549298](https://github.com/payloadcms/payload/commit/e549298ad5a9a6116659258bb738f5d87abe4ff7))
2444
+
2445
+ ## [0.2.12](https://github.com/payloadcms/payload/compare/v0.2.11...v0.2.12) (2021-02-1-0)
2446
+
2447
+ ### Bug Fixes
2448
+
2449
+ - middleware for cors set up on static files
2450
+ - windows compatible upload filename paths
2451
+
2452
+ ## [0.2.11](https://github.com/payloadcms/payload/compare/v0.2.11...v0.2.12) (2021-02-05)
2453
+
2454
+ ### Bug Fixes
2455
+
2456
+ - middleware for cors set up on static files ([55e0de1](https://github.com/payloadcms/payload/commit/55e0de1719ec387e2182bf33922602243f7eda94))
2457
+ - file size in local operations ([0feb7b7](https://github.com/payloadcms/payload/commit/0feb7b7379de6429cf5cb1cdbdad0142f72cc5dc))
2458
+
2459
+ ## [0.2.11](https://github.com/payloadcms/payload/compare/v0.2.10...v0.2.11) (2021-02-05)
2460
+
2461
+ ### Features
2462
+
2463
+ - allows upload through Local API ([1a59028](https://github.com/payloadcms/payload/commit/1a590287ea181e4548c8e75d8cdb25ada5cbbdbf))
2464
+
2465
+ ### Bug Fixes
2466
+
2467
+ - fix localization within blocks ([e50fc1f](https://github.com/payloadcms/payload/commit/e50fc1f3142ae5e387cef3c778988c473b04417e))
2468
+ - forces fallbackLocale to null in update ops ([3005360](https://github.com/payloadcms/payload/commit/300536033ffe50a2eaedd2a714e844a5282f2ef0))
2469
+
2470
+ ## [0.2.10](https://github.com/payloadcms/payload/compare/v0.2.9...v0.2.10) (2021-02-04)
2471
+
2472
+ ### Features
2473
+
2474
+ - add support for setting mongoose connection options ([82c4898](https://github.com/payloadcms/payload/commit/82c489841c418b953c7f08d30c8b19751ff050f4))
2475
+ - admin ui create first user add confirm password field (<https://github.com/payloadcms/payload/commit/60453fec9ee17e8f83f7e98c5e2b2e39bc6d0365>)
2476
+
2477
+ ### Bug Fixes
2478
+
2479
+ - flag scss variables with default ([8916e8a](https://github.com/payloadcms/payload/commit/8916e8af45e179748bf6f2a75216e8d1c35958f2))
2480
+ - relationship component hasMany bug ([d540706](https://github.com/payloadcms/payload/commit/d5407060d079c333081b0298e45dfe866d31b86e))
2481
+ - hide force unlock in admin ui when creating auth collection item ([3bd0de0](https://github.com/payloadcms/payload/commit/3bd0de0a0b6832f5940474c8c40fd85f6fcd1b74))
2482
+
2483
+ ## [0.2.9](https://github.com/payloadcms/payload/compare/v0.2.6...v0.2.9) (2021-01-27)
2484
+
2485
+ ### Bug Fixes
2486
+
2487
+ - field validation type can return promise ([06ddab1](https://github.com/payloadcms/payload/commit/06ddab124919b28b74667e36e315682a0c9cf459))
2488
+
2489
+ ## [0.2.8](https://github.com/payloadcms/payload/compare/v0.2.6...v0.2.8) (2021-01-25)
2490
+
2491
+ ### Chore
2492
+
2493
+ - add bugs and keywords to package.json ([37f5b32](https://github.com/payloadcms/payload/commit/37f5b3283363220caa63a5066011b1cb9841812d))
2494
+
2495
+ ## [0.2.6](https://github.com/payloadcms/payload/compare/v0.2.5...v0.2.6) (2021-01-25)
2496
+
2497
+ ## [0.2.5](https://github.com/payloadcms/payload/compare/v0.2.4...v0.2.5) (2021-01-25)
2498
+
2499
+ ### Bug Fixes
2500
+
2501
+ - field gutter padding ([90d2078](https://github.com/payloadcms/payload/commit/90d20786c33b2ef4ea937e75769c023c5776db1b))
2502
+ - richtext sticky toolbar within block ([8218343](https://github.com/payloadcms/payload/commit/8218343b6cf629faed0f752fb27b546684580ec4))
2503
+
2504
+ ## [0.2.4](https://github.com/payloadcms/payload/compare/v0.2.3...v0.2.4) (2021-01-24)
2505
+
2506
+ ### Bug Fixes
2507
+
2508
+ - block field styles ([36f0bd8](https://github.com/payloadcms/payload/commit/36f0bd81eb340b6d8ac3011a4b10e828e79c20d8))
2509
+
2510
+ ## [0.2.3](https://github.com/payloadcms/payload/compare/v0.2.2...v0.2.3) (2021-01-24)
2511
+
2512
+ ### Bug Fixes
2513
+
2514
+ - ensures modal heights are 100% of viewport ([7edab5d](https://github.com/payloadcms/payload/commit/7edab5d3543db27c444b180548fc076dd483848a))
2515
+
2516
+ ## [0.2.2](https://github.com/payloadcms/payload/compare/v0.2.1...v0.2.2) (2021-01-24)
2517
+
2518
+ ### Bug Fixes
2519
+
2520
+ - revert serverURL config change ([f558bd2](https://github.com/payloadcms/payload/commit/f558bd2733a82f1ed9d14604f8b3dea5bb5e8ef5))
2521
+
2522
+ ### Features
2523
+
2524
+ - adds better serverURL validation ([75056e2](https://github.com/payloadcms/payload/commit/75056e2e13c4d5f9a2d4341282b6c1f4c42e1609))
2525
+
2526
+ ### Reverts
2527
+
2528
+ - Revert "docs: configuration overview describe serverURL and removed from code examples where not needed" ([bd446b6](https://github.com/payloadcms/payload/commit/bd446b60b8c56857fb99cda5a9f8a93216efc8b0))
2529
+
2530
+ ## [0.2.1](https://github.com/payloadcms/payload/compare/v0.2.0...v0.2.1) (2021-01-24)
2531
+
2532
+ ### Features
2533
+
2534
+ - exposes further types ([e056348](https://github.com/payloadcms/payload/commit/e056348850638f3c621072668a4a9232492c209b))
2535
+
2536
+ # [0.2.0](https://github.com/payloadcms/payload/compare/v0.1.146...v0.2.0) (2021-01-23)
2537
+
2538
+ ### Bug Fixes
2539
+
2540
+ - better error handler when sendMail fails ([ea47736](https://github.com/payloadcms/payload/commit/ea47736274b3b176da534b461907da4ddeffa5e9))
2541
+ - button css specificity ([d8b5233](https://github.com/payloadcms/payload/commit/d8b52337b2d34785817b536fe7017853bbc3b5a6))
2542
+ - migrates Condition UI value/operator pattern ([d23cc20](https://github.com/payloadcms/payload/commit/d23cc20b3d0fa061a2b8111f65e04dd5d35a5557))
2543
+ - target es2019, optional chaining not supported for Node < 14 ([52a0096](https://github.com/payloadcms/payload/commit/52a0096d3b8eca47a8afdef42d47117d028b754d))
2544
+
2545
+ ### Features
2546
+
2547
+ - adds contributing guidelines ([de5bf6e](https://github.com/payloadcms/payload/commit/de5bf6ea280f771e96de703b3732f851903b1fe5))
2548
+ - allows admins to autoverify via admin ([a6a23e3](https://github.com/payloadcms/payload/commit/a6a23e3b154802e5ec874760b3d3e44e90f56e7c))
2549
+ - auto-removes verificationToken upon manual user verify ([2139eb4](https://github.com/payloadcms/payload/commit/2139eb410f8c95505ef7b90e35a099b0955d4e12))
2550
+ - serverURL no longer required in config ([4770f24](https://github.com/payloadcms/payload/commit/4770f24adb50367ec6f6637cafc3f076023b0416))
2551
+
2552
+ ## [0.1.146](https://github.com/payloadcms/payload/compare/v0.1.145...v0.1.146) (2021-01-18)
2553
+
2554
+ ### Bug Fixes
2555
+
2556
+ - localized groups ([f38e0fc](https://github.com/payloadcms/payload/commit/f38e0fce981a188b0adb2050cfe8a8e0f047e606))
2557
+ - textarea handle undefined ([ba31397](https://github.com/payloadcms/payload/commit/ba31397ac15402eb3837bcbe454e0aaf82ecbf03))
2558
+
2559
+ ## [0.1.145](https://github.com/payloadcms/payload/compare/v0.1.144...v0.1.145) (2021-01-17)
2560
+
2561
+ ### Bug Fixes
2562
+
2563
+ - add minLength and maxLength to textarea field validations ([2c98087](https://github.com/payloadcms/payload/commit/2c98087c6f40c32dcbccf557aa61ebf8fc1fe17f))
2564
+ - minLength field validation error messages ([5e60b86](https://github.com/payloadcms/payload/commit/5e60b8617e715378831f10b90dedd017ed8d4a8c))
2565
+
2566
+ ## [0.1.144](https://github.com/payloadcms/payload/compare/v0.1.143...v0.1.144) (2021-01-16)
2567
+
2568
+ ### Bug Fixes
2569
+
2570
+ - add default user to collections before checking for valid relationships ([b2d05c7](https://github.com/payloadcms/payload/commit/b2d05c781d7751bbede9e37996cbdc0736d07a66))
2571
+ - handle user collection 'auth: true' ([c303711](https://github.com/payloadcms/payload/commit/c3037118133a242769dfa4a31914e8e61068edcf))
2572
+
2573
+ ## [0.1.143](https://github.com/payloadcms/payload/compare/v0.1.142...v0.1.143) (2021-01-14)
2574
+
2575
+ ### Bug Fixes
2576
+
2577
+ - payload schema validation allow '\*' ([bd92b0a](https://github.com/payloadcms/payload/commit/bd92b0a94ba3562b01000a58a4bc0e0071c1f35b))
2578
+
2579
+ ### Features
2580
+
2581
+ - allows undefined collections ([6bb58ce](https://github.com/payloadcms/payload/commit/6bb58cecd8bc0b8faa42bc8995ec5da0421375db))
2582
+
2583
+ ## [0.1.142](https://github.com/payloadcms/payload/compare/v0.1.141...v0.1.142) (2021-01-09)
2584
+
2585
+ ### Bug Fixes
2586
+
2587
+ - adds disableDuplicate to schema validation of collections config ([e9ed7ee](https://github.com/payloadcms/payload/commit/e9ed7ee4bdc99bdcc0d86272816f3d5c6904ac2b))
2588
+
2589
+ ### Features
2590
+
2591
+ - add getAdminURL and getAPIURL functions ([8db73bb](https://github.com/payloadcms/payload/commit/8db73bbec22646bc626d17bb783b10ea2d837520))
2592
+ - adds build to CI ([87a1717](https://github.com/payloadcms/payload/commit/87a1717dcae8ec30892cebc46e88cabe8e62bf4c))
2593
+ - disable graphQL flag that will bypass gql on payload init ([d78c76e](https://github.com/payloadcms/payload/commit/d78c76e0b4b7e2c2cc834a2a1288ec75468852ec))
2594
+
2595
+ ## [0.1.141](https://github.com/payloadcms/payload/compare/v0.1.140...v0.1.141) (2021-01-07)
2596
+
2597
+ ### Bug Fixes
2598
+
2599
+ - properly exports ES6 components ([f493263](https://github.com/payloadcms/payload/commit/f49326395dba523c2193c46a8ca4142ff761f3fd))
2600
+
2601
+ ## [0.1.140](https://github.com/payloadcms/payload/compare/v0.1.139...v0.1.140) (2021-01-07)
2602
+
2603
+ ### Bug Fixes
2604
+
2605
+ - admin field error messages ([423df3f](https://github.com/payloadcms/payload/commit/423df3f83af0f899b4a9eafa041ab7c79ccfac78))
2606
+
2607
+ ## [0.1.139](https://github.com/payloadcms/payload/compare/v0.1.138...v0.1.139) (2021-01-06)
2608
+
2609
+ ### Bug Fixes
2610
+
2611
+ - improves typing in delete op ([644519c](https://github.com/payloadcms/payload/commit/644519c539f6fda29d7b61978416b70306d0ea35))
2612
+ - use FileSize and ImageSize types ([4d6871a](https://github.com/payloadcms/payload/commit/4d6871abc854385121c761eea4e4705f45c35832))
2613
+
2614
+ ## [0.1.138](https://github.com/payloadcms/payload/compare/v0.1.137...v0.1.138) (2021-01-06)
2615
+
2616
+ ### Bug Fixes
2617
+
2618
+ - removes old css ([6066f28](https://github.com/payloadcms/payload/commit/6066f2896a5c1e21137d41404f2a6161ef6de7a2))
2619
+
2620
+ ## [0.1.137](https://github.com/payloadcms/payload/compare/v0.1.136...v0.1.137) (2021-01-05)
2621
+
2622
+ ### Bug Fixes
2623
+
2624
+ - removes prod devtool ([6808637](https://github.com/payloadcms/payload/commit/680863702e67d69dc4ec8d6a48b0e1402164cc97))
2625
+
2626
+ ## [0.1.136](https://github.com/payloadcms/payload/compare/v0.1.135...v0.1.136) (2021-01-05)
2627
+
2628
+ ## [0.1.135](https://github.com/payloadcms/payload/compare/v0.1.134...v0.1.135) (2021-01-05)
2629
+
2630
+ ## [0.1.134](https://github.com/payloadcms/payload/compare/v0.1.133...v0.1.134) (2021-01-05)
2631
+
2632
+ ### Bug Fixes
2633
+
2634
+ - updates payload-config path within webpack ([6bf141c](https://github.com/payloadcms/payload/commit/6bf141c6d4707e622f56f5df4f8f3f366d847173))
2635
+
2636
+ ## [0.1.133](https://github.com/payloadcms/payload/compare/v0.1.132...v0.1.133) (2021-01-05)
2637
+
2638
+ ## [0.1.132](https://github.com/payloadcms/payload/compare/v0.1.131...v0.1.132) (2021-01-05)
2639
+
2640
+ ### Bug Fixes
2641
+
2642
+ - renames webpack config alias ([c0636df](https://github.com/payloadcms/payload/commit/c0636dfe220b72c129c4e2b144e5714755a20043))
2643
+
2644
+ ## [0.1.131](https://github.com/payloadcms/payload/compare/v0.1.130...v0.1.131) (2021-01-05)
2645
+
2646
+ ## [0.1.130](https://github.com/payloadcms/payload/compare/v0.1.129...v0.1.130) (2021-01-05)
2647
+
2648
+ ## [0.1.129](https://github.com/payloadcms/payload/compare/v0.1.128...v0.1.129) (2021-01-05)
2649
+
2650
+ ## [0.1.128](https://github.com/payloadcms/payload/compare/v0.1.127...v0.1.128) (2021-01-05)
2651
+
2652
+ ### Bug Fixes
2653
+
2654
+ - adds default thumbnail size ([f582a25](https://github.com/payloadcms/payload/commit/f582a254cd6b6f56bb8146923f3ab0130a4b7859))
2655
+ - config validation of block imageURL ([c572057](https://github.com/payloadcms/payload/commit/c572057706f58f7759e167a724837f84e88d0d10))
2656
+ - default config value for email removed as the property was moved out of config ([cf89d4c](https://github.com/payloadcms/payload/commit/cf89d4cb56add645e68cf0be31d943b734dabe39))
2657
+ - demo email start on payload init ([57d2c86](https://github.com/payloadcms/payload/commit/57d2c8602fb81a5d67d34a38c25a0429c2b9c44b))
2658
+ - Edit view main / sidebar widths ([e067fa1](https://github.com/payloadcms/payload/commit/e067fa12b2465d4767bc35b5f1ec0de8096f7439))
2659
+ - graphQL access ([4d871c2](https://github.com/payloadcms/payload/commit/4d871c27f6eefea26ec55302e654fc3b0f4a2933))
2660
+ - graphQL logout ([709cc9c](https://github.com/payloadcms/payload/commit/709cc9c294d959913b382e24dd0d7002d6a7c9cd))
2661
+ - improves edit view layout constraints ([0f7046b](https://github.com/payloadcms/payload/commit/0f7046b98efd82caf98d0d872bd6e68b076452a1))
2662
+ - issues with select hasMany ([a0bf503](https://github.com/payloadcms/payload/commit/a0bf503f888b7fde0c9660e9f8a461da2fab5d67))
2663
+ - lowecases joi like everywhere else in payload ([5823a86](https://github.com/payloadcms/payload/commit/5823a864f926bc6441267a21277059a368410b92))
2664
+ - payload config remove types for email ([faec969](https://github.com/payloadcms/payload/commit/faec969752622c70e9175cc226d888bf32ec732c))
2665
+ - reinstate explicit labels for AllFields collection ([885c73c](https://github.com/payloadcms/payload/commit/885c73c838c597ac03f79558af9946686274969f))
2666
+ - removes delete and unlock from baseField type and schema ([4fa942f](https://github.com/payloadcms/payload/commit/4fa942f3a02089c8320e483b896a59627c28f11e))
2667
+ - removes old reliance on config.email ([e093e06](https://github.com/payloadcms/payload/commit/e093e06926e55916ddb0bdb6f17e0317dfab951c))
2668
+
2669
+ ### Features
2670
+
2671
+ - allows for refresh operation to accept a deliberately specified token ([7d05069](https://github.com/payloadcms/payload/commit/7d05069f361d30ff36d990e0926a60b1c374149a))
2672
+ - types this within crreate op ([d43ff8b](https://github.com/payloadcms/payload/commit/d43ff8b4a764dd203fa7eebda28b09dc21a88e31))
2673
+
2674
+ ## [0.1.127](https://github.com/payloadcms/payload/compare/v0.1.126...v0.1.127) (2020-12-31)
2675
+
2676
+ ### Bug Fixes
2677
+
2678
+ - converts class methods to arrow functions ([662839f](https://github.com/payloadcms/payload/commit/662839fb06e95001bb0ef20c4f318cc4c2fccc31))
2679
+
2680
+ ## [0.1.126](https://github.com/payloadcms/payload/compare/v0.1.125...v0.1.126) (2020-12-30)
2681
+
2682
+ ### Bug Fixes
2683
+
2684
+ - adds delete and unlock to joi baseField schema ([36d51de](https://github.com/payloadcms/payload/commit/36d51de201b27ef91f43f05992d980ad306ba9f3))
2685
+
2686
+ ## [0.1.125](https://github.com/payloadcms/payload/compare/v0.1.124...v0.1.125) (2020-12-30)
2687
+
2688
+ ### Bug Fixes
2689
+
2690
+ - removes prod source maps ([eeea06d](https://github.com/payloadcms/payload/commit/eeea06d6aaa84efdfb479baf1baad7bdf038d7cd))
2691
+
2692
+ ## [0.1.124](https://github.com/payloadcms/payload/compare/v0.1.123...v0.1.124) (2020-12-30)
2693
+
2694
+ ### Bug Fixes
2695
+
2696
+ - disable requiring default props in eslint ([64cf321](https://github.com/payloadcms/payload/commit/64cf32146ad75d8ce3e5f3e8e690391ac7884819))
2697
+ - disables inline sourcemaps for admin dist ([8090b2a](https://github.com/payloadcms/payload/commit/8090b2a23bb6298fdd998d9a72c6f596e7473cb0))
2698
+ - type issues that arose from reorganizing certain config props ([0c03c2e](https://github.com/payloadcms/payload/commit/0c03c2e3af34657e3dde1c3f2b675840147f78ec))
2699
+ - updates typing on DatePicker component and joi schema ([5100fd3](https://github.com/payloadcms/payload/commit/5100fd35dc796c5862ef9fd7261abdcba925b020))
2700
+ - webpack config override ([8401400](https://github.com/payloadcms/payload/commit/84014001297519ce7f82f691fb2c4d1c525222f9))
2701
+
2702
+ ### Features
2703
+
2704
+ - allows for adding custom CSS in addition to SCSS overrides ([544a4db](https://github.com/payloadcms/payload/commit/544a4dbd3ab17e1c8c9ed864fe17b7359883d845))
2705
+
2706
+ ## [0.1.123](https://github.com/payloadcms/payload/compare/v0.1.123...v0.1.123) (2020-12-28)
2707
+
2708
+ ### Bug Fixes
2709
+
2710
+ - allows config validation to accept esmodules as components ([b8ad84c](https://github.com/payloadcms/payload/commit/b8ad84c525e597e237caf05e00832ded30668a6b))
2711
+ - prod webpack publicPath ([8bda6ea](https://github.com/payloadcms/payload/commit/8bda6eaa762dff0027036d918155f4618740a84c))
2712
+
2713
+ ## [0.1.122](https://github.com/payloadcms/payload/compare/v0.1.121...v0.1.122) (2020-12-28)
2714
+
2715
+ ### Bug Fixes
2716
+
2717
+ - improves field schema validation ([db13512](https://github.com/payloadcms/payload/commit/db135129d84bab9df03516ebfa2b667acead3cc9))
2718
+ - safely accesses field permissions ([1fff737](https://github.com/payloadcms/payload/commit/1fff7374d43921d203b9b655ac64dbed3867ad2a))
2719
+
2720
+ ### Features
2721
+
2722
+ - sends config through babel/register ([fec718e](https://github.com/payloadcms/payload/commit/fec718e9e523b1e92ca2dc216d99eef2dcbed83a))
2723
+ - splits tsconfig between admin and server ([efe0b40](https://github.com/payloadcms/payload/commit/efe0b40aca4b88084c71f851604d08cae1d62a9a))
2724
+
2725
+ ## [0.1.121](https://github.com/payloadcms/payload/compare/v0.1.120...v0.1.121) (2020-12-27)
2726
+
2727
+ ## [0.1.20](https://github.com/payloadcms/payload/compare/v0.1.19...v0.1.20) (2020-12-27)
2728
+
2729
+ ### Bug Fixes
2730
+
2731
+ - production webpack css ([6e83edc](https://github.com/payloadcms/payload/commit/6e83edc988e9284ec52164fc6399f45ab5851652))
2732
+ - removes unnecessary meta defaults in admin config ([0117f18](https://github.com/payloadcms/payload/commit/0117f18eb1dd163143e18cd8061a4b96d41c411e))
2733
+
2734
+ ### Features
2735
+
2736
+ - improves edit scroll UX in Account and Globals ([604922a](https://github.com/payloadcms/payload/commit/604922a26e7aabde71b470c96ff1b27e0f7b6fc8))
2737
+ - improves scrolling UX in Edit views ([a715a42](https://github.com/payloadcms/payload/commit/a715a4206ed2cedc9b02b58339e44354c571fec5))
2738
+
2739
+ ## [0.1.19](https://github.com/payloadcms/payload/compare/v0.1.18...v0.1.19) (2020-12-27)
2740
+
2741
+ ### Bug Fixes
2742
+
2743
+ - copyfiles, autocomplete transition ([5b8c721](https://github.com/payloadcms/payload/commit/5b8c721292140e4cd0ed55d13e97c1d4cd359c98))
2744
+
2745
+ ### Features
2746
+
2747
+ - flattens build into one command ([8571dc3](https://github.com/payloadcms/payload/commit/8571dc396591487d2a2854b9fe93f5338eb10659))
2748
+
2749
+ ## [0.1.18](https://github.com/payloadcms/payload/compare/v0.1.17...v0.1.18) (2020-12-27)
2750
+
2751
+ ## [0.1.17](https://github.com/payloadcms/payload/compare/v0.1.16...v0.1.17) (2020-12-27)
2752
+
2753
+ ## [0.1.16](https://github.com/payloadcms/payload/compare/v0.1.15...v0.1.16) (2020-12-27)
2754
+
2755
+ ### Bug Fixes
2756
+
2757
+ - handle access result gracefully ([1cd578e](https://github.com/payloadcms/payload/commit/1cd578ef445499ceb3704ab28d736baaae123cbd))
2758
+ - undo property fix, field exists - bad typing ([66946c8](https://github.com/payloadcms/payload/commit/66946c86973c252585e98aa3f0a453cae9dff598))
2759
+
2760
+ ## [0.1.15](https://github.com/payloadcms/payload/compare/v0.1.14...v0.1.15) (2020-12-02)
2761
+
2762
+ ## [0.1.14](https://github.com/payloadcms/payload/compare/v0.1.13...v0.1.14) (2020-12-02)
2763
+
2764
+ ## [0.1.13](https://github.com/payloadcms/payload/compare/v0.1.12...v0.1.13) (2020-12-02)
2765
+
2766
+ ## [0.1.12](https://github.com/payloadcms/payload/compare/v0.1.11...v0.1.12) (2020-12-02)
2767
+
2768
+ ## [0.1.11](https://github.com/payloadcms/payload/compare/v0.1.10...v0.1.11) (2020-12-01)
2769
+
2770
+ ## [0.1.10](https://github.com/payloadcms/payload/compare/v0.1.9...v0.1.10) (2020-12-01)
2771
+
2772
+ ## [0.1.9](https://github.com/payloadcms/payload/compare/v0.1.8...v0.1.9) (2020-11-25)
2773
+
2774
+ ## [0.1.8](https://github.com/payloadcms/payload/compare/v0.1.7...v0.1.8) (2020-11-25)
2775
+
2776
+ ## [0.1.7](https://github.com/payloadcms/payload/compare/v0.1.6...v0.1.7) (2020-11-25)
2777
+
2778
+ ## [0.1.6](https://github.com/payloadcms/payload/compare/v0.1.5...v0.1.6) (2020-11-25)
2779
+
2780
+ ## [0.1.5](https://github.com/payloadcms/payload/compare/v0.1.4...v0.1.5) (2020-11-25)
2781
+
2782
+ ## [0.1.4](https://github.com/payloadcms/payload/compare/v0.1.3...v0.1.4) (2020-11-25)
2783
+
2784
+ ## [0.1.3](https://github.com/payloadcms/payload/compare/v0.1.2...v0.1.3) (2020-11-24)
2785
+
2786
+ ## [0.1.2](https://github.com/payloadcms/payload/compare/v0.1.1...v0.1.2) (2020-11-24)
2787
+
2788
+ ## [0.1.1](https://github.com/payloadcms/payload/compare/v0.1.0...v0.1.1) (2020-11-24)
2789
+
2790
+ # [0.1.0](https://github.com/payloadcms/payload/compare/v0.0.141...v0.1.0) (2020-11-24)
2791
+
2792
+ ### Bug Fixes
2793
+
2794
+ - **webpack:** more require.resolves needed ([924eb1d](https://github.com/payloadcms/payload/commit/924eb1d0b566eb7bb3912018e06cf431e5a85524))
2795
+ - **webpack:** use require.resolve for modules ([badd59a](https://github.com/payloadcms/payload/commit/badd59ac38e10e9caf700eece5761e7d65341c21))
2796
+ - add missing webpack dep path-browserify ([8789dae](https://github.com/payloadcms/payload/commit/8789dae155bbb93fdef5104cc616e0a29b1b6409))
2797
+
2798
+ ### Features
2799
+
2800
+ - add initial types ([983bf71](https://github.com/payloadcms/payload/commit/983bf713b395a68d2374f2446a8a759aeda48579))
2801
+
2802
+ ## [0.0.141](https://github.com/payloadcms/payload/compare/v0.0.140...v0.0.141) (2020-11-20)
2803
+
2804
+ ## [0.0.140](https://github.com/payloadcms/payload/compare/v0.0.139...v0.0.140) (2020-11-20)
2805
+
2806
+ ### Features
2807
+
2808
+ - show email creds when explicitly set to 'mock' ([dbd305a](https://github.com/payloadcms/payload/commit/dbd305acc5b083cea08227cbff8afebe8aa4c374))
2809
+ - use react-toastify for notifications ([131dd51](https://github.com/payloadcms/payload/commit/131dd51c39b08c2235582d23deb53188a04e5d80))
2810
+ - validate admin user ([83d32e4](https://github.com/payloadcms/payload/commit/83d32e44498460584bbc82512df91848bcf7cf47))
2811
+
2812
+ ## [0.0.139](https://github.com/payloadcms/payload/compare/v0.0.138...v0.0.139) (2020-11-17)
2813
+
2814
+ ### Bug Fixes
2815
+
2816
+ - missed a file ([f52836a](https://github.com/payloadcms/payload/commit/f52836a7e342ecccd7409ba382eade43adb18d90))
2817
+
2818
+ ## [0.0.138](https://github.com/payloadcms/payload/compare/v0.0.137...v0.0.138) (2020-11-17)
2819
+
2820
+ ### Bug Fixes
2821
+
2822
+ - allow e-mail to be unconfigured, remove default fromName and fromAddress ([dceeeaa](https://github.com/payloadcms/payload/commit/dceeeaac6a1a9057cdd9f973c7500b3763514f0a))
2823
+ - auth json schema didn't allow auth as boolean ([0694a09](https://github.com/payloadcms/payload/commit/0694a09abdde59eb8e785301230ed4e8e244c84a))
2824
+ - properly concat verification and locking fields ([2624ad5](https://github.com/payloadcms/payload/commit/2624ad5f7e50332eb9212877d0eefcdcb2fa399b))
2825
+
2826
+ ### Features
2827
+
2828
+ - add blind index for encrypting API Keys ([9a1c1f6](https://github.com/payloadcms/payload/commit/9a1c1f64c0ea0066b679195f50e6cb1ac4bf3552))
2829
+ - add license key to access routej ([2565005](https://github.com/payloadcms/payload/commit/2565005cc099797a6e3b8995e0984c28b7837e82))
2830
+
2831
+ ## [0.0.137](https://github.com/payloadcms/payload/commit/5c1e2846a2694a80cc8707703406c2ac1bb6af8a) (2020-11-12)