Skip to content

Releases: kingsleyh/crystal-rethinkdb

v0.3.1

15 Sep 00:13
Compare
Choose a tag to compare

Fixed

  • Write failures trigger a reconnection. Previously, only read failures triggered reconnection

v0.3.0

16 Aug 00:48
Compare
Choose a tag to compare

Changelog

Added

  • Add DatumTerm#match
  • Add DatumTerm#concat_map

v0.2.3

24 Mar 06:18
Compare
Choose a tag to compare
  • Backwards compatible upgrade to internal enum serialisation behaviour (introduced by crystal v1.0.0)
  • Remove double parse pattern across code base.

v0.2.1

15 Jul 03:34
Compare
Choose a tag to compare

Fixes a bug in the read loop reconnection logic

v0.2.0

26 Jun 02:16
Compare
Choose a tag to compare
  • Rename top level shard name to rethinkdb
  • Add...
    • DatumTerm#set_difference
    • DatumTerm#set_intersection
    • DatumTerm#set_union
    • DatumTerm#delete
    • DatumTerm#keys
    • DatumTerm#date
    • DatumTerm#values
    • DBTerm#grant
    • RowTerm#changes
    • RowsTerm#changes
    • RowsTerm#count
    • RowsTerm#slice
    • StreamTerm#merge
    • StreamTerm#changes
    • TableTerm#index_drop
  • Threadsafety of connection
  • Connection failure resilience via retry

Release 0.1.10

27 Oct 10:08
Compare
Choose a tag to compare
  • Use Threadsafe Channel class - In crystal-0.31.0, Channel::Unbuffered and Channel::Buffered have been merged, with unified behaviour under Channel.

  • As of v0.1.9, passing an array of values to RowsTerms#get_all nested the array. This produced query errors as the nested array became a key rather than a collection of values.

  • A simple fix is removing the nesting. Single value RowsTerm#get_all calls can be achieved through the existing splat method.

Release 0.1.9

08 Sep 17:49
Compare
Choose a tag to compare
  • complete the selection API

Release 0.1.8

02 Sep 18:28
Compare
Choose a tag to compare
  • Add update yaml tests.
  • Add literal function manipulation for update's tests
  • Comment javascript test code in yaml file because crystal doesn't support JS code with yaml literal syntax.

Release 0.1.7

06 Aug 19:55
Compare
Choose a tag to compare

The inclusion of Enumerable(QueryResult) in RethinkDB::QueryResult failed to satisfy the abstract type checking of Crystal v0.30

Whilst we could expose enumeration, using the #as_h and #as_a methods are more explicit.

Changed

  • #as_a returns Array(QueryResult)
  • #as_a? returns Array(QueryResult)?
  • #as_h returns Hash(String, QueryResult)
  • #as_h? returns Hash(String, QueryResult)?
  • RethinkDB::QueryResult::Type is now analogous to JSON::Any::Type
  • reql spec helpers moved from spec/reql_spec.cr to spec/spec_helper.cr
  • added skip methods

Removed

  • Enumerable(QueryResult) on RethinkDB::QueryResult

Release 0.1.6

27 Apr 21:32
Compare
Choose a tag to compare

Implement missing RethinkDB#json method. (thanks to @caspiano)