Your AdonisJS ecosystem, in the loop.
All insights
documentation

AdonisJS v7 Documentation Update

· Developer impact : high

The AdonisJS v7 documentation received a comprehensive update covering multiple core packages and guides. Enhancements include improved Ace command flags handling, REPL usability, authentication and authorization clarifications, session management with tagging support, file uploads with manual multipart processing, middleware and request inspection improvements, routing enhancements, dependency injection conditional bindings, scaffolding codemods, Lucid ORM installation and schema generation, cache tracing, Drive service improvements, i18n formatter interface updates, lock package backend support expansion, logger configuration options, mail globals, OpenTelemetry instrumentation, queue tracing, transmit SSE client features, frontend API client clarifications, TanStack Query integration for Svelte, transformers API refinements, Vite integration defaults, security improvements in encryption, hashing, rate limiting, CSRF, CSP, testing enhancements including multi-connection assertions, HTTP server and bodyparser config refinements, environment variable loading priority, build process improvements, starter kit updates for React and hypermedia tutorials, and React starter kit layout and form handling improvements.

What this means for your code

Developers benefit from clearer and more detailed documentation enabling better usage of AdonisJS v7 features. New APIs and configuration options are documented, improving authentication flows, session handling, file uploads, observability, frontend integrations, and testing. The documentation clarifies best practices and new capabilities, reducing confusion and facilitating migration and development.

  • Review updated Ace command flags guide for new options like required flags and allowEmptyValue
  • Use REPL enhancements such as new helper methods and custom commands
  • Adopt new authentication features like deleteAll tokens and auth.checkUsing()
  • Configure session tagging if tracking user sessions is needed
  • Consider manual multipart processing for file uploads when direct streaming is required
  • Utilize new request inspection methods and middleware improvements
  • Update route definitions to use new redirect methods and parameter matchers
  • Explore conditional bindings in dependency injection for environment-specific services
  • Leverage scaffolding codemods for models and controllers
  • Follow Lucid ORM installation steps and use schema generation features for typed schemas and migrations management, including schema dump command and schema_rules.ts customization files, and use new make:model options for scaffolding related files in one command; enable query debugging in development if desired; use hooks for lifecycle events like password hashing and soft deletes with typed queries; use withCount and withAggregate in transformers safely; use serialize helpers with or without wrapping for API responses; use Inertia integration for transformers if applicable; use TanStack Query integration with Svelte support and error handling utilities; update Vite integration as per new defaults and middleware setup; apply security improvements in encryption (AES-SIV driver), hashing (e.

Updated documentation

Original sources

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.

Independent ecosystem watch. Sources linked in every insight.Built with AdonisJS · AI-assisted summariesBy Jérémy Chaufourier · chaufourier.fr