AdonisJS Framework

AdonisJS Framework

@adonisjs.com

A fully featured @nodejs.org framework for creating bespoke backend applications in record time. Created by @iamvirk.bsky.social. Learn on @adocasts.com

1.3K followers46 following58 posts

We've released security fixes addressing two vulnerabilities in AdonisJS multipart body parsing (Prototype Pollution & DoS). Update now: - v6 users → adonisjs/core 6.20.0 - v7 users → adonisjs/core 7.0.0-next.28

AdonisJS Framework reposted

Replying to @romainlanz.com

"We need more batteries-included backend frameworks like Rails, Laravel or Django." That's literally what AdonisJS has been doing for years.

AdonisJS Framework reposted

State of JS Survey is out. Interesting to see that many backend framework pain points people mention are things already addressed by @adonisjs.com. If you haven't tried it yet, now might be a good time 👀

We've published a security fix for a Path Traversal vulnerability affecting multipart file uploads in AdonisJS (CVE-2026-21440). Update now: - v6 users → adonisjs/core 6.19.2 - v7 users → adonisjs/core 7.0.0-next.18 github.com/adonisjs/cor...

github.comAdonisJS Path Traversal in Multipart File Handling### Summary **Description** A Path Traversal (CWE-22) vulnerability in AdonisJS multipart file handling may allow a remote attacker to write arbitrary files to arbitrary locations on the server...

The next AdonisJS docs will ship with dedicated LLM endpoints. Not just an llms.txt listing pages. Actual cheat sheets crafted for AI assistants. Minimal context, maximum accuracy. Your AI pair programmer is about to get much better at AdonisJS 🤖

Shipping a new ESLint rule: no-backend-import-in-frontend Catches accidental backend imports in your Inertia frontend files at lint time. Type imports still allowed, and you can whitelist shared paths. One less runtime surprise 🙌

AdonisJS Framework reposted

Just kicked off a new project with AdonisJS 7 and finally using all our codegen work in a real app feels insane. Type-safety basically everywhere, the DX is wild.

AdonisJS Framework reposted

AdonisJS has been around for a decade now 🎉 From a humble idea to a modern, debt‑free framework, thanks to a passionate community pushing it forward. Read more about the journey & what comes next 👇 adonisjs.com/blog/a-decad...

adonisjs.com10 Years of AdonisJS — A Personal Reflection and What’s NextAdonisJS just turned 10 years old. A decade of building, learning, and growing with a community that truly loves the framework

AdonisJS Framework reposted

There's a common misconception that frameworks like @adonisjs.com or NestJS are inherently "heavy" compared to Express. Both start with a very small core and let you opt-in to official (or third-party) modules as you need them.

AdonisJS Framework reposted

A new lesson just dropped in our Adding an API series! We'll remove the modules show route from our resource using except, then refactor to add a GetModules action for our modules index & courses show routes. Get started ↓ buff.ly/r5xoN1K

🚨 In 30 minutes, Harminder will be live on GitHub’s Open Source Friday! Tune in to hear about the motivation behind AdonisJS, the design choices that shaped it, and what sets it apart from other frameworks.

youtube.comOpen Source Friday with AdonisJS creator Harminder VirkBuilding a JavaScript framework from scratch is no small feat—especially one as developer-focused and feature-rich as AdonisJS. In this episode of Open Source Friday, Karan M V from GitHub hosts Harm...

After a year of uncertainty, the TypeScript team has officially confirmed that spec-compliant decorators will not support emitting type metadata. Since decorators are used sparingly in AdonisJS, migrating away from the experimental syntax will mostly affect Dependency Injection.

As with our move to ESM, we want to stay aligned with the JavaScript spec and avoid TypeScript-only patterns. We’ll start testing the new syntax internally and share updates as we go. 🙌

Coming in the next version of Lucid: First-class support for Multi-Tenant applications! With built-in Dependency Injection, you can effortlessly create a custom QueryClient that automatically applies the right query constraints for each tenant. Learn more 👇

View full thread

All other parts of your application using DI will receive the same QueryClient instance during the current HTTP request. For example, here I am fetching all the posts for a given tenant without remembering to always add this clause.

This global where clause can bite you if there are `or where` conditions in your query. To mitigate that, we are removing the top-level `orWhere` method from the query builder, and you will be forced to always define a `orWhereGroup` to write or where conditions.

Coming in the next version of Lucid: First-class support for Multi-Tenant applications! With built-in Dependency Injection, you can effortlessly create a custom QueryClient that automatically applies the right query constraints for each tenant. Learn more 👇

1. Define a middleware that creates an instance of QueryClient and auto adds the `where tenant_id clause` to all the queries. 2. Bind this instance of the QueryClient to the container.

AdonisJS Framework reposted

It's official! I'll be speaking at Paris TypeScript about @adonisjs.com! 🎉 Slides are still a blank canvas, so if you have any questions, content requests, or suggestions, let me know—I’d love to include them! 🙌 👉 meetu.ps/e/NNkfP/MRVG...

meetu.psParis TypeScript #41, Tue, Jan 21, 2025, 7:00 PM | MeetupSalut les TypeScripters, c'est parti pour le 41ème Paris TypeScript 😎 Un grand merci à notre hébergeur pour cet event : [OCTO](https://octo.com/) Pour ceux qui ne peuven

Back in December, we enhanced the unique & exists rules in Lucid for VineJS. Check out the details in this @adocasts.com video!

Adocasts@adocasts.com

Did you catch the new overload option that was added to Lucid's unique & exists VineJS validation rules, back in December? In today's lesson, we'll take a look at this new, non-breaking, overload and how it compares to the pre-existing usage. Ready to learn? 🎓

2025 is the year AdonisJS Queue becomes a reality! 🚀 We're bringing first-class job queueing to your favorite framework, and we can't wait to share all the exciting improvements we have planned. #BeProductiveFromDayOne

✨ Happy New Year from the AdonisJS team! 🎉 2024 was a huge year with the release of AdonisJS 6, bringing new levels of power and productivity to your apps. 🚀 We can't wait to deliver even more amazing features in 2025. Thank you for being part of our journey! ❤️

We've updated our @vite.dev and Inertia packages to support the latest versions: Vite 6.0 and Inertia 2.0. Upgrading your application to these releases is quick and easy. There's only a small breaking change in the Inertia adapter, which can be resolved with a simple find & replace!

AdonisJS Framework reposted

3 new Building with #AdonisJS & #Inertia lessons are out now! In these, we'll add ⇒ The ability to delete courses ⇒ Begin work on our courses show page ⇒ Create a nifty TagSelector component that'll auto-patch changes Ready to learn? 🎓 https://buff.ly/41iCPrb

adocasts.comBuilding with AdonisJS & Inertia: Deleting CoursesIn this lesson, we'll add the ability to delete courses from an organization with confirmation from our user.

🎉 We are now 7,000 members strong on Discord and have reached 17,000 GitHub Stars. It took us close to a decade to get these numbers. 📈 But we are enjoying this slow growth and craftsmanship. Not everything is built to take over the world. 🙌