All Versions
33
Latest Version
Avg Release Cycle
13 days
Latest Release
1233 days ago

Changelog History
Page 3

  • v2.5.0

    March 05, 2020
  • v2.4.4

    March 05, 2020
  • v2.4.3 Changes

    February 20, 2020
    • πŸ— build(shard): pin active-model ~> 1.8.2
  • v2.4.2 Changes

    February 19, 2020

    πŸ”„ Changelog

    βž• Added

    • πŸ— build(connection): add RETHINKDB_DB as a env var for connection
    • 🐳 ci(travis): dockerised rethinkdb
    • feat(changefeed) add raw changefeeds
    • feat(changefeed): Changefeed::Event::Deleted events include destroy…
    • feat(error): Error::DocumentInvalid#inspect_errors
    • feat(queries): #raw_query
    • feat(queries): expose raw query handle under table namespace
    • feat(timestamps): timestamps module
    • πŸ‘Œ improvement(associations): allow a foreign key in belongs_to association
    • improvement(associations): allow naming of belongs_to and has_one associations
    • πŸ‘Œ improvement(connection): db, user, and password configuration through environment
    • πŸ‘Œ improvement(queries): count accepts a predicate
    • πŸ‘Œ improvement(unique): pass several fields to ensure_unique through scope
    • βœ… test(queries): add #get_all by index spec
    • βœ… test(queries): spec find!, #find_all
    • βœ… test: fix test teardown

    πŸ”„ Changed

    • ⚑️ build(rethinkdb): update crystal-rethinkdb, remove deprecated methods
    • πŸ— build(shard): use crystal-ameba
    • πŸ“Œ chore(crystal-rethinkdb): pin crystal-rethinkdb v0.1.10
    • πŸ‘Œ improvement(changefeed): apply updates to old model in update event using assign_any
    • improvement(connection): defaults from env; host from RETHINKDB_HOST, port from RETHINKDB_PORT
    • πŸ‘Œ improvement(persistence): allow unchanged response in updates
    • πŸ‘Œ improvement(unique): change scoped validations to a where query
    • improvment(connection): mutex on resource creation
    • πŸ”¨ refactor(persistence): rename #reload -> #reload!

    πŸ›  Fixed

    • πŸ›  fix(associations): fix association method naming
    • πŸ›  fix(associations): fix foreign_key in AssociationCollection
    • πŸ›  fix(associations): Associations#parent returns nil for parent of unpersisted documents
    • πŸ›  fix(changefeed): stop iteration on changefeed abort
    • πŸ›  fix(persistence): Persistence#clear no longer drops the table
    • πŸ›  fix(persistence): treat empty id values as a new object
    • πŸ›  fix(queries): fix Query#where query attribute merge
    • πŸ’… style(queries): remove commented out code
    • πŸ’… style(readme|timestamps): fix module requirements, typo in README
  • v2.0.0 Changes

    April 18, 2019

    πŸ”„ 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
  • v1.1.0 Changes

    March 26, 2019

    πŸ”„ 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
  • v1.0.0 Changes

    February 27, 2019

    πŸ”„ Changelog

    βž• Added

    • Cache associations

    πŸ”„ Changed

    • Association bang methods

    βœ‚ Removed

    • Removed through argument of association macros (belongs_to, has_one, has_many)
  • v0.5.0 Changes

    February 26, 2019

    πŸ”„ Changelog

    βž• Added

    • Optional transform callback | block for ensure_unique

    πŸ›  Fixed

    • Only attributes where persistence is true are persisted
  • v0.4.1 Changes

    February 25, 2019

    βž• Added

    • Create secondary index on ensure_unique field argument
  • v0.4.0 Changes

    February 22, 2019

    βž• Added

    • Klass.changes changefeed method