github novaardiansyah/personal-v4 v5.0.1

18 minutes ago

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 AiLlmClient and AiAssistantService with SSE wire:stream streaming, 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/*), and SendDailyAiBriefingJob for Telegram digests.

Backup & Storage Management

  • Consolidated backup execution into Backup and removed the legacy BackupJob resource and table.
  • Added BackupStorage and BackupStorageProvider resources with Google Drive OAuth refresh-token generation, cloud download support, and provider keys.
  • Added single and bulk Backup Now, Sync All Backups, Bulk Disable, and Prune Backups actions 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, and DiscordMessage models, 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 FileResource to the Filament v5 architecture with FileType enum, uuid7 file 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/file device-file CRUD, batch insert with activity logging, and encrypt-keys endpoints.

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 subject support to Setting and getSetting().
  • Patched dedoc/scramble to 0.13.22, added Supervisor/Makefile templates, and updated README.md (PHP 8.5+) and public/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, and storage_id relations
  • #422 - #424 - feat(backup): Backup settings page and Discord webhook reporting
  • #441 - #447 - feat(backup-schedule): Sync all backups, cloud destination patterns, and Backup Now / Prune actions

Discord

  • #413 - #419 - feat(discord): DiscordServer, DiscordChannel, and DiscordWebhook resources and relation managers
  • #427 - #435 - feat(discord): DiscordMessage resource, 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, FileType enum, 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): Polymorphic subject relationship in Setting and getSetting()
  • #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

Don't miss a new personal-v4 release

NewReleases is sending notifications on new releases.