Releases: mydea/ember-indexeddb
Releases · mydea/ember-indexeddb
Release 3.0.0-beta.1
Release 3.0.0-beta.0
3.0.0-beta.0 (2020-06-23)
Breaking
This updates to Dexie 3. See #113 for details.
Summary:
This changes how migrations are written. Basically, each version should now contain the full schema, not just the changes to the last version. However, you can now safely delete old versions unless they contain upgrade()
.
Bug Fixes
- Ensure it allows to skip old DB versions without upgrade (09b795a)
- Fix querying for unindexed fields (a3cddac)
Features
- Allow to output which indecies are used (c583e60)
Release 2.0.0
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 newModelBulkSaver
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.
v1.3.0
- [BUGFIX] Ensure
super
is correctly called forincluded()
hook - [INTERNAL] Update [email protected]
- [INTERNAL] Update [email protected]
- [INTERNAL] Update dev dependencies
v1.0.1
v1.0.0
- Update to Dexie 2.x
- Remove Bower dependency (load Dexie from NPM)
- Ensure tests wait on all IndexedDB processes to be finished
- Ensure this addon works without Array prototype extensions
- Throw an error if indexed-db-configuration service is not extended
- [INTERNAL] Update dependencies & move to new module syntax
- [INTERNAL] Improve tests