v5.0.1 Release Notes
Overview
This major release evolves the application from v4.2.2 to v5.0.1, introducing the full-featured AI Assistant module (with 21 domain tools, SSE streaming, admin persona governance, Sanctum REST API, and daily Telegram briefings), Discord server/channel/webhook/message integration, RustFS S3 cloud storage support, Mobile & System Backup APIs, and comprehensive Backup, File, Payment, Subscription, and Debt enhancements.
It also includes a security patch for dedoc/scramble (0.13.22), Docker/Supervisor worker configurations, and updated module documentation.
What's Changed
AI Assistant
- Introduced the Filament v5 AI Assistant workspace (
/admin/ai-assistant) with multi-session persistence (AiAssistantSession,AiAssistantMessage,AiAssistantContext) and UUIDv7 tracking. - Extracted
AiLlmClientandAiAssistantServicewith SSEwire:streamstreaming, lazy message pagination, chronological session grouping/pinning, image attachments, rate limiting, and Markdown/PDF export. - Registered 21 Tier 1–4 AI tools (
AiToolRegistry) covering Finances, Calendar/Notes/Files, Uptime/Backups/Blog/Logs, and guarded human-in-the-loop write actions. - Added
AiAssistantContextResource(AI Personas),AiAssistantStatsWidget, Sanctum REST API endpoints (/api/ai-assistant/*), andSendDailyAiBriefingJobfor Telegram digests.
Backup & Storage Management
- Consolidated backup execution into
Backupand removed the legacyBackupJobresource and table. - Added
BackupStorageandBackupStorageProviderresources with Google Drive OAuth refresh-token generation, cloud download support, and provider keys. - Added single and bulk
Backup Now,Sync All Backups,Bulk Disable, andPrune Backupsactions backed by queued jobs (CleanExcessBackupsJob,PruneBackupsByDateRangeJob,DeleteScheduleBackupsJob). - Added
/api/system-backup/*endpoints for authentication, due schedule discovery, schedule start, and backup report submission.
Discord Integration
- Added
DiscordServer,DiscordChannel,DiscordWebhook, andDiscordMessagemodels, migrations, observers, and Filament resources. - Added queued Discord message delivery with retry handling, rate-limit delays, and scheduled pending-message processing.
- Integrated Discord notifications for backup reports, excess backup cleanup, and successful user logins.
Files & RustFS Cloud Storage
- Restructured
FileResourceto the Filament v5 architecture withFileTypeenum,uuid7file naming, image previews, and flexible file-size unit inputs. - Integrated RustFS S3 storage for cloud files, user avatars, and payment account logos.
- Added
/api/v2/filedevice-file CRUD, batch insert with activity logging, andencrypt-keysendpoints.
Payments, Subscriptions & Debts
- Upgraded Payment PDF reports to landscape itemized layouts with consistent page footers and decoupled payment attachments from the removed Gallery resource.
- Added Subscription detail views, payment history tracking, draft payment generation, and pause/resume status.
- Simplified the Debt and DebtInstallment schema by replacing fee calculations with
total_payable_amount.
Auth, Settings, Security & Documentation
- Added
/api/mobile/auth/*login/register endpoints, session expiration metadata, and user-scoped login notification deduplication. - Added polymorphic
subjectsupport toSettingandgetSetting(). - Patched
dedoc/scrambleto0.13.22, added Supervisor/Makefile templates, and updatedREADME.md(PHP 8.5+) andpublic/docs/module/AiAssistant.md.
Pull Requests
AI Assistant
- #353 - #371 -
feat(ai-assistant): Core Filament v5 AI Assistant page, session/message/context models, and initial payment tool calling bae4581-feat(ai-assistant): expand tools, streaming UX, governance, and API
Backup & System Backup API
- #337 - #346 -
feat(backup): SQL Server sum overflow fix, overview widget, schedule cleanup, and Telegram notifications - #397 - #409 -
feat(backup-storage):BackupStorage,BackupStorageProvider, Google Drive cloud download, andstorage_idrelations - #422 - #424 -
feat(backup): Backup settings page and Discord webhook reporting - #441 - #447 -
feat(backup-schedule): Sync all backups, cloud destination patterns, andBackup Now/Pruneactions
Discord
- #413 - #419 -
feat(discord):DiscordServer,DiscordChannel, andDiscordWebhookresources and relation managers - #427 - #435 -
feat(discord):DiscordMessageresource, scheduled queue processing, retry/rate-limiting, and JSON formatting - #439 - #440 -
feat(auth): Discord login notifications
Files & API v2
- #372 - #396 -
feat(file): Filament v5 restructure,FileTypeenum, batch v2 file endpoints,encrypt-keys, and image previews - #410 - #412 -
feat(files): Decrypted encrypt key display, local file sync, and bulk details action
Payments, Subscriptions, Settings & Security
- #348 - #352 -
feat(payment)&feat(subscription): Replication, draft actions, and landscape itemized PDF reports - #394 -
fix(security): update dedoc/scramble to 0.13.22 for RCE patch - #420 - #421 -
feat(settings): Polymorphicsubjectrelationship inSettingandgetSetting() - #443 - #448 -
feat(subscriptions)&feat(payment): Draft payment tracking, pause/resume, batch file upload, and Gallery removal
Full Changelog: v4.2.2...v5.0.1