Skip to content
vanstyn edited this page Jan 26, 2013 · 36 revisions
  • Switch from Moose to lighter Moo
  • Adopt changeset_do from DBIx::Class::Shadow -- API to allow AuditAny-aware code to be able to set datapoint values (similar conceptually to AuditLog's optional second arg to txn_do)
  • Refactor code to modify tracked schema classes using Class::MOP::Class to apply a (runtime) Role to the object (per frew's suggestion in IRC on 1/25/2013)
  • Integrate with DBIx::Class::Shadow (Collector)
  • Expand Collector API to be able to define datapoints
  • Finish Multi-PK support (code already exists but is currently disabled because it hasn't been tested yet... and it will probably need tweaks )
  • Add built-in "diff" Column-context datapoint
  • Add mechanism to enable/disable tracking on the fly (localizable global?)
  • Separate set/change/column datapoints into 'pre' and 'post' stages
  • Add per-column config options (i.e. selectively track columns in the same way that sources can be selectively tracked)
  • Move a lot of the code currently in the base DBIx::Class::AuditAny into a dedicated DBIx::Class::AuditAny::Auditor class
  • Use txn_scope_guard instead of custom code to achieve the same thing it does (low)

Needed Test Cases

  • Tracking Rekey changes
  • Multi-PK
  • Tracking of schemas with more exotic configs like their own method modifiers
Clone this wiki locally