Changes 02/09/2026 (v3.3.2)
release(v3.3.2): PSR-4 backend migration + legacy shims
chore(psr4): PSR-4 backend migration + legacy shims (WIP, no release)
Commit message
release(v3.3.2): PSR-4 backend migration + legacy shims
- backend: migrate core PHP to Composer PSR-4 (FileRise\\) under src/FileRise/
- entrypoints: update API/WebDAV/CLI/tests to use namespaced controllers/models (no shim includes)
- compat: restore legacy src/controllers + src/models + src/lib shims (optional FR_SHIM_WARN logging)
- api: canonical endpoints now live under /api/admin/* and /api/profile/*; legacy /api/*.php shims kept
- openapi: generate spec from the PSR-4 OpenAPI directory
- php: fix PHP 8.2+ nullable type deprecation in AuthModel::getClientIp()
- ci: harden release/changelog workflows (safe version parsing + enable workflow_run trigger)
Highlights
- Backend is now PSR-4 namespaced and Composer-autoloaded (
FileRise\\...) with legacy shims kept for compatibility. - API endpoints are organized by scope (admin/profile/public) while preserving legacy URLs.
Changed
- PSR-4 backend layout
- Introduced
FileRise\\namespace with code moved undersrc/FileRise/(Domain, Controllers, Storage, Support, WebDAV). config/config.phpnow loadsvendor/autoload.phpwhen present (logs a warning if missing).
- Introduced
- Entrypoints updated
- Public API endpoints, WebDAV (
public/webdav.php), CLI scripts, and tests now instantiate namespaced controllers/models directly.
- Public API endpoints, WebDAV (
- OpenAPI generation
- OpenAPI generator updated to scan the PSR-4 OpenAPI directory.
- Bump version
Compatibility
- Legacy backend shims remain
src/controllers/*,src/models/*,src/lib/*,src/webdav/*forward to PSR-4 classes viaclass_alias.- Optional dev-only shim usage tracking via
FR_SHIM_WARN=1(logs which shims were used per request).
- Legacy API endpoint shims
- Old
/api/*.phproutes forward to canonical endpoints under/api/admin/*and/api/profile/*.
- Old
CI
- ShellCheck:
scripts/gen-openapi.shis POSIX-clean (nopipefail, no quote-expansion warnings). - PHPCS job runs on PHP 8.4 (current
swagger-phpdev dependency tree requires PHP >= 8.4). - ci: harden release/changelog workflows (safe version parsing + enable workflow_run trigger)
Fixed
- PHP deprecation warning
AuthModel::getClientIp()now uses an explicit nullable type for the$serverarg.
v3.3.2
Full Changelog
SHA-256 (zip)
aa3e70730be25fbe762b4308c326a022ae3369b515f21ed3cc4da2435e76fffc FileRise-v3.3.2.zip