Breaking changes
- None
Added
- None
Changed
- None
Fixed
- None
Fixed
- Fix ActiveRecord gem dependency to permit 5.1 #332
Breaking changes
- None
Added
- Support for
audited_changes
to be ajson
orjsonb
column in PostgreSQL #216 - Allow
Audited::Audit
to be subclassed by configuringAudited.audit_class
#314 - Support for Ruby on Rails 5.1 #329
- Support for Ruby 2.4 #329
Changed
Fixed
- SQL error in Rails Conditional GET (304 caching) #295
- Fix missing non_audited_columns= configuration setter #320
- Fix migration generators to specify AR migration version #329
Breaking changes
- None
Added
- Support singular arguments for options:
on
andonly
Fixed
- Fix auditing instance attributes if "only" option specified
- Allow private / protected callback declarations
- Do not eagerly connect to database
- Correct auditing_enabled for STI models
- Properly set table name for mongomapper
- Fix bug when only: is a single field.
- update gemspec to use mongomapper 0.13
- sweeper need not run observer for mongomapper
- Make temporary disabling of auditing threadsafe
- Centralize
Audited.store
as thread safe variable store
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
- Add Audit scopes for creates, updates and destroys [chriswfx]
- Made ignored_attributes configurable [senny]
- Rails 3.x support
- Support for associated audits
- Support for remote IP address storage
- Plenty of bug fixes and refactoring
- [kennethkalmer, ineu, PatrickMa, jrozner, dwarburton, bsiggelkow, dgm]
- Store old and new values for updates, and store all attributes on destroy.
- Refactored revisioning methods to work as expected
- changed to make it work in development mode
- Add ability to record parent record of the record being audited [Kenneth Kalmer]
- refactored to make compatible with dirty tracking in edge rails and to stop storing both old and new values in a single audit
- Fix NoMethodError when trying to access the :previous revision on a model that doesn't have previous revisions [Alex Soto]
- added #changed_attributes to get access to the changes before a save [Chris Parker]
- Added #revision_at for retrieving a revision from a specific time [Jacob Atzen]
- Fix error when getting revision from audit with no changes [Geoffrey Wiseman]
- Remove dependency on acts_as_list
- Added support getting previous revisions
- Replaced use of singleton User.current_user with cache sweeper implementation for auditing the user that made the change
- added migration generator
- incorporated changes from Michael Schuerig to write_attribute that saves the new value after every change and not just the first, and performs proper type-casting before doing comparisons
- The "changes" are now saved as a serialized hash
- initial version