Remix v2, Cache, Events + Workflows in SaasRock 0.9.3
2 min readDec 12, 2023
TLDR: Watch the release video, or read the changelog here.
Remix v2 (finally 🎉)
Video demo: Remix v2.3 vs Remix v.14.
Most of the file changes are pretty simple stuff, such as:
- Renames: LoaderArgs → LoaderFunctionArgs, ActionArgs → ActionFunctionArgs, V2_MetaFunction → MetaFunction
- i18n: t(“hi {{0}}”,
["alex"]
) → t("hi {{0}}",{0: "alex"}
).
Cache
Improve your MVP’s performance by caching with lru-cache!
Read more about cache here.
Events + Workflows
Now you can use application events in the Workflows feature!
Read more about events here.
Other Subscription Improvements
- Stripe Webhooks: Listen to any stripe event
- Auto-subscribe to Trial: Now you can auto-subscribe tenants to a trial plan (if available).
- Coupons: Stripe Coupons + Multiple One-time payments
Tremor Charts
I implemented 1 area chart graph (using Tremor) in the Analytics dashboard, comparing Page views and Unique visitors in the last 30 days:
Closed Issues
- API limits → email #204: send a notification to “admin-users”
- Table API Logs #305: Implemented Group by API calls screen
- Load page API Logs #322: Fixed keys loading API calls
- API access for unpaid invoices #323: Throws 429 status if open invoice
- Bug subscription one-time #327: Users can now subscribe multiple times
- 🚀 Register — Email checker #333: solved with MailChecker
- 🚀 Upgrade OpenAI Library #331
Let me know what you think!
You’re welcome to join the Discord server or subscribe to my newsletter.