v3.0.0-rc.1
版本发布时间: 2019-02-11 15:14:56
FirebaseExtended/emberfire最新发布版本:v3.0.0-rc.6(2019-10-13 00:10:51)
Release Candidate 1
This is a release candidate. It is meant to be consumed by addon developers and users who are willing to deal with bugs and missing features, file feedback, and send pull requests. It is not intended for use in production.
ember install emberfire-exp
Learn more about the goals of the rewrite here (#542).
Changes
- Requires Firebase JS SDK 5.x
- Now targeting Ember 3.4.8+
- Requires
ember-auto-import
; we're no longer usingbabelify
orbrowserify
- The Realtime Database adapter has moved, it now at
emberfire/adapters/realtime-database
- The
firebase-app
service calls are now promises, in preparation for dynamic imports - The Realtime Database adapter no longer listens to realtime changes by default
- Relationship ids are no longer embedded for hasMany relationships, instead a query is used
- All relationships are now async, unless they are embedded
New features
- Cloud Firestore is now supported with an Ember Data adapter
- Ember Simple Auth is now supported with a Firebase Auth provider
- Support for multiple Firebase applications via named services
- The Realtime Database adapter now allows you to point to different database instances
- There is now a reference factory option for queries and relationships, allowing you to override the assumed database reference
- A realtime listener service and route mixin allow you to opt-in and out of realtime updates
Known issues
- Documentation is still in progress
- Many-to-many relationships are not working as expected
- Saving a model will not save/create relationships
- The include option on query/queryRecord does not yet function
- Realtime listener mixin does not listen for updates to relationships
- Torii provider is not fully functional
- Tests and test hooks are a WIP
Fixes / improvements
- Newer Ember, Firebase, etc.
- The
firebase-app
service has been restored to full functionality - "Falsy" sorts now function in Realtime Database queries
- Relationship integrity should now be much more reliable
- Relationships should now be able to cross different adapters/serializers
- Now supports Ember Fastboot
- Typings are now provided
1、 emberfire-3.0.0-rc.1.tgz 35.3KB