Releases: yash-pouranik/errlocal
v0.3.0 - The Zero-Config & Automation Update
This update supercharges errlocal by eliminating all manual setup tasks. We've introduced a streamlined interactive initialization, zero-config cloud deployments, and resilient fallback states!
✨ New Features & Enhancements
- Interactive CLI Setup (
errlocal init): Say goodbye to manually creating.envfiles. We've added a highly intuitive@inquirer/promptsUI. Just runerrlocal initand let the CLI guide you through adding your API keys. - Smart Key Pre-filling: If you ever run
errlocal initagain, it intelligently remembers your existing environment keys so you never have to re-type them! - Zero-Config Cloud Schema: The first time you hit "Sync to Cloud",
errlocalwill automatically communicate with the UrBackend API and provision the exacterror_logsschema required! No manual database configuration required. - Graceful Fallbacks: The core error analysis works even if your secondary API keys are missing. If you only provide a Groq key, the CLI dynamically and gracefully disables the translation and cloud-sync options without crashing.
🛠️ Developer Improvements
- Added Vitest for robust unit testing.
- Automated CI/CD via GitHub Actions to seamlessly test your application whenever code hits the
mainbranch.
🪲 Bug Fixes
- Fixed an issue where the CLI routing engine didn't properly recognize the
initcommand. - Fixed the ensureSchema function so that it properly handles native UrBackend
404responses before building the collection.
Installation / Upgrade:
npm install -g errlocal@latestv0.2.0
🚀 errlocal v0.2.0 - The Interactive Update
This release transforms errlocal from a passive tool into an interactive coding assistant!
1. ✨ New Features
- Interactive Terminal UI
- Stopped crashing on errors! The CLI now pauses and presents an interactive menu powered by @inquirer/prompts.
💡 Explain Error: Get detailed AI analysis.
🔧 Auto-Fix: Automatically apply AI-suggested code fixes.
🌍 Translate: Understand errors in your native language (Hindi, Spanish, etc.).
☁️ Sync: Save error logs to your UrBackend dashboard.
2. Auto-Fix (The "Wow" Factor)
- You can now apply fixes directly from the terminal!
The AI identifies the exact file and line number.
It proposes a code replacement.
You confirm with a single keystroke (y), and the file is patched instantly.
3. Progressive Hints
- No more walls of text!
Hints are revealed one by one.
Helps you learn and solve the problem yourself before seeing the full solution.
📦 Installation
npm install -g errlocal