Skip to content

V0.3

Choose a tag to compare

@ankur-paan ankur-paan released this 19 Jan 10:48
· 251 commits to main since this release
1d4c251

🚀 Release Notes: AI Assistant & Security Hardening

🌟 Highlights

This release introduces a powerful AI Assistant integrated directly into the eKuiper Manager, powered by OpenRouter. It also brings persistent Server Management using SQLite/Prisma and includes significant Security Hardening based on CodeQL analysis.

✨ New Features

🤖 AI-Powered Assistant

  • Master Chat Interface: New conversational agent to help manage and debug eKuiper instances.
  • Intelligent Generators:
    • Rule Generator: Describe rules in plain English and get ready-to-use JSON/SQL.
    • Stream Generator: Automatically generate stream definitions from data descriptions.
  • Deep Analysis Tools:
    • Rule Analysis: Get performance insights and optimization tips for existing rules.
    • Explain Plan: Visual and textual explanation of rule execution plans.
    • Log Capture & Analysis: Smart log capturing with AI-driven debugging suggestions.

🖥️ Server Management

  • Multi-Server Support: Manage connections to multiple eKuiper instances.
  • Persistent Storage: Server configurations are now saved locally using SQLite & Prisma.
  • Connection Status: Real-time health monitoring of connected servers.

🛡️ Security Improvements

  • Resource Exhaustion Protection: Implemented strict allowlists for duration-based operations to prevent DoS attacks (fixing CWE-400).
  • Safe Logging: Replaced template literals with safe format specifiers to prevent log injection (fixing CWE-134).
  • CI/CD Security: Added CodeQL analysis and improved build pipeline security.

⚡ Enhancements

  • Dashboard:
    • Redesigned metrics section with real-time updates.
    • Improved layout for better data density.
  • Rules Management:
    • Enhanced Topology view for complex rule pipelines.
    • Better status indicators and error reporting.
    • Streamlined "New Rule" workflow.
  • Developer Experience:
    • Prisma Integration: Robust ORM for local data management.
    • Clean Build: Optimized build process with proper artifact cleanup.

🐛 Bug Fixes

  • Fixed hydration errors in Next.js 15.
  • Resolved build failures related to Prisma client generation in CI.
  • Fixed tracing runtime errors in rule status monitoring.

🔧 Upgrade Notes

  • Prisma Setup: This release utilizes Prisma with SQLite. The CI pipeline has been updated to run prisma generate automatically.
  • Env Vars: New optional environment variables for security configuration:
    • EKUIPER_ALLOWED_HOSTS: Comma-separated list of allowed eKuiper hosts.
    • EKUIPER_ALLOW_PRIVATE_NETWORKS: Set to true to allow connections to private IP ranges.

Full Changelog: V0.2...V0.3