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