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
Rob Dominguez
9bde77ab36
docs: update cli long punctuation and update commands
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7504
GitOrigin-RevId: dec1f870b9049ccc5cb793e960fb4040d18a3834
2023-01-11 13:34:08 +00:00
Smit Shah
5595e85e27
cli: make update prompts non-intrusive
...
## Description
This PR makes the blocking update prompt when running Hasura CLI non-blocking. Further details of the change can be found here, [PLAT-376](https://hasurahq.atlassian.net/browse/PLAT-376 ).
## Changelog ✍️
__Component__ : cli
__Type__: enhancement
__Product__: community-edition
### Short Changelog
cli: make the update notifications when running Hasura CLI non-blocking [#9367 ](https://github.com/hasura/graphql-engine/issues/9367 )
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
Make the update prompt non-intrusive
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
closes https://github.com/hasura/graphql-engine/issues/9367
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7449
GitOrigin-RevId: 73cd019982b9355a8aaa9c6b2592f0413b17f410
2023-01-11 10:32:18 +00:00
Mohd Bilal
8cee3c53b9
cli: Use -
instead of *
in unordered list in docs and fix char cases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7492
GitOrigin-RevId: 5b76d0a970193da4412ff1b595caec23996f265c
2023-01-11 08:39:18 +00:00
Rikin Kachhia
50a5462857
cli: improve log messages to highlight database names
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7363
GitOrigin-RevId: 2b58511c374ee4d93a202e23c87c48b54ec363a6
2023-01-09 08:03:13 +00:00
Rob Dominguez
1128753069
docs: add links to feature docs for CLI commands
...
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7419
GitOrigin-RevId: 52e8e54bf7068ee91fce19831db99d7a24afb00c
2023-01-09 04:27:34 +00:00
Rob Dominguez
880182c805
docs: improve Long values for CLI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399
GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
2022-12-30 03:52:33 +00:00
Mohd Bilal
e75edb0629
cli: Add support for data connectors metadata changes.
...
closes https://hasurahq.atlassian.net/browse/PLAT-181
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7178
GitOrigin-RevId: f4c1c39ac33586870e38623bb85f09d5c98a3817
2022-12-29 14:37:47 +00:00
Mohd Bilal
06b7952149
cli: refactor migrate/migrate.go
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7232
GitOrigin-RevId: 51ed7ae004957d94568e16c8309920a5960cbc0d
2022-12-28 13:30:16 +00:00
Rikin Kachhia
c256dcef7b
cli: add option to apply seeds with the hasura deploy command
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7231
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 3cc7510bb16e8bceeb6cd2a678881a3459b6721f
2022-12-22 07:56:56 +00:00
Aravind K P
acf5ea4c7e
cli: fix CLI console not respecting offline mode configuration
...
fixes https://github.com/hasura/graphql-engine/issues/8482
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7257
GitOrigin-RevId: a398de5d4fccc670b9f6e25d3cdd92efb24a23f8
2022-12-14 08:32:37 +00:00
Mohd Bilal
62d997a590
cli: add support for opentelemetry
in metadata
...
closes https://hasurahq.atlassian.net/browse/PLAT-297
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7267
GitOrigin-RevId: d35f50b8abdc726446ee583a4abfabde2a496721
2022-12-14 04:23:12 +00:00
Aravind K P
fbfea5437c
cli: support metrics_config
metadata object
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7225
GitOrigin-RevId: e0d6f940d4b62b520948ca179cac39474f4d6d84
2022-12-13 02:48:11 +00:00
Mohd Bilal
c35add2a9c
Revert "cli: refactor migrate/migrate.go
to use internal/errors
"
...
Reverts hasura/graphql-engine-mono#7005
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7228
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d35202ee97b51db61c4598bb1a42e9551b1a89e3
2022-12-12 14:04:28 +00:00
Mohd Bilal
a2fb3de1ce
cli: refactor migrate/migrate.go
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7005
GitOrigin-RevId: ee70ef351ed1915adef5b865773a2210c7dd1073
2022-12-12 12:48:49 +00:00
Mohd Bilal
00f5df3e47
cli: expose hasura migrate delete
command as an API
...
Closes https://hasurahq.atlassian.net/browse/PLAT-292
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6955
GitOrigin-RevId: 41d77ebbe830b29e0ba0cdf6c3a67527e5580bdf
2022-12-07 03:02:14 +00:00
Varun Dey
030f9f44f2
cli: Add cli-ext path option for Deploy API [GT-307]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7114
GitOrigin-RevId: 643639717f3bb18984a29b6f95dfbb3179c92064
2022-12-01 06:04:25 +00:00
Mohd Bilal
9335e40d76
cli: remove os.IsNotExist
and os.IsExist
error checks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7068
GitOrigin-RevId: 37735c0020df23857015871890d2f6774166d7b1
2022-11-28 08:45:42 +00:00