dependabot[bot]
cc568a3929
Bump apollo-server-koa from 2.17.0 to 2.18.1 ( #8104 )
...
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-koa ) from 2.17.0 to 2.18.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-koa@2.18.1/packages/apollo-server-koa )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 09:24:50 +02:00
Alexandre Bodin
3c7c33eab7
v3.1.6
2020-09-24 14:51:49 +02:00
Diego Albitres
0670c896e3
Add privateAttributes to global and per model response ( #7331 )
...
* Added privateAttributes globally and per model
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added tests for sanitizeEntity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed broken test
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added privateAttributes to GraphQL responses
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added docs for privateAttributes
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored and fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Merged tests and fixed broken tests from merge
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Updated documentation for new option
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored GraphQL implementation
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed tests for sanitize-entity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed code and tests for ignorePrivateFor
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Exported getPrivateAttributes for GraphQL plugin
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed ignorePrivateFor from docs
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
2020-09-24 09:40:10 +02:00
Daniel dos Santos Pereira
f5f0853942
fix(plugin-graphql): Fix associaion resolver for manyWay
nature. ( #7959 )
...
This fixes strapi/strapi#4353 and all its duplicates.
Signed-off-by: Daniel dos Santos Pereira <danield1591998@gmail.com>
2020-09-22 17:05:27 +02:00
Abdón Rodríguez Davila
79a996f871
Update graphql plugin dependencies ( #7953 )
...
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
2020-09-22 17:00:40 +02:00
Peter Etelej
318f20e826
Bump up minimum required Node to 10.16 ( #7962 )
...
Updated README docs & package.json `engine` versions to bump up the
minimum required Node version from `10.10` to `10.16` (or `10.16.0+`)
Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0`
( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+
(See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 )
` yarn create strapi-app my-project --quickstart` on 10.10 fails with error
```
error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0"
error Found incompatible module.
```
Signed-off-by: Peter Etelej <peter@etelej.com>
2020-09-22 16:00:13 +02:00
Convly
736a580001
v3.1.5
2020-09-16 15:26:12 +02:00
Abdón Rodríguez Davila
d2ef1d4b8c
Allow more options to the Apollo Server config ( #7665 )
...
* Extract server config to a constant
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Omit options to server config
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Move default config to serverParams
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Simplify Apollo server config
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Simplify with a new apolloServerConfig property
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Update tracing documentation
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Extract deprecated options
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Add default options
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Update documentation
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Rename to deprecatedApolloServerConfig
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Empty default options
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Update default config
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Add warning note
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Add documentation note
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Update documentation note
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Fix the config check
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Fix the config check
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
* Refactor old code and rename param to appoloServer to avoid redondancy
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Fix typo
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-04 09:51:11 +02:00
Alexandre Bodin
6905be68bc
Merge branch 'documentation'
2020-09-02 17:23:41 +02:00
DMehaffy
024b337b09
Update node version requirements for v10 to v12 ( #7409 )
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-02 17:11:59 +02:00
dependabot[bot]
71a3ba3378
Bump graphql-playground-middleware-koa from 1.6.12 to 1.6.19
...
Bumps [graphql-playground-middleware-koa](https://github.com/graphcool/graphql-playground ) from 1.6.12 to 1.6.19.
- [Release notes](https://github.com/graphcool/graphql-playground/releases )
- [Commits](https://github.com/graphcool/graphql-playground/commits/graphql-playground-middleware-koa@1.6.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 06:00:38 +00:00
soupette
fb6010369a
Fix conflicts
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-26 10:38:54 +02:00
DMehaffy
bdf3b03c7e
Merge branch 'master' into master
2020-08-15 10:32:53 -07:00
ScottAgirs
a930d6e814
Grammar fix
...
Signed-off-by: ScottAgirs <scott@ijs.to>
2020-08-13 21:30:28 -04:00
Pierre Noël
fb2db4b050
v3.1.4
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-08-13 19:05:20 +02:00
Pierre Noël
231263a353
v3.1.4
2020-08-13 18:58:14 +02:00
ScottAgirs
386984f085
improve wording
...
Signed-off-by: ScottAgirs <scott@ijs.to>
2020-08-10 15:35:15 -04:00
ScottAgirs
e06f3647ff
[update] package description
...
Signed-off-by: ScottAgirs <scott@ijs.to>
2020-08-08 15:24:30 -04:00
ScottAgirs
c3efac898d
[update README]
...
Signed-off-by: ScottAgirs <scott@ijs.to>
2020-08-08 15:24:09 -04:00
Daan van Ham
0f34541231
Merge branch 'master' into master
2020-08-07 16:16:09 +02:00
Adam
c8dc074d3b
fix(graphql): filter out orphaned relationships ( #7363 )
...
Signed-off-by: Adam Lee <admosity@users.noreply.github.com>
2020-08-07 15:55:53 +02:00
Daan van Ham
e933c28012
fixed strapi/strapi#7334 add the data-loader for admin users to the graphql-plugin
...
Signed-off-by: Daan van Ham <daan.van.ham@frontmen.nl>
2020-08-07 15:50:16 +02:00
Alexandre Bodin
97922f99ae
v3.1.3
2020-07-31 09:59:56 +02:00
Alexandre Bodin
6aaa018ff5
v3.1.2
2020-07-29 13:34:01 +02:00
Kim, Harim
b670db3c57
add engine config to apollo server params ( #7244 )
...
Signed-off-by: harimkims <harimkims@gmail.com>
2020-07-29 13:01:32 +02:00
dependabot[bot]
aea96bca68
Bump lodash from 4.17.15 to 4.17.19 ( #7239 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 11:10:32 +02:00
dependabot[bot]
33634151d4
Bump pluralize from 7.0.0 to 8.0.0 ( #7126 )
...
Bumps [pluralize](https://github.com/blakeembrey/pluralize ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/blakeembrey/pluralize/releases )
- [Commits](https://github.com/blakeembrey/pluralize/compare/v7.0.0...v8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-07-25 08:53:05 +02:00
Alexandre Bodin
35bae7df57
v3.1.1
2020-07-23 18:53:55 +02:00
Will Eldrid-Otterburn
22319dc6d0
Upgrade apollo-server-koa ( #7087 )
...
* Upgrade apollo-server-koa
Signed-off-by: Will Eldrid-Otterburn <will.eldrid-otterburn@red-badger.com>
* Set apollo-server-koa to strict version
Signed-off-by: Will Eldrid-Otterburn <will.eldrid-otterburn@red-badger.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-07-22 14:07:08 +02:00
Alexandre Bodin
1bbf1bc0dc
v3.1.0
2020-07-21 19:30:45 +02:00
Alexandre Bodin
62b2192c95
Update license info
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-20 18:40:52 +02:00
Alexandre Bodin
6bafa35a36
Merge branch 'releases/3.1.0' into features/rbac
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-18 10:12:40 +02:00
Alexandre Bodin
4d31935716
v3.0.6
2020-07-16 17:03:04 +02:00
Alexandre Bodin
b71ffa6c6c
Merge branch 'master' into features/rbac
2020-07-16 14:52:55 +02:00
Shahein Moussavi
580102f0a5
Make Strapi GraphQL an implementing service for Federation ( #6146 )
...
* Add Strapi GraphQL to Apollo Federation as implementation
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
* updated graphql plugin documentation for federation
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
* Creating separate package while waiting for Strapi PR acceptance
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
* v3.1.0-beta.0
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
* Accidentally pushed bad changes
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
* used lodash for config variable for consistency, updated comment to be more descriptive
Signed-off-by: Shahein Moussavi <shaheinm@gmail.com>
2020-07-16 09:09:59 +02:00
gp27
eb272e996c
- fix in graphql type builder ( #6075 )
...
a required attribute that has a default value it's now not required in the input schema used for entities creation
Signed-off-by: Gadi Piperno Corcos <gadi@skyriseltd.com>
Co-authored-by: Gadi Piperno Corcos <gadi@skyriseltd.com>
2020-07-16 08:45:44 +02:00
Alexandre Bodin
109e41ea1f
Fix e2e tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 13:53:56 +02:00
Alexandre Bodin
4edad86029
Add basic created_by updated_by
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:16 +02:00
soupette
7f4bb2a5bc
Update plugin object
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:04:27 +02:00
Alexandre Bodin
a4f294f1c4
Use passport standard error handling
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
soupette
62a79a5fc0
Created basic routing for the settings
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 09:45:28 +02:00
Alexandre Bodin
eaf40e1ada
v3.0.5
2020-06-23 12:18:00 +02:00
Alexandre Bodin
9ed11a6682
v3.0.4
2020-06-19 09:19:52 +02:00
Alexandre Bodin
c909d7162d
v3.0.3
2020-06-18 19:17:15 +02:00
Kim, Harim
465c19d2df
Add info to custom resolvers and add formatError to GraphQL service ( #6524 )
...
* Add info to custom resolvers, add formatError to GraphQL service
Signed-off-by: harimkims <harimkims@gmail.com>
* remove format-error service and use config instead
Signed-off-by: harimkims <harimkims@gmail.com>
2020-06-16 13:57:05 +02:00
Boom Lee
a26b4f65a8
Fix node version ( #6482 ) ( #6691 )
2020-06-16 11:32:23 +02:00
Alexandre Bodin
497fb742eb
v3.0.2
2020-06-15 17:09:15 +02:00
Thomas Pockrandt
7120bb2558
Use singularName instead of pluralName for findOne resolver ( #6574 )
...
Signed-off-by: Thomas Pockrandt <me@thomaspockrandt.com>
2020-06-08 12:32:28 +02:00
Alexandre Bodin
5b64e05d7f
v3.0.1
2020-05-29 09:38:21 +02:00
Alexandre Bodin
6bb7a7f198
v3.0.0
2020-05-26 15:09:32 +02:00