rethinkdb-orm v2.4.2 Release Notes
Release Date: 2020-02-19 // about 4 years ago-
π 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
andhas_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
throughscope
- β
test(queries): add
#get_al
l 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 fromRETHINKDB_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
- π build(connection): add