Skip to content

v0.3.0 - The Zero-Config & Automation Update

Latest

Choose a tag to compare

@yash-pouranik yash-pouranik released this 20 Feb 15:05
· 7 commits to main since this release

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