Version: {{version}}
- [new] Session support in FastBoot
- [new] Default to FastBoot request protocol and host if CouchDB URL is relative
- [new]
belongs-to-collection
relationship with fastboot support
### 2.0.7
- [new]
has-many-collection
relationships now support fastboot - [new]
db.transient(modelName, id)
creates transient models which are not savable but are included in fastboot shoebox
### 2.0.6
- [new] collection api removed
- [new] has-many relationship with
{ inverse: null }
works the same like collection
- [new] Ember 2.13.3
- [new]
Relationship
classes - [new]
Query
factories - [new] Relationship properties are now created on model definition creation
- [fix]
database.destroy()
now destroys collections
### 2.0.2
- [fix] fastboot initializer compatibility with the latest
ember-cli-fastboot
- [new] use
ember-fetch
instead ofember-network
. works in fastboot
- [new] database
_changes
listeners - [new] couch
_db_updates
listeners
### 2.0.0-pre.39
- [fix]
isDeleted
propogation fixed
### 2.0.0-pre.38
- [new] allow overriding per-database attachments, attachment classes. recreate them if model database is set separately from model creation
- [new] allow overriding attachment content classes (per-database)
- [new] extracted
ember-cli-couch
from codebase - [new] keep deleted model
rev
, don't serialize it on next save - [fix] remove stub attachments on deleted model saves
- [new] collections are now has identity by name and serialized opts
db.collection('foo') === db.collection('foo')
- [new] fastboot shoebox now includes models, relations with load status and collections
- [fix] couch request
{ json: false }
support
- [new] Basic FastBoot support including shoebox (Note: proxies are still reloaded in client)
- [new]
{ polymorphic: true }
option for relationships which saves-loads relationships as a{ id: docId, type: modelName }
objects
- [new] export
Error
insofa/index.js
- [fix] got rid of
isReady
. postpone load until next runloop and make sure load is still needed
- [fix] do not attempt to load model before it is finished deserializing (
internal.isReady
)
- [new] loadable
Collection
(promise
only for now, no autoload)
- [change] default to underscored property keys (
createdAt
->created_at
in doc) - [fix] Collection
modelName
comparator now takes into account model inheritance - [new] allow overriding
Database
by identifier (sofa/database/main.js
) - [new] allow overriding
Session
(sofa/session.js
)
- [new] Support linked documents in view queries
- [change]
db.find
defaults to{ optional: true }
- [fix] base64 encoding issue resolved for string attachments
- [new] Register sofa in
Ember.libraries
- [new] Collection