v2.47.0

New Features

  • MetadataSync:

    • Added support for multi-record JSON files and a general-purpose templating system for metadata synchronization.
  • MJCoreEntities:

    • Introduced safeguards around database-reflected metadata to ensure safe property handling.
  • AI Engine Base & Codegen Lib:

    • Cleaned up deprecated metadata loading in AIEngineBase.
    • Introduced fallbacks in recompileAllBaseViews() to recover from view refresh failures due to dropped foreign keys.

Improvements

  • MetadataSync:

    • Simplified findEntityDirectories to only search the immediate directory level.
    • Improved handling of .mj-sync.json in subdirectories as configuration overrides.
    • Enhanced configuration robustness and processing for subdirectory metadata files.
  • Code Generation:

    • Improved robustness in handling quotes around default values in stored procedure generation.
    • Defensive coding to strip quotes from default values at multiple stages.
  • Database Schema:

    • Switched RunAt and CompletedAt columns in the AIPromptRun table from datetime2 to datetimeoffset for improved date/time precision.