Fastify v4 reached end of life in June 2025. If you're still on it, v5 is the line to be on, and it needs Node.js 20+, so the migration is also a runtime upgrade. #Fastify #NodeJS #TypeScript

Fastify v4 reached end of life in June 2025. If you're still on it, v5 is the line to be on, and it needs Node.js 20+, so the migration is also a runtime upgrade. #Fastify #NodeJS #TypeScript
FastifyのテストでappをファイルごとにbeforeAllで共有すると、rate limitの回数とspyの戻し忘れで無実のテストが落ちます。何が漏れるかの棚卸しと、afterEachで戻す直し方、順序依存の確かめ方を書きました。
Ready to start your next full-stack app. Try #MeghJs
Explore the code and documentation:
👉 GitHub: github.com/meghjs/megh
👉 Docs: meghjs.github.io
#TypeScript #NodeJS #Fastify #AI #OpenSource #MeghJS #MeghORM #MVC
If you've ever maintained an open-source tool or have thoughts on what makes a backend framework truly enjoyable to use, I’d love to hear from you in the comments.
GitHub: github.com/meghjs/megh
Docs: meghjs.github.io
#meghjs #typescript #fastify #backend #api
Fastify tip: use hooks for cross-cutting concerns. An onRequest hook that verifies the JWT plus a preHandler hook for authorization claims keep routes clean and scoped per plugin. fastify.dev/docs/latest/... #Fastify #TypeScript #NodeJS
Reporting browser errors without sending user data
An error endpoint with no token, for encrypted and local-first apps: a five-field contract, rate limits keyed safely behind a proxy, and what still leaks.