- Added option to start with a
baseRef
such as"users/:uid"
Stable 3.0.0 release
- Updated dependencies
- Now requires firebase 3.0.0 or greater
- The FirebaseAdapter constructor now takes just a "db" option
- Officially works in Node.js now
Official v3 beta release
-
Now depends on js-data v3
-
How you must now import in ES2015:
import FirebaseAdapter from 'js-data-firebase' const adapter = new FirebaseAdapter({ basePath: '<your-firebase-url>' })
or
import {FirebaseAdapter, version} from 'js-data-firebase' console.log(version) const adapter = new FirebaseAdapter()
-
How you must now import in ES5:
var JSDataFirebase = require('js-data-firebase') var FirebaseAdapter = JSDataFirebase.FirebaseAdapter var adapter = new FirebaseAdapter({ basePath: '<your-firebase-url>' })
-
Moved some
dist
files torelease
to reduce noise
- Upgraded dependencies
- Improved JSDoc comments
- Now using js-data JSDoc template
- fix for loading relations in find and findAll()
- #15 - Add support for loading relations in find()
- #16 - Add support for loading relations in findAll()
Stable Version 2.0.0
Stable Version 2.0.0-rc.1
- #11 - Race condition, tasks need to be atomic
- Updated dependencies
- #13 - Infinite loop
- #9 - Race condition with missing IDs
- #7 - Should not be saving relations (duplicating data)
- #8 - Need to use removeCircular
- #6 - Convert to ES6
- #4 - Does not properly throw error in find() (like other adapters) when the item cannot be found
Stable Version 1.0.0
Now in beta.
- #2 - Authentication
Stable Version 1.0.0-alpha.1
- #1 - Create doesn't play well with idAttribute that isn't automatically assigned
- Improved checking for dependencies
- Corrected to use
resourceConfig.endpoint
rather thanresourceConfig.class
- Refactored from
baseUrl
tobasePath
, asbaseUrl
doesn't make sense for all adapters, butbasePath
does
Initial release