Skip to content

Releases: yash-pouranik/errlocal

v0.3.0 - The Zero-Config & Automation Update

20 Feb 15:05

Choose a tag to compare

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 .env files. We've added a highly intuitive @inquirer/prompts UI. Just run errlocal init and let the CLI guide you through adding your API keys.
  • Smart Key Pre-filling: If you ever run errlocal init again, 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", errlocal will automatically communicate with the UrBackend API and provision the exact error_logs schema 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 main branch.

🪲 Bug Fixes

  • Fixed an issue where the CLI routing engine didn't properly recognize the init command.
  • Fixed the ensureSchema function so that it properly handles native UrBackend 404 responses before building the collection.

Installation / Upgrade:

npm install -g errlocal@latest

v0.2.0

19 Feb 18:22

Choose a tag to compare

🚀 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