What's new in EzyPlatform 1.1.3?
This release expands EventSchema support across admin, web, and HTTP SDK modules,
improves media ownership validation, enhances template extensibility, and refines several SDK and meta-service APIs.
- Expanded EventSchemaFetcher support across platform modulesAdded extensive
EventSchemaFetchersupport for admin, web, media events, and HTTP SDK modules. These schema fetchers help describe event inputs, arguments, and response structures more clearly, improving integration visibility and extensibility. - Media ownership validation and user-aware media handlingAdded
ValidateMediaOwnerEventandValidateMediaOwnerEventHandlerto validate ownership before downloading media or retrieving sensitive media details. Media services and controllers now propagateuserIdduring media operations, enabling more secure user-specific access control. - Lightweight ContentTemplateService APIsAdded lightweight APIs for retrieving content template identifiers and names without loading full template details, including:
getTemplateIdByTypeAndName,getTemplateIdAndNamesByType, andgetTemplateIdAndNamesByTypes. New supporting models includeContentTemplateIdAndNameModelandContentTemplateIdAndNameResult. - Media public-status update APIsAdded new APIs for updating media public visibility:
MediaService#updateMediaPublicIfExistsandMediaService#updateMediasPublicIfExists. These methods simplify bulk or conditional updates for media visibility management. - Improved EventHandlerManager and EventSchema utilities
EventHandlerManagernow sortsEventSchemaFetcherinstances bygetPriority(). TheEventSchemaFetcherinterface also introduces a default priority value of0. Additionally,EventSchema.DataSchema.Buildernow supports incremental field registration viafield(...)and grouped field additions viafields(...). - More flexible event handling and JavaScript utilities
AbstractEventHandler#handleEventDatais no longerfinal, allowing subclasses to override custom event logic. Admin and web JavaScript utilities now includeescapeHtml. CSV parsers inezyadmin.jsandezywebwere rewritten to process quoted cells character-by-character, improving parsing accuracy for values containing delimiters. - Enhanced admin and theme template extensibilityAdmin template
ezyadmin.htmlnow supports injectingadditionalHead,additionalFoot, and replacing container content viapageFragments. Theme templatepage.htmlnow supports replacing styles, scripts, header, footer, container sections, and injecting additional head/foot content throughcommonFragmentsandpageFragments. - SDK template updates and HTTP SDK upgradeSDK project templates were updated with improved examples for
th:inline="javascript"and injecting messages/models into scripts. Theezy.http.versiondependency was also upgraded from1.5.0to1.5.1. - Meta-service API cleanup and breaking changesSeveral legacy meta-service APIs were removed or replaced with more explicit
metaKey-based variants. New replacement APIs include:getAdminMetasMapByAdminIdsAndMetaKey,getAdminMetaValuesMapByAdminIdsAndMetaKey,getUserMetasMapByUserIdsAndMetaKey,getUserMetaValuesMapByUserIdsAndMetaKey,getDataMetasMapByDataTypeAndDataIdsAndMetaKey, andgetDataMetaValuesMapByDataTypeAndDataIdsAndMetaKey. - Additional SDK/Core updatesAdded the constant
CommonConstants.VOID. Media events were updated soMediaAddedEventnow carries the fullMediaModelinstead of onlymediaId, reducing the need for additional lookups inside event handlers.