Independent ecosystem watch
AdonisJS updates
Releases, documentation changes, and what they mean for your code.
Latest insights 54
AdonisJS v7 Documentation Update: Introducing @adonisjs/sesame OAuth 2.1 Server and OAuth/OpenID Connect Features
The AdonisJS v7 documentation introduces the new package @adonisjs/sesame, which enables turning an AdonisJS application into a full OAuth 2.1 authorization server supporting authorization code flow with mandatory PKCE, refresh token rotation, token introspection and revocation, client credentials, dynamic client registration, and OpenID Connect (OIDC). It integrates with existing user accounts and login/consent pages, adding OAuth endpoints and an oauth auth guard for access token verification. The documentation provides detailed guidance on installation, configuration, OAuth flows, client management, token formats (opaque and JWT), resource indicators, key rotation, security best practices, and testing. It also covers advanced features like multi-tenant grant context, client metadata validation, discovery endpoints, and maintenance commands for purging revoked tokens and unused clients.
Session and Rate Limiting Documentation Updates
Documentation for AdonisJS has been enhanced with new guidance on flashing custom input errors in sessions and a new dry run mode for rate limiting. The session guide explains how to flash field-specific errors without validation exceptions using `flashInputErrors()`. The rate limiting guide introduces a dry run mode that counts requests exceeding limits without rejecting them, allowing measurement of limits on real traffic before enforcement. The Edge template engine documentation now references flashing input errors, and the events documentation clarifies the `limit:exceeded` event includes a `dryRun` property indicating dry run mode.
Release 2.1.1 of @adonisjs/lock
Version 2.1.1 of the @adonisjs/lock package was released on 2026-11-19. This patch fixes a bug where the Redis connection for the redis store is now opened on its first use, improving connection handling.
Fix: Prevent transport creation during app warmup in Transmit v3.0.3
The Transmit package version 3.0.3 fixes an issue where the Redis transport was created during the app warmup phase, causing `node ace codegen` to hang due to open Redis connections that were never closed. Now, Transmit does not create the transport during warmup, allowing `node ace codegen` to exit properly. In normal app modes, Transmit behavior remains unchanged.
Release 9.0.1 of @adonisjs/shield
Version 9.0.1 of the @adonisjs/shield package was released on November 19, 2026. This release includes a performance improvement by registering ShieldMiddleware as a singleton, which can enhance efficiency.
Limiter v3.1.0 Release: Dry Run Mode, limit:exceeded Event, and Safer Redis clear()
The @adonisjs/limiter package version 3.1.0 introduces a new dry run mode for HTTP limiters that counts requests without rejecting them, emitting a 'limit:exceeded' event with a dryRun flag. The package now emits a 'limit:exceeded' event whenever a request is rejected, useful for logging or metrics. Additionally, the Redis store's clear() method no longer flushes the entire database but only deletes keys under the configured keyPrefix, preventing unintended data loss. Calling clear() without a keyPrefix now throws an error.
Auth v10.1.1 Bug Fix Release
This release fixes two issues in the @adonisjs/auth package: the browser client's loginAs method now properly awaits session and cookie writes to prevent premature test completion errors, and the session guard's authentication_succeeded event now emits the updated remember-me token instead of the deleted one.
Page props type-checking fixed when shared props have optional keys
In AdonisJS Inertia v5.0.6, a bug was fixed where page props stopped being type-checked if shared props included an optional key, such as from a conditional spread. Previously, missing required props or unknown props compiled without error. Now, TypeScript correctly reports errors for missing or undeclared props in render() calls.
Session 8.4.0 Released with Flash Field Errors Feature
AdonisJS Session package version 8.4.0 was released on 2026-11-19. This release introduces a new feature allowing flash field errors to be set without throwing a validation exception.
Lucid Schema Generation and Model Class Naming Updates
The Lucid ORM documentation has been updated to clarify the schema generation process and model class naming conventions. Generated schema classes now use the singular PascalCase table name followed by 'Schema' (e.g., 'PostSchema' for the 'posts' table). Models extend these schema classes and do not inherit the static table property; instead, the model class name determines the table name unless explicitly overridden. For tables in non-default schemas, schema class names are prefixed with the schema name to avoid collisions (e.g., 'AppOrderSchema'). The documentation also includes examples of model definitions, hooks, relationships, and query scopes updated to reflect these naming conventions.
Lucid v22.5.0 Release: New DB Commands, Column Alias Prefix, Custom Paginator Page Name, and Multiple Fixes
The Lucid ORM v22.5.0 release introduces new CLI commands `db:create` and `db:drop` to create and drop databases, a `columnAliasPrefix` static property for models to handle column alias conflicts, and support for custom paginator page query parameter names. It also includes various bug fixes related to migrations, transactions, schema generation, preload performance, and query building. Additionally, some commands now accept a `--force` flag to overwrite files, and internal APIs like `Adapter.db` and `SeedsRunner` are exposed for extensibility.
AdonisJS Core v7.7.0 Release: Secret Type Support and Env Validation Improvements
The AdonisJS core package version 7.7.0 introduces support for a new 'secret' type in the `env:add` command, allowing environment variables to be marked as secrets and excluded from `.env.example`. Additionally, the `configure` command now logs warnings when it retains environment validations in `start/env.ts`, improving clarity and preventing silent mismatches. A bug fix ensures that using `--force` with `configure` properly replaces environment validations for packages, preventing type-check failures.
Http Server v9.3.2 Release: Performance Improvements and Bug Fixes
The AdonisJS http-server package version 9.3.2 introduces several bug fixes and performance enhancements. Key fixes include linear-time decoding of request paths with many encoded percent signs to prevent CPU saturation, improved handling of the trustProxy configuration accepting both comma-separated lists and arrays, stricter UUID matcher validation to reject invalid characters, and better error propagation during route matching even without global middleware. Performance improvements include skipping tracing channels when unused, resulting in up to 18% faster requests on Node 26.10.
Release 7.1.1 of @adonisjs/env
Version 7.1.1 of the @adonisjs/env package was released on 2026-11-18. This patch fixes bugs related to resolving self and cyclic references by converting them to empty strings and ensuring only own keys are matched.
Upgrade Nodemailer to v10 for security fixes
The @adonisjs/mail package has been updated to use Nodemailer version 10. This upgrade addresses security advisories affecting Nodemailer 9.x and fixes issues with sending named addresses containing non-ASCII characters when using Cloudflare.
Configuration Documentation Update: Environment Variable Resolution
The documentation for AdonisJS configuration has been updated to clarify that references to variables missing from the `.env` file and `process.env` resolve to an empty string. Additionally, it explains how to read environment variable values from files using the `file:` prefix, which is useful for secret management systems like Docker secrets or Kubernetes.
Push notifications require a supported browser and HTTPS (localhost works for development).