|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## Changes 02/26/2026 (v3.5.2) |
| 3 | +## Changes 03/02/2026 (v3.6.0) |
4 | 4 |
|
5 | | -`release(v3.5.2): relax username validation + stdClass namespace fix` |
| 5 | +`release(v3.6.0): Gateway Shares v2 + Automation APIs, MCP core seam, and runtime hardening` |
6 | 6 |
|
7 | | -**Commit message** |
| 7 | +**Commit message** |
8 | 8 |
|
9 | 9 | ```text |
10 | | -release(v3.5.2): relax username validation + stdClass namespace fix |
| 10 | +release(v3.6.0): Gateway Shares v2 + Automation APIs, MCP core seam, and runtime hardening |
11 | 11 |
|
12 | | -- users(core): allow dots/@ in usernames and block "." / ".." to prevent path-like edge cases |
13 | | -- php(core): namespace stdClass return to \stdClass for consistency under FileRise\Domain |
14 | | -- admin: update sponsor list (add Stefan) |
| 12 | +- pro(api): add managed gateway + MCP service/user/job endpoints and Automation wrappers via Domain services |
| 13 | +- mcp(core): add McpOpsContext + McpCoreOpsService seam with ACL-scoped operations and fast-list paging/cache path |
| 14 | +- api(refactor): centralize Pro endpoint guards/emit helpers and move gateway/automation orchestration into src/FileRise/Domain |
| 15 | +- runtime/security: add gnupg to Docker runtime image for managed rclone signature verification support |
| 16 | +- style/docs: targeted PSR-12 cleanup in new core seam files and docs refresh for Gateway Shares + Automation |
15 | 17 | ``` |
16 | 18 |
|
17 | | -**Changed** |
18 | | - |
19 | | -- **Username validation** |
20 | | - - Updated `REGEX_USER` to allow `.` and `@` in usernames (and spaces/underscores/dashes as before). |
21 | | - - Added a negative lookahead to reject `.` and `..` as standalone usernames. |
22 | | -- **PHP namespace correctness** |
23 | | - - `UserModel::getUserPermissions()` now returns `\stdClass` (global) instead of `stdClass` to avoid namespace resolution issues under `FileRise\Domain`. |
24 | | -- **Admin sponsor page** |
25 | | - - Added “Stefan” to the sponsors list in `public/js/adminSponsor.js`. |
| 19 | +**Added** |
| 20 | + |
| 21 | +- **Gateway Shares v2 + MCP API surface (Core integration for Pro)** |
| 22 | + - Added managed runtime endpoints: |
| 23 | + - `/api/pro/gateways/managed/status.php` |
| 24 | + - `/api/pro/gateways/managed/action.php` |
| 25 | + - `/api/pro/gateways/managed/rcloneInstall.php` |
| 26 | + - `/api/pro/gateways/managed/rcloneCheck.php` |
| 27 | + - `/api/pro/gateways/managed/rcloneUpload.php` |
| 28 | + - Added MCP service/user/job endpoints: |
| 29 | + - `/api/pro/gateways/mcp/service/{status,action}.php` |
| 30 | + - `/api/pro/gateways/mcp/users/{list,save,delete}.php` |
| 31 | + - `/api/pro/gateways/jobs/{cleanup,autotag}.php` |
| 32 | +- **Automation API surface (Core integration for Pro)** |
| 33 | + - Added endpoint wrappers under: |
| 34 | + - `/api/pro/automation/webhooks/*` |
| 35 | + - `/api/pro/automation/jobs/*` |
| 36 | + - `/api/pro/automation/worker/*` |
| 37 | + - `/api/pro/automation/scans/*` |
| 38 | + - `/api/pro/automation/security/*` |
| 39 | + - `/api/pro/automation/metrics.php` |
| 40 | +- **Core service seam for Pro orchestration** |
| 41 | + - Added: |
| 42 | + - `src/FileRise/Domain/ProGatewayApiService.php` |
| 43 | + - `src/FileRise/Domain/ProAutomationApiService.php` |
| 44 | + - `src/FileRise/Domain/McpOpsContext.php` |
| 45 | + - `src/FileRise/Domain/McpCoreOpsService.php` |
| 46 | + - Added shared helpers: |
| 47 | + - `public/api/pro/_common.php` |
| 48 | + - `public/api/pro/gateways/_common.php` |
| 49 | + - `public/api/pro/automation/_common.php` |
| 50 | + |
| 51 | +**Changed** |
| 52 | + |
| 53 | +- **Gateway admin UX** |
| 54 | + - Gateway Shares now includes Shares/MCP tabs with managed status/actions, logs, rclone install/update/upload controls, and job queue actions. |
| 55 | + - MCP tab now includes `AI Integration Templates` with copy/download snippets for OpenAI, Claude, Gemini, and direct curl testing. |
| 56 | +- **Runtime image prerequisites** |
| 57 | + - Added `gnupg` to `Dockerfile` package install list to support managed rclone signature verification in container deployments. |
| 58 | +- **Version hint alignment** |
| 59 | + - Updated admin latest Pro bundle UI hint to `v1.9.0`. |
| 60 | + |
| 61 | +**Fixed** |
| 62 | + |
| 63 | +- **Core bootstrap/order and API guard regressions** |
| 64 | + - Fixed Pro API bootstrap ordering edge cases around `PROJECT_ROOT`/shared guard bootstrap usage. |
| 65 | +- **Gateway admin runtime regressions** |
| 66 | + - Fixed managed gateway admin UI helper scope issues (`setManagedStatus`/`setManagedLog`). |
| 67 | +- **Style/lint** |
| 68 | + - Applied targeted PSR-12 declaration/brace/EOF fixes in newly added Core seam files. |
| 69 | + |
| 70 | +**Docs** |
| 71 | + |
| 72 | +- Updated admin/wiki docs for Gateway Shares v2 + Automation coverage. |
26 | 73 |
|
27 | 74 | --- |
28 | 75 |
|
|
0 commit comments