Skip to content

v0.4.0 - JavaScript/TypeScript Support, AI Auto-Fix, JetBrains Plugin

Choose a tag to compare

@rudra496 rudra496 released this 25 Mar 10:27
· 88 commits to main since this release

🚀 What's New in v0.4.0

JavaScript/TypeScript Support

  • Multi-language validation - Now supports .js, .jsx, .ts, .tsx, .mjs, .mts files
  • JS Security Analyzer - Detects eval(), innerHTML XSS, prototype pollution, command injection, hardcoded secrets
  • JS Hallucination Analyzer - Detects fake npm packages, invented functions, placeholder APIs
  • TypeScript-specific checks - @ts-ignore, any type usage, type safety issues

AI-Powered Auto-Fix

  • Multi-provider LLM support - OpenAI, Anthropic, Ollama, custom endpoints
  • CLI command: aitrust ai-fix <file> --apply
  • Python API: AIAutoFixer class and ai_fix_code() function
  • Configurable via environment variables - OPENAI_API_KEY, ANTHROPIC_API_KEY, USE_OLLAMA

JetBrains Plugin

  • Complete IntelliJ/PyCharm plugin with tool window, status bar widget, inline annotators
  • One-click AI fixes directly in your IDE
  • Settings page for API configuration

CLI Updates

  • New ai-fix command for LLM-powered fixes
  • New languages command showing supported languages
  • Multi-language validation automatic based on file extension

📦 Installation

pip install ai-trust-validator==0.4.0

🔗 Links

🙏 Thanks

Thanks to all contributors and users! If this helps you, please ⭐ the repo!