- Illuminate 5.8 support
- Make the
auditable()
anduser()
method return types loose
- Cast
auditable_id
property by default to avoidtransitionTo()
errors (#432)
- Lumen compatibility issue (#447)
- Illuminate 5.7 support
AttributeModifier
andAttributeEncoder
interfaces (#437)
AttributeRedactor
replacesAuditRedactor
audit.redact
boolean configuration entry- Unnecessary
Artisan
commands for publishing the configuration/migration
- Illuminate 5.2 compatibility issues (#431)
- Audit Multi User feature (#421)
- Audit presentation issue when using
trans()
or@lang()
(#418)
- Audit redactor feature (#395)
- Minor optimisations
- Increase test coverage to 100%
deleted_at
attribute exclusion from theAudit
InvalidArgumentExceptionTrailing
when using a different$dateFormat
(#409)
- Minor optimisations
- Illuminate 5.2/5.3 incompatibility issue (#401)
- Ability to quickly enable/disable auditing (#387)
- Resolver classes & interfaces for IP Address, URL, User Agent and User (#369)
- Laravel 5.6 support
- Scrutinizer CI integration
- Rename UserResolver method to
resolve()
- Updated the configuration file structure to accommodate the new resolvers
- Refactor the
prune()
method from the Database driver - Increase test coverage
- Updated dev dependencies
- Hardcode the default AuditDriver value in the Auditor to avoid chicken/egg situation
- Issue with Auditable resolveUserAgent() method (#372)
- Lumen installation issue (#364)
- Typo in the migration stub (#356)
- Custom exceptions
- Ability to tag audits (#283)
- New
transitionTo()
andgetAuditEvent()
methods to theAuditable
contract - Support for the
retrieved
Eloquent event, added in v5.5 (#343)
- Use PHP 7 features (scalar type/return type declarations, null coalescing operator)
- Improved testing
- Honour
DateTime
attributes, when resolvingAudit
data - Rename
getAuditableEvents()
togetAuditEvents()
- Allow setting global
Audit
events (#342), strict, threshold and timestamps in the configuration file
- PHP 5.x support
Closure
/callable
support for User id resolver
- Ability to define custom methods to handle events (#324)
- CONTRIBUTING document
- Updated the URL column type from VARCHAR to TEXT in the migration stub
- Set the default value of the resolver to a FQCN, instead of a Closure (#290)
- [GitHub] Updated issue template
- [Audit] Simplify User relation check (#282)
- [Audit] Improve test coverage
- [composer] stricter dependency version support (#269)
- [Audit] Make sure the User relation is set before fetching attributes (#276)
- Implemented Audit contract, enabling classes to extend other model types (#211)
- The
updated_at
attribute is now part of the Audit model. Don't forget to update youraudits
table! - Added Laravel 5.5 Auto-Discovery support
- Allow the User primary and foreign key to be specified in the configuration (#251)
- GitHub issue template file
- Properly fixed issue (#233)
- Calling a member function on null (#244)
- Removed problematic ORDER BY from the audits() relation method in the Auditable trait
- Log the user agent string (#224)
- Updated migration stub to use the DB driver (#220)
- Wrong class name for custom audit drivers (#226)
- Use standards compliant SQL (#225)
- Prevent creating an updated audit when restoring a model (#233)
- Changelog file
- Removal count in Database driver (#215)
OwenIt\Auditing\Contracts\UserResolver
interface- More
Auditable
tests
- Non auditable events cause a
RuntimeException
to be thrown (#212) Callable
values prevent the configuration from being cached (#213)
- Dynamic attribute getters
- More
Auditable
tests
- Trait attributes can't be overridden by class implementing
Auditable
(#205) - Branch alias
- Cleaner codebase
- Better test coverage
Auditable
attribute mutators and casts will be honoured
- Only modified attributes are stored in the
Audit
- Lumen support
- Queue support
Auditable
model custom messages/fields