# Faster container resolution in @adonisjs/fold v11\.1\.1

Canonical URL : https://adonisjs-signal.jrmc.dev/insights/af93abf2-81cb-4d20-bd4a-8602210f8b64
Source release or documentation date : 2026-10-28T12:26:33.000Z
Category : release | Developer impact : medium
Affected packages : @adonisjs/fold

The @adonisjs/fold package version 11\.1\.1 introduces a performance improvement where classes without dependencies are constructed directly, bypassing the usual resolution pipeline\. This results in approximately 3x faster execution of container\.make and resolver\.call for such classes or methods\. The behavior remains consistent with previous versions, including error handling and event emissions\. Additionally, a bug fix ensures classes defining a static toString method are correctly detected as classes by the container\.

## What this means for your code

Developers using @adonisjs/fold will experience faster instantiation of classes without dependencies, improving application startup and runtime performance\. No changes to existing code are required as observable behavior and APIs remain unchanged\. The bug fix improves class detection reliability, potentially resolving edge cases where classes with static toString methods were misidentified\.

## Suggested actions

- Upgrade @adonisjs/fold to version 11\.1\.1 to benefit from faster container resolution and the class detection bug fix\.
- No code changes or migration steps are necessary\.
- Test applications to confirm no regressions in container behavior\.

## Original sources

- [Faster container resolution](https://github.com/adonisjs/fold/releases/tag/v11.1.1)

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