The Horde_History API provides a way to track changes on arbitrary pieces of data in Horde applications.