Skip to content

Releases: dereuromark/cakephp-audit-stash

0.3.4

09 Dec 05:05

Choose a tag to compare

Fixes

  • Use the enum as intended

Full Changelog: 0.3.3...0.3.4

0.3.3

07 Dec 07:30

Choose a tag to compare

Improvements

  • Allow record linking

Required some more DB changes, hopefully the last ones now

Full Changelog: 0.3.2...0.3.3

0.3.2

05 Dec 06:21
05ba952

Choose a tag to compare

Improvements

New Features

  • Automatic user extraction: The user value from metadata is now automatically extracted to a dedicated user column in the audit_logs table
  • User linking support: Configure AuditStash.linkUser to automatically link user values to your backend (supports string patterns, array URLs, or callables)
  • Compound user format: Store both ID and display name using id:displayName format (e.g., 123:john_doe) with configurable separator

Changes

  • Column rename: username column renamed to user for flexibility (migration included)
  • Added DiffLib for improved text diffing in audit log views - #7
  • For enhanced word-level diff rendering, install the optional jfcherng/php-diff package

Full Changelog: 0.3.1...0.3.2

0.3.1

24 Nov 22:36
6d0f7f4

Choose a tag to compare

Improvements

  • CakePHP 5.3 compatibility

Full Changelog: 0.3.0...0.3.1

0.3.0

29 Oct 02:33

Choose a tag to compare

Improvements

  1. Audit Log Viewer UI (/admin/audit-logs)
  • Complete web interface for browsing and searching audit logs
  • Filter by table, user, date, event type, transaction ID
  • Inline and side-by-side diff views
  • Timeline view for record history
  • CSV/JSON export with extension-based routing
  1. Monitoring & Alerting System
  • Real-time event-based alerting on suspicious activities
  • Built-in rules: Mass Delete Detection, Off-Hours Activity Monitoring
  • Multiple notification channels: Email, Webhook, Log
  • Extensible architecture for custom rules and channels
  1. Log Retention & Cleanup
  • Automated cleanup command with configurable retention policies
  • Table-specific and default retention periods
  • Dry-run and cron-friendly options

Technical Improvements

  • Changed default persister from ElasticSearch to TablePersister
  • Admin-prefixed routes for security
timeline

Full Changelog: 0.2.0...0.3.0

0.2.0

17 Oct 22:58

Choose a tag to compare

Improvements

  • Use binary16 for transaction UUID
  • Added missing Plugin class.

0.1.0

15 Oct 21:42

Choose a tag to compare