dependabot-preview[bot]
6ed0a2289a
Bump graphql from 14.4.2 to 14.5.0 ( #5958 )
...
Bumps [graphql](https://github.com/graphql/graphql-js ) from 14.4.2 to 14.5.0.
- [Release notes](https://github.com/graphql/graphql-js/releases )
- [Commits](https://github.com/graphql/graphql-js/compare/v14.4.2...v14.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-22 12:39:34 +00:00
greenkeeper[bot]
a36899533d
Update pg-promise to the latest version 🚀 ( #5956 )
...
* fix(package): update pg-promise to version 9.1.0
* chore(package): update lockfile package-lock.json
2019-08-21 23:37:13 +00:00
Antoine Cormouls
5b3a492965
GraphQL DX: Relation/Pointer ( #5946 )
...
* Add a test on deep complex GraphQL Query
* Relation/Pointer new DX + deep nested mutations
* Fix lint
* Review
* Remove unnecessary code
* Fix objectId on update
2019-08-21 14:55:34 -07:00
Manuel
89e8868a85
Get ParseConfig parameters with Master Key ( #5954 )
...
* added saving, retrieving
* added tests
* fixed typo
* added masterKeyOnly to schema controller
2019-08-20 22:12:36 -07:00
greenkeeper[bot]
422f222204
Update apollo-server to the latest version 🚀 ( #5955 )
...
* fix(package): update apollo-server-express to version 2.8.2
* chore(package): update lockfile package-lock.json
2019-08-21 04:30:52 +00:00
Lucas Alencar
b9839c1e92
feat: Avoid setting a relation as required or with a defaultValue ( #5922 )
...
* feat: Avoid setting a relation as required or with a defaultValue
* chore: Test to update a class with a relation field with options
* chore: Improve tests
2019-08-20 21:27:49 -07:00
Antonio Davi Macedo Coelho de Castro
fddd9c26b2
Fix GraphQL file upload ( #5944 )
2019-08-19 18:56:36 -05:00
greenkeeper[bot]
73b428bfac
Update uuid to the latest version 🚀 ( #5945 )
...
* fix(package): update uuid to version 3.3.3
* chore(package): update lockfile package-lock.json
2019-08-19 14:12:44 +00:00
Antonio Davi Macedo Coelho de Castro
c951e08f63
Handle shutdown on grid adapters ( #5943 )
...
* Handle shutdown on grid adapters
* Add tests
* Fix postgres test
2019-08-19 02:35:06 -05:00
Antonio Davi Macedo Coelho de Castro
f5ac94ddb2
Fix GraphQL max upload size ( #5940 )
2019-08-19 01:23:59 -05:00
Antonio Davi Macedo Coelho de Castro
c4e016e5de
Remove Buffer() deprecation notice ( #5942 )
2019-08-19 01:22:44 -05:00
Antonio Davi Macedo Coelho de Castro
f25a846c3e
Remove MongoDB unified topology deprecation notice from the grid adapters ( #5941 )
2019-08-18 22:56:26 -07:00
Diamond Lewis
1064f0c3fb
Support: serverCloseComplete option ( #5937 )
...
* Support: serverCloseComplete option
Callback when server has fully shutdown.
Please check that all cases are covered.
* handle error on startup
* fix tests
* test workaround
* remove serverCloseComplete chech on startup failure
2019-08-19 00:25:52 -05:00
greenkeeper[bot]
994cdb7cb5
Update pg-promise to the latest version 🚀 ( #5939 )
...
* fix(package): update pg-promise to version 9.0.3
* chore(package): update lockfile package-lock.json
2019-08-19 01:19:45 +00:00
Diamond Lewis
750024ffcd
Add Cloud Code guide to README ( #5936 )
...
Make the guide easily accessible
2019-08-17 21:53:57 -05:00
Antonio Davi Macedo Coelho de Castro
ee5aeeaff5
Remove nested operations from GraphQL API ( #5931 )
...
* Remove nested operations
* Improve error log
* Fix bug schema to load
* Fix ParseGraphQLSchema tests
* Fix tests
* Fix failing tests
* Rename call to callCloudCode
2019-08-17 20:02:19 +02:00
greenkeeper[bot]
47d1a74ac0
Update lint-staged to the latest version 🚀 ( #5934 )
...
* chore(package): update lint-staged to version 9.2.3
* chore(package): update lockfile package-lock.json
2019-08-17 17:54:39 +00:00
greenkeeper[bot]
989b50d838
Update husky to the latest version 🚀 ( #5932 )
...
* chore(package): update husky to version 3.0.4
* chore(package): update lockfile package-lock.json
2019-08-17 17:41:02 +00:00
greenkeeper[bot]
ef268ff4f8
Update lint-staged to the latest version 🚀 ( #5933 )
...
* chore(package): update lint-staged to version 9.2.2
* chore(package): update lockfile package-lock.json
2019-08-17 15:01:38 +00:00
Diamond Lewis
3ab9dcdfd0
Improve Live Query Monitoring ( #5927 )
...
* Improve Live Query Monitoring
* typo
2019-08-16 11:38:24 -07:00
Antoine Cormouls
cea1988ce9
GraphQL: Fix undefined Array ( #5926 )
...
* Add Spec
* Fix Undefined Array
* Nullability policy
2019-08-16 11:12:29 -07:00
Dobbias Nan
0fa315fc5b
Added array support for pointer-permissions ( #5921 )
...
* added array support for pointer permissions
* added tests for array support for pointer permissions
* Postgres fix
* simplify PG, no idea why this works
2019-08-15 23:55:12 -05:00
greenkeeper[bot]
4f8da12674
Update pg-promise to the latest version 🚀 ( #5924 )
...
* fix(package): update pg-promise to version 9.0.2
* chore(package): update lockfile package-lock.json
2019-08-15 22:02:32 +00:00
Antoine Cormouls
59b0221fec
GraphQL: Renaming Types/Inputs ( #5883 )
...
* Renaming GraphQL Types/Inputs
* Add Native Type to avoid collision
* Use pluralize for renaming
* Fixing tests
* Improve name collision management - tests passsing
* Renaming few more default types
* Rename file input
* Reverting fields types to not collide with the relay spec types
Improver users mutations
* Adding ArrayResult to the reserved list
* Fixing tests
* Add more unit tests to ParseGraphQLSchema
* Test transformClassNameToGraphQL
* Name collision tests
2019-08-15 14:23:41 -07:00
Diamond Lewis
cf6e79ee75
Fix: Lint no-prototype-builtins ( #5920 )
...
* Fix: Lint no-prototype-builtins
Closes: https://github.com/parse-community/parse-server/issues/5842
Reference: https://eslint.org/docs/rules/no-prototype-builtins
* replace Object.hasOwnProperty.call
2019-08-14 14:57:00 -07:00
Antoine Cormouls
4bffdce047
GraphQL: Inline Fragment on Array Fields ( #5908 )
...
* Inline Fragment Spec
* Inline Fragment on Arrays
* Fix Test
* Only select the root field
* Requested Changes
* Lazy Loaded ArrayResult
2019-08-14 12:25:28 -07:00
greenkeeper[bot]
45dabbbcda
Update pg-promise to the latest version 🚀 ( #5919 )
...
* fix(package): update pg-promise to version 9.0.1
* chore(package): update lockfile package-lock.json
2019-08-14 18:05:30 +00:00
greenkeeper[bot]
10ac88eec5
Update mongodb-runner to the latest version 🚀 ( #5918 )
...
* chore(package): update mongodb-runner to version 4.7.2
* chore(package): update lockfile package-lock.json
2019-08-14 12:36:39 +00:00
Antoine Cormouls
b61a34356b
Add instructions to launch a compatible Docker Postgres ( #5915 )
...
* Add instructions to launch a Docker Postgres
* Update CONTRIBUTING.md
Co-Authored-By: Tom Fox <tomfox@surprises.io >
* Update CONTRIBUTING.md
Co-Authored-By: Tom Fox <tomfox@surprises.io >
2019-08-14 09:14:56 +01:00
Diamond Lewis
1a7f64d8d9
Fix: Undefined dot notation in matchKeyInQuery ( #5917 )
...
* Fix: Undefined dot notation in matchKeyInQuery
* fix test
* fix postgres test
* improve tests
* FINAL test
2019-08-13 21:34:46 -07:00
Diamond Lewis
470bb238b5
Fix: Logger print JSON and Numbers ( #5916 )
...
* Fix: Logger print JSON and Numbers
* fix test
2019-08-13 18:44:03 -07:00
greenkeeper[bot]
4c1be61bed
Update mongodb to the latest version 🚀 ( #5914 )
...
* fix(package): update mongodb to version 3.3.0
* chore(package): update lockfile package-lock.json
* Fix tests
* Fix GraphQL tests for read preference
* Fix mongo adapter deprecation notice
* Fix the way the connections are checked, return promise when shutting down mongo
2019-08-14 01:25:49 +00:00
greenkeeper[bot]
6760ceb836
Update flow-bin to the latest version 🚀 ( #5911 )
...
* chore(package): update flow-bin to version 0.105.2
* chore(package): update lockfile package-lock.json
2019-08-13 03:36:10 +00:00
greenkeeper[bot]
5113b01ecb
Update ws to the latest version 🚀 ( #5909 )
...
* fix(package): update ws to version 7.1.2
* chore(package): update lockfile package-lock.json
2019-08-12 21:53:55 +00:00
Antoine Cormouls
9031961e86
Return specific Type on specific Mutation ( #5893 )
...
* Return specific Type on specific Mutation
* Add Optimization on Mutation
* Optimize SignUp
2019-08-12 01:38:59 -07:00
greenkeeper[bot]
6f6210387e
Update flow-bin to the latest version 🚀 ( #5903 )
...
* chore(package): update flow-bin to version 0.105.0
* chore(package): update lockfile package-lock.json
* Update flow-bin to 0.105.1
2019-08-12 07:37:25 +00:00
greenkeeper[bot]
decd04157a
Update apollo-client to the latest version 🚀 ( #5905 )
...
* chore(package): update apollo-cache-inmemory to version 1.6.3
* chore(package): update apollo-client to version 2.6.4
* chore(package): update lockfile package-lock.json
2019-08-12 07:31:53 +00:00
greenkeeper[bot]
4513edbfd3
Update eslint-plugin-flowtype to the latest version 🚀 ( #5902 )
...
* chore(package): update eslint-plugin-flowtype to version 4.2.0
* chore(package): update lockfile package-lock.json
2019-08-09 22:06:52 +00:00
greenkeeper[bot]
b3270d887b
Update eslint-plugin-flowtype to the latest version 🚀 ( #5901 )
...
* chore(package): update eslint-plugin-flowtype to version 4.0.0
* chore(package): update lockfile package-lock.json
2019-08-09 14:10:17 +00:00
dependabot-preview[bot]
b611746ae5
Bump commander from 2.20.0 to 3.0.0 ( #5899 )
...
Bumps [commander](https://github.com/tj/commander.js ) from 2.20.0 to 3.0.0.
- [Release notes](https://github.com/tj/commander.js/releases )
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tj/commander.js/compare/v2.20.0...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-09 11:03:12 +00:00
greenkeeper[bot]
7de747972e
Update husky to the latest version 🚀 ( #5895 )
...
* chore(package): update husky to version 3.0.3
* chore(package): update lockfile package-lock.json
2019-08-08 17:51:22 +00:00
SebC
b246bad5c7
Fix apple signin authAdapter ( #5891 )
...
* Fix apple signin authAdapter to use the user id instead of the user token
* Update spec
2019-08-07 18:08:14 -05:00
Antonio Davi Macedo Coelho de Castro
0e9462bfb5
Add GraphQL beta notice ( #5886 )
...
* Add GraphQL beta notice
* Add beta notice
2019-08-07 10:48:29 +01:00
Douglas Muraoka
f81da11b84
fix(GraphQL): Remove "password" output field from _User class ( #5889 )
2019-08-06 17:21:33 -07:00
Douglas Muraoka
ef14ca530d
GraphQL Object constraints ( #5715 )
...
* GraphQL Object constraints
Implements the GraphQL Object constraints, which allows us to filter queries results using the `$eq`, `$lt`, `$gt`, `$in`, and other Parse supported constraints.
Example:
```
query objects {
findMyClass(where: {
objField: {
_eq: {
key: 'foo.bar',
value: 'hello'
},
_gt: {
key: 'foo.number',
value: 10
},
_lt: {
key: 'anotherNumber',
value: 5
}
}
}) {
results {
objectId
}
}
}
```
In the example above, we have the `findMyClass` query (automatically generated for the `MyClass` class), and a field named `objField` whose type is Object. The object below represents a valid `objField` value and would satisfy all constraints:
```
{
"foo": {
"bar": "hello",
"number": 11
},
"anotherNumber": 4
}
```
The Object constraint is applied only when using Parse class object type queries. When using "generic" queries such as `get` and `find`, this type of constraint is not available.
* Objects constraints not working on Postgres
Fixes the $eq, $ne, $gt, and $lt constraints when applied on an Object type field.
* Fix object constraint field name
* Fix Postgres constraints indexes
* fix: Object type composed constraints not working
* fix: Rename key and value fields
* refactor: Object constraints for generic queries
* fix: Object constraints not working on Postgres
2019-08-02 12:18:07 -07:00
greenkeeper[bot]
e0690d0c56
Update eslint-plugin-flowtype to the latest version 🚀 ( #5881 )
...
* chore(package): update eslint-plugin-flowtype to version 3.13.0
* chore(package): update lockfile package-lock.json
2019-08-02 16:52:24 +00:00
Tom Fox
cbcca36a84
README top section overhaul + add sponsors ( #5876 )
...
* top section overhaul
add open collective sponsors
* fix bold formatting
* formatting
* add b4a logo
2019-08-01 15:11:43 +01:00
Lucas Alencar
78c42d97fd
fix: Promise is not being returned in classUpdate method ( #5877 )
...
* fix: Set falsy values as default to schema fields
* fix: Promise is not being returned in classUpdate method
2019-08-01 08:52:36 -05:00
Antonio Davi Macedo Coelho de Castro
f3b84242d7
Fix month in aggregate tests ( #5879 )
2019-07-31 19:55:16 -07:00
Antonio Davi Macedo Coelho de Castro
14a8d333a3
FIX: Transaction was aborting before all promises have either resolved or rejected ( #5878 )
2019-07-31 18:34:49 -07:00