What's new in EzyPlatform 1.0.5?
This release improves the shared entity-fetching layer, expands user/media APIs, and strengthens test coverage.
- Enhanced shared entity-fetching layer with module-aware cachingThe common fetcher manager now maintains caches per module, supports multiple entity types per fetcher, honors override priorities, and provides helpers for fetching data scoped by module or entity type. Fetcher interfaces now expose
moduleName,entityTypes,priority, andmodelName, enabling more flexible resolution and representation. - Common entity model “code” field & admin fetcher enrichmentCommon entity models now include a
codefield. The admin fetcher populates this field with usernames, allowing menus and dashboards to display stable identifiers associated with each user. - Username-based lookup API & admin async resolution helperThe user service and repository now support username-based lookup, powering the new
GET /api/v1/users/{username}/nameendpoint for admins. The admin UI includes an asynchronous helper that calls this endpoint when resolving usernames dynamically. - Media API improvements for authenticated web usersWeb media APIs now provide
replace-by-idandreplace-by-namePOST routes for authenticated users. Media update requests enforce positive file sizes only, ensuring cleaner and more consistent uploads. - Web view decorator alignment & expanded test coverageThe web view decorator explicitly sets
loggedInand exposes user roles when available. REST controllers are wired so tests can reuse these decorators. Manager unit tests now cover module-specific fetchers, override handling, and priority-based selection logic.