Repository navigation
Releases
v2.0.0
Immediate scoped controller loading
Version 2 removes fixed-delay discovery in favor of immediate, subtree-scoped controller loading.
Incremental discovery
Controllers are discovered through document-level MutationObserver batching without Turbo-specific listeners or full-document rescans after initialization. Discovery survives body replacements and handles inserted subtrees and data-controller changes.
Loading and registry
Concurrent loads now share in-flight work, failed imports can retry, and disconnect prevents stale registrations. Registries may combine eager controller modules with lazy importers while preserving deterministic local-over-vendor precedence.
Breaking changes
The debounceWait and turboEvents options were removed, the package is now explicitly ESM-only, and disconnect permanently deactivates the loader.
See the v1 to v2 upgrade guide.
Full Changelog: v1.1.0...v2.0.0