Benoit Ranque
525361d3d2
escape sql underscores in LIKE expressions ( close #8435 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4596
GitOrigin-RevId: 48f143b8e6bbc60371656cc4bfbae1a5864f9921
2022-06-08 18:54:19 +00:00
Vishnu Bharathi
af20404ac0
ci: tag release v2.8.0-beta.1 and v2.8.0-beta.1-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4659
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: 85914a11c339d9d77f265da702e38d3f9f46ff59
2022-06-08 08:31:09 +00:00
Philip Lykke Carlsen
3e33fd6ff7
Make on_conflict
schema available abstract of update permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4390
GitOrigin-RevId: 5f3f9da173cad37f9330c5a27fd1edfc2559a4d6
2022-06-07 23:25:48 +00:00
Vishnu Bharathi
0d1f1aad9a
ci: tag release v2.7.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4553
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 6b822051ab9b72b2de93a0367a8fedaef544fab3
2022-05-25 10:55:59 +00:00
Auke Booij
82ceafaf44
Remove unused schema.graphql
resource
...
This file was no longer needed after the PDV refactor (hasura/graphql-engine#4111 ). It was replaced by `Hasura.GraphQL.Schema.Introspect`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4532
GitOrigin-RevId: 61a5f44a9e68238d61095a3f176b2d5847c63307
2022-05-23 16:44:20 +00:00
Vishnu Bharathi
b6eb71ae07
ci: tag release for v2.6.2 and v2.7.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4499
GitOrigin-RevId: 8c4c6256ea953c55f8db03460e32d0a775d0d2ea
2022-05-12 17:45:42 +00:00
Vishnu Bharathi
9c90bb0b2c
ci: tag release v2.5.2 and v2.6.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4430
GitOrigin-RevId: 9080dac0ffa75558401716ed8b437d63ff1d82c1
2022-05-03 09:36:04 +00:00
Vishnu Bharathi
d78f6df534
ci: tag release v2.6.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4377
GitOrigin-RevId: defb105c8c21216db47285521ce3034c523e6c0a
2022-04-27 10:12:15 +00:00
Vishnu Bharathi
7a6e38bd0a
ci: tag release v2.5.1 and v2.6.0-beta.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4325
GitOrigin-RevId: 4b1aa341fe1feffcdb3e14e0465b191eab6e0204
2022-04-21 14:13:40 +00:00
Naveen Naidu
abb57e58c8
server/MSSQL: Event Delivery System (Incremental PR - 3)
...
</details>
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3392
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
GitOrigin-RevId: 9df6b0aa7d91f22571b72d3e467da23b916c9140
2022-04-21 07:20:34 +00:00
Vishnu Bharathi
bf6c91c7c7
ci: tag release v2.5.0 and v2.6.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4257
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 6dbed1919a8b5bd521aa76a16d460fc11bfc5fcc
2022-04-13 08:49:28 +00:00
Rakesh Emmadi
d561024254
server/postgres/citus: fix inserting values into columns with case sensitive enum types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4196
GitOrigin-RevId: bbb9e565bc7143080eb1c50ade86b0e47b751387
2022-04-11 08:05:25 +00:00
Karthikeyan Chinnakonda
330f9b6e26
server: drop the dropping trigger logic while creating/recreating an event trigger
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4101
GitOrigin-RevId: 12a2736e4d88dfb8379cd54f4beaedac32795d7d
2022-04-01 10:39:35 +00:00
Vishnu Bharathi
a3c707b718
ci: tag release v2.4.0 and v2.5.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4106
GitOrigin-RevId: 83594358cf511e7b5e1cd7d48a28e3e397a20682
2022-03-30 07:33:44 +00:00
Vishnu Bharathi
1a60d4f7f4
ci: tag release v2.4.0-beta.3 and v2.4.0-beta.3-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4052
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: 99c03ed16d624f50bc71cd47417f024c1c7586d9
2022-03-23 11:18:22 +00:00
Vishnu Bharathi
59be818d3a
ci: tag release v2.3.1 and v2.4.0-beta.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3989
Co-authored-by: Tom Skawinski <98830547+tomhasura@users.noreply.github.com>
GitOrigin-RevId: 65a992e9d44093596d72fbd64acc37518b8ca911
2022-03-17 07:44:42 +00:00
Sooraj
d1cdb9f0ae
console: disable search indexing with HTML meta tag [CON-28]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3948
GitOrigin-RevId: 5af852fd7c9c131fc85c05f97c601058c99e6dcc
2022-03-16 05:51:47 +00:00
Rakesh Emmadi
aa19f1e0d0
server/postgres: improve fetching tables' and functions' metadata (from database)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3778
GitOrigin-RevId: 13bb97bdb7afad265db899f368c74d9f240b214a
2022-03-08 13:03:14 +00:00
Vishnu Bharathi
e73f187db4
ci: tag release v2.2.2 and v2.2.2-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3889
GitOrigin-RevId: 84abcfe6070e39ae3a85a3ff0098eff18d93e278
2022-03-07 08:35:13 +00:00
Karthikeyan Chinnakonda
a3e6b1c741
server/mssql: add support for creating event triggers (incremental PR #2 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2634
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
GitOrigin-RevId: 29567fa336c22d1812dfcfa6294f54e74a741f0c
2022-03-03 09:53:49 +00:00
Vishnu Bharathi
eed47e973a
ci: tag release for v2.3.0 and v2.4.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3853
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: ce28cdb679e6c2dda85c7309f81ee19f5f8ab714
2022-03-02 14:01:17 +00:00
Brandon Martin
7c3698d91f
Exclude _timescaledb_internal
from pg_table_metadata.sql
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3686
GitOrigin-RevId: 335f34ba4b165a271a23dff22c9b3bee5d497df8
2022-03-01 14:00:18 +00:00
Vishnu Bharathi
661bfeb153
ci: tag release v2.3.0-beta.3 and v2.3.0-beta.3-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3821
GitOrigin-RevId: 1220a68e4a03f22814dad2cc8b556a3a32b6f0f4
2022-02-28 13:56:51 +00:00
Vishnu Bharathi
faf9716c28
ci: tag release v2.2.1 and v2.2.1-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3785
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 90bcd2a062268c6c20d4006505574c5db5b88b81
2022-02-24 10:33:40 +00:00
Karthikeyan Chinnakonda
bea650b3e0
server/mssql: source catalog initialization for event triggers (Incremental PR - I)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2505
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
GitOrigin-RevId: 56681f90cfbfcf2f99c27f08c01d32790bd03c4d
2022-02-24 08:14:10 +00:00
Vishnu Bharathi
0e988bcbf4
ci: tag release v2.3.0-beta.2 and v2.3.0-beta.2-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3756
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d93845719f1c0e7318453da296a7fb6b2a2f3e74
2022-02-22 13:13:20 +00:00
Anon Ray
e87433c2bb
server: remove hdb_lib and add tests for read-only source
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3634
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 2db62a279496cd7e5dd57bdf02c3efa7b70042c8
2022-02-21 10:00:00 +00:00
Vishnu Bharathi
0cd4bd1bff
ci: tag release v2.3.0-beta.1 and v2.3.0-beta.1-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3678
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: b5ffb38ec015773cffe6ec49fa1b2133f7bc4118
2022-02-16 11:09:47 +00:00
Philip Lykke Carlsen
e1918adb52
Replace "identity column" with "column mutability" data for all backends
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3373
GitOrigin-RevId: bf08cc9008a4b0b3ece4952528c15c45e57fc74c
2022-02-03 14:15:35 +00:00
Vishnu Bharathi
f4007596fb
tag release v2.2.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3558
GitOrigin-RevId: b4ba6830be191aac6ce9e8e5bef974bd5322260d
2022-02-02 12:49:55 +00:00
Vishnu Bharathi
26a69b3821
tag release v2.1.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3175
GitOrigin-RevId: 702444a8adba2817540382396704bcfbad0df228
2021-12-17 12:38:06 +00:00
Vishnu Bharathi
291de84179
tag release v2.1.0
...
GitOrigin-RevId: 3456e09d2c096a3a89866f9e92c86605237b9693
2021-12-14 15:38:26 +00:00
Vishnu Bharathi
a835d95b17
tag release v2.1.0-beta.3
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3099
GitOrigin-RevId: 7aa2926871bd44d80490768f86fab7bac02a7758
2021-12-09 11:28:19 +00:00
hasura-bot
1376293e40
make pg_table_metadata CockroachDB compatible
...
GITHUB_PR_NUMBER: 7788
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7788
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2805
Co-authored-by: Oliver Tan <3646147+otan@users.noreply.github.com>
GitOrigin-RevId: 9de4ddc4b13a9780edee5d1d12579d225ce3bffe
2021-12-07 17:25:33 +00:00
Philip Lykke Carlsen
4c1f3d0140
Adding ColumnMutability to column metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2962
GitOrigin-RevId: ee2687e84842dc5dd647ce9aa017c6051556d0e5
2021-12-01 11:34:16 +00:00
Chris Parks
a79886bcda
Use left join instead of lateral join to fetch foreign key constraints
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2939
GitOrigin-RevId: ed42b885e6e08e653b0888e0eb2012041361a41f
2021-11-23 15:19:49 +00:00
Anon Ray
0b1ecbf0a9
server: creating gen_hasura_uuid function should be idempotent
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2625
GitOrigin-RevId: aff53bbfcf284d352848e06843ec4086d6e8ea6e
2021-11-10 07:59:31 +00:00
Tirumarai Selvan
1b43f0caaa
tag release v2.1.0-beta.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2762
GitOrigin-RevId: 092e3fee604f9620198128a8c8aced434a20644e
2021-11-08 09:26:08 +00:00
Karthikeyan Chinnakonda
0c21100892
server: relocate some of the pre metadata separation source catalog migrations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2687
GitOrigin-RevId: 9fd1c9bdfdf8de1e0d39333368ec799ae92a9e71
2021-11-03 14:21:40 +00:00
hasura-bot
197b66cc2b
changing “ (unicode) for " (UTF-8)
...
GITHUB_PR_NUMBER: 7607
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7607
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2460
Co-authored-by: Thiago Damas <2286973+thiagodamas@users.noreply.github.com>
GitOrigin-RevId: 839bbdcccb865d2f5710b85478a95c38d258d48e
2021-11-01 11:05:01 +00:00
Tirumarai Selvan
bcb386e7fd
tag release v2.0.10 ( #2646 )
...
Co-authored-by: Vishnu Bharathi <vishnubharathi04@gmail.com>
GitOrigin-RevId: d6a8802cf4db8f852bdabe92ffa81854fe594186
2021-10-20 09:55:17 +00:00
Rakesh Emmadi
09ae6af337
server/mssql: insert SQL generation and execution
...
>
### Description
>
Insert mutations for MSSQL backend. This PR implements execution logic.
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Server
- [x] Tests
### Related Issues
->
Close https://github.com/hasura/graphql-engine-mono/issues/2114
### Steps to test and verify
>
Track a MSSQL table and perform the generated insert mutation to test.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2248
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 936f138c80d7a928180e6e7b0c4da64ecc1f7ebc
2021-10-01 12:53:15 +00:00
Tirumarai Selvan
b0f723b201
tag release v2.1.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2472
GitOrigin-RevId: b18f755b8db82ee6376d9af02495fe55cfd93aa8
2021-09-30 09:48:30 +00:00
Rakesh Emmadi
9ca0bc1e5c
server: remove identity notion from table columns
...
>
### Description
>
While adding [insert mutation schema parser for MSSQL backend](https://github.com/hasura/graphql-engine-mono/pull/2141 ) I also included [identity](https://en.wikipedia.org/wiki/Identity_column ) notion to table columns across all backends. In MSSQL we cannot insert any value (even `DEFAULT` expression) into Identity columns. This behavior of identity columns is not same in Postgres as we can insert values. This PR drops the notion of identity in the column info. The context of identity columns for MSSQL is carried in `ExtraTableMetadata` type.
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Server
- [ ] Console
- [ ] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
- [x] Tests
- [ ] Other (list it)
### Related Issues
->
Fix https://github.com/hasura/graphql-engine/issues/7557
https://github.com/hasura/graphql-engine-mono/pull/2378
GitOrigin-RevId: c18b5708e2e6107423a0a95a7fc2e9721e8a21a1
2021-09-17 09:03:06 +00:00
Tirumarai Selvan
4cabb0bdf9
tag release v2.0.9
...
GitOrigin-RevId: dfba245a4dbe1a71b1e3cc7c92914fc0a919c2b0
2021-09-07 07:49:53 +00:00
paritosh-08
8c05efb6d9
server: disable mutation for materialised views
...
The materialized views cannot be mutated, so this commit removes the option to run mutation on the materialized views via graphql endpoint. Before this, users could have tried running mutation for the materialized views using the graphql endpoint (or from HGE console), which would have resulted in the following error:
``` JSON
{
"errors": [
{
"extensions": {
"internal": {
"statement": "WITH \"articles_mat_view__mutation_result_alias\" AS (DELETE FROM \"public\".\"articles_mat_view\" WHERE (('true') AND (((((\"public\".\"articles_mat_view\".\"id\") = (('20155721-961c-4d8b-a5c4-873ed62c7a61')::uuid)) AND ('true')) AND ('true')) AND ('true'))) RETURNING * ), \"articles_mat_view__all_columns_alias\" AS (SELECT \"id\" , \"author_id\" , \"content\" , \"test_col\" , \"test_col2\" FROM \"articles_mat_view__mutation_result_alias\" ) SELECT json_build_object('affected_rows', (SELECT COUNT(*) FROM \"articles_mat_view__all_columns_alias\" ) ) ",
"prepared": false,
"error": {
"exec_status": "FatalError",
"hint": null,
"message": "cannot change materialized view \"articles_mat_view\"",
"status_code": "42809",
"description": null
},
"arguments": []
},
"path": "$",
"code": "unexpected"
},
"message": "database query error"
}
]
}
```
So, we don't want to generate the mutation fields for the materialized views altogether.
https://github.com/hasura/graphql-engine-mono/pull/2226
GitOrigin-RevId: 4ef441764035a8039e1c780d454569ee1f2febc3
2021-09-06 10:10:35 +00:00
Rakesh Emmadi
7ca48decfb
server/mssql: integrate insert mutation schema parser for MSSQL backend
...
>
### Description
>
This PR is an incremental work towards [enabling insert mutations on MSSQL](https://github.com/hasura/graphql-engine-mono/pull/1974 ). In this PR, we generate insert mutation schema parser for MSSQL backend.
### Changelog
- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] Server
https://github.com/hasura/graphql-engine-mono/pull/2141
GitOrigin-RevId: 8595008dece35f7fded9c52e134de8b97b64f53f
2021-08-31 13:35:49 +00:00
Tirumarai Selvan
9d592fde87
tag release v2.0.8
...
GitOrigin-RevId: 7e2c6333183ebf763ff37bda114219f5e7bf0951
2021-08-30 12:43:41 +00:00
Vishnu Bharathi
cf6f3edc1f
tag release v2.0.7 ( #2118 )
...
GitOrigin-RevId: b86611a3393d2b8008b09c1d833d5b2c43f72aaf
2021-08-17 13:07:37 +00:00
Karthikeyan Chinnakonda
1294ae59f2
server: fix bug when downgrading from v2 to v1 when there is atleast one cron trigger present in the metadata
...
https://github.com/hasura/graphql-engine-mono/pull/2101
GitOrigin-RevId: 7011f0c18cb0cef828214ec084adc39cfb3aba1c
2021-08-17 07:02:09 +00:00