v3.8.0: The Next Turbo Revolution ⚡️ 🌳
13
Publication Date: 12/10/2025
Author: Anas Chakroun
6-8 minutes
Hide Logs arrives. Plus a new Acorn engine that makes Turbo lighter and much faster.
🎭 Pro: New Hide Logs Feature
Managing dozens of log statements becomes overwhelming fast. The new Hide Logs feature lets you temporarily mute specific entries—by pattern, file, or one‑click—without deleting them. Hide everything that's not relevant to your current task, then reveal it all with a single toggle. Your debugging panel stays clean; your workflow stays focused.
🧠 TypeScript AST → Acorn AST
We swapped the heavy TypeScript compiler layer for the lightweight Acorn parser. You get the same AST‑powered precision with a leaner, faster engine.
📦 Bundle Size Comparison
⚡ VS Code Load Time Comparison
96% smaller package (2.6MB → ~108KB), ~85% smaller bundle (3.7MB → ~560KB), and ~89% faster activation (860ms → ~96ms).
🛠️ AST engine: parsing pattern improvements
During the migration to Acorn, we seized the opportunity to refine our own parsing analysis and address several edge‑case patterns. Log insertion now works correctly in complex real‑world code:
Variables within return statements: correctly identifies when a log should stay inside the return block (e.g., callback parameters, inline expressions) vs. before the return
JSX and React patterns: full support for modern React code including hooks, fragments, conditional rendering, and implicit arrow function returns
Computed property destructuring: nested object destructuring patterns with dynamic computed property names (
[id]syntax)Multi‑line object literals: complex objects spanning dozens of lines with type annotations, arrow functions, and deep property nesting
Binary expressions with optional chaining: inequality comparisons using
!==with optional chaining operators now parse correctlyAsync destructuring assignments: multi‑line destructuring from async function calls with type assertions and fallback values
Nested default parameters: arrow functions with multi‑line parameter lists where defaults are themselves function expressions
Class method decorators: parameters within methods that have multiple decorators (NestJS, Angular patterns)
📌 Temporary limitation
✅ This limitation has been resolved in v3.8.1 — Vue 3 Single‑File Components (.vue) with <script> and <script setup> blocks are now fully supported.
Vue 3 Composition API in separate .js/.ts files is fully supported. However, Single‑File Components (.vue with <script> blocks) aren 't parsed yet. Workaround: isolate your <script> logic in a standalone file while we add first‑class SFC support. Track progress here.
🔮 What's next: v3.9.0
The next iteration focuses on broader AST engine strengthening— refining edge‑case handling, improving parsing resilience, and expanding framework coverage. Expect v3.9.0 to deliver even more robust log insertion with deeper pattern recognition for modern JavaScript constructs across your entire stack.
🚀 Turbo Pro, now even smoother
All Pro features ride on the new engine — lighter, faster, and more responsive. Hide Logs is the first of several power‑user upgrades coming next.