Rob Dominguez
62aff83ccd
docs: add note for downgrading catalog version
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9957
GitOrigin-RevId: 2449dc2aa2ed2550e1ba9738b6c795082b07cc8f
2023-07-26 17:03:29 +00:00
Daniel Harvey
37726b088c
chore(server): use 'double precision' instead of numeric
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9972
GitOrigin-RevId: 0a6a06081a7c5a3618b6c7252c6697da97c6efc2
2023-07-26 16:39:33 +00:00
Philip Lykke Carlsen
cf2d205937
Fix(Sqlserver): Apply Column Redaction to order_by and _where
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9971
GitOrigin-RevId: 04cae8163af2d002a2d5aea73fb45088fc0eaea4
2023-07-26 16:05:00 +00:00
Daniel Harvey
9bd52c0a89
chore: remove Postgres data connector
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9970
GitOrigin-RevId: 5ebae21a19c50c305ee661052f629a367af05d57
2023-07-26 15:24:00 +00:00
Daniel Harvey
88a2bf1b7d
Changed return type of computed field to numeric
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9968
GitOrigin-RevId: 94a1d1d354488577089e0d3e027f3ee1bc53095d
2023-07-26 14:45:26 +00:00
Vijay Prasanna
929773d5b4
console: modify getTableColumns
SQL for postgres DAL method to include materialized views
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9966
GitOrigin-RevId: 16fc6f7bd1c1308e27511fa6387b51564c0b9dbf
2023-07-26 14:18:55 +00:00
Puru Gupta
b3a128065f
server: add tenant policy to enable/disable otel exporter
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9928
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Toan Nguyen <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 56c6903691353875f87bf417c332ac89cdda1279
2023-07-26 12:50:10 +00:00
Daniel Chambers
bae14c70d4
Fix inherited roles leaking supposedly-hidden data via aggregation predicates for Postgres
...
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9961
GitOrigin-RevId: cffe2fda2f4dbc7929fc1aaac3887b7d12c4b467
2023-07-26 12:07:34 +00:00
Rob Dominguez
d1cdacca60
docs: update GCP names for Google branding
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9944
GitOrigin-RevId: ad7da698ad30fec1146120ac82351781486888e6
2023-07-26 11:23:51 +00:00
Tirumarai Selvan
9f7c841711
add more details to event delivery
...
Add some important details to ET execution architecture
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9952
GitOrigin-RevId: 331e2f1fd03e810f5a47da0a666dbc209542b11a
2023-07-26 11:14:11 +00:00
Vishnu Bharathi
2693447b25
ci: tag release v2.31.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9967
GitOrigin-RevId: 65796e0792be252a7e3e5496688715f146f4b751
2023-07-26 11:06:59 +00:00
Julian
c00fd3d735
Permission comment cache fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9955
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8efac3be27525069998556489451f2afc2eed44b
2023-07-26 10:49:16 +00:00
Luca Restagno
cf214f087d
console: show array pg data types in the drop down while creating/modifying columns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9930
GitOrigin-RevId: 32c1a2ab7ea90b06303fa0e499788a2b37bccd0b
2023-07-26 10:12:37 +00:00
Samir Talwar
580ae13fc1
server: Upgrade ODBC to correct some error reporting.
...
The ODBC library inserts `CAST(? AS NVARCHAR(MAX))` instead of just `?` when working with text, to ensure that a text parameter is always interpreted as the same type. This was introduced in https://github.com/fpco/odbc/pull/44 to fix a different bug in HGE.
However, this is not reflected in the returned query in case of an error, which can be very confusing for the reader.
This change fixes the renderer so that the query is generated in the same way when parameterized and when rendered for error messages.
The associated changes are at 43b07813d6
.
[NDAT-738]: https://hasurahq.atlassian.net/browse/NDAT-738?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9949
GitOrigin-RevId: 465bab3fccab00d41390b96d4e8ea39f5b140a61
2023-07-26 09:29:12 +00:00
Philip Lykke Carlsen
483409c26b
Fix(Sqlserver): Apply Column Redaction to aggregations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9956
GitOrigin-RevId: ed7a734fabcaaead85999a25223a61f0cba7807c
2023-07-26 08:53:56 +00:00
hasura-bot
790523556f
RFC: Input Validations (for mutations)
...
GITHUB_PR_NUMBER: 9463
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9463
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8096
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: 81ae4a849fa4c336bdce75f29126d66297139f00
2023-07-26 08:21:07 +00:00
Varun Choudhary
059c3e3876
console: fix headers for mutation input validation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9898
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4e1a36b498c65a6ad9bcbe98a1dd9e87f288ac06
2023-07-26 06:39:15 +00:00
Brandon Simmons
f0441a3d61
INFRA-833: OpenTelemetry exporter for metrics
...
I scratched out some changes to support this in the front end, mostly to test it easily, maybe this can be used without much rework (validation seems to work correctly, but the tests need to be extended and probably fixed):
<img width="648" alt="fd" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/e5873a90-ef83-43c3-9d54-cfc0a693baca ">
-------
## Fake OTel collector for testing
ChatGPT spit this out, and it's what I used to test, if it's useful to others:
``` python
from flask import Flask, request
from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import ExportTraceServiceRequest
from opentelemetry.proto.collector.metrics.v1.metrics_service_pb2 import ExportMetricsServiceRequest
import google.protobuf.json_format as json_format
app = Flask(__name__)
@app.route("/v1/traces", methods=["POST"])
def handle_traces():
if request.method == 'POST':
binary_trace = request.get_data()
trace_request = ExportTraceServiceRequest()
trace_request.ParseFromString(binary_trace)
print("Received trace data:\n")
print(json_format.MessageToJson(trace_request, indent=2, preserving_proto_field_name=True))
return "Trace data received", 200
@app.route("/v1/metrics", methods=["POST"])
def handle_metrics():
if request.method == 'POST':
binary_metric = request.get_data()
metric_request = ExportMetricsServiceRequest()
metric_request.ParseFromString(binary_metric)
print("Received metrics data:\n")
print(json_format.MessageToJson(metric_request, indent=2, preserving_proto_field_name=True))
return "Metrics data received", 200
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8080)
```
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9552
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Toan Nguyen <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
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: f340bfc5c135a7bb24735b524d015e05db422fd2
2023-07-26 05:22:17 +00:00
Daniel Chambers
fa1441ac3b
Enable inherited role redaction tests for Citus and Cockroach and fix DISTINCT ON for Cockroach
...
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9951
GitOrigin-RevId: b078006a14ebdc007576314405734734ad1944c4
2023-07-26 04:50:25 +00:00
Vijay Prasanna
1f11bd388f
console: integrate useCreateTableRelationships
and useSuggestedRelationships
hooks in the relationships tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9939
GitOrigin-RevId: 71391115fe7403663c53dfbc0bec6e7b62019b50
2023-07-26 04:22:43 +00:00
kodiakhq[bot]
4d86cd3a62
Fix #9447 bad memory usage
...
A fix for #9447
Before this change, for the workload in the ticket, we saw a memory stay at around 4 GB an hour after the workload ended. after this change we see both a lower memory high watermark, and also see memory come back to baseline at the end as we expect (after the `HASURA_GRAPHQL_PG_CONN_LIFETIME` and a subsequent `_idleStaleReaperThread` interval elapses). But note the numbers given on any given machine may be slightly different, since the behavior depends on the version of glibc and processor speed (Since the test case depends on the server being overloaded).
This might also help some users commenting in https://github.com/hasura/graphql-engine/issues/9592
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9823
GitOrigin-RevId: 5650aa42d10d46c418c21686983a982d69011884
2023-07-25 11:24:57 +00:00
Nicolas Inchauspe
82011af6ed
Fix and improvement on the pagination for tracked table in the new UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9890
GitOrigin-RevId: ff1bb64321721718378de6447be9c9cc98e34c32
2023-07-25 10:41:33 +00:00
Daniel Harvey
78323ed1a1
chore(server): permissions for inline logical models
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9835
GitOrigin-RevId: b36a4d5a8e0d4156a2d26803c7d046570f7afefa
2023-07-25 10:11:35 +00:00
Vijay Prasanna
5681b2edff
console: fix issue with edit postgres connection when SSL settings are partially filled
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9950
GitOrigin-RevId: c32eedcd9849e46207ef8125debe0c71af1922bd
2023-07-25 09:47:33 +00:00
Nicolas Inchauspe
74a0165205
console: add autocomplete off to api explorer headers editor inputs
...
[DSF-483]: https://hasurahq.atlassian.net/browse/DSF-483?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9924
GitOrigin-RevId: 93d7351610b4e72ce4147018a368667cda625f61
2023-07-25 09:20:49 +00:00
Julian
1b026af1cd
Track Mongo collections using Logical Models
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9688
GitOrigin-RevId: 5523a8be0c7f4fc22cd9f3ec29527f7a714de932
2023-07-24 20:21:17 +00:00
Julian
8572f59011
Permission comments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9862
GitOrigin-RevId: cd855e584ea7bcd7b89b09e119c7b748394bfbf0
2023-07-24 19:10:36 +00:00
Julian
8bbb1bec34
Fix permission form's submit cache behavior and bug when setting relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9894
GitOrigin-RevId: 68587edeb5e3a923f52154d597c8002428645326
2023-07-24 18:01:37 +00:00
Vijay Prasanna
a833379b86
console (feature): add template
and timeout
props to the GDC connect UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9883
GitOrigin-RevId: 5370b18bcab90919b94c99bd0c74c260b515a6d8
2023-07-24 15:27:30 +00:00
Rob Dominguez
8b0a4a117b
docs: improve logical model and native queries docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9592
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 5825d652bf765c6e8845856971e766ca43f86433
2023-07-24 15:01:13 +00:00
Rob Dominguez
f2454b9854
docs: backport hotfix for nested sidebar rules
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9935
GitOrigin-RevId: c4390f818725af06fcf9c0e7eef1790da4b88268
2023-07-24 13:44:04 +00:00
Varun Choudhary
6b449fe7d3
docs: updated restified endpoints docs
...
This PR updates the docs on restified endpoints.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9867
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 94b9ea60352e2ba6b096ef2686b5bfd38ff53d41
2023-07-21 16:45:34 +00:00
Auke Booij
dad9a80dac
server: null
forwarding feature flag
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9861
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 46153d68adf1acc707dc451555055600b006629e
2023-07-21 15:12:32 +00:00
Vijay Prasanna
a2e15d9ae6
console (fix): use bulk_keep_going
if remote rels are present
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9934
GitOrigin-RevId: 30285a2862c79de6ef57695a6739a442485b4ad2
2023-07-21 14:23:51 +00:00
Rikin Kachhia
4c66d648c7
docs: add prettier
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9923
GitOrigin-RevId: 94038efe5768b63f38dfb447bc315ae5f7185c43
2023-07-21 12:52:40 +00:00
Vishnu Bharathi
b7a6bce19e
ci: tag release v2.30.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9933
GitOrigin-RevId: 62a8e988dc2c8fae65c6306b27a8261eb3230b14
2023-07-21 12:46:33 +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
Daniel Chambers
592e2329d0
Fix inherited roles leaking supposedly-hidden data via filtering for Postgres
...
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9916
GitOrigin-RevId: 39f6f1aa21421dda6573bbae561c62ced3400034
2023-07-20 23:29:01 +00:00
Rob Dominguez
025785b876
docs: backport cloud badge for cli plugins
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9910
GitOrigin-RevId: abc3c2ac271183abf09c1b2c03723053319d7692
2023-07-20 18:01:32 +00:00
nevermore
d798f74a6e
console: Schema Registry email alerts bug fix
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9925
GitOrigin-RevId: 9b38a3ce347ed6d82c00303508fca0b0b9156706
2023-07-20 16:31:00 +00:00
Nicolas Inchauspe
b0c200d21b
console: prevent local storage save when SQL query > 5000 characters
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9921
GitOrigin-RevId: 9d7fee122bc06639461dd2484921c4e65f852816
2023-07-20 14:17:44 +00:00
Rikin Kachhia
161569dd40
docs: refactor sidebar link
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9922
GitOrigin-RevId: 21a1a62b354ad7eac4fd0daaceb2a565bfc444ae
2023-07-20 12:48:27 +00:00
Tom Harding
05cfb65b54
Log Postgres Source Names in Connection Errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9869
GitOrigin-RevId: 916758e7f1037cc67035894298e55771f9aa2d9f
2023-07-20 11:20:09 +00:00
Puru Gupta
b5cd05cebd
server: add tests for invalid auth when using graphql-ws
protocol
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9905
GitOrigin-RevId: 394849866b33039ee9c2bdfc3c33ba13b88f03fa
2023-07-20 10:44:47 +00:00
Anon Ray
a2276b8171
server: update cabal freeze file
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9912
GitOrigin-RevId: 3173e14070f74e452c779a8fe318335e91af883c
2023-07-20 09:49:12 +00:00
Shraddha Agrawal
9fea8ea5b9
docs: add instructions for adding a new connector in metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9870
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: f146037a7bc8b058559d6cb60e187ff2c397775d
2023-07-20 08:38:21 +00:00
nevermore
7a3b3aa59b
console: Gt 652 email and slack alerts for schema registry
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9764
GitOrigin-RevId: 4b42eb2066c5903b114ddcee3dadaa7ca7afc244
2023-07-20 08:22:57 +00:00
Daniel Chambers
7120ae7a44
Fixed incorrect capabilities example in Data Connector agent documentation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9915
GitOrigin-RevId: 487d0b8fecff5dadac796a942389dc6f28987a4d
2023-07-20 06:53:22 +00:00
Matthew Goodwin
9f89096809
console: fix stale data in permission ui
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9908
GitOrigin-RevId: 0c8cffde4c4285fa3d39d1c7a34a4d9234877820
2023-07-19 18:23:03 +00:00
Nicolas Inchauspe
a92bebed75
Fix adding default values while create table (SQL server) fails
...
[DSF-446]: https://hasurahq.atlassian.net/browse/DSF-446?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9855
GitOrigin-RevId: 997beda03cb6aec1c954a419fd6628cf277c0610
2023-07-19 17:51:42 +00:00