v2.70.0

New Features

  • React Runtime Package: New @memberjunction/react-runtime package providing modular component hosting architecture
  • React Test Harness: Added @memberjunction/react-test-harness package for server-side component testing with CLI tools and examples
  • Chat Message Viewer: Enhanced multi-part content display with loading indicators for AI prompt runs
  • Angular React Integration: New @memberjunction/ng-react package for seamless React component hosting in Angular applications

Improvements

  • AI Agent Loop Response: Enhanced loop agent type to use ResponseType 'any' for better compatibility with Groq and improved validation handling
  • React Component Architecture: Refactored React component host to modular Angular architecture, removing duplication and improving maintainability
  • Token Efficiency: Optimized AI processing for better token usage and performance
  • CleanJSON Enhancement: Improved JSON cleaning functionality to handle double-escaped strings in MJGlobal package
  • Cascade Delete Support: Enhanced conversation artifact versions with proper cascade delete functionality
  • Agent Base Class: Cleaned up base agent implementation with improved retry validation and message handling

Bug Fixes

  • Angular Change Detection: Fixed ExpressionChangedAfterItHasBeenCheckedError in change detection cycles
  • React Initialization: Resolved race condition in React component initialization
  • Skip Chat Height: Fixed height display issues in Skip chat history component
  • Non-string Content: Improved handling of non-string ChatMessage.content display
  • Migration Cleanup: Fixed spDeleteConversation stored procedure to properly cascade conversation deletions
  • Package Dependencies: Updated and cleaned up package-lock.json dependencies