Commit Graph

3113 Commits

Author SHA1 Message Date
paritosh-08
249a3f4c77 server: support __typename for subscriptions with namespace
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9745
GitOrigin-RevId: 6fa271d94981e906be213e090b8455eb5ed51269
2023-07-04 11:53:52 +00:00
Tom Harding
cafd9cf9ae Add URI parsing functions to pg-client
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9746
GitOrigin-RevId: 1907b00e4cb1d05bf7f5dd7bb431a58863eb5168
2023-07-04 10:49:29 +00:00
Tom Harding
ae868c42ae Remove version bounds from pg-client
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9743
GitOrigin-RevId: f882ea4fcd8c536bc98255d3009f8f8e3cff8190
2023-07-04 08:47:26 +00:00
Puru Gupta
e69d4c445f server: update websocket to be graphql-ws protocol complaint in case of connection failure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9707
GitOrigin-RevId: 6695d107169cd82b598ea53623b7a16974749fb0
2023-07-04 06:55:40 +00:00
Krushan Bauva
eb02f33c0e server: fix poller error metric not decrementing when subscriptions are closed
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9589
GitOrigin-RevId: 8e3bd019f632d7dd5010cdc147bd561856b21ad2
2023-07-03 11:30:08 +00:00
Daniel Harvey
f18a78bad4 chore(server): Postgres array enums fix
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9727
GitOrigin-RevId: a3d998083dfea171d15f20ae0774de8f3e627d49
2023-06-30 18:44:33 +00:00
Philip Lykke Carlsen
e686963b24 fix(tests): Don't assert on error message
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9726
GitOrigin-RevId: 7120b2a1f32b44c5fb4aae3387859e50b58b2a33
2023-06-30 12:30:22 +00:00
Philip Lykke Carlsen
57690491af fix: Soften validation requirements for nested inserts
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9721
GitOrigin-RevId: 794b6769b56dcb0bea3640ac9eb837e7f1e8375c
2023-06-29 14:17:04 +00:00
Tom Harding
5d027f9861 Remove some TemplateHaskell from Hasura.SQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9699
GitOrigin-RevId: 63d6a229f1feadcb07fac86181d4361d9229ef67
2023-06-29 10:32:19 +00:00
Daniel Harvey
cb02a9a034 chore(server): add tests/support for inserting JSON arrays
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9704
GitOrigin-RevId: 4c2820c302d056bed92bf61e3670419c6da1563e
2023-06-29 09:50:36 +00:00
Tom Harding
5029b67a23 Remove the last of the obvious Aeson TemplateHaskell
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9700
GitOrigin-RevId: bed540315d7bca4329cfb41231685f15b9b6e9ad
2023-06-28 15:45:09 +00:00
Naveen Naidu
a367525e68 server/postgres: delete input validation [experimental]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9666
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 5fa7702401065869c953b23c6734b9b367247634
2023-06-28 13:46:00 +00:00
Tom Harding
a5583761aa Remove some TemplateHaskell from Postgres.Backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9697
GitOrigin-RevId: fa6cc434eda04c855d67f2f87591df2a609916ff
2023-06-28 13:02:04 +00:00
Tom Harding
f8002894c9 Remove some TemplateHaskell from Hasura.RemoteSchema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9689
GitOrigin-RevId: 6ac85d35faa211713c58e695efc996b9f930baf1
2023-06-28 12:28:56 +00:00
Tom Harding
785941f1ae Remove some TemplateHaskell from RQL.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9698
GitOrigin-RevId: ca55c61720e8fbf9c3a3672cb41e1339cf61542d
2023-06-28 11:38:41 +00:00
Tom Harding
863fae05a2 Remove some TemplateHaskell from Hasura.GraphQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9693
GitOrigin-RevId: 4cdb0a3bf730d6f97697be83969b51bb4d881c41
2023-06-28 11:02:59 +00:00
Naveen Naidu
c30d4f0564 server/postgres: update input validation [experimental]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9665
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 35bd769281982833e86c5bb708b3edf5a040708b
2023-06-28 10:19:54 +00:00
Vishnu Bharathi
bde14fd40e ci: tag release v2.28.1 and v2.29.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9694
GitOrigin-RevId: e54cf7b4e04540e6d8af2c64a28c121dcb1dc990
2023-06-28 09:12:43 +00:00
Daniel Harvey
8e6ec8b60d feat(server): native Postgres array support
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9673
GitOrigin-RevId: 2dfbc07acf9da879910acfc9885bb7138b81e883
2023-06-28 08:47:59 +00:00
Tom Harding
5c3540d3bd Remove some TemplateHaskell from Hasura.Server
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9691
GitOrigin-RevId: 6c3dfdf48b624c8f0d56da0b218ded7cd4c23386
2023-06-28 07:56:25 +00:00
kodiakhq[bot]
d4e368324d chore(tooling): import ekg-prometheus into the monorepo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9526
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 131739ab8e68165453fd47d1eafcc7957ec6f411
2023-06-27 18:37:11 +00:00
Samir Talwar
699ba62def server: Rename "error-message" to "hasura-error-message".
There is already a library in Hackage called "error-message".

This breaks the Nix build as we end up overriding that library, which causes a change to any of its dependents.

Outside Nix, Shadowing isn't strictly a problem, but it's prudent to avoid it in case we accidentally end up with the other library in edge cases.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9679
GitOrigin-RevId: e3f54fd4e5eafec9b0a00128767daad0c8aeab72
2023-06-27 16:51:06 +00:00
Samir Talwar
4049fbd728 server: Use program-options from Cabal 3.8 to spread ghc-options everywhere.
This makes it far easier to add new packages without having to add GHC flags everywhere.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9684
GitOrigin-RevId: 1470b618a7e6582ad5053680c89df0c81920402e
2023-06-27 15:50:41 +00:00
Tom Harding
87abdf17a1 Allow __typename in BigQuery aggregate queries
[NDAT-532]: https://hasurahq.atlassian.net/browse/NDAT-532?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9677
GitOrigin-RevId: aae8a57461588c8ef8ace943ac7077445c05c4a5
2023-06-27 10:29:13 +00:00
David Overton
37560dde8f Dmoverton/schemaless capability
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9667
GitOrigin-RevId: 41b3928e976703633437ef14624ec00fb0a8498d
2023-06-27 05:49:03 +00:00
paritosh-08
20ffd73921 server: fix schema-registry inconsistent metadata bug
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9670
GitOrigin-RevId: 923b6111c44713956c3b6ee5499712e8b23effea
2023-06-26 18:20:41 +00:00
Sean Park-Ross
b53f1d7406 docs: restructure observability, security & caching sections
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9554
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d14c65920049a0cc39ddc9488af34fc3d6b67467
2023-06-26 17:28:02 +00:00
Philip Lykke Carlsen
d95435ad16 fix: Restore function of optimize_permission_filters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9629
GitOrigin-RevId: 10584252fd97889c68813a21ac817238b0847a40
2023-06-26 15:43:00 +00:00
paritosh-08
bd55c39d3a server: fix schema registry server bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9644
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: dc7be1dd63c2e3a7af8582cc6109992517386faf
2023-06-26 10:57:46 +00:00
Naveen Naidu
4796a9dd69 server/postgres: insert input validation [experimental]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9620
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 345c3f763f8dd3397c999c5967af39192b944640
2023-06-25 13:48:10 +00:00
Philip Lykke Carlsen
dcbe839f3a test: test-harness improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9656
GitOrigin-RevId: 5c300851668050f6964076ceb385fef56bd9aca7
2023-06-23 19:37:51 +00:00
Gil Mizrahi
653106087c mssql isolation level option
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9626
GitOrigin-RevId: 43861a982afadd9fdefb7d8996999e051e751222
2023-06-23 15:21:03 +00:00
Puru Gupta
f2fe9cfe3b server: add support for header resolution from env vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9509
GitOrigin-RevId: 818f747422c5444fcb55419729ad58d74b890d52
2023-06-23 08:39:28 +00:00
David Overton
5b2970b44f Specify table schema via logical model in track_table API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9408
GitOrigin-RevId: 9ba20cd91e4d0066e0f14ce52cba0f55a7c5af31
2023-06-22 07:06:40 +00:00
David Overton
3e83370c96 Fix parsing of scalar types in the DataConnector backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9596
GitOrigin-RevId: 0161814a6678b67187147fcfa18d20523e480a9d
2023-06-21 06:50:51 +00:00
Vishnu Bharathi
03731621d5 ci: tag release for v2.28.0 and v2.11.8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9619
GitOrigin-RevId: 37ab8ea1a51c38b9a66372194add235928d89600
2023-06-21 04:53:11 +00:00
Samir Talwar
a394510252 packaging: Use Ubuntu Jammy for the server builder and base images.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9531
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: ac2121710324ee939c13b8e9239e54a088a525c3
2023-06-20 09:35:23 +00:00
Gil Mizrahi
f5f3367f31 include int in the like of pg types mapping and massage input
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9588
GitOrigin-RevId: 79881c0c75423de44a0bde7fba7f1379fbfa9016
2023-06-20 08:40:59 +00:00
pranshi06
3124c93673 server: configurable header length limit for warp
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9363
GitOrigin-RevId: 8dd1e6a5f51d86ed20123c7ed7d42906fe5251bb
2023-06-19 12:34:35 +00:00
Daniel Harvey
51aca1639a chore(server): stop duplicate relationships in native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9577
GitOrigin-RevId: e3698f419bc3c5e801863e66c5d2f66bd3d0f7e9
2023-06-19 09:58:02 +00:00
Daniel Chambers
27b13fb679 Add initial basic group_by IR and GraphQL parser support
[GDC-1254]: https://hasurahq.atlassian.net/browse/GDC-1254?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9571
GitOrigin-RevId: daa68115fe577a56842a08c13728c821425a0aef
2023-06-19 05:06:21 +00:00
Daniel Harvey
98fdeda54e fix(server): skip insert when no values provided for SQLServer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9564
GitOrigin-RevId: 7d95ee428b8da7e246d9f1040f04d8abe359b667
2023-06-16 08:48:48 +00:00
Gil Mizrahi
d1c1a992f5 include the response in the test-harness missing content-type assertion
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9562
GitOrigin-RevId: 2c30c85c2a7d97d2ae604f8f133f1beefbc2cacc
2023-06-15 13:42:04 +00:00
Philip Lykke Carlsen
9c2c5f6d91 refac: Handle feature flags per product
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9527
GitOrigin-RevId: 8babe4f4f28f76278d6242148b3c657112ca7745
2023-06-15 11:50:33 +00:00
Daniel Harvey
59a967cb8e chore(server): support all BigQuery types in docs page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9557
GitOrigin-RevId: b567fa72180df5f5e46037d362d5ba3806aa5f72
2023-06-15 10:21:13 +00:00
ananya-2410
2032899e7d ci: tag release v2.28.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9555
GitOrigin-RevId: c8df96ec7bf8e20ab4dfbc86fd2ebc5a6c9e5c52
2023-06-15 08:13:57 +00:00
David Overton
dd34fb85ab Be more lenient about missing values in data connector response
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9532
GitOrigin-RevId: f237a237fe5453338b71ead98fca38bb037676b0
2023-06-15 01:33:26 +00:00
Gil Mizrahi
d7ae3911c4 validate a few properties when adding a new native query or logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9543
GitOrigin-RevId: a6d962c70266799b8da4ef5ce5423f0f17316fed
2023-06-14 20:45:27 +00:00
Daniel Harvey
32fd3b4be0 chore(api-tests): enable Jaeger tracing in all Native Database test setups
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9549
GitOrigin-RevId: c3a583bec1d02e23bd340b646ab6c7c1a72f931b
2023-06-14 17:19:06 +00:00
Philip Lykke Carlsen
5d76f9cabf Feat: No feature flags for Native Queries and Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9541
GitOrigin-RevId: 81a33de3a35405c6e45cb5bad160ad00871745eb
2023-06-14 13:21:37 +00:00