Wasp Launch Week #6: The Fun Side of Web Development ๐บ
vincanger
Posted on July 17, 2024
Wasp v0.14
Wasp v0.14 is about to drop, and we're celebrating with a whole week of feature announcements.
But, first, if you don't know, Wasp is the only true full-stack framework for React, NodeJS, and Prisma, that manages boilerplate for you. It's the fastest way to build full-stack apps with instant Authentication that you own, Routes, Caching, Async Jobs, Full-stack type-safety, Email sending, and more all built right in.
Let's see what we're packing into this upcoming release!
#1: ๐ Define your data models in a separate prisma.schema file!
This change marks the beginning of one of our most requested features - splitting your Wasp config into multiple files! We know that as you develop your Wasp app and it grows, it can become unwieldy to have everything in one hefty .wasp file.
That's why we started by extracting the data model definitions into a standalone Prisma schema file! This will significantly reduce the size of the Wasp config file and also allow for a more streamlined experience of writing PSL (Prisma Schema Language), with all the goodies like syntax highlighting and auto-completion working out of the box ๐.
BTW, we're celebrating with a kick-off event Wednesday, July 17th 4:30 p.m. CET on Discord! To reserve your spot (we can fit only so many people in our Discord), click here.
Once you see the invite, mark yourself as "Interested," and that's it!
#2: ๐ Auth Hooks - onBeforeSignup, onAfterSignup, and more!
Although Wasp's Auth feature is probably the fastest way to get authentication running in your full-stack app, adding your custom logic to the auth process can also be quite handyโe.g. if you want to log something, do some extra config etc.
We've made that easy, by offering several authentication lifecycle hooks that you can use for the exact purpose!
#3: ๐ New authentication provider: Discord!
This one is pretty self-explanatory, but that doesn't make it any less cool! Besides Google and GitHub, Discord is now a third social auth method natively supported by Wasp, next to Google and GitHub - that means all you need to do is define a single line in your Wasp config, and voilร - your users can now sign in with Discord!
#4: ๐ TypeScript SDK RFC - a sneak peek!
As you might have seen in the community, this has been an ongoing topic of discussion for a while. Although having a dedicated configuration language (DSL) allows for the maximum customizability of the DX, having Wasp config in TypeScript instead will help out with language tooling (IDE syntax highlighting and auto-completion). Also, it might feel even more familiar to developers using Wasp.
This is why we decided to test the waters and see how we (and you) like it! We are still working out what it will look like, and we have laid out some of the ideas in this RFC for TS SDK. We'd love to hear from you and get your comments and ideas in this GitHub issue (or just come to our Discord and bash us there ๐ )
#5: ๐คฏ OpenSaaS, Reloaded!
And finally, the star of the last launch week, Open SaaS, a 100% free and open-source boilerplate starter for React & Node.js, powered by Wasp, has received its first makeover! You gave us a ton of amazing feedback and ideas, and we listened. Here's what's new:
- Simplified Stripe payment logic
- The code is now organized vertically by features (instead of client and server folders)
- Introduced e2e tests with Playwright
- Added an optional cookie consent banner that hooks up to Google Analytics
- Bunch of small bug fixes and docs updates
And more! Don't forget that Lambo you will earn with your SaaS is just within arm's reach (well, it depends on how long your arm is). All you have to do is go to OpenSaaS and finally start that app you've been dreaming about ๐๏ธ.
#6: ๐ฅณ See you there!
That's pretty much itโwe've given you a taste of what's coming, but for the real deal, you'll have to join us on Wednesday!
Register for the kick-off event here.
Stay in the loop
We'll update you with the latest announcement of the day. To stay in the loop, follow us on Twitter/X and join our Discord.
See you there!
Posted on July 17, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.