diff --git a/CHANGELOG.md b/CHANGELOG.md index ff86f0769ff..5f14397cb27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ RETURNS boolean AS $$ ); $$ LANGUAGE sql STABLE; ``` + and make a query like: ``` @@ -25,7 +26,7 @@ query { content likedByMe } -} +} ``` Support for this is now added through the `add_computed_field` API. @@ -39,6 +40,7 @@ Read more about the session argument for computed fields in the [docs](https://h - console: avoid count queries for large tables (#4692) - console: add read replica support section to pro popup (#4118) - console: allow modifying default value for PK (fix #4075) (#4679) +- console: fix checkbox for forwarding client headers in actions (#4595) - cli: list all avialable commands in root command help (fix #4623) - docs: add section on actions vs. remote schemas to actions documentation (#4284) - docs: fix wrong info about excluding scheme in CORS config @@ -107,6 +109,7 @@ The `internal` field for action errors is improved with more debug information. `response` and `error` fields instead of just `webhook_response` field. Before: + ```json { "errors": [ @@ -127,7 +130,9 @@ Before: ] } ``` + After: + ```json { "errors": [ @@ -191,6 +196,7 @@ ENV vars can now be read from .env file present at the project root directory. A ``` hasura console --envfile production.env ``` + The above command will read ENV vars from `production.env` file present at the project root directory. (close #4129) (#4454) diff --git a/console/src/components/Services/Actions/Add/Add.js b/console/src/components/Services/Actions/Add/Add.js index d4642457f44..0ad1b56954f 100644 --- a/console/src/components/Services/Actions/Add/Add.js +++ b/console/src/components/Services/Actions/Add/Add.js @@ -63,8 +63,7 @@ const AddAction = ({ dispatch(dispatchNewHeaders(hs)); }; - const toggleForwardClientHeaders = e => { - e.preventDefault(); + const toggleForwardClientHeaders = () => { dispatch(toggleFCH()); }; diff --git a/console/src/components/Services/Actions/Common/components/HeaderConfEditor.js b/console/src/components/Services/Actions/Common/components/HeaderConfEditor.js index 8486d566ca5..15f992b65e7 100644 --- a/console/src/components/Services/Actions/Common/components/HeaderConfEditor.js +++ b/console/src/components/Services/Actions/Common/components/HeaderConfEditor.js @@ -32,15 +32,12 @@ const HandlerEditor = ({ />
-