v5.40.1

New Features

  • AI-powered Clustering Engine: New framework-agnostic clustering pipeline with fetch → cluster → reduce → LLM-name workflow, including "Run Cluster Analysis" action and Angular clustering service integration
  • Magic Link Authentication: Passwordless, single-use invite links for external users with app-scoped access and role-based permissions, eliminating external IdP dependencies
  • eSignature Integration: Complete eSignature framework with DocuSign, Dropbox Sign, and PandaDoc drivers, including webhook verification and signed document artifact management
  • View Type Plugin Architecture: Dynamic view mounting system for entity viewer with Grid/Cards/Timeline/Map/Cluster views, with persistent view preferences and custom property sheets
  • Knowledge Hub Classify Redesign: Enhanced content classification with clustering-backed seed taxonomy generation, contextual prompt injection, and comprehensive analytics dashboard

Improvements

  • API Key Management: Added KeyPrefix column for visual identification of API keys without exposing full keys (e.g., "mj_sk_a1b2")
  • PostgreSQL Scheduling Support: Made scheduling engine dialect-aware with proper stored procedure calls for PostgreSQL compatibility
  • Enhanced Audit & Analytics: Direct tag-to-prompt-run lineage tracking with reasoning and reusable analytics components
  • Row-Level Security Cache Fix: Server cache now incorporates per-user RLS filters to prevent unauthorized cached result serving
  • BaseEngine Graceful Degradation: Better handling of restricted roles with permanent failure detection to prevent infinite loading loops

Bug Fixes

  • Security Audit Fixes: Parameterized SQL queries in GraphQL resolvers, validated entity read permissions, and fixed UUID/multi-provider compliance violations
  • Entity Viewer Fixes: Per-tab scroll fixes, meaningful content-item display names, and proper loading states with BaseEntityEvent reactivity
  • Server Package Isolation: Prevented server-only packages from leaking into browser manifests, fixing MJExplorer cold build issues
  • SignatureRequest Display Field: Fixed display field naming from Title → Name for proper related-entity generation
  • AIAgentRun Name Field: Removed incorrect primary key constraint causing database errors