Commit Graph

538 Commits

Author SHA1 Message Date
Naveen Naidu
ea98418833 cli: update go-git to v5.11
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10750
GitOrigin-RevId: da716e72dcf8bf1052e19248e7a96de983b23e90
2024-03-26 09:24:24 +00:00
Naveen Naidu
f0e6c51e79 cli: upgrade go-git to v5.4.2 and go version to 1.18
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10741
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 1008b4abfb0fe12c5c7fdbdbe47a0820435b595c
2024-03-25 11:25:31 +00:00
Naveen Naidu
a34e0a23e1 cli: use go install instead of go get
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10748
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
GitOrigin-RevId: d099fd6982c0ef6e7b2cbcf6507431edc4a10053
2024-03-25 09:01:45 +00:00
Rikin Kachhia
2fbb662a3f ci: update latest stable release as v2.38.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10747
GitOrigin-RevId: 2a27bc3328ddb4d98228675b5fb2fa3a03ff9f1e
2024-03-24 16:13:06 +00:00
Rikin Kachhia
0669ff3d32 ci: update latest stable release as v2.37.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10660
GitOrigin-RevId: ed8058a3510e370e14f1212be87c492b70329582
2024-01-31 13:20:16 +00:00
Sandeep Raj Kumar
0ff034cb87 Add Batch Limits to API limits config
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10556
GitOrigin-RevId: a4ff69dfc0b1651e0376aa60545a0b0b7d6ee41d
2023-12-15 02:05:52 +00:00
Rikin Kachhia
75a691a1cf ci: update latest stable release as v2.36.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10548
GitOrigin-RevId: 577ae18843f1e292847d2e5d0e8fb4d119e75142
2023-12-12 10:31:09 +00:00
Rikin Kachhia
114b29d177 ci: update latest stable release as v2.35.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10488
GitOrigin-RevId: 5742015bc4572dfacf7d7e2c008e091252c645e2
2023-11-24 10:24:34 +00:00
Rikin Kachhia
3eabaeb704 ci: update latest stable release as v2.35.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10440
GitOrigin-RevId: d114cd4815f7bdd8f17ca2d3ee0d32b9e66d0ec7
2023-10-31 12:37:40 +00:00
Varun Dey
d6e5005cb5 Export metadata export api
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10397
GitOrigin-RevId: 9545145248557371f05d2efe646151667cc20909
2023-10-25 20:56:12 +00:00
Mohd Bilal
c7d1330389 cli: fix parsing of native databases and data connectors functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10260
GitOrigin-RevId: 41e80dfca4b20dddd4f2451f1aeaef8ca4547635
2023-09-05 06:11:52 +00:00
Rikin Kachhia
107e7ebb41 ci: update latest stable release as v2.33.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10239
GitOrigin-RevId: 7cfc820cec09b1cd1420dce311d0d366f1b47f7d
2023-08-30 17:45:38 +00:00
Sean Park-Ross
b49952230e CLI: Fix help message on metadata export
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10198
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: f4bb3451c37283cfa0658d56b678052bd02bff94
2023-08-24 08:54:40 +00:00
Manas Agarwal
bdd25f65a5 cli: Adding support for Snowflake UDF
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9545
GitOrigin-RevId: eda0546349a74d5827d924d83bde10b6ab720de4
2023-08-19 09:25:17 +00:00
Rikin Kachhia
36bd4bf3ac ci: update latest stable release as v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10134
GitOrigin-RevId: cb07b817273adba6226cd7fbe1ad2f696a459b69
2023-08-17 16:16:11 +00:00
Rikin Kachhia
8c6f823f7b ci: update latest stable release as v2.31.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10034
GitOrigin-RevId: fe686e39e40ad8bb7fe3ec9a097b60ed88c2fc53
2023-08-02 16:37:45 +00:00
Rikin Kachhia
84cbb9e5e1 ci: update latest stable release as v2.30.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9904
GitOrigin-RevId: bc0301dcdd2fe0edd3f0cfc55331b9c46d359acf
2023-07-21 08:04:03 +00:00
Rikin Kachhia
e41be0a2d3 ci: update latest stable release as v2.29.0
Blocker: Data connector still needs to be published

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9775
GitOrigin-RevId: 93ec6478932f016a3a1c10b656218fecb00fb864
2023-07-05 18:40:06 +00:00
Rikin Kachhia
bf99249bbc ci: update latest stable release as v2.28.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9622
GitOrigin-RevId: 2c9f7718b4fa484844c86aa34869ee295c992001
2023-06-21 20:07:53 +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
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
Daniel Chambers
d421cdb726 Put the message property first when encoding error JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9379
GitOrigin-RevId: 385035810190786f54a1db86e3a2e4a2c3bd5dee
2023-06-02 05:29:50 +00:00
Rikin Kachhia
5b449909eb ci: update latest stable release as v2.26.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9342
GitOrigin-RevId: d2463dad59a98e7236065d90efa0e8892bf012a3
2023-05-30 09:11:44 +00:00
Samir Talwar
2aa53a1c42 CLI: Speed up the build.
This speeds up `make build` for the CLI in two ways:

1. The `-rebuild` argument to `gox` is removed, as it seems unnecessary most of the time.
2. The cli-ext binaries are only copied when they're changed, rather than copying them every time.

I also had to fix `clean-cli-ext` so it deletes files in the correct directory.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8710
GitOrigin-RevId: db0c1880577ff1819f961cbf23d34d4f8d67a30a
2023-05-10 13:49:32 +00:00
Samir Talwar
f42f1111cc CLI: Add test coverage for stored procedures.
This asserts that reading and writing metadata does not modify the stored procedures. We do not provide any support for working with them; this just ensures we do not accidentally corrupt them.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9081
GitOrigin-RevId: 7c9b31f060325cbdffd8803ea085d4957dc1c680
2023-05-08 14:46:37 +00:00
Tom Harding
457127a6e2 Remove TemplateHaskell Aeson instances from RQL.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8997
GitOrigin-RevId: 741318f65281af7b26a616260baf3a9953707007
2023-05-05 14:38:00 +00:00
Samir Talwar
397e95fc6a Upgrade Citus to v11.3.0 in tests.
Upgrades Citus to v11.3.0 in tests.

This breaks an assumption made by the tests for the `get_source_tables` metadata API, in which data is expected to be ordered. We fix it by explicitly ordering rather than relying on the goodwill of the database.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9039
GitOrigin-RevId: ee86db7e1c264d5009bb0203ac2f3fb2cda7b39f
2023-05-04 11:40:10 +00:00
Samir Talwar
c1705a09df api-tests: Fix the error messages to match those reported by Citus v11.3.0.
I also pinned Citus to v11.3. This should hopefully stop us from being surprised with random test failures in the future. We will need to bump this every now and again.

I have updated the Makefile to standardize Docker commands, and made sure we start all the containers even when running tests for a single database, as we need to test cross-DB remote joins. This ensures `make test-citus` actually works and runs all tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9035
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 9c36ab65eb05206bfddd639c257d6c5c5cedd2bd
2023-05-03 20:22:26 +00:00
Samir Talwar
53749aa796 CI: Use "12345" for the server version instead of generating one.
We bake the version number into the binary, which means that changing it causes a lot of files to rebuild (also thanks to Template Haskell). We can avoid this by simply using a dummy value which does not change.

When releasing, we still use the Git tag.

This should speed up the server build a lot, most of the time.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8916
GitOrigin-RevId: 7e5f9d4d582dba3eecab52fd37a216cadefba941
2023-04-28 18:19:40 +00:00
Rikin Kachhia
cfc7b8a29d ci: update latest stable release as v2.24.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9003
GitOrigin-RevId: 6ecabfa29ac3213c04ccbc104c6999b16543c289
2023-04-28 17:23:45 +00:00
Gil Mizrahi
930df62de7 Stored procedures api commands
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8975
GitOrigin-RevId: c71a9f74bf01bb8c0bc8c8cd4b744b530d99476a
2023-04-28 13:38:34 +00:00
Philip Lykke Carlsen
983fc2ad47 Rename "Custom Return Types" → "Logical Models"
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8800
GitOrigin-RevId: e5e10f31c6cc8953a8ee947441a7f80b0e9b5e5e
2023-04-19 09:05:25 +00:00
Rikin Kachhia
e95259e1f4 build: update manifests with latest version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8775
GitOrigin-RevId: e5cfc438c3f14efc0dfd9a8bbbec984c7d203674
2023-04-17 10:32:05 +00:00
Philip Lykke Carlsen
0346224444 Rename "Logical Models" → "Native Queries"
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8769
GitOrigin-RevId: 66f2cbfb620d641e672a4074554d9d324a18c591
2023-04-13 16:12:20 +00:00
Samir Talwar
6747ee9872 cli: Add the custom_return_types field.
This has been split out from logical models.

Name pending; it may change in the future.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8712
GitOrigin-RevId: 25776af883e94bead05af7c97cdf258f4b65c5d1
2023-04-11 13:49:28 +00:00
Daniel Harvey
7227e96278 feature(server): custom return types as discreet metadata entity
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8556
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: b7dcbcf378279c3bf4c8d223174b90c2cb4b9e53
2023-03-30 15:15:11 +00:00
Mohd Bilal
de128e726a cli: add support for sources.logical_models in metadata
[PLAT-394]: https://hasurahq.atlassian.net/browse/PLAT-394?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8426
GitOrigin-RevId: a9480c4b77a0ab016b7d5c66e589301bc03740ac
2023-03-27 08:00:27 +00:00
Priya Sharma
1f2212a82f cli : add a function to accept logger as parameter for deploy function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8195
GitOrigin-RevId: 745bcae76e0f0c2a9ca2fc6dec06e39cd7b05f40
2023-03-07 08:31:57 +00:00
Gil Mizrahi
625e41cd77 rename naqi to logimo part 3 - data types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8068
GitOrigin-RevId: 435527a98e645ed69c9be484ff0bd21af8181d69
2023-02-22 13:46:54 +00:00
Mohd Bilal
54125f2ae6 cli: Update docs for hasura metadata reload and hasura migrate create
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7338
GitOrigin-RevId: 35aeca6704d802c2e09903395335641704e61186
2023-02-18 06:12:08 +00:00
Mohd Bilal
3be7c9b1e6 cli: increase max wait time for docker images to 5 minutes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7971
GitOrigin-RevId: 5ee5c93d5d0d9befc0e1f9741a0ffe829e8e64c3
2023-02-14 13:30:29 +00:00
Aravind K P
0166f1892b cli: show expanded error information in debug logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7431
GitOrigin-RevId: e261261b8da409fc68776e62a9d62e0b8b286054
2023-02-13 09:45:35 +00:00
Toan Nguyen
22d515dcb6 cli: introduce BigQuery source
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5766
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 1bd4718dbf7b0368e99e5d7c6dd08f362dbf5c2b
2023-02-13 08:31:42 +00:00
Antoine Leblanc
30e772d3fa add content-length header.
## Description

Adds a content-length response header to all endpoints. This PR tests this feature by checking the content-length of every request we send in the tests.

## Changelog ✍️

__Component__ : server

__Type__: enhancement

__Product__: community-edition

### Short Changelog

add a content-length response header to all endpoints

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7444
Co-authored-by: Manas Agarwal <5352361+manasag@users.noreply.github.com>
GitOrigin-RevId: a0a811852053c5dde4b11b71ba11a7d456c84d76
2023-02-01 21:32:50 +00:00
Philip Lykke Carlsen
70c8bc8700 Integrating Native Query metadata and schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7657
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: d5047559e3560f5d7870eac6e07c89704146ccab
2023-01-30 16:06:34 +00:00
Aravind K P
a0c5e1669b cli: support ee-lite in CLI console
Closes https://hasurahq.atlassian.net/browse/PLAT-351

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7256
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Manas Agarwal <5352361+manasag@users.noreply.github.com>
GitOrigin-RevId: 5096e76f11ab2860fae9fa7cd71c9afaead20cc0
2023-01-30 09:28:28 +00:00
Mohd Bilal
094b5e6db2 cli: Support migrations for Cockroach DB in CLI Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7550
GitOrigin-RevId: eb9d6c8dae1c1f7980df45f5080f8d7cab8791c9
2023-01-19 10:51:17 +00:00
Daniel Harvey
06b284cf33 [server] metadata API for native access
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7476
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 781c29666e92004dc82918c2292fdacc27fded4c
2023-01-16 17:21:22 +00:00
Aravind K P
b906410b20 cli: fix missing usages of errors package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7424
GitOrigin-RevId: 59fccdd90437fc39e4c2cd2581676b67dad87ac9
2023-01-16 09:42:31 +00:00
Mohd Bilal
f82eaf7ea5 cli: Add --console-hge-endpoint to hasura console command that allows CLI to be configured to run inside a container
Closes: https://hasurahq.atlassian.net/browse/PLAT-370

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7408
GitOrigin-RevId: 79ca71a1b711f993410e2dbaafa717c11b459dce
2023-01-11 14:10:18 +00:00