rethinkdb-orm v2.0.0 Release Notes

Release Date: 2019-04-18 // 9 months ago
  • 🔄 Changelog

    🔄 Changed

    • (queries) change #find_all and #get_all signatures to accept an array
    • (error) DocumentInvalidError includes erroring model

    ➕ Added

    • 📜 (persistence) json parsing within rethinkDB

    🛠 Fixed

    • (persistence) attributes with converters undergo proper serialisation

Previous changes from v1.1.0

  • 🔄 Changelog

    🔄 Changed

    • 🚚 (persistence) move uuid_generator to class level and provide setter method
    • (index) minor #has_index? api change
    • (changefeed) always yield a model for change event (deleted previously returned nil for model)

    🛠 Fixed

    • (queries) correct return type #count query
    • (table) no longer create tables for abstract models
    • (table) silence compiler by setting @@table_name out of macro scope
    • (error) fix error namespacing

    ➕ Added

    • 📇 (association) id fields as "keywords" for elasticsearch through es_type metadata tag
    • (associations) add parent tag to belongs_to relation