Perpetuity v0.4.5 Release Notes

    • ๐ŸŽ Move from the mongo gem from 10gen to the moped gem for talking to MongoDB. This resulted in performance gains of 30-80%, depending on query size.
    • ๐Ÿ‘‰ Make persisted objects marshalable.
      • Previously, the id method was defined on individual objects that were either persisted to or retrieved from the DB. This made them unable to be marshaled with Marshal.dump.
      • Now we extend the objects with Perpetuity::PersistedObject to keep them marshalable while still providing id. This keeps them marshalable (unmarshalled objects will still be extended with Perpetuity::PersistedObject).
    • ๐Ÿ‘€ Provided a partial fix for a bug that kept us from being able to persist hash attributes properly. See the first comments in the linked GitHub issue for an explanation of why it is only a partial fix.
    • โœ… Stopped testing on MRI 1.9.2 with Travis CI. Moped requires 1.9.3 or higher.