What's new in EzyPlatform 1.2.2?
This release introduces a view-schema system, expands view-schema fetcher management capabilities, and standardizes the location of template-parameter schema managers.
- Introduced the ViewSchema systemAdded
ViewSchemato describe the structure and metadata of a view, including properties such astemplate,pageFragmentPageName,pageFragmentNames,variables,description, andproperties. Also introducedViewSchema.DataSchema, which extendsCommonDataSchemaand provides a consistent way to describe data variables used within a view. - Added view-schema fetching infrastructureIntroduced
ViewSchemaFetcherfor cases where a fetcher provides the schema of a single view, andViewMultipleSchemaFetcherfor cases where a fetcher provides multiple view schemas at once. This gives modules and plugins more flexibility when exposing view-schema definitions. - Added ViewSchemaFetcherManagerIntroduced
ViewSchemaFetcherManagerto collect and manage all view-schema fetchers registered inEzySingletonFactory. The manager supports retrieving fetchers byviewUri, listing all registered fetchers, and uses lazy initialization so singleton scanning only occurs once. When multiple schemas share the sameviewUri, schemas provided byViewMultipleSchemaFetchertake precedence and override schemas from single-view fetchers. - Dedicated managers for Admin and Web environmentsAdded
AdminViewSchemaFetcherManagerandWebViewSchemaFetcherManager. Both managers extendViewSchemaFetcherManagerand are registered as@EzySingletoncomponents, making view-schema management readily available to admin and web modules. - Standardized TemplateParametersSchemaFetcherManager package location
TemplateParametersSchemaFetcherManagerhas been moved to theorg.youngmonkeys.ezyplatform.managerpackage. The corresponding admin and web managers are also located there:AdminTemplateParametersSchemaFetcherManagerandWebTemplateParametersSchemaFetcherManager. When upgrading, projects and plugins that currently import these classes from thefetcherpackage should update their imports to the newmanagerpackage.