Perpetuity v0.3 Release Notes

    • ๐Ÿ‘‰ Use Perpetuity[] instead of Perpetuity::Mapper[] to get mapper instances
    • ๐Ÿ‘ Allow subclassing of Perpetuity::Mapper with map macro
    • ๐Ÿ›  Fix select calls using id as criteria from returning invalid or missing data
    • ๐Ÿ‘‰ Make MongoDB reads and writes fail fast
    • โž• Add indexing API to mappers
    • ๐Ÿ‘ป Raise an exception when calling Perpetuity[] with a class that has no mapper
    • โž• Add unions and intersections to select queries for MongoDB adapter
      • This allows for queries like Perpetuity[Article].select { (created_at < Time.now) & (published == true) }
    • โšก๏ธ Update object in memory when calling Mapper#update
    • โž• Add Mapper#save to update an object's current state in the DB. Previously, we only had #update (primarily for update actions in Rails controllers).
    • โš  Silenced some ugly warnings

    ๐Ÿ”– Version 0.2 and 0.1 have no changelog because I am a terrible developer