Commit Graph

7239 Commits

Author SHA1 Message Date
hasura-bot
0a418040c3 feat(server): optional args GQL argument
GITHUB_PR_NUMBER: 9497
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9497

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8340
Co-authored-by: Wsevolod <31807671+kraftwerk28@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: e436b171d88991b814cc6c7b3ed47df75795ac64
2023-06-13 14:16:40 +00:00
Tom Harding
d48493ff24 Move stored procedure validation into the schema cache builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9521
GitOrigin-RevId: a7fdfa67271df7477950ed0f2b3a68cdb38cc106
2023-06-13 13:31:06 +00:00
Anon Ray
72ada6b0fc docs: add guide on tuning cache parameters (EE only)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9261
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 96ccf1d54903f62d20dfb7f41f7c3ba112bbbcb3
2023-06-13 11:26:24 +00:00
Gil Mizrahi
9458893bc1 test stored procedures dont work in oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9517
GitOrigin-RevId: a33f9a0f0ad2ae82715269256fe997ad98bb1b72
2023-06-13 10:42:33 +00:00
Tom Harding
1ffdf73583 Roll back broken schema caches when using atomic_bulk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9486
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: ananya-2410 <107847554+ananya-2410@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: fa5a292a9a9e2e7d8477f72979ad172244f1ef23
2023-06-13 10:01:39 +00:00
paritosh-08
14b4de37f7 server: close subscriptions (with 1012) on metadata change
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9159
GitOrigin-RevId: 5ab25ef57782c126de8852f3546809feb66a9d44
2023-06-13 09:24:19 +00:00
Daniele Cammareri
4a269b84fc chore: remove isProLiteConsole function
This PR reports back to main the changes discussed here: https://hasurahq.slack.com/archives/CKATHV1J7/p1685348635635059?thread_ts=1684879014.661199&cid=CKATHV1J7

TL;DR
- we created a isProConsole function and used it in isDynamicDBRoutingEnabled. We merged this on main
- we opened a cherry pick PR
- we figured out that the isProConsole misses the license key validation feature, so the function was not doing what the function name suggested.
- in the cherry pick PR we removed the generic isProConsole function (whose name was misleading) and replaced it with an inline console type check in the isDynamicDBRoutingEnabled. (the console type-only check is ok in that particular feature)

Since the last point happened only on the cherry-pick PR, we opened this PR to do the same on the main branch.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9368
GitOrigin-RevId: e358862e479ac2efa7268787ab2ca32d5a0994b5
2023-06-13 08:22:26 +00:00
Varun Dey
d3fd27d9db console: fix neon DB connection error due to env var propagation delay
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9430
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: ea407dae924ef2e88c4cb27b2207f52dc0fdf125
2023-06-12 18:00:53 +00:00
Daniel Harvey
aeb8bc4c7a chore(server): fix types of BigQuery parameters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9511
GitOrigin-RevId: f291814fab80060d83fabc34af918682c8108b7c
2023-06-12 17:13:12 +00:00
Tom Harding
be658e532c Fail to track logical models with invalid child logical models
[NDAT-719]: https://hasurahq.atlassian.net/browse/NDAT-719?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9474
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 0234548c5fc56e3e9e2d5d291735d132c5963a14
2023-06-12 16:27:56 +00:00
Tom Harding
d864fff13f Move query validation into the schema cache building code
[NDAT-707]: https://hasurahq.atlassian.net/browse/NDAT-707?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9510
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 11474498c75bfe1eb1173fed1073cc0206d290a1
2023-06-12 14:57:41 +00:00
Rob Dominguez
9e3c813b7e docs: add sanity bearing additions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9423
GitOrigin-RevId: 7ba96b5fb1431267530673f86ac6685d4a408b0d
2023-06-12 12:19:36 +00:00
Auke Booij
a53ab33330 server: hotfix for wrong PG conn pool, broken metrics, etc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9481
GitOrigin-RevId: 58aa470b94cc578ae86fff0ef49ceb9e479199d1
2023-06-12 12:14:57 +00:00
Luca Restagno
00c822e439 docs: add documentation for logical models in the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9395
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 2d26c9f7700e17de3b2248fcf6b944f1576caa7b
2023-06-12 11:18:20 +00:00
Rob Dominguez
7fde2f4973 docs: add note and pointer to restified api docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9458
GitOrigin-RevId: aa90396975c1cf78adb3da8d08bcdc170a05ec48
2023-06-12 09:52:30 +00:00
Anon Ray
c23320054d server: emit logs when stored introspection is used
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9472
GitOrigin-RevId: 9be2eaa9ebc5f39a7bb44a1fc2340acbd4074bcd
2023-06-12 08:53:05 +00:00
Vijay Prasanna
31c6699013 console (tests): add unit and interaction tests for ConnectPostgresWidget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9478
GitOrigin-RevId: 1fbfca3839b488fc46d774d8883cc74e44d22abe
2023-06-12 08:52:56 +00:00
Daniel Harvey
d5467d8d3a chore(server): add track_logical_model and untrack_logical_model to bulk_atomic command
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9484
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: d10490be355e859396e20e2a4a66361ed9d01893
2023-06-12 06:52:39 +00:00
Philip Lykke Carlsen
42916ad6c2 docs: Port Postgres docs of Native Queries and Logical Models to other supported backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9483
GitOrigin-RevId: e2e52c14cdde2eabb7f23b5d4991fd467609b313
2023-06-09 13:58:31 +00:00
Rakesh Emmadi
89ca064db5 server: update the logic of fetching stored introspection and fix evaluating partial stored introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9489
GitOrigin-RevId: e18a6d32c7dcf4d4af077c72cffb6e4498ef838f
2023-06-08 20:33:16 +00:00
Julian
77786f2a6d Re-add Neon dashboard link to manage DBs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9482
GitOrigin-RevId: 58a739c0cce943f9922fe0e3d4251a8ac19ced63
2023-06-08 19:37:44 +00:00
Rishichandra Wawhal
db1b6cf424 frontend: Schema registry UI improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9479
GitOrigin-RevId: 306df780cfb9cc39a335abd98706ae2fe4293700
2023-06-08 18:33:10 +00:00
Anon Ray
c3527e3c98 server/pro: increase the defaults of cache params in EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9470
GitOrigin-RevId: aa565de9d9876ae381e791a30c747fbefd96f69a
2023-06-08 16:57:36 +00:00
Philip Lykke Carlsen
e3ba41324b docs: logical model references, native query relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9462
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 29a40ebf19c60fa182449c3721bf1d8d9f2d999f
2023-06-08 14:04:09 +00:00
Rikin Kachhia
5601e1bd1f update install manifests with v2.27.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9480
GitOrigin-RevId: e41a50f9d3144a8306e16de458d06d3683b80cce
2023-06-08 13:57:55 +00:00
Julian
3e6b7816df Improve loading UX on permissions editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9457
GitOrigin-RevId: 548c4ccadd4672d7cbdb12e637e919243edb0f2a
2023-06-08 13:22:38 +00:00
Daniel Harvey
be252cddf7 chore(ci-info): fix various compiler warnings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9461
GitOrigin-RevId: 2160bd10c5464fad34bb5b9057beaa718c58a2ae
2023-06-08 12:25:22 +00:00
Rob Dominguez
b9b9ce361d docs: add missing explanations on logging page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9436
GitOrigin-RevId: 08bd33be10aa35e363b0bc665e2ee656c2178cb2
2023-06-08 11:44:24 +00:00
Martin Mark
a35e8ef691 Docs: MongoDB - Initial Draft
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9403
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: a2279a425d93f7cab22c47de9eda4cd913fbefe8
2023-06-08 10:52:05 +00:00
Vishnu Bharathi
88ca45fca3 ci: tag release v2.27.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9475
GitOrigin-RevId: 20482cd02b2466d4ae9ec30bb3dda67928dfd13d
2023-06-08 10:15:39 +00:00
pranshi06
1372a649df server: add support for ES-* ( ES256, ES384 and ES512) algorithms for signing the JWT
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9273
GitOrigin-RevId: e891a14e992e4345f5470e1e99dbfc21d9105c31
2023-06-08 09:27:42 +00:00
Daniel Chambers
d918e701a1 Upgrade cabal version used in CI server-build
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9471
GitOrigin-RevId: 006e63b2ad366ad6369e654beacd8768a570922c
2023-06-08 08:32:15 +00:00
hasura-bot
d4263d286a Use COPY --chmod to remove duplicated layer.
GITHUB_PR_NUMBER: 9687
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9687

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9407
Co-authored-by: Greg Schofield <3594838+gscho@users.noreply.github.com>
GitOrigin-RevId: 1d3a402cce66d01c2c85ee3b0b46ac6b4ce793c7
2023-06-07 22:55:45 +00:00
Matthew Goodwin
dc7a1f2270 console: bugfix to resolve error when using connection parameters with postgres/citus
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9465
GitOrigin-RevId: 8ee65b734314e6bfc7bd2806dc0ba77334e30c5c
2023-06-07 21:50:01 +00:00
surendran82
4613aaf56e docs: hasuracon banner ui updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9463
GitOrigin-RevId: 4310a82f05ebf09f81e24c15904d1e59089856ed
2023-06-07 18:23:43 +00:00
Luca Restagno
0407229c83 fix adapting of legacy notification to the new toast system
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9415
GitOrigin-RevId: bfc3d9f18a459e74b9f2b37dac6c4858c26acefa
2023-06-07 16:41:26 +00:00
Samir Talwar
092be72ac1 CI: Upgrade ci-util to use the latest Ubuntu and Docker patches.
It's been a while.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9440
GitOrigin-RevId: 15d3dabd23ae640ea1d6afeea2be9d59176c19e7
2023-06-07 15:17:04 +00:00
Rob Dominguez
60ba0566db docs: sidebar grouping
[DOCS-1023]: https://hasurahq.atlassian.net/browse/DOCS-1023?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9427
GitOrigin-RevId: afe1325ce28f4432bbba98b48016da0e7b90d733
2023-06-07 14:47:09 +00:00
Luca Restagno
eefa345bf8 Fixes and improvements on Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9433
GitOrigin-RevId: 2a9b31e4867871a2f6c51db3c6449e0f496266c7
2023-06-07 13:15:07 +00:00
Varun Choudhary
504ef83b11 console: In the rest details, send the request variable value as a JSON object if type of variable is JSON instead of a string
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9396
GitOrigin-RevId: 5a72d144e6b47ef986ed056490649e791d3f1bea
2023-06-07 12:47:25 +00:00
Daniel Harvey
93860fd244 chore(tooling): fix make ghcid-* commands
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9453
GitOrigin-RevId: 491b1a82e1c820a5642f023fb409cf1e9844be5d
2023-06-07 12:20:11 +00:00
Varun Choudhary
0a55d3cf70 console: fix action with transform e2e tests
This PR fixes e2e tests for action with transforms

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9452
GitOrigin-RevId: b8f2254969a8d6fe3b64e468e114b0e509d48f2d
2023-06-07 11:42:10 +00:00
Toan Nguyen
4e990f5e58 server: fix the invalid CU memory limit allocation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9398
GitOrigin-RevId: 105162ca352f600ff52f21cdff4dd8f515dd36b9
2023-06-07 09:22:51 +00:00
kodiakhq[bot]
6f3359ae96 chore(tooling): import ekg-json into the monorepo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9424
Co-authored-by: Johan Tibell <17277+tibbe@users.noreply.github.com>
Co-authored-by: Oleg Grenrus <51087+phadej@users.noreply.github.com>
Co-authored-by: Mikhail Glushenkov <47439+23Skidoo@users.noreply.github.com>
Co-authored-by: Eric Conlon <37287+ejconlon@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: f493865321da664cef45e5f56f33bb00ae03c713
2023-06-07 08:38:48 +00:00
Jesse Hallett
d08222b8cf regenerate dc-api types with new definition order after ghc 9.4.5 upgrade
## Description

After the GHC 9.4.5 upgrade the generated dc-api openapi spec was emitted with a different order. This change regenerates the version-controlled spec and types with the new order so that our CI check will pass. Other than order of fields these files are the same as before.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9446
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: fbe00bef95e92cbe82b5213060826d096e98032d
2023-06-07 01:01:48 +00:00
Tom Harding
2c5e89e5d8 Fix array relationship aliasing (good news)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9438
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 14b225ad8c834f2aa9863cee951d39f203046282
2023-06-06 17:21:05 +00:00
Daniel Harvey
0c38a693ac chore(ci): Use hlint github action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9434
GitOrigin-RevId: 2205da4c6384b89d31f830a5119514154019566d
2023-06-06 16:00:22 +00:00
Brandon Simmons
440a8664de server: Upgrade the HGE server to GHC 9.4.5
Upgrade to GHC 9.4.5, and update any tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
2023-06-06 13:29:30 +00:00
Karthikeyan Chinnakonda
a0b2f29b93 server: generate streaming subscription field only when there is at least one cursor column accessible
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9399
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: bd7f3fe3e95609c1634d531b95981c8ba15fba4e
2023-06-06 12:04:47 +00:00
Daniel Harvey
e7929f9661 chore(hedis): replace missing test/Main.hs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9431
GitOrigin-RevId: 24ddc07a7036ed3032fafebe3b39c698caf08ae0
2023-06-06 09:48:40 +00:00