Nhost February 20229 March 2022
Hey all product builders!
After releasing Nhost v2 in January we've spent February improving Nhost. And we have a lot of updates. So let's get started!
You can now see logs for your serverless functions in production. They are available, in real-time, in the Nhost console.
This makes debugging easier and increases overall visibility for your function logs.
Not only can you see logs. You can also see metadata about all your Nhost functions and send test requests from the console (see the top-right button in the image below).
Custom Permission Variables
Up until now, you could only use
x-hasura-user-id as a permission variable for your GraphQL API in Hasura.
You can now set custom permission variables (custom JWT claims) for all your users.
We want to thank our community who contributed with valuable insights during the development of this feature (GitHub Issue link). Thanks!
Want to learn more? Check out our docs for permission variables.
Want to add custom metadata for a user during signup? It's now possible!
Custom metadata can be added to any user who signs up. The metadata can be any JSON object and is saved under auth.users.metadata column as a JSONB in PostgreSQL.
Tips: It's perfect to combine the user's metadata during sign-up with an event trigger.
Custom email templates
Up until this point, it was only possible to use our standard email templates for Nhost Auth.
To be fair, they are not very good-looking (we have to fix that..).
But you no longer have to rely on us for your email templates. You can set your own!
These are the available templates you can modify:
- Verify email
- Confirm email change
- Reset password
- Passwordless Sign-in (Magic Link)
Learn more about custom email templates and how to configure them in our GitHub repository.
Spotify as New Social Sign-In Provider
We've added Spotify (🎵 untz 🎵 untz) as a social sign-in provider.
Read our documentation on how to create a Spotify OAuth application and enable Spotify with Nhost Auth in our docs.
Do you want another sign-in provider in Nhost? Let us know on GitHub: https://github.com/nhost/nhost.
New Region: London 🇬🇧
You can now create new Nhost apps located in London.
Do you want us to add other regions closer to you? Let us know on GitHub: https://github.com/nhost/nhost.
- Kurt Kemple (@theworstdev) gave feedback on the Nhost and our v2 launch twitter.
- refine adds support for Nhost as a data provider (with live example) [twitter].
- Hasura raised $100M in Series C funding [blog].
- How to Add Authentication to Hasura [blog]
- Nhost CLI: From Zero to Production [docs]
- Added docs for:
Create a Nhost App for free and start building: https://app.nhost.io/
PS. Support us on GitHub
It would mean the world to us if you gave us a star on GitHub. This way, we can increase the visibility of Nhost and our open source and GraphQL contributions.