Skip to content

Releases: neumino/thinky

v1.16.8

21 Mar 01:08
Compare
Choose a tag to compare

v1.16.7

20 Mar 05:08
Compare
Choose a tag to compare
  • Replace options enforce_missing/enforce_extra/enforce_type - PR by @mindjuice
    • required()/optional(): replace enforce_missing
    • allowNull(<boolean>): enforce_type: "loose"/"strict"
    • allowExtra(<boolean>) enforce_extra: "none"/"strict"
    • removeExtra(): enforce_extra: "remove"
    • type.any(): enforce_type: "none"
  • Add a new type of error ValidationError - PR by @primitive-type

v1.16.6

28 Feb 06:26
Compare
Choose a tag to compare

v1.16.5

28 Feb 04:48
Compare
Choose a tag to compare
  • Fix #189 - You can pass a "type" for a hasAndBelongsToMany relation which let you create multiple n-n relations with the same models.
  • Fix a flaky test because of result.changes currently does not enforce any order - See rethinkdb/rethinkdb#3853

v1.16.4

23 Feb 03:36
Compare
Choose a tag to compare
  • For hasAndBelongsToMany relations, you can provide the key of the joined document instead of the whole document. In this case, the relation will be created.
  • Fix race condition in a test (advanced.js/pairs)
  • Add options for Model.save(...)

v1.16.3

17 Feb 04:38
Compare
Choose a tag to compare
  • Quick fix in case a query return null. We should check for null/undefined before trying to access getType.

v1.16.2

10 Feb 03:46
Compare
Choose a tag to compare
  • Add the option _array in getJoin to not coerce the joined sequence to an array. This allow things like this:
Author.get("...").getJoin({
    posts: {
        _apply: function(seq) { return seq.count() },
        _array: false
    } 
}).run()

Fix #179

v1.16.1

03 Feb 07:36
Compare
Choose a tag to compare
  • Add support for range feeds - A feed is created that will return instances of the mode
  • Add support for point feeds - A document will be returned that will automatically update and emit the change event.
    See the documentation here: http://thinky.io/documentation/feeds/

v1.16.0

01 Feb 23:08
Compare
Choose a tag to compare
  • Update for RethinkDB 1.16
  • then now is a shortcut for run().then

v.1.15.9

17 Jan 01:39
Compare
Choose a tag to compare
  • Do not enforce type check for ReQL terms for Array and Object - PR #171 by @simonratner