Commit Graph

3350 Commits

Author SHA1 Message Date
Divi
b08997c79b ci: update ubi base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10762
GitOrigin-RevId: 7e00d6a2f44b5e2698edde3af7e12e51b8742d51
2024-04-02 06:02:45 +00:00
Vishnu Bharathi
78ba9c82bc ci: tag release v2.38.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10744
GitOrigin-RevId: 0a45e5b17b486bccc56434885981b4361754c663
2024-03-21 09:18:41 +00:00
hasura-bot
98938047b7 Alter log level of garbage collector message (fix #10172)
GITHUB_PR_NUMBER: 10173
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10173

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10738
Co-authored-by: Adam Malone <3642111+typhonius@users.noreply.github.com>
GitOrigin-RevId: 3926af6bbac0081f9510e1bdcc9a5d2c5fa2c515
2024-03-19 16:29:26 +00:00
Brandon Martin
47f4d2ac76 Add urlEncode for passwords with dynamic file
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10728
GitOrigin-RevId: 437ea6572d72034ab955482bf9f28b0950735097
2024-03-18 17:01:44 +00:00
Samir Talwar
4d1254bdce server: Log the query execution time on errors.
The server now logs timing information on error when possible, e.g. when an SQL query fails.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10730
GitOrigin-RevId: e63a773d6c58df27d23b01f53b9b895dcf290e55
2024-03-18 15:51:22 +00:00
paritosh-08
b0a3ff1d0f add operation_name and parameterized_query_hash to hasura_graphql_requests_total metric
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10725
GitOrigin-RevId: b19df2a17e94e72dde790a54e01e290b581aa560
2024-03-18 14:45:09 +00:00
Samir Talwar
4b1cf9bee7 Upgrade nixpkgs to get GHC 9.6.4.
GHC 9.6.4 has finally been merged into nixpkgs! (This took far longer than anticipated.)

We can now upgrade to get our hands on it.

I had to remove the console dev tools from the Nix shell because node.js 16 is EOL and not available in the latest nixpkgs.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10729
GitOrigin-RevId: f7236c9e284a467bfac4897afb9d452dd103786d
2024-03-18 12:14:30 +00:00
Brandon Simmons
267d7fe751 server: add the ability to force refresh of dynamic db connection str…
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10713
GitOrigin-RevId: 7aa286141a27c11609614349cad05041e55b2a0f
2024-03-14 22:50:20 +00:00
Rakesh Emmadi
083f321feb server: improve recreateTriggerIfNeeded arrow function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10724
GitOrigin-RevId: dc8e42da21801cc9a2f49e1c126d26b6d5f2e766
2024-03-14 08:19:52 +00:00
Vishnu Bharathi
801e423fbb ci: tag release v2.38.0-beta.1 and update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10721
GitOrigin-RevId: 8d4ee4fd86814890eb103b7416b819e7e64d1a3b
2024-03-13 13:55:57 +00:00
Vishnu Bharathi
9e0864c6e3 ci: tag release v2.37.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10706
GitOrigin-RevId: 2247e9dcf10600e7525a501e8216d59e9d1e124d
2024-02-28 09:43:28 +00:00
pranshi06
d4740a08a1 server: fix behaviour of error field for query and subscription in asynchronous actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10685
GitOrigin-RevId: a0deb276814b63c784a820964d3dbb320ffedae9
2024-02-22 14:21:18 +00:00
Naveen Naidu
acd3f33bb5 server: add hasura_postgres_max_connection prometheus metric
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10669
GitOrigin-RevId: 6d6607a6dd520866d1aa556bab1007afd1793a01
2024-02-20 06:01:04 +00:00
Brandon Simmons
7b3ce7d927 server: don't use 'auto-update' for log timestamp cache/refresh
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10662
GitOrigin-RevId: abefec7649098cfb6e4cc906210bc709c25301b0
2024-02-06 22:07:58 +00:00
Vishnu Bharathi
0cc2f2c5cb ci: tag release v2.37.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10656
GitOrigin-RevId: e2b623ac60706b9e74dd909f5db4b3cc8f18edef
2024-01-30 09:33:18 +00:00
kodiakhq[bot]
dd3bbef2fe Jberryman/ghc 9.6.4
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10615
GitOrigin-RevId: 8a45c92bec8444d5ec0aed125f4aa96d9c684728
2024-01-23 19:47:53 +00:00
Tom Harding
cc588a1ed3 Add support for ilike and nilike operators in BigQurey
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10638
GitOrigin-RevId: 6e97d480282b19ef0c87e08719e6421c09665d15
2024-01-23 15:28:21 +00:00
Vishnu Bharathi
fed4371f84 ci: tag release v2.36.3 and update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10641
GitOrigin-RevId: 3fd82399241442ae1d071dbb3a50c13c6bbebbd2
2024-01-23 09:01:03 +00:00
Rakesh Emmadi
f8b71fa94e server/pro/cloud: consider session variables and http headers from connection templates for query caching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10625
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 3bf7896437cb5bc40c491e6feac7c43e7d2c7e6e
2024-01-17 06:48:31 +00:00
Krushan Bauva
8b34100606 server: add a flag to specify header precedence when calling webhook in actions and input validations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10594
GitOrigin-RevId: 84f58b7b957630e2fc527ece09c026bf07f3027a
2024-01-11 13:26:36 +00:00
Vishnu Bharathi
4c9189441b ci: tag release for v2.36.2 and v2.37.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10611
GitOrigin-RevId: 3098ebad9a91ccbf3e89d1b1570d25cdd22b26b5
2024-01-11 12:24:53 +00:00
Rakesh Emmadi
726842a3f8 server/pro: support url encoded redis passwords
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10603
GitOrigin-RevId: 2278dde171c3b2ddede1cddc5708cc3a8ae67e75
2024-01-10 12:26:06 +00:00
hasura-bot
63d90dcf69 Allow reading data connector agent URLs from environment variables
GITHUB_PR_NUMBER: 10077
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10077

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10585
Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 9169e9250cbbee0fc9d47b503ead5e2219c98bc6
2024-01-04 23:23:32 +00:00
paritosh-08
7f1f0606ed add config to prioritize data/error for remote schema fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10528
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 49d0d7cbcc73fb0876d7ac3f5a1a8ff61ff800e8
2023-12-19 13:30:30 +00:00
pranshi06
004602c37f server: fix HTTP request structure leak in Async Actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10549
GitOrigin-RevId: e628fc161546c4899dc39a571290ddf0af2e2d83
2023-12-18 10:31:58 +00:00
Rakesh Emmadi
e6ca36dcb1 server: insert updated metadata and schema sync notifications in a transaction
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10558
GitOrigin-RevId: e3bb0ef2378162a5fdccc7131a584f4200404afd
2023-12-18 08:59:44 +00:00
Vishnu Bharathi
8a16671fb1 ci: tag release for v2.35.3 and v2.36.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10564
GitOrigin-RevId: 75debaf5fd6132152a66a4f5bd53acb5ca57f67a
2023-12-18 08:09:12 +00:00
Rakesh Emmadi
7fd9f0fd7c server: insert schema sync notifactions as soon as metadata is updated in the storage (hot fix)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10552
GitOrigin-RevId: 33886b5a1b648373053e1aa2920bdabeb5df69a7
2023-12-13 16:18:55 +00:00
Daniel Harvey
72e50c1556 chore: check we have fields in our Logical Model before outputting a parser
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10550
GitOrigin-RevId: 85f83274f696e381da68547bf7af098ea8f5ac11
2023-12-13 12:32:00 +00:00
Vishnu Bharathi
10c2ae745c ci: tag release v2.35.2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10545
GitOrigin-RevId: d600e0ccbff76f181517dd2f42bc0e860c6d434c
2023-12-11 16:19:20 +00:00
Samir Talwar
ae5279ccda Apply HLint's new proposed fixes.
Upgrading HLint brought in a bunch of new suggestions for improvements to the code.

I thought I'd go through them quickly and get them in.

This is not all of them, just the ones I thought were reasonable.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10505
GitOrigin-RevId: cefd661e9dcb973843b421fd0e31a5c5ffe4720f
2023-12-07 09:16:33 +00:00
pranshi06
94f01cfbb0 server: fix condition to classify requests to Apollo persisted queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10514
GitOrigin-RevId: c7ada21af3984761e8521f0fc8092e27367cdc02
2023-12-06 10:56:44 +00:00
Daniel Harvey
d9aec547f2 chore: change array lookup in introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10496
GitOrigin-RevId: 9035dcd241e46543b9c20339073698871be39666
2023-11-30 14:05:49 +00:00
Vishnu Bharathi
5768af0ee7 ci: tag release for v2.36.0-beta.1 and v2.36.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10517
GitOrigin-RevId: a075b09b4c13fff5ff3ce8f9391331d987e2669c
2023-11-29 12:31:52 +00:00
Samir Talwar
d39f30c38c Allow for columns without known types in MS SQL Server.
Sometimes, the `sys.types` table will not contain a type for a given column.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10506
GitOrigin-RevId: 7407e715a75d196f1bc0408d05f00804f85cbc55
2023-11-23 10:32:56 +00:00
Samir Talwar
73e413e1ee Specify the GHC version in one place.
There's no reason to duplicate this, and it's easy to let them get out of sync.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10502
GitOrigin-RevId: ab52a8ee636bc2abce817985971e43be0e37a874
2023-11-22 09:33:37 +00:00
Samir Talwar
0373beaed0 Upgrade nixpkgs, bump Haskell tool versions, and fix the new HLint errors.
Maintenance work to keep our server tools up to date.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10503
GitOrigin-RevId: 4402e39a5600d14c1e7d5eb4c91b152c2111f315
2023-11-22 09:02:34 +00:00
pranshi06
e80bf147f8 server: fix hide_aggregation_predicates and hide_stream_fields experimental features
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10485
GitOrigin-RevId: b7791c0244fb868d4a857a2e245ec25d05345a17
2023-11-15 16:03:58 +00:00
Rakesh Emmadi
970024569c server: reject null values for non-null variables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10333
GitOrigin-RevId: b778c225400cfb698570f58044b38396a685a6b6
2023-11-13 22:47:57 +00:00
Brandon Simmons
63d79022f6 server/benchmarks: try to remove some possible sources of non-determi…
…nism

see: https://hasurahq.slack.com/archives/C01TYPD4BEX/p1699388361615799

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10481
GitOrigin-RevId: 262d74403c7ffcd3b5f8d71b79968cc5e22ee5de
2023-11-13 18:11:15 +00:00
Vishnu Bharathi
0b56c3d317 ci: tag release v2.35.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10472
GitOrigin-RevId: 291bcd400e6af4cdf4d70db9b4b03cf272e8237e
2023-11-08 16:14:23 +00:00
Karthikeyan Chinnakonda
44584c021d Revert "Skip more unnecessary ET recreation"
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10470
GitOrigin-RevId: 7990b0b6c554e1c128996769e914abb89938ffbe
2023-11-08 16:06:36 +00:00
Vishnu Bharathi
d6887291a0 ci: tag release v2.35.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10435
GitOrigin-RevId: 8daa52f5d45b2d255b7d0538a7af60fbd9e22c6b
2023-10-30 15:36:20 +00:00
hasura-bot
77a23320b6 Omit Server Header from Server Responses by Default
GITHUB_PR_NUMBER: 9769
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9769

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10427
Co-authored-by: Andrew Louis <996681+andrewlouisx@users.noreply.github.com>
GitOrigin-RevId: 5cf62d10965d408954b996788f87a3c0d43a5126
2023-10-30 11:16:20 +00:00
hasura-bot
17e1516511 fix: escape SQL column names in MSSQL's event trigger
GITHUB_PR_NUMBER: 9926
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9926

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10378
Co-authored-by: Nakano as a Service <20109935+nakanoasaservice@users.noreply.github.com>
GitOrigin-RevId: 644e8fa2cf8c86f85c72c7a075e375a071cb5814
2023-10-30 09:19:24 +00:00
David Overton
82fa13db6e Support joins on nested fields for MongoDB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10345
GitOrigin-RevId: 1a4886b7ac5110ddf9233596068810963bde3371
2023-10-30 02:27:29 +00:00
Daniel Chambers
30ed6fc30d Dynamic from file template variables in Data Connector config Kriti transforms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10408
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: c6d7a47079d93a6c0a987cd1df7ece9fa4d1a917
2023-10-27 12:36:11 +00:00
paritosh-08
9de2ab40e2 server: throw error in subscription for fields using remote relationship permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10415
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 245c2805e312f2eb05b61eec64f714c6bd0308e4
2023-10-27 11:05:47 +00:00
pranshi06
203b85af25 pro/server: add support for automated persisted queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10370
GitOrigin-RevId: c7a6436e4bf0efd83e9751b5d3349c30ad7404e5
2023-10-27 10:04:20 +00:00
Brandon Simmons
4007104653 server: GS-650: dynamic postgres connection strings from file
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10401
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 94967922738533a80c1af33cca7feab724cc89f6
2023-10-26 22:24:39 +00:00
pranshi06
b28d6470e3 server: add $session_variables as context in response transform
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10410
GitOrigin-RevId: 3e5ec7fa414aaf07d69afa1d74a5b1d137b8b152
2023-10-25 07:29:50 +00:00
Toan Nguyen
86b0c44cae server: support env template for OpenTelemetry attributes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10405
GitOrigin-RevId: 9045304549fa0b2485a8951d38573eed4ca50a85
2023-10-24 05:08:43 +00:00
Karthikeyan Chinnakonda
317d0c6454 Improve the existing ET comments in Schema/Cache.hs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10411
GitOrigin-RevId: 9ab21cb16724e8be4aa7d8ce5f3e3c9938669a56
2023-10-23 16:32:38 +00:00
Auke Booij
79836af054 Skip more unnecessary ET recreation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10220
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
GitOrigin-RevId: 4fa064b136847fd0d0b3ab65441b359817c9b044
2023-10-23 14:45:32 +00:00
Daniel Chambers
bb5a7d7789 Fix unstable ordering in data connector agent foreach tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10396
GitOrigin-RevId: 50415d3a13d8f4c79337280bfd15fdcd3fcc8c9b
2023-10-20 21:23:17 +00:00
Vishnu Bharathi
9429d1ed01 ci: tag release v2.11.13
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10372
GitOrigin-RevId: c4714e58213a64f42308812738f321d4af9dc3b0
2023-10-10 06:15:03 +00:00
Vishnu Bharathi
73c1d38919 ci: tag release v2.11.12
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10366
GitOrigin-RevId: 4d20ec9837a2d7d06a8b1ced71efb6ad46af4855
2023-10-06 08:50:52 +00:00
Samir Talwar
cca591a7f9 CI: Test against PostgreSQL 16.
This changes our test configuration to use the PostgreSQL 16 image from `postgis/postgis`.

In addition, it bumps PostGIS to v3.4 (from v3.3).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10361
GitOrigin-RevId: 883c96d8453efb42b226f849891488382a99c80c
2023-10-05 12:59:17 +00:00
Naveen Naidu
a893b1b906 server, multitenant: model usage logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9744
Co-authored-by: pranshi06 <85474619+pranshi06@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 270755e88fd17f8fd949ac06d31e408202078544
2023-10-03 05:17:39 +00:00
Vishnu Bharathi
393d286ebf ci: tag release v2.34.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10347
GitOrigin-RevId: 8a113e6bada7a0e732633f85dc1ac1530912db6b
2023-09-28 14:54:43 +00:00
Philip Lykke Carlsen
2e3b0751f8 Revert "feat: Make naming-convention feature generally available"
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10339
GitOrigin-RevId: eebce099a4836836e6b0b2778c27c379870e2cc5
2023-09-28 12:31:55 +00:00
Brandon Simmons
5f8820c2cf server: compress response bodies with libdeflate, using level 6 for l…
…arger ones

…the goal being to save on data transfer costs, libdeflate being much faster than zlib for larger inputs and at higher compression levels. A few notes:

In last month...

- 95% of response bodies > 20kB compress below 32% (with zlib level 1)
- The 10% of responses > 20kB comprise 75% egress traffic to clients
- libdeflate at level 6 is comparable in performance to zlib level 1, and twice as fast as zlib level 6
- We expect compressing 20kB+ response bodies at level 6 to reduce data transfer to clients by 25% or so (although this is difficult to predict accurately)

The new libdeflate bindings used here also need review: https://github.com/hasura/libdeflate-hs

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10341
GitOrigin-RevId: bc7b19e0024e442d85ac0b34995610edbab13bd6
2023-09-27 08:51:02 +00:00
Krushan Bauva
f0430ef2c7 skip /healthz and /v1/version data transfers from Prometheus metrics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10332
GitOrigin-RevId: a44001272edc394a42542f2cac5c3692e771d165
2023-09-27 06:32:23 +00:00
pranshi06
33bafdf450 server: add Env Variable to set the number of requests processed at a time in async actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10326
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
GitOrigin-RevId: d88ef6e2bb0b94f1cba9903cf7338ff2931d7ee2
2023-09-26 06:23:54 +00:00
Samir Talwar
2467e23ef6 docker: Always use the official SQL Server image for testing.
Now that Docker for macOS supports using Rosetta for x86/amd64 emulation, we no longer need to use the `azure-sql-edge` image. We can always use the official `mcr.microsoft.com/mssql/server` one.

This also means that we no longer need the separate healthcheck container, because the official image ships with `sqlcmd`.

When this is merged, you will need to ensure you have enabled Rosetta emulation in the Docker settings to test against SQL Server on macOS. This requires macOS 13 (Ventura).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10139
GitOrigin-RevId: 2225bf5f4c6d3632da1f29b2229c9b04ead5e34c
2023-09-25 13:27:23 +00:00
Philip Lykke Carlsen
2d2fe93adf fix: MSSQL remote relationships handles large results
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10327
GitOrigin-RevId: c7e478f52f7aa7b44a3597886588b0c0f1e7341c
2023-09-25 08:49:43 +00:00
Vishnu Bharathi
5e2f5d470c ci: tag release v2.11.11
Doing this for https://hasurahq.slack.com/archives/C05U0N4TAC9

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10331
GitOrigin-RevId: ea2a2eb70da57634fcde70b0cae46829cac240f5
2023-09-23 20:33:18 +00:00
kodiakhq[bot]
07bad7c498 INFRA-832: logs OTLP export
https://hasurahq.atlassian.net/browse/INFRA-832

Foundational work already merged:
- #10171
- 0184ba8bfcae9b
- 699317ffd061d3

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10238
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
GitOrigin-RevId: d88c6a1aafe74e7393873aacc61e6fce3bc7c068
2023-09-13 16:49:55 +00:00
Toan Nguyen
f915c7d1a2 server: support w3c traceparent context
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10218
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>
GitOrigin-RevId: d3dbea6220fd2127ab76c0a240fc4725ca5d6aac
2023-09-13 13:42:30 +00:00
Samir Talwar
0aa5e832e5 server: Update BigQuery tests to react to a change in error messages.
BigQuery has changed its error message text. This updates the test accordingly.

We could probably be more liberal when matching the text, but as this is unlikely to change again soon, that feels like overkill.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10306
GitOrigin-RevId: 74e7926ee17e617d9ff4430b3cea220ced579ae5
2023-09-13 10:24:45 +00:00
Divi
d715387e29 ci: tag release v2.33.4
https://hasurahq.slack.com/archives/CKATHV1J7/p1694118812690519

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10291
GitOrigin-RevId: 1aee2ebfc4d91af720f9bf7763ee7afffc693e5e
2023-09-11 06:12:02 +00:00
Brandon Martin
db59d5ccf4 Add schema post and deprecate get
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10281
GitOrigin-RevId: 9fae2d61bd5120302ae199016b71e2b0ecac422a
2023-09-07 13:35:29 +00:00
pranshi06
1fbda0f430 server: fix event trigger fetch interval regression
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10276
GitOrigin-RevId: 336bad184a089239bda05a2cb105f2aa8c937d38
2023-09-07 07:23:10 +00:00
Divi
926fb8db18 ci: tag release v2.33.3
https://hasurahq.slack.com/archives/CKATHV1J7/p1694007400816709

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10278
GitOrigin-RevId: 675b6856cae8a5d4cb33c55d32163a621595f6ec
2023-09-06 16:11:53 +00:00
Samir Talwar
5e96f9a5a8 server: BigQuery: Add support for _like within permissions.
We missed a few operators in BigQuery permissions, specifically `_like` and `_nlike`. This adds them.

[NDAT-866]: https://hasurahq.atlassian.net/browse/NDAT-866?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10274
GitOrigin-RevId: 4d1ebbdd15b80d09c65c5b792c33dffd618458fe
2023-09-06 14:55:21 +00:00
Divi
d8008bc849 ci: tag release v2.34.0-beta.1
https://hasurahq.slack.com/archives/CKATHV1J7/p1693988426571569

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10270
GitOrigin-RevId: c0a145ba7fa8164ecf91252cd722bd56d95afdc8
2023-09-06 09:02:24 +00:00
Brandon Simmons
4d90170437 fix memory leaks in EE related to schema registry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10250
GitOrigin-RevId: 36f6ff0496852cf4f9c094b71c4315a9e3b27bb1
2023-09-06 02:31:55 +00:00
Divi
ec87534998 ci: tag release v2.32.2, v2.33.2
https://hasurahq.slack.com/archives/CKATHV1J7/p1693892241335089
https://hasurahq.slack.com/archives/CKATHV1J7/p1693894522095099

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10264
GitOrigin-RevId: 801a807c45b5970a7df6a045dd3fa14b1fa82467
2023-09-05 07:27:46 +00:00
Divi
494fe10925 ci: tag release v2.33.1
https://hasurahq.slack.com/archives/CKATHV1J7/p1693572172274079

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10252
GitOrigin-RevId: 749de3b1ab1acadf642b10a2a35f7d7444226988
2023-09-01 12:56:50 +00:00
Philip Lykke Carlsen
76936f0972 feat: Make naming-convention feature generally available
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10214
GitOrigin-RevId: ad99b6e4ad6dbab2b0c6fa7a09b48dcd4d06ee1f
2023-08-31 09:24:00 +00:00
Brandon Simmons
167e8f4cae server/benchmarks: configurable pause after each adhoc benchmark, bef…
…ore checking allocations

It seems like there might be some non-determinism exposed after #10206 we see a huge regression reported in live_bytes in huge_schema which apparently disappears, later reappearing in
https://github.com/hasura/graphql-engine-mono/pull/10226#issuecomment-1697897108

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10240
GitOrigin-RevId: 8e9533cb9fd7db6c002f00d1d9cb0331d574d6a2
2023-08-30 20:27:53 +00:00
Ananya Mohanty
c0f9122459 ci: tag release v2.33.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10234
GitOrigin-RevId: c67f5dde32967c6c191f4a3f6ccd364c4a0aa7a1
2023-08-30 09:41:24 +00:00
Daniel Harvey
a9cf1594f9 chore(api-tests): update Logimo test helpers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10196
GitOrigin-RevId: b858ca810b65a6adecf4afa0af3f7a71066ab149
2023-08-29 08:23:33 +00:00
Brandon Simmons
06ee5a4a7f server/benchmarks: properly benchmark pro container in EE mode
In f7400814792 we moved to benchmarking the Enterprise Edition pro container, but because we didn't successfully pipe the proper environment variables through to the docker container, we were benchmarking the pro server but in OSS mode. We would rather have visible the performance implications of as much functionality as possible,  so make another attempt to run in EE mode.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10206
GitOrigin-RevId: 83f823515d82503d1d7f0bf2b19637fad537175b
2023-08-29 02:30:44 +00:00
Philip Lykke Carlsen
b522a0f650 fix: Introduce naming-convention-sep-2023 feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10200
GitOrigin-RevId: 02654837c3b98a7cbfb89cf98a1d7b5287fed1b4
2023-08-28 08:43:08 +00:00
Philip Lykke Carlsen
a3655b0f76 refac: Add sampled feature flags to dynamic schema config
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10199
GitOrigin-RevId: c9cc446daf4ac8d754faa6875199a4f625642646
2023-08-25 09:56:59 +00:00
Toan Nguyen
d40f9057e4 server: support environment variable template for open telemetry URLs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10165
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ef145deb469007c4a04237ec2219e0f81be8d6c9
2023-08-24 02:24:46 +00:00
Philip Lykke Carlsen
3f9abc4477 chore: Linting
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10182
GitOrigin-RevId: f6680570cea8f0202e705559a048e4a654fe50bb
2023-08-23 15:39:37 +00:00
Philip Lykke Carlsen
9bce420005 refac: Reduce duplication in server init functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10181
GitOrigin-RevId: e833ae6896adaa90d02c32bd49ad2f1d683248d7
2023-08-23 14:24:56 +00:00
Philip Lykke Carlsen
ef33c3459f refac: Include CE feature flags in PRO and Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10180
GitOrigin-RevId: db185aa0edb717efe36d6572012078b4eb3aaf7e
2023-08-23 13:32:23 +00:00
Brandon Simmons
5d96d9836b server: more refactoring for INFRA-832
No functional changes.  DRY the otlp http client code, in preparation for reuse in logs exporter code.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10171
GitOrigin-RevId: c13c587d6d4775e992642a79c798193762efa527
2023-08-23 10:24:29 +00:00
Ananya Mohanty
bc8e16fe75 ci: tag release v2.33.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10177
GitOrigin-RevId: cac1651dbef1b66e0b24f5964d7e245ea4250477
2023-08-23 08:12:10 +00:00
Ananya Mohanty
2d5f73e366 ci: tag release v2.32.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10175
GitOrigin-RevId: 75a434783935eda19db574b1c50a7e742dedcd19
2023-08-23 07:13:08 +00:00
paritosh-08
e1cfc56fc3 server: add remote source relationship in permission
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9575
GitOrigin-RevId: 4566d51d48f9ace583b04fbe04c534d6aeb771ea
2023-08-22 14:35:14 +00:00
Daniel Harvey
f4c9c16f0e chore(server): add Table -> NQ array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10150
GitOrigin-RevId: fc4ea33b1951cb960187bb53d4c3ef8471566dc9
2023-08-22 12:39:49 +00:00
kodiakhq[bot]
7258c0ccdc INFRA-832: incremental refactoring PR 2
Some refactorings required for https://hasurahq.atlassian.net/browse/INFRA-832 . No functional changes.

Also included is a small but important un-related bug fix

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10136
GitOrigin-RevId: 5468c5b5b1693c0c3b8781c9fa47191ad66fefca
2023-08-18 10:57:58 +00:00
Daniel Chambers
c726b528c4 Add table/function filtering and detail level to schema introspection for Data Connectors to improve performance
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10074
GitOrigin-RevId: 12de7387746f456cbefd9f76e446f56e9e643dc9
2023-08-18 04:29:17 +00:00
Daniel Harvey
f8d60a74a0 chore(server): Table -> Native Query object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10114
GitOrigin-RevId: 0181184d1bc0e851151f86a98c96c97888a10e3e
2023-08-17 15:35:31 +00:00
Samir Talwar
15ac52ded4 server: Fix the Analyze feature for SQL Server.
The "Analyze" feature for SQL Server only partially worked. It would show the SQL generated, but not the execution plan. This is because SQL Server doesn't support generating a plan for prepared statements with parameters.

To work around this, we restructure the query as one without parameters. Instead, we replace each parameter with a variable. We declare the variables but don't set values. We then plan _that_, which works.

We run all this in a single query because local variables only last for a single transaction/batch.

This feature does not work for stored procedures.

[NDAT-582]: https://hasurahq.atlassian.net/browse/NDAT-582?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10125
GitOrigin-RevId: a4b45b9b207456ff4fbd1b69b008e93f87346342
2023-08-17 12:51:57 +00:00
Divi
c2dd8ddc59 ci: tag release v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10129
GitOrigin-RevId: b14bf0553e5e20558dd7ab5ae2373efcd1f368c1
2023-08-17 10:06:58 +00:00