Today at Hasura we released Hasura v2.0! This is a pretty major release with a number of new features that will dramatically increase the capabilities for Hasura.
For several of my projects, specifically the infrastructure as code projects terrazura (blog entry w/ video time points of build out) and tenancy-bydata I was able to get the upgrade to Hasura v2.0 done in moments! Since I don't have to pull backups or anything for these projects, it merely involved the following steps.
- Upgrade the Hasura CLI. This is super easy, just issue the command
hasura update-cli --version v2.0.0-alpha.1
. This command will then download and update the CLI. - Next I updated the Terraform file so the container pulls the latest version
image = "hasura/graphql-engine:v2.0.0-alpha.1"
.
Next run an updated terraform apply
command, which in my case is this command in the case of the terrazura project for example.
terraform init
terraform apply -auto-approve \
-var 'server=terrazuraserver' \
-var 'username='$PUSERNAME'' \
-var 'password='$PPASSWORD'' \
-var 'database=terrazuradb' \
-var 'apiport=8080'
cd migrations
hasura migrate apply
Boom! Everything is now updated to v2.0 and we're ready for all the upcoming Twitch streams relating back to these particular projects!
For more, be sure to subscribe to the HasuraHQ Twitch Channel and my Twitch Channel Thrashing Code as I'll be covering more of the new features in the coming days!
Top comments (0)