payload 0.13.10-beta.0 → 0.13.11-beta.0

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## [0.13.10-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.10-beta.0) (2021-12-21)
1
+ ## [0.13.11-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.11-beta.0) (2021-12-22)
2
2
 
3
3
 
4
4
  ### Bug Fixes
@@ -6,6 +6,7 @@
6
6
  * [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
7
7
  * [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
8
8
  * [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
9
+ * ensures getDataByPath works ([140a3aa](https://github.com/payloadcms/payload/commit/140a3aa9eafa29b2a43bdfd8883c79c6ee4a93e4))
9
10
 
10
11
 
11
12
  ### Features
@@ -13,7 +14,7 @@
13
14
  * builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
14
15
  * exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
15
16
 
16
- ## [0.13.9-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.9-beta.0) (2021-12-21)
17
+ ## [0.13.10-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.10-beta.0) (2021-12-21)
17
18
 
18
19
 
19
20
  ### Bug Fixes
@@ -28,29 +29,6 @@
28
29
  * builds custom routes API, Before/After Dashboard and Nav custom components ([e337c62](https://github.com/payloadcms/payload/commit/e337c62ba179821c994404a2b693871b2401861b))
29
30
  * exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
30
31
 
31
- ## [0.13.8-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.8-beta.0) (2021-12-20)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
37
- * [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
38
- * [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
39
-
40
-
41
- ### Features
42
-
43
- * exports custom text and select inputs ([52edb5b](https://github.com/payloadcms/payload/commit/52edb5b77f45e267c43a284c5591044ac4d726e7))
44
-
45
- ## [0.13.7-beta.0](https://github.com/payloadcms/payload/compare/v0.13.6...v0.13.7-beta.0) (2021-12-14)
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * [#370](https://github.com/payloadcms/payload/issues/370), only performs password functions when auth enabled ([9738873](https://github.com/payloadcms/payload/commit/97388738def687f3b26eaf8de6b067f4d3758418))
51
- * [#390](https://github.com/payloadcms/payload/issues/390), safari rich text link bug ([a16b99b](https://github.com/payloadcms/payload/commit/a16b99b0c87d55f768ed74ab35708a291fc7bbb0))
52
- * [#393](https://github.com/payloadcms/payload/issues/393), ensures preview button gets up to date data ([2f47e39](https://github.com/payloadcms/payload/commit/2f47e39a9f765bd8ce437d4b7500a5b314a192a5))
53
-
54
32
  ## [0.13.6](https://github.com/payloadcms/payload/compare/v0.13.5...v0.13.6) (2021-11-30)
55
33
 
56
34
 
@@ -4,7 +4,7 @@ const getDataByPath = (fields, path) => {
4
4
  const pathPrefixToRemove = path.substring(0, path.lastIndexOf('.') + 1);
5
5
  const name = path.split('.').pop();
6
6
  const data = Object.keys(fields).reduce((matchedData, key) => {
7
- if (key.indexOf(`${path}.`) === 0) {
7
+ if (key.indexOf(`${path}.`) === 0 || key === path) {
8
8
  return {
9
9
  ...matchedData,
10
10
  [key.replace(pathPrefixToRemove, '')]: fields[key],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload",
3
- "version": "0.13.10-beta.0",
3
+ "version": "0.13.11-beta.0",
4
4
  "description": "Node, React and MongoDB Headless CMS and Application Framework",
5
5
  "license": "SEE LICENSE IN license.md",
6
6
  "author": {
@@ -85,7 +85,7 @@
85
85
  "@faceless-ui/modal": "^1.1.4",
86
86
  "@faceless-ui/scroll-info": "^1.2.3",
87
87
  "@faceless-ui/window-info": "^1.2.4",
88
- "@payloadcms/config-provider": "0.1.1",
88
+ "@payloadcms/config-provider": "^1.0.0",
89
89
  "@types/mime": "^2.0.3",
90
90
  "@types/passport-local-mongoose": "^6.1.0",
91
91
  "babel-jest": "^26.3.0",
package/docs/.DS_Store DELETED
Binary file