Perpetuity v0.4.5 Release Notes
-
- ๐ Move from the
mongo
gem from 10gen to themoped
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 withMarshal.dump
. - Now we extend the objects with
Perpetuity::PersistedObject
to keep them marshalable while still providingid
. This keeps them marshalable (unmarshalled objects will still be extended withPerpetuity::PersistedObject
).
- Previously, the
- ๐ 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.
- ๐ Move from the