What's new in EzyPlatform 1.1.1?
This release focuses on media-management upgrades, image-size reduction, expanded upload settings, stronger event schemas, and safer file-processing workflows.
-
Built-in image and media file-size reductionAdded native image compression for media assets. JPEG/JPG images are supported directly, while PNG files can be converted to JPEG when needed for better optimization. Administrators can configure the target reduced size, optionally keep the original file, and view original-size assets inside media details. The admin UI now supports single-item and bulk file-size reduction, with new APIs available by media ID or media name for both Admin and Web runtimes.
-
Expanded media upload configuration for Admin and Website settingsAdded new configurable media settings including maximum upload file size, maximum image upload size, accepted media MIME types, enable/disable media file-size reduction, allow/deny web-side media replacement, and management URIs that can bypass authentication. New defaults include:
5MBmax upload file size,1MBmax upload image size, and1MBmax reduced image size. -
Improved media lifecycle and metadata managementReplacing media now also updates the stored file name. Media can be found using slugs stored in metadata. Media details responses now include
originalSizeFileName. Additional metadata is stored for original-size files and slugs, and the system can retrieve media updated-time values by file name. Web APIs also validate settings before allowing media replacement or file-size reduction. -
New EventSchema and stronger event-system toolingIntroduced
EventSchemaandEventSchemaFetcherto describe event input/output schemas.EventHandlerManagercan now retrieve schema fetchers by event name or return the full schema map. Added new media-related events including media replaced, media file-size reduction, and media file-size reduced. -
Upgraded data_record_counts structureThe
data_record_countstable now includes an auto-increment primary-keyid, plus new fieldsdata_nameandrecord_type. The system now supports counting bydataName + recordType, retrieving count maps for multiple record types, and faster lookups through new indexes. -
Stronger security and safer file handling
ZipFileProxynow validates extraction paths to prevent zip entries from writing outside the destination folder. External URL validation is stricter, requiring HTTPS and rejecting localhost, direct IPs, private networks, or user-info URLs. Media uploads now apply dedicated image-size limits. JavaScript execution services add support forconsole,logger, and richer Rhino object/list results, along with warnings for trusted-script usage. Additional JavaDocs and warnings were added for reflection, password validation, URL validation, and encryption-key fallback helpers. -
Enhanced admin UI for bulk media operationsThe media modal now supports select-all for the current list, indeterminate checkbox states, selected-item counters, bulk file-size reduction actions, and displaying original-size files inside media details. Regular and website settings pages now include the new media configuration fields.
-
Additional improvements, translations, and test coverageUser keyword extraction now includes UUID support and skips empty usernames. Admin/Data/User metadata services were expanded. Clock, validator, and reflection utilities received consistency updates. Export JavaDocs command handlers were refreshed. Translation keys were added for multiple languages including default, Vietnamese, Japanese, Korean, and Chinese. Unit and integration tests were expanded across media, image reduction, settings, data record counts, zip handling, JavaScript services, clock utilities, and validators.