github error311/FileRise v3.3.2

latest release: v3.3.3
18 hours ago

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 under src/FileRise/ (Domain, Controllers, Storage, Support, WebDAV).
    • config/config.php now loads vendor/autoload.php when present (logs a warning if missing).
  • Entrypoints updated
    • Public API endpoints, WebDAV (public/webdav.php), CLI scripts, and tests now instantiate namespaced controllers/models directly.
  • 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 via class_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/*.php routes forward to canonical endpoints under /api/admin/* and /api/profile/*.

CI

  • ShellCheck: scripts/gen-openapi.sh is POSIX-clean (no pipefail, no quote-expansion warnings).
  • PHPCS job runs on PHP 8.4 (current swagger-php dev 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 $server arg.

v3.3.2

Full Changelog

v3.3.1 → v3.3.2

SHA-256 (zip)

aa3e70730be25fbe762b4308c326a022ae3369b515f21ed3cc4da2435e76fffc  FileRise-v3.3.2.zip

Don't miss a new FileRise release

NewReleases is sending notifications on new releases.