Stable 3.0.0 release
- #24 - Fixed update throwing error when record was unchanged.
- Add support for
fields
option tofind
andfindAll
.
- Upgrade dependencies
- RethinkDBAdapter now inherits from Adapter via the
extend
method
- Upgraded dependencies
- Added support for grouped "where" clauses
- Removed default import, which wasn't working
- Moved
rethinkdbdash
options toRethinkDBAdapter#rOpts
.
- Upgraded to
js-data-adapter
v0.6.1
-
How you must now import in ES2015:
import RethinkDBAdapter from 'js-data-rethinkdb' const adapter = new RethinkDBAdapter()
or
import {RethinkDBAdapter, version} from 'js-data-rethinkdb' console.log(version) const adapter = new RethinkDBAdapter()
-
How you must now import in ES5:
var JSDataRethinkDB = require('js-data-rethinkdb') var RethinkDBAdapter = JSDataRethinkDB.RethinkDBAdapter var adapter = new RethinkDBAdapter()
-
OPERATORS
is now an export, not a static property of theRethinkDBAdapter
class. -
Moved some
dist
files torelease
to reduce noise
- Upgraded dependencies
- Improved JSDoc comments
- Now using js-data JSDoc template
Official v3 beta release
- Upgraded dependencies
- Added sum and count methods
- Moved more common adapter functionality into js-data-adapter
- create() now makes use of withoutRelations()
- More use of Adapter#respond() more consistent
- Now making use of makeHasManyForeignKeys
- Upgraded js-data-adapter
- Extracted common adapter functionality into js-data-adapter
- Extracted common js-data repo utility scripts into js-data-repo-tools
- Added RethinkDBAdapter.extend
- Couple of fixes based on the latest js-data-adapter-tests
- Added ability to override query operators used by RethinkDBAdapter#filterSequence.
- Improved JSDoc comments.
- Finished JSDoc comments
- Removed returnDeletedIds option
- Added insertOpts, updateOpts, deleteOpts, and runOpts options
- Fixed edge case with returnDeletedIds
- Now depends on js-data 3.x
- Now longer uses internal
defaults
property, settings are on the adapter instance itself
- Added createMany and updateMany methods
- Added lifecycle hooks for all methods
- Added contains, notContains, |contains, and |notContains operators
- General improvements
- #16 - Handle cursor errors by @BBB
- Removed Grunt
- Tests now use yield and generators
- #13, #14 - Using
where
in a query without an operator breaks by @internalfx
- #9 - CI tests failing because of outdated npm
- #8 - update/updateAll fail if there are no changes
Stable Version 2.0.0
- #3 - Add support for loading relations
- #4 - Add support for auto-creating secondary indexes based on the relation definitions
- #5 - Should not be saving relations (duplicating data)
- #6 - Need to use removeCircular
- Converted to ES6, using Babel.js to transpile to ES5.
- Updated dependencies
- #3, #4 - Added the
with
option toDSRethinkDBAdapter#find
which allows for loading relations.
Stable Version 1.0.0
Now in beta.
- Added isectEmpty, isectNotEmpty, |isectEmpty, and |isectNotEmpty filter operators.
- Fixed improper use of r.row in nested queries
- Fixed the "in", "notIn", "|in", and "|notIn" operators
Upgraded dependencies
- #1 - auto create db and tables if they don't exist
- #2 - use something other than resourceConfig.endpoint for determining the table for a resource
- Now using db correctly
- Initial Release