Releases: Avocarrot/stormer
Releases · Avocarrot/stormer
v0.11.0
v0.8.0: Merge pull request #16 from Avocarrot/feat/fieldValidations
- BUG FIX: Fixes an issue with Boolean types and setting the default value
- New feature: Adds optional custom validation function for schema properties
v0.7.0: Merge pull request #14 from Avocarrot/feature/primaryKeys
Adds support for primary keys in the schema.
v0.6.0: Merge pull request #11 from Avocarrot/feature/getSingleAndFilter
- Renames
Store.prototype.getEntry
toStore.prototype._get
- Renames
Store.prototype.setEntry
toStore.prototype._set
- Renames
Store.prototype.deleteEntry
toStore.prototype._delete
- Adds new
Store.prototype._filter
andStore.prototype.filter
which can be used to filter instances from the db based on a query.
v0.5.0: Merge pull request #10 from Avocarrot/feature/booleanTypes
Adds support for boolean types
v0.3.0: Merge pull request #6 from Avocarrot/fix/arrayDefaultValues
Model.prototype.update
was deleted andModel.prototype.create
was replaced byModel.prototype.set
- Fixes important bug with array types. Basically, we the default values for an array item were not set at all. This is fixed now.
- Added an
AlreadyExistsError
which can be used when the item already exists in the store and that's a violation.
v0.2.2
v0.2.1
- Exposes error objects to end user
- Fixes bug with calling deleted method
v0.2.0
- Removes
Store.prototype.updateEntry
function. TheStore.prototype.setEntry
function should be used to update or create a new entry now. - Renamed
Store.prototype.createEntry
toStore.prototype.setEntry
.
v0.1.0
- Adds support for array types