Skip to content

Releases: Avocarrot/stormer

v0.11.0

31 Jan 16:52
Compare
Choose a tag to compare
fix (defaults) : use schema defaults only when creating a new record

v0.8.0: Merge pull request #16 from Avocarrot/feat/fieldValidations

30 Nov 17:27
Compare
Choose a tag to compare
  • 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

26 Nov 16:28
Compare
Choose a tag to compare

Adds support for primary keys in the schema.

v0.6.0: Merge pull request #11 from Avocarrot/feature/getSingleAndFilter

24 Nov 11:01
Compare
Choose a tag to compare
  • Renames Store.prototype.getEntry to Store.prototype._get
  • Renames Store.prototype.setEntry to Store.prototype._set
  • Renames Store.prototype.deleteEntry to Store.prototype._delete
  • Adds new Store.prototype._filter and Store.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

15 Nov 18:57
Compare
Choose a tag to compare

v0.3.0: Merge pull request #6 from Avocarrot/fix/arrayDefaultValues

09 Nov 10:36
Compare
Choose a tag to compare
  • Model.prototype.update was deleted and Model.prototype.create was replaced by Model.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

03 Nov 13:16
Compare
Choose a tag to compare

Adds better documentation (closes #1)

v0.2.1

03 Nov 11:38
Compare
Choose a tag to compare
  • Exposes error objects to end user
  • Fixes bug with calling deleted method

v0.2.0

29 Oct 12:00
Compare
Choose a tag to compare
  • Removes Store.prototype.updateEntry function. The Store.prototype.setEntry function should be used to update or create a new entry now.
  • Renamed Store.prototype.createEntry to Store.prototype.setEntry.

v0.1.0

20 Oct 21:46
Compare
Choose a tag to compare
  • Adds support for array types