What's new in EzyPlatform 1.1.8?

This release improves SQL script execution workflows in admin, adds SQL conversion utilities, and enhances media existence validation.
  1. Improved SQL script execution workflow in admin
    SQL scripts are now sorted by version extracted from the file name before execution, ensuring a more stable and predictable migration flow. The system supports version naming patterns such as name-1.sql and name_1.sql. Stable execution ordering is applied for both default admin scripts and module/project-specific scripts.
  2. Added SqlScriptsConverter for SQL transformation
    Introduced SqlScriptsConverterto allow converting individual SQL statements before execution. This is especially useful for adapting SQL syntax to different database dialects or test environments. AdminJdbcProxy now automatically retrieves the converter from the singleton factory when available.
  3. New SQL file utility helpers
    Added SqlFileVersionExtractorsfor extracting version information from SQL file names, along with SqlFileNameComparatorfor sorting SQL files by version order. These utilities help standardize migration execution behavior.
  4. Improved media existence validation
    containsMedia now validates media existence using both name and originalName. A new repository query findIdByNameOrOriginalNamewas added to MediaRepository, helping prevent missed matches when users search using the original uploaded file name.