Skip to content

Release 2.0.0

Latest
Compare
Choose a tag to compare
@mydea mydea released this 23 Mar 10:01
· 71 commits to master since this release

2.0.0 (2020-03-23)

  • Use ember-auto-import to import Dexie
  • Update dependencies to latest
  • Update to using ES6 classes and decorators (Octane)
  • Drop support for Ember versions <3.13
  • Replace the ModelBulkSave mixin with a new ModelBulkSaver utility class:
import Model from '@ember-data/model';
import { ModelBulkSaver } from 'ember-indexeddb/utils/model-bulk-saver';
import { inject as service } from '@ember/service';

export default class extends Model {
  @service indexedDb;

  modelBulkSaver = new ModelBulkSaver(this);
}

// Use it later...
model.modelBulkSaver.saveBulk();

The mixin remains for now, but is deprecated.