- Change
BoxDB.box()
toBoxDB.create()
- Refactor core interfaces
- Update type checking logics (now based on
typeof
) - Add task arguments filter logic for lagacy browsers
- Using
strictNullChecks
mode (Typescript)
- Change
BoxRange
type (Ranametarget
toindex
) - Fix model handlers parameter type
- Improve unit tests
- Compose
query()
andfilter()
methods tofind()
query()
andfilter()
methods replaced tofind()
- Now can use both features in one method
- Update BoxDBError
- Add
box.$query()
method - Rename
box.find
,box.$find()
tofilter
- Fix update features (put, update)
- Add demo page (for testing)
- Update polyfills information
- chore: Re-build package
- Rename
Model
toBox
- model() name to box()
- Add
box.query()
method- For using IDBIndex, IDBRange
- Update
box.find()
parameter- Now recive only filter functions
- Follows rest parameter
- Refactor model/transaction methods
- Now
Model.get()
returns added record's key - Update
BoxDBError
class - Remove unused codes
- Update test cases
- Coverage improved (> 99.5%)
- First published version!
- Promise based and easy to use
- Works on Web Workers
- Zero dependencies
- Database and object store version management
- Transaction control and data validation via model
- ACID(Atomicity, Consistency, Isolation, Durability) guaranteed with transaction
- Supports TypeScript