Commit Graph

519 Commits

Author SHA1 Message Date
rikinsk
eec89ebb8d Merge branch 'main' into stable
GitOrigin-RevId: eaa6e39ce04c9a56891de72fb71da44ad398e8b7
2023-08-31 08:29:21 +00:00
rikinsk
f32b81a056 Merge branch 'main' into stable
GitOrigin-RevId: 1deb6d2917946ad2078ac330049183ef9f0d6f2d
2023-08-21 10:47:52 +00:00
rikinsk
3d99ac3e7c Merge branch 'main' into stable
GitOrigin-RevId: ae27a0df5c0f2fdbf38985dc66e77e2cda56c954
2023-08-03 11:06:38 +00:00
rikinsk
4ca34eda78 Merge branch 'main' into stable
GitOrigin-RevId: 1f00d78c38b08b479ef9c97c4007ed0e885f78ac
2023-07-21 09:02:43 +00:00
rikinsk
48d67625da Merge branch 'main' into stable
GitOrigin-RevId: 5afe3ff0736413eaf884c885c17093bb8a9fccc4
2023-07-06 10:33:41 +00:00
rikinsk
fd2225e0d9 Merge branch 'main' into stable
GitOrigin-RevId: 81ad89c2d07d9a981c98245f618400844550e065
2023-06-22 08:06:51 +00:00
rikinsk
8a61802ca0 Merge branch 'main' into stable
GitOrigin-RevId: 3f6efeda389647b2fd7817b15e2952f3a562dbd5
2023-06-08 14:06:50 +00:00
rikinsk
3ffc3c8166 Merge branch 'update-manifests' into stable
GitOrigin-RevId: 7bd0ef402a559b0bf8f34cb1f33b517da4eac227
2023-05-29 15:33:52 +00:00
rikinsk
38891df9bb ci: update latest stable release as v2.25.1
GitOrigin-RevId: 884a2a2f5f798feb9984d407999a79d29d9ce54b
2023-05-22 14:00:32 +00:00
rikinsk
f2f989a6b8 ci: update latest stable release as v2.25.0
GitOrigin-RevId: f5f102385fe751d8542e99b034bf8b26ac8a6a46
2023-05-11 14:44:10 +00:00
rikinsk
0634ee0d4f ci: update latest stable release as v2.24.1
GitOrigin-RevId: 2cd985ef65bdde41c872b60aca3e6d7f937d932b
2023-04-28 14:56:05 +00:00
rikinsk
e207ef1308 ci: update latest stable release as v2.24.0
GitOrigin-RevId: 98b4d40d8f8de6065620813c32fbbc5186317061
2023-04-27 06:53:29 +00:00
rikinsk
8f022a1008 Merge branch 'main' into stable
GitOrigin-RevId: 9eccd863f3285eba2352b685462f9a672c55274c
2023-04-27 06:53:17 +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
Varun Dey
248ea61600 cli: expose deploy command in public API [GT-307]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6994
GitOrigin-RevId: 915e60952bc7c8f21169e4d49bb7733988a8ee40
2022-11-24 11:43:05 +00:00
Mohd Bilal
c55cca3061 cli: refactor migrate/ to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7006
GitOrigin-RevId: bfa2be15cef0460b32576e8297cfa177ed59031a
2022-11-23 17:15:19 +00:00