v2.105.0
1 day ago by Jordan Fanapour
New Features
- Task Orchestration System: Complete multi-step task orchestration for MemberJunction conversations with real-time progress updates via PubSub and unified task graph format
- Artifact Extract Rules: Comprehensive support for artifact attribute extraction with hierarchical inheritance and declarative rule definition stored in database
- Agent Artifact Type Association: New AgentArtifactType junction table enabling agents to specify which artifact types they can produce
- Agent Permission System: Added AIAgent permissions with new AIAgentPermission entity and permission helper for granular access control
- AI Provider Bundle: New centralized package
@memberjunction/ai-provider-bundle
for AI provider loading while maintaining clean separation between core infrastructure and provider implementations - Root ID Support: Added Root ID columns across entities for better hierarchical data relationships via CodeGen
- Artifact Version Enhancements: Added Name and Description columns to ArtifactVersion table for version-specific metadata
Improvements
- Enhanced Error Classification: Sophisticated error handling with new
NoCredit
error type for billing failures, message-first error detection, and intelligent failover for 403 errors - Model Selection Caching: Improved caching by checking all candidates for valid API keys instead of stopping at first match, ensuring retry logic has complete viable model/vendor combinations
- GraphQL Type Safety: Fixed GraphQL type names to use MJ prefix for core entities, eliminating type collisions between entities with identical base table names across different schemas
- Production Build Reliability: Resolved critical issues where Angular production builds with optimization enabled would remove essential classes through aggressive tree-shaking
- Database Migration Consistency: Enhanced CodeGen SQL generation to use
IF OBJECT_ID()
patterns instead ofDROP ... IF EXISTS
syntax, fixing silent failures with Flyway placeholder substitution - Entity Field Values Generation: Support for all CHECK constraint NULL patterns and deterministic UUID generation for consistent EntityFieldValue records
- Real-Time Agent Progress: Task execution now streams progress updates to clients with hierarchical parent-child task relationships
- Error-Based Retry Logic: Authentication errors trigger vendor-level filtering while rate limit errors retry with configurable MaxRetries and backoff strategies
Bug Fixes
- xAI Driver Class: Corrected DriverClass configuration for xAI integration
- Force Regeneration: Fixed forceRegeneration to respect entity-level generated flags in CodeGen
- GraphQL DateTime Support: Added support for datetime2 and smalldatetime SQL types in GraphQL schema generation
- Template Engine Dependencies: Resolved missing dependency issues in template engine package
- MJCLI Sync Commands: Fixed sync commands to properly propagate exit codes for CI/CD integration
- Cascade Delete Generation: Enhanced validator generation to properly handle nullable fields and correctly set result.Success status