- Remove
mysqlfrom dependencies
Stable 1.0.0 release
- Small fix for filterQuery
- Renamed
knexOptionstoknexOptsto be consistent with other adapters.
- Added support for grouped where clauses
Official v1 beta release
-
SqlAdapter#queryhas been renamed toSqlAdapter#knex -
Options passed to
new SqlAdapterare no longer passed directly toknex(options), insteadknexoptions must be nested under aknexOptsfield in theoptionsobject passed tonew SqlAdapter, so as to separateknexoptions from adapter options. -
Now depends on js-data v3, no longer works with js-data v2
-
The signature for the
filterQuerymethod has been changed.filterQueryno longer performs any select, but only aswheremodifier to an existing sqlBuilder instance that must be passed as the first argument tofilterQuery. -
Now you must import like this:
// CommonJS var JSDataSql = require('js-data-sql') var SqlAdapter = JSDataSql.SqlAdapter var adapter = new SqlAdapter({...})
// ES2015 modules import {SqlAdapter} from 'js-data-sql' const adapter = new SqlAdapter({...})
-
SqlAdapternow extends the baseAdapterclass, which does the heavy lifting for eager-loading relations and adds a multitude of lifecycle hook methods.
- Fixed build
- #23 - Allow sending 'offset' and 'limit' params as strings.
- #24 - Do not return relation columns on parent when performing filter
- Simplified build and devDependencies
- #18, #21 - Support filtering across relations (apply joins / fix column name) by @techniq
- #19, #20 - Use co-mocha for tests to simplify async flow. by @techniq
- Project now enforces JS Standard Style
- #15, #16 - Removed the various database libs from peerDependencies.
- create and update weren't accepting options
- Fix for loading relations in find() and findAll()
- Support for loading deeply nested relations in
find
- #5 - Support for loading relations in
findAll
Stable Version 0.7.0
- #13 - global leak (deepMixIn)
- #12 - Create and Update don't work with non-numeric and/or primary keys
- #4 - Add support for loading relations in find()
- #8 - LIKE operator support
- #9 - Throw error when using bad WHERE operator
- #2 - Should not be saving relations (duplicating data)
- #3 - Need to use removeCircular
- #1 - Converted to ES6.
- Upgraded dependencies
- Initial Release
- Initial Commit