From 0ff26100bfccefdd1f475aa369893ebab658ed19 Mon Sep 17 00:00:00 2001 From: Praveen Durairaju Date: Tue, 2 Mar 2021 00:20:24 +0530 Subject: [PATCH] update docs link to avoid redirects GitOrigin-RevId: 1f2a1d21bfb9b2908d56305fa2dfb69270deafdf --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CHANGELOG.md | 10 +- README.md | 14 +-- cli/cli.go | 2 +- cli/commands/init.go | 2 +- .../passportjs-jwt-roles/README.md | 2 +- .../firebase-cloud-functions/README.md | 4 +- .../auth-webhooks/nodejs-express/README.md | 2 +- .../auth-webhooks/nodejs-firebase/README.md | 2 +- .../auth-webhooks/passport-js/README.md | 2 +- .../auth-webhooks/python-flask/README.md | 2 +- .../boilerplates/event-triggers/README.md | 2 +- .../netlify-functions/README.md | 2 +- .../event-triggers/zeit-now/README.md | 2 +- .../boilerplates/remote-schemas/README.md | 2 +- .../gatsby-contentful-auth0/README.md | 2 +- .../with-apollo-jwt/README.md | 2 +- .../nextjs-8-serverless/with-apollo/README.md | 2 +- .../nextjs-postgres-graphql/README.md | 2 +- .../nuxtjs-postgres-graphql/README.md | 2 +- .../quasar-framework-vue-graphql/README.md | 12 +- community/sample-apps/react-relay/README.md | 6 +- .../react-static-graphql/README.md | 2 +- .../realtime-location-tracking/README.md | 2 +- community/sample-apps/realtime-poll/README.md | 2 +- .../vuetify-vuex-todo-graphql/README.md | 2 +- .../whatsapp-clone-typescript-react/README.md | 2 +- console/README.md | 6 +- .../components/Common/Onboarding/index.tsx | 6 +- console/src/components/Main/Main.js | 2 +- .../components/Main/NotificationSection.tsx | 4 +- .../Main/components/UpdateVersion.tsx | 2 +- .../Services/Actions/Landing/Main.js | 2 +- .../Data/Common/Components/EnumsSection.js | 2 +- .../Function/Modify/SessionVarSection.tsx | 2 +- .../Data/Function/Permission/Permission.tsx | 2 +- .../Services/Data/Migrations/Migrations.js | 2 +- .../components/Services/Data/RawSQL/RawSQL.js | 2 +- .../components/Services/Data/Schema/Schema.js | 4 +- .../Data/TableModify/ComputedFields.tsx | 2 +- .../Data/TableModify/ComputedFieldsEditor.tsx | 2 +- .../Data/TablePermissions/Permissions.js | 2 +- .../Data/TableRelationships/Relationships.js | 2 +- .../TableRelationships/RelationshipsView.js | 2 +- .../RemoteRelationships.tsx | 2 +- .../src/components/Services/Data/constants.js | 2 +- .../Services/Events/AdhocEvents/Info/Info.tsx | 2 +- .../EventTriggers/Common/Operations.tsx | 2 +- .../EventTriggers/Landing/EventTrigger.tsx | 2 +- .../RemoteSchema/Landing/RemoteSchema.js | 2 +- .../Services/Settings/About/About.tsx | 2 +- .../AllowedQueries/AllowedQueriesNotes.js | 2 +- .../MetadataOptions/MetadataOptions.js | 2 +- console/src/metadata/types.ts | 102 ++++++++-------- console/src/telemetry/Notifications.tsx | 2 +- .../generated/HasuraMetadataV2.go | 110 ++++++++--------- .../generated/HasuraMetadataV2.hs | 110 ++++++++--------- .../generated/HasuraMetadataV2.json | 112 +++++++++--------- .../generated/HasuraMetadataV2.py | 110 ++++++++--------- .../generated/HasuraMetadataV2.ts | 110 ++++++++--------- .../generated/HasuraMetadataV2.yaml | 112 +++++++++--------- .../HasuraMetadataV2.schema.json | 110 ++++++++--------- .../src/types/HasuraMetadataV2.schema.json | 112 +++++++++--------- .../src/types/HasuraMetadataV2.schema.yaml | 112 +++++++++--------- .../src/types/HasuraMetadataV2.ts | 100 ++++++++-------- docs/graphql/cloud/response-caching.rst | 2 +- .../deployment/deployment-guides/index.rst | 2 +- docs/graphql/core/getting-started/index.rst | 2 +- docs/graphql/core/hasura-cli/hasura_init.rst | 2 +- event-triggers.md | 4 +- .../azure-container-with-pg/README.md | 18 +-- install-manifests/azure-container/README.md | 18 +-- remote-schemas.md | 2 +- scripts/cli-migrations/v1/README.md | 2 +- scripts/cli-migrations/v2/README.md | 2 +- server/src-lib/Hasura/App.hs | 2 +- .../Hasura/Backends/Postgres/Connection.hs | 2 +- .../src-lib/Hasura/RQL/DDL/Schema/Function.hs | 2 +- server/src-lib/Hasura/RQL/Types/Function.hs | 2 +- server/src-lib/Hasura/Server/Auth.hs | 2 +- server/src-lib/Hasura/Server/Auth/JWT.hs | 4 +- translations/README.bosnian.md | 10 +- translations/README.chinese.md | 8 +- translations/README.french.md | 6 +- translations/README.german.md | 10 +- translations/README.greek.md | 10 +- translations/README.indonesian.md | 10 +- translations/README.japanese.md | 10 +- translations/README.mx_spanish.md | 10 +- translations/README.portuguese_br.md | 10 +- translations/README.russian.md | 10 +- translations/event-triggers.french.md | 4 +- translations/remote-schemas.french.md | 2 +- translations/remote-schemas.hindi.md | 2 +- 94 files changed, 763 insertions(+), 763 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 205bcf7a5d4..bbb2e37b064 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -46,7 +46,7 @@ Does this PR change Hasura Catalog version? - [ ] No - [ ] Yes - - [ ] Updated docs with SQL for downgrading the catalog + - [ ] Updated docs with SQL for downgrading the catalog #### Metadata diff --git a/CHANGELOG.md b/CHANGELOG.md index 786d4954606..cfe67d2dfc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -514,7 +514,7 @@ query { Support for this is now added through the `add_computed_field` API. -Read more about the session argument for computed fields in the [docs](https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html). +Read more about the session argument for computed fields in the [docs](https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html). ### Manage seed migrations as SQL files @@ -761,7 +761,7 @@ Postgres materialized views are views that are persisted in a table-like form. T ### docs: map Postgres operators to corresponding Hasura operators Map Postgres operators to corresponding Hasura operators at various places in docs and link to PG documentation for reference. -For example, see [here](https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#operator). +For example, see [here](https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#operator). (#4502) (close #4056) @@ -854,7 +854,7 @@ Read more about check constraints on [Postgres Docs](https://www.postgresql.org/ A new CLI migrations image is introduced to account for the new migrations workflow. If you're have a project with `version: 2` in `config.yaml`, you should use the new image: `hasura/graphql-engine:v1.2.0-cli-migrations-v2`. Mount the migrations at `/hasura-migrations` and metadata at `/hasura-metadata`. -See [upgrade docs](https://hasura.io/docs/1.0/graphql/manual/migrations/upgrade-v2.html). +See [upgrade docs](https://hasura.io/docs/latest/graphql/core/migrations/upgrade-v2.html). (close #3969) (#4145) @@ -929,7 +929,7 @@ docker run hasura/graphql-engine:v1.2.0 graphql-engine --database-url d # start hasura v1.0.0 ``` -Read more about this command in the [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/downgrading.html#downgrading-hasura-graphql-engine). +Read more about this command in the [docs](https://hasura.io/docs/latest/graphql/core/deployment/downgrading.html#downgrading-hasura-graphql-engine). (close #1156) (#3760) @@ -937,7 +937,7 @@ Read more about this command in the [docs](https://hasura.io/docs/1.0/graphql/ma When using webhooks to authenticate incoming requests to the GraphQL engine server, it is now possible to specify an expiration time; the connection to the server will be automatically closed if it's still running when the expiration delay is expired. -Read more about it in the [docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html). +Read more about it in the [docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html). ### Bug fixes and improvements diff --git a/README.md b/README.md index bc70fd364c3..b21703761c7 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ The fastest and easiest way to try Hasura out is via [Hasura Cloud](https://hasu 3. Make your first GraphQL query - Create a table and instantly run your first query. Follow this [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html). + Create a table and instantly run your first query. Follow this [simple guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html). ### Other one-click deployment options @@ -87,15 +87,15 @@ Check out the instructions for the following one-click deployment options: | **Infra provider** | **One-click link** | **Additional information** | |:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:| -| Heroku | [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/heroku-one-click.html) | -| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) | -| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) | -| Render | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/render-one-click.html) | +| Heroku | [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/heroku-one-click.html) | +| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) | +| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) | +| Render | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/render-one-click.html) | ### Other deployment methods For Docker-based deployment and advanced configuration options, see [deployment -guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) or +guides](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) or [install manifests](install-manifests). ## Architecture @@ -126,7 +126,7 @@ processing - [read more](event-triggers.md). ### Derived data or data transformations -Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html). +Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html). ## Demos diff --git a/cli/cli.go b/cli/cli.go index d4ab716bb92..856d4883b03 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -84,7 +84,7 @@ const ( const ( StrTelemetryNotice = `Help us improve Hasura! The cli collects anonymized usage stats which allow us to keep improving Hasura at warp speed. To opt-out or read more, -visit https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html +visit https://hasura.io/docs/latest/graphql/core/guides/telemetry.html ` ) diff --git a/cli/commands/init.go b/cli/commands/init.go index 9dc15d820be..a8b4d12a5b6 100644 --- a/cli/commands/init.go +++ b/cli/commands/init.go @@ -52,7 +52,7 @@ func NewInitCmd(ec *cli.ExecutionContext) *cobra.Command { # Create a hasura project in the current working directory hasura init . - # See https://hasura.io/docs/1.0/graphql/manual/migrations/index.html for more details`, + # See https://hasura.io/docs/latest/graphql/core/migrations/index.html for more details`, SilenceUsage: true, Args: cobra.MaximumNArgs(1), PreRunE: func(cmd *cobra.Command, args []string) error { diff --git a/community/boilerplates/auth-servers/passportjs-jwt-roles/README.md b/community/boilerplates/auth-servers/passportjs-jwt-roles/README.md index 01e0a5c29ae..c8518ba872e 100644 --- a/community/boilerplates/auth-servers/passportjs-jwt-roles/README.md +++ b/community/boilerplates/auth-servers/passportjs-jwt-roles/README.md @@ -137,7 +137,7 @@ You can also configure the server in JWKS mode and set `HASURA_GRAPHQL_JWT_SECRE { "type": "RS256", "jwk_url": "hostname:port/jwks" } ``` -More information in the [Hasura documentation](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/jwt.html). +More information in the [Hasura documentation](https://hasura.io/docs/latest/graphql/core/auth/authentication/jwt.html). ## Usage diff --git a/community/boilerplates/auth-webhooks/firebase-cloud-functions/README.md b/community/boilerplates/auth-webhooks/firebase-cloud-functions/README.md index 862f0e67b94..3f165c904f4 100644 --- a/community/boilerplates/auth-webhooks/firebase-cloud-functions/README.md +++ b/community/boilerplates/auth-webhooks/firebase-cloud-functions/README.md @@ -24,11 +24,11 @@ Further reading: [Firebase SDK for Cloud Functions](https://firebase.google.com/ Set `--auth-hook` or `HASURA_GRAPHQL_AUTH_HOOK` to the endpoint obtained above. - [GraphQL engine server flags reference](https://hasura.io/docs/1.0/graphql/manual/deployment/graphql-engine-flags/reference.html) for details. + [GraphQL engine server flags reference](https://hasura.io/docs/latest/graphql/core/deployment/graphql-engine-flags/reference.html) for details. ## Create table and set permission - Follow [Common roles and auth examples](https://hasura.io/docs/1.0/graphql/manual/auth/authorization/common-roles-auth-examples.html) + Follow [Common roles and auth examples](https://hasura.io/docs/latest/graphql/core/auth/authorization/common-roles-auth-examples.html) on Hasura doc for details of how to setup permission to a table. Make sure to change id column of user table to TXT type as uid sent from webhook is firebase User UID format (e.g. 0LnvZc7405TjRTbjURhZYYVXPI52) diff --git a/community/boilerplates/auth-webhooks/nodejs-express/README.md b/community/boilerplates/auth-webhooks/nodejs-express/README.md index 2589a343256..bed266b04bf 100644 --- a/community/boilerplates/auth-webhooks/nodejs-express/README.md +++ b/community/boilerplates/auth-webhooks/nodejs-express/README.md @@ -45,4 +45,4 @@ Click the following button to edit on glitch Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine. -*[Read the docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).* +*[Read the docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).* diff --git a/community/boilerplates/auth-webhooks/nodejs-firebase/README.md b/community/boilerplates/auth-webhooks/nodejs-firebase/README.md index 55b8e20f699..f864a7683e9 100644 --- a/community/boilerplates/auth-webhooks/nodejs-firebase/README.md +++ b/community/boilerplates/auth-webhooks/nodejs-firebase/README.md @@ -91,7 +91,7 @@ FIREBASE_CONFIG='{ Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine. -*[Read the docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).* +*[Read the docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).* ### Firebase diff --git a/community/boilerplates/auth-webhooks/passport-js/README.md b/community/boilerplates/auth-webhooks/passport-js/README.md index 3e7df4c04f0..e6e5d4b6396 100644 --- a/community/boilerplates/auth-webhooks/passport-js/README.md +++ b/community/boilerplates/auth-webhooks/passport-js/README.md @@ -90,4 +90,4 @@ The client just need to add `Authorization: Bearer ` to the request sendi The endpoint (say `http://localhost:8080/webhook`) can be given as an environment variable `HASURA_GRAPHQL_AUTH_HOOK` to GraphQL Engine. -[Read more about webhook here](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html). +[Read more about webhook here](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html). diff --git a/community/boilerplates/auth-webhooks/python-flask/README.md b/community/boilerplates/auth-webhooks/python-flask/README.md index 3a7d2ddb0ce..43ce47f2dfc 100644 --- a/community/boilerplates/auth-webhooks/python-flask/README.md +++ b/community/boilerplates/auth-webhooks/python-flask/README.md @@ -78,4 +78,4 @@ HASURA_GRAPHQL_AUTH_WEBHOOK=http://localhost:5000/auth-webhook All queries will be now validated through the webhook. -> Read more on [authentication and access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html). +> Read more on [authentication and access control](https://hasura.io/docs/latest/graphql/core/auth/index.html). diff --git a/community/boilerplates/event-triggers/README.md b/community/boilerplates/event-triggers/README.md index 05592861d33..59d740b136d 100644 --- a/community/boilerplates/event-triggers/README.md +++ b/community/boilerplates/event-triggers/README.md @@ -24,7 +24,7 @@ Note: *If you want to add support for other platforms, please submit a PR or cre ## Setup Postgres + Hasura GraphQL engine This boilerplate code assumes that you already have a HGE instance running. -If not you can visit the [docs](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) and setup Postgres + HGE. +If not you can visit the [docs](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) and setup Postgres + HGE. ## Deploying the boilerplate examples diff --git a/community/boilerplates/event-triggers/netlify-functions/README.md b/community/boilerplates/event-triggers/netlify-functions/README.md index c201e14cc88..614165a51a7 100644 --- a/community/boilerplates/event-triggers/netlify-functions/README.md +++ b/community/boilerplates/event-triggers/netlify-functions/README.md @@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) -Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options. +Checkout [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment options. ### Setup `netlify-cli` diff --git a/community/boilerplates/event-triggers/zeit-now/README.md b/community/boilerplates/event-triggers/zeit-now/README.md index 222f064c214..ed248f7afce 100644 --- a/community/boilerplates/event-triggers/zeit-now/README.md +++ b/community/boilerplates/event-triggers/zeit-now/README.md @@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) -Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options. +Checkout [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment options. ### Setup `now` diff --git a/community/boilerplates/remote-schemas/README.md b/community/boilerplates/remote-schemas/README.md index b7f2f0dd292..28fd207fbcb 100644 --- a/community/boilerplates/remote-schemas/README.md +++ b/community/boilerplates/remote-schemas/README.md @@ -18,7 +18,7 @@ Typical use-cases: ## Docs -[Remote Schema documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html) +[Remote Schema documentation](https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html) ## Architecture diff --git a/community/sample-apps/gatsby-contentful-auth0/README.md b/community/sample-apps/gatsby-contentful-auth0/README.md index d096bbd8bca..607a862051e 100644 --- a/community/sample-apps/gatsby-contentful-auth0/README.md +++ b/community/sample-apps/gatsby-contentful-auth0/README.md @@ -12,7 +12,7 @@ npm install > Note: if you clone this project through the Gatsby CLI, it will install the modules for you. ## Auth0 -This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://hasura.io/docs/1.0/graphql/manual/guides/integrations/auth0-jwt.html) for the configuration. +This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://hasura.io/docs/latest/graphql/core/guides/integrations/auth0-jwt.html) for the configuration. ### Modify auth config diff --git a/community/sample-apps/nextjs-8-serverless/with-apollo-jwt/README.md b/community/sample-apps/nextjs-8-serverless/with-apollo-jwt/README.md index 54efcd1e408..2bae72f9dc0 100644 --- a/community/sample-apps/nextjs-8-serverless/with-apollo-jwt/README.md +++ b/community/sample-apps/nextjs-8-serverless/with-apollo-jwt/README.md @@ -7,7 +7,7 @@ [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) diff --git a/community/sample-apps/nextjs-8-serverless/with-apollo/README.md b/community/sample-apps/nextjs-8-serverless/with-apollo/README.md index 9ee340050b7..b76d74b5425 100644 --- a/community/sample-apps/nextjs-8-serverless/with-apollo/README.md +++ b/community/sample-apps/nextjs-8-serverless/with-apollo/README.md @@ -8,7 +8,7 @@ [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) diff --git a/community/sample-apps/nextjs-postgres-graphql/README.md b/community/sample-apps/nextjs-postgres-graphql/README.md index 8537a580af8..7f0ef065cfc 100644 --- a/community/sample-apps/nextjs-postgres-graphql/README.md +++ b/community/sample-apps/nextjs-postgres-graphql/README.md @@ -13,7 +13,7 @@ Boilerplate to get started with Nextjs, Hasura GraphQL engine as CMS and postgre [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) - Create `author` table: diff --git a/community/sample-apps/nuxtjs-postgres-graphql/README.md b/community/sample-apps/nuxtjs-postgres-graphql/README.md index 1e47727faa7..e288534c623 100644 --- a/community/sample-apps/nuxtjs-postgres-graphql/README.md +++ b/community/sample-apps/nuxtjs-postgres-graphql/README.md @@ -11,7 +11,7 @@ [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) - Create `author` table: diff --git a/community/sample-apps/quasar-framework-vue-graphql/README.md b/community/sample-apps/quasar-framework-vue-graphql/README.md index c02c0df56f8..7a3235b3622 100644 --- a/community/sample-apps/quasar-framework-vue-graphql/README.md +++ b/community/sample-apps/quasar-framework-vue-graphql/README.md @@ -7,16 +7,16 @@ Boilerplate to get started with Quasar Framework, Hasura GraphQL engine as CMS a # Tutorial - Deploy Postgres and GraphQL Engine on Heroku: - + [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) - Create `author` table: - - Open Hasura console: visit https://my-app.herokuapp.com on a browser + + Open Hasura console: visit https://my-app.herokuapp.com on a browser Navigate to `Data` section in the top nav bar and create a table as follows: ![Create author table](../gatsby-postgres-graphql/assets/add_table.jpg) @@ -44,7 +44,7 @@ columns: `id`, `title`, `content`, `author_id` (foreign key to `author` table's yarn install ``` -- Open `src/plugins/apollo.js` and configure Hasura's GraphQL Endpoint as follows: +- Open `src/plugins/apollo.js` and configure Hasura's GraphQL Endpoint as follows: ```js import { ApolloClient } from 'apollo-client' @@ -66,7 +66,7 @@ const apolloClient = new ApolloClient({ In the `httpLink`, replace `myapp.herokuapp.com` with your own Heroku URL of Hasura GraphQL Engine. -- We have defined the graphql query for fetching author list in `src/layouts/MyLayout.vue`. +- We have defined the graphql query for fetching author list in `src/layouts/MyLayout.vue`. - GraphQL query ```graphql diff --git a/community/sample-apps/react-relay/README.md b/community/sample-apps/react-relay/README.md index 67d96776da8..7feec32e6e4 100644 --- a/community/sample-apps/react-relay/README.md +++ b/community/sample-apps/react-relay/README.md @@ -9,9 +9,9 @@ This app demonstrates pagination using Hasura with Relay. It's for demo purposes - columns: `id`, `body`, `created_at`, `restaurant_id` - `restaurants` - columns: `id`, `name`, `cuisine` -- Create a [one-to-many relationship](https://hasura.io/docs/1.0/graphql/manual/schema/relationships/database-modelling/one-to-many.html) between the tables. +- Create a [one-to-many relationship](https://hasura.io/docs/latest/graphql/core/schema/relationships/database-modelling/one-to-many.html) between the tables. - Using the Hasura console, add some rows to both tables. Add at least four reviews since the sample code loads three reviews at a time. -- Using your Relay endpoint from Hasura (`/v1beta1/relay`), export your GraphQL schema by following the instructions [here](https://hasura.io/docs/1.0/graphql/manual/schema/export-graphql-schema.html) (to replace `schema.graphql` at the root of this project). +- Using your Relay endpoint from Hasura (`/v1beta1/relay`), export your GraphQL schema by following the instructions [here](https://hasura.io/docs/latest/graphql/core/schema/export-graphql-schema.html) (to replace `schema.graphql` at the root of this project). - In `fetchGraphQL.js`, set the GraphQL endpoint to your Relay endpoint. - In `App.js`, replace `MY_RESTAURANT_ID` with a restaurant `id` from your database (This is for demo purposes; normally you'd pass in the `id` via routing). - In your Terminal, at the root of the app: @@ -21,4 +21,4 @@ This app demonstrates pagination using Hasura with Relay. It's for demo purposes - Open [http://localhost:3000](http://localhost:3000) to view the app in your browser. - Click the `Load More` button to load more reviews. -For more information on Hasura's Relay API, see the [Hasura docs](https://hasura.io/docs/1.0/graphql/manual/schema/relay-schema.html). +For more information on Hasura's Relay API, see the [Hasura docs](https://hasura.io/docs/latest/graphql/core/schema/relay-schema.html). diff --git a/community/sample-apps/react-static-graphql/README.md b/community/sample-apps/react-static-graphql/README.md index 37f604a77d0..12439d01cf3 100644 --- a/community/sample-apps/react-static-graphql/README.md +++ b/community/sample-apps/react-static-graphql/README.md @@ -11,7 +11,7 @@ A sample app to get started with [react-static](https://github.com/nozzle/react- [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) - Create `author` table: diff --git a/community/sample-apps/realtime-location-tracking/README.md b/community/sample-apps/realtime-location-tracking/README.md index cdfcd1ad4f2..c5e71c49490 100644 --- a/community/sample-apps/realtime-location-tracking/README.md +++ b/community/sample-apps/realtime-location-tracking/README.md @@ -28,7 +28,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres. git clone https://github.com/hasura/graphql-engine cd graphql-engine/community/sample-apps/realtime-location-tracking ``` -- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) +- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) - Goto `hasura/` and edit `config.yaml`: ```yaml endpoint: https://realtime-backend2.herokuapp.com diff --git a/community/sample-apps/realtime-poll/README.md b/community/sample-apps/realtime-poll/README.md index 67e69fdd9af..b7747994eb5 100644 --- a/community/sample-apps/realtime-poll/README.md +++ b/community/sample-apps/realtime-poll/README.md @@ -29,7 +29,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres. git clone https://github.com/hasura/graphql-engine cd graphql-engine/community/sample-apps/realtime-poll ``` -- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) +- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) - Goto `hasura/` and edit `config.yaml`: ```yaml endpoint: https://random-string-123.herokuapp.com diff --git a/community/sample-apps/vuetify-vuex-todo-graphql/README.md b/community/sample-apps/vuetify-vuex-todo-graphql/README.md index 8c8fb10f97e..ef5261d47de 100644 --- a/community/sample-apps/vuetify-vuex-todo-graphql/README.md +++ b/community/sample-apps/vuetify-vuex-todo-graphql/README.md @@ -10,7 +10,7 @@ A simple Todo PWA (Progressive Web App) inspired by [TodoMVC](http://todomvc.com [![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) - Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods + Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods - Get the Heroku app URL (say `my-app.herokuapp.com`) - Create `todos` table: diff --git a/community/sample-apps/whatsapp-clone-typescript-react/README.md b/community/sample-apps/whatsapp-clone-typescript-react/README.md index 26adebf6e30..4393fa326d5 100644 --- a/community/sample-apps/whatsapp-clone-typescript-react/README.md +++ b/community/sample-apps/whatsapp-clone-typescript-react/README.md @@ -19,7 +19,7 @@ The react client is a forked version of [urigo/whatsapp-client-react](https://gi git clone https://github.com/hasura/graphql-engine cd graphql-engine/community/sample-apps/whatsapp-clone-typescript-react ``` -- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) +- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) - Apply the migrations: ```bash cd hasura diff --git a/console/README.md b/console/README.md index dd301b4e4f8..0519064ec0f 100644 --- a/console/README.md +++ b/console/README.md @@ -25,8 +25,8 @@ Feel free to open pull requests to address these issues or to add/fix console f ### Prerequisites - [Node.js](https://nodejs.org/en/) (v8.9+) -- [Hasura GraphQL Engine](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) -- [Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) (for working with migrations) +- [Hasura GraphQL Engine](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) +- [Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) (for working with migrations) ### Set up and install dependencies @@ -44,7 +44,7 @@ npm ci Hasura console can be developed in two modes, `server` or `cli` mode. If you are looking to add/tweak functionality related to migrations, check out [Develop with Hasura CLI](#develop-with-hasura-cli-cli-mode), otherwise check out [Develop with Hasura GraphQL engine](#develop-with-hasura-graphql-engine-server-mode). -Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://hasura.io/docs/1.0/graphql/manual/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html). +Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://hasura.io/docs/latest/graphql/core/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://hasura.io/docs/latest/graphql/core/getting-started/index.html). [Dotenv](https://github.com/motdotla/dotenv) is used for setting environment variables for development. In production, these environment variables are templated by the server or CLI. diff --git a/console/src/components/Common/Onboarding/index.tsx b/console/src/components/Common/Onboarding/index.tsx index 0d2e9498d35..be9adb11bb0 100644 --- a/console/src/components/Common/Onboarding/index.tsx +++ b/console/src/components/Common/Onboarding/index.tsx @@ -96,11 +96,11 @@ const onboardingList = [ title: 'Read the Getting Started Docs', link: { pro: - 'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=pro&plcmt=onboarding-checklist#create-a-table', + 'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=pro&plcmt=onboarding-checklist#create-a-table', oss: - 'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=oss-console&plcmt=onboarding#create-a-table', + 'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=oss-console&plcmt=onboarding#create-a-table', cloud: - 'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=cloud&plcmt=onboarding-checklist#create-a-table', + 'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=cloud&plcmt=onboarding-checklist#create-a-table', }, }, { title: 'Watch Our Getting Started Video', videoId: 'ZGKQ0U18USU' }, diff --git a/console/src/components/Main/Main.js b/console/src/components/Main/Main.js index 6b92011833b..d6cff2f6844 100644 --- a/console/src/components/Main/Main.js +++ b/console/src/components/Main/Main.js @@ -300,7 +300,7 @@ class Main extends React.Component { adminSecretHtml = (
diff --git a/console/src/components/Main/NotificationSection.tsx b/console/src/components/Main/NotificationSection.tsx index 66ce9283a28..f92870d9b3d 100644 --- a/console/src/components/Main/NotificationSection.tsx +++ b/console/src/components/Main/NotificationSection.tsx @@ -263,7 +263,7 @@ const VersionUpdateNotification: React.FC = ({ · @@ -299,7 +299,7 @@ const VulnerableVersionNotification: React.FC = ({ · diff --git a/console/src/components/Main/components/UpdateVersion.tsx b/console/src/components/Main/components/UpdateVersion.tsx index aab441088d5..4545153724f 100644 --- a/console/src/components/Main/components/UpdateVersion.tsx +++ b/console/src/components/Main/components/UpdateVersion.tsx @@ -78,7 +78,7 @@ export const UpdateVersion: React.FC = ({ · diff --git a/console/src/components/Services/Actions/Landing/Main.js b/console/src/components/Services/Actions/Landing/Main.js index 6540099e2b9..45527d6da72 100644 --- a/console/src/components/Services/Actions/Landing/Main.js +++ b/console/src/components/Services/Actions/Landing/Main.js @@ -23,7 +23,7 @@ class Landing extends React.Component { imgUrl={`${globals.assetsPath}/common/img/actions.png`} imgAlt="Actions" description="Actions are custom queries or mutations that are resolved via HTTP handlers. Actions can be used to carry out complex data validations, data enrichment from external sources or execute just about any custom business logic." - knowMoreHref="https://hasura.io/docs/1.0/graphql/manual/actions/index.html" + knowMoreHref="https://hasura.io/docs/latest/graphql/core/actions/index.html" />
diff --git a/console/src/components/Services/Data/Common/Components/EnumsSection.js b/console/src/components/Services/Data/Common/Components/EnumsSection.js index 9d3e88babc8..fb9926327f4 100644 --- a/console/src/components/Services/Data/Common/Components/EnumsSection.js +++ b/console/src/components/Services/Data/Common/Components/EnumsSection.js @@ -5,7 +5,7 @@ import ToolTip from '../../../../Common/Tooltip/Tooltip'; import KnowMoreLink from '../../../../Common/KnowMoreLink/KnowMoreLink'; const enumCompatibilityDocsUrl = - 'https://hasura.io/docs/1.0/graphql/manual/schema/enums.html#create-enum-table'; + 'https://hasura.io/docs/latest/graphql/core/schema/enums.html#create-enum-table'; export const EnumTableModifyWarning = ({ isEnum }) => { if (!isEnum) { diff --git a/console/src/components/Services/Data/Function/Modify/SessionVarSection.tsx b/console/src/components/Services/Data/Function/Modify/SessionVarSection.tsx index 24e3b82c5f7..ae29f4ffc10 100644 --- a/console/src/components/Services/Data/Function/Modify/SessionVarSection.tsx +++ b/console/src/components/Services/Data/Function/Modify/SessionVarSection.tsx @@ -50,7 +50,7 @@ const SessionVarSection: React.FC = ({

Session argument - +

HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=false on the server ( diff --git a/console/src/components/Services/Data/Migrations/Migrations.js b/console/src/components/Services/Data/Migrations/Migrations.js index 4ee9dfbd3bb..2f6dad22c41 100644 --- a/console/src/components/Services/Data/Migrations/Migrations.js +++ b/console/src/components/Services/Data/Migrations/Migrations.js @@ -26,7 +26,7 @@ const Migrations = ({ dispatch, migrationMode }) => {
  • Read more about managing migrations with Hasura at the{' '} diff --git a/console/src/components/Services/Data/RawSQL/RawSQL.js b/console/src/components/Services/Data/RawSQL/RawSQL.js index 67b5324b2b8..be21e728b9d 100644 --- a/console/src/components/Services/Data/RawSQL/RawSQL.js +++ b/console/src/components/Services/Data/RawSQL/RawSQL.js @@ -352,7 +352,7 @@ const RawSQL = ({
  • diff --git a/console/src/components/Services/Data/Schema/Schema.js b/console/src/components/Services/Data/Schema/Schema.js index 0b2b94544d0..492733e2a8e 100644 --- a/console/src/components/Services/Data/Schema/Schema.js +++ b/console/src/components/Services/Data/Schema/Schema.js @@ -523,7 +523,7 @@ class Schema extends Component { 'Untracked foreign-key relationships', 'Relationships inferred via foreign-keys that are not exposed over the GraphQL API', <> - + {getTrackAllBtn()} ); @@ -544,7 +544,7 @@ class Schema extends Component { const heading = getSectionHeading( 'Untracked custom functions', 'Custom functions that are not exposed over the GraphQL API', - + ); return ( diff --git a/console/src/components/Services/Data/TableModify/ComputedFields.tsx b/console/src/components/Services/Data/TableModify/ComputedFields.tsx index b38c244602e..868c919e1b6 100644 --- a/console/src/components/Services/Data/TableModify/ComputedFields.tsx +++ b/console/src/components/Services/Data/TableModify/ComputedFields.tsx @@ -27,7 +27,7 @@ const ComputedFields = (props: ComputedFieldsProps) => {

    Computed fields - +

    = ({ Session argument:   - +   - + {addedRelationshipsView} {getAddRelSection()} diff --git a/console/src/components/Services/Data/TableRelationships/RelationshipsView.js b/console/src/components/Services/Data/TableRelationships/RelationshipsView.js index 8f6db84e3ec..311f6e9d7bd 100644 --- a/console/src/components/Services/Data/TableRelationships/RelationshipsView.js +++ b/console/src/components/Services/Data/TableRelationships/RelationshipsView.js @@ -163,7 +163,7 @@ class RelationshipsView extends Component { Table Relationships   - + {addedRelationshipsView}
    diff --git a/console/src/components/Services/Data/TableRelationships/RemoteRelationships/RemoteRelationships.tsx b/console/src/components/Services/Data/TableRelationships/RemoteRelationships/RemoteRelationships.tsx index 6510249cbe5..f1fc2a84ee2 100644 --- a/console/src/components/Services/Data/TableRelationships/RemoteRelationships/RemoteRelationships.tsx +++ b/console/src/components/Services/Data/TableRelationships/RemoteRelationships/RemoteRelationships.tsx @@ -26,7 +26,7 @@ const RemoteRelationships: React.FC = ({ Remote Schema Relationships   - +
    {

    You can schedule an event from your backend using the{' '} diff --git a/console/src/components/Services/Events/EventTriggers/Common/Operations.tsx b/console/src/components/Services/Events/EventTriggers/Common/Operations.tsx index 3f1bc723ae7..69d0d606ed5 100644 --- a/console/src/components/Services/Events/EventTriggers/Common/Operations.tsx +++ b/console/src/components/Services/Events/EventTriggers/Common/Operations.tsx @@ -43,7 +43,7 @@ const Operations = ({