v2.47.0
3 months ago by Craig Adam
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.
- Cleaned up deprecated metadata loading in
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.
- Simplified
-
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
andCompletedAt
columns in theAIPromptRun
table fromdatetime2
todatetimeoffset
for improved date/time precision.
- Switched