parse-server 5.0.0-alpha.1 → 5.0.0-alpha.5
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/README.md +59 -57
- package/lib/AccountLockout.js +2 -2
- package/lib/Adapters/Storage/Mongo/MongoSchemaCollection.js +20 -2
- package/lib/Adapters/Storage/Mongo/MongoStorageAdapter.js +9 -4
- package/lib/Adapters/Storage/Postgres/PostgresClient.js +1 -1
- package/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js +16 -5
- package/lib/Config.js +54 -2
- package/lib/Controllers/DatabaseController.js +18 -1
- package/lib/Controllers/SchemaController.js +14 -6
- package/lib/GraphQL/loaders/defaultGraphQLTypes.js +3 -6
- package/lib/GraphQL/loaders/parseClassMutations.js +13 -3
- package/lib/GraphQL/transformers/mutation.js +42 -7
- package/lib/LiveQuery/ParseLiveQueryServer.js +5 -5
- package/lib/Options/Definitions.js +37 -1
- package/lib/Options/index.js +1 -1
- package/lib/ParseServer.js +10 -3
- package/lib/Routers/SchemasRouter.js +41 -14
- package/lib/SchemaMigrations/DefinedSchemas.js +421 -0
- package/lib/SchemaMigrations/Migrations.js +36 -0
- package/lib/index.js +6 -2
- package/package.json +17 -10
- package/CHANGELOG.md +0 -1955
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-server",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.5",
|
|
4
4
|
"description": "An express module providing a Parse-compatible API server",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"cors": "2.8.5",
|
|
33
33
|
"deepcopy": "2.1.0",
|
|
34
34
|
"express": "4.17.1",
|
|
35
|
-
"follow-redirects": "1.14.
|
|
35
|
+
"follow-redirects": "1.14.2",
|
|
36
36
|
"graphql": "15.6.0",
|
|
37
37
|
"graphql-list-fields": "2.0.2",
|
|
38
38
|
"graphql-relay": "0.9.0",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"mime": "2.5.2",
|
|
48
48
|
"mongodb": "3.6.11",
|
|
49
49
|
"mustache": "4.2.0",
|
|
50
|
-
"parse": "3.3.
|
|
50
|
+
"parse": "3.3.1",
|
|
51
51
|
"pg-monitor": "1.4.1",
|
|
52
52
|
"pg-promise": "10.11.0",
|
|
53
53
|
"pluralize": "8.0.0",
|
|
54
54
|
"redis": "3.1.2",
|
|
55
|
-
"semver": "7.3.
|
|
55
|
+
"semver": "7.3.5",
|
|
56
56
|
"subscriptions-transport-ws": "0.10.0",
|
|
57
57
|
"tv4": "1.3.0",
|
|
58
58
|
"uuid": "8.3.2",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
|
69
69
|
"@babel/preset-env": "7.10.0",
|
|
70
70
|
"@parse/minami": "1.0.0",
|
|
71
|
+
"@semantic-release/changelog": "5.0.1",
|
|
72
|
+
"@semantic-release/commit-analyzer": "8.0.1",
|
|
73
|
+
"@semantic-release/git": "9.0.0",
|
|
74
|
+
"@semantic-release/github": "7.2.3",
|
|
75
|
+
"@semantic-release/npm": "7.1.3",
|
|
76
|
+
"@semantic-release/release-notes-generator": "9.0.3",
|
|
71
77
|
"all-node-versions": "8.0.0",
|
|
72
78
|
"apollo-cache-inmemory": "1.6.6",
|
|
73
79
|
"apollo-client": "2.6.10",
|
|
@@ -86,7 +92,7 @@
|
|
|
86
92
|
"form-data": "3.0.0",
|
|
87
93
|
"husky": "4.2.5",
|
|
88
94
|
"jasmine": "3.5.0",
|
|
89
|
-
"jasmine-spec-reporter": "
|
|
95
|
+
"jasmine-spec-reporter": "7.0.0",
|
|
90
96
|
"jsdoc": "3.6.3",
|
|
91
97
|
"jsdoc-babel": "0.5.0",
|
|
92
98
|
"lint-staged": "10.2.3",
|
|
@@ -98,6 +104,7 @@
|
|
|
98
104
|
"node-fetch": "2.6.1",
|
|
99
105
|
"nyc": "15.1.0",
|
|
100
106
|
"prettier": "2.0.5",
|
|
107
|
+
"semantic-release": "17.4.6",
|
|
101
108
|
"yaml": "1.10.0"
|
|
102
109
|
},
|
|
103
110
|
"scripts": {
|
|
@@ -114,13 +121,13 @@
|
|
|
114
121
|
"test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion",
|
|
115
122
|
"test:mongodb:4.0.27": "npm run test:mongodb --dbversion=4.0.27",
|
|
116
123
|
"test:mongodb:4.2.17": "npm run test:mongodb --dbversion=4.2.17",
|
|
117
|
-
"test:mongodb:4.4.
|
|
124
|
+
"test:mongodb:4.4.10": "npm run test:mongodb --dbversion=4.4.10",
|
|
118
125
|
"posttest:mongodb": "mongodb-runner stop",
|
|
119
|
-
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
120
|
-
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
126
|
+
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
127
|
+
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
121
128
|
"test": "npm run testonly",
|
|
122
|
-
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
123
|
-
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
129
|
+
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner stop",
|
|
130
|
+
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 nyc jasmine",
|
|
124
131
|
"start": "node ./bin/parse-server",
|
|
125
132
|
"prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
126
133
|
"prepare": "npm run build",
|