0.1.44 • Published 9 years ago

iStorable v0.1.44

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

iStorable

Enhances JavaScript classes so instances can be stored in a variety of storage mechanisms, e.g. block store file, json file, mem store.

Build Status Codacy Badge Code Climate Test Coverage

Usage

Storage Mechanisms

MemStore - implemented

BrowserStore - implemented

JSONStore - not implemented

BlockStore - not implemented

ReditStore - not implemented

Release History

2016-07-29 v0.1.42 - further improvements to toJSON

2016-07-29 v0.1.41 - added null case handling for toJSON

2016-07-28 v0.1.40 - localForage was not converting proxied objects to JSON for storage, added a custom locally scoped toJSON function.

2016-07-27 v0.1.39 - Added support for cache management.

2016-07-27 v0.1.38 - Added support for zero arguments to <iStorable>.load() in order to load all instances.

2016-07-27 v0.1.37 - Added support for dot notation update of string characters.

2016-07-27 v0.1.36 - Added support for <browser store>.get() with no arguments. Incremented version to 0.1.* (should have done so with prior release, since removal of SessionStore was a breaking change.

2016-07-27 v0.0.35 - Removed SessionStore and replaced with localForage backed BrowserStore.

2016-07-26 v0.0.26 - Renamed iStorable.restore to iStorable.fromJSON for consistency with iKeyed.

2016-07-26 v0.0.13 - Added a general purpose iStorable.restore function that tries to restore a POJO to an instance of its proper class using a variety of methods.

2016-07-26 v0.0.12 - Modified SessionStore.toJSON to set constructor as non-enumerable. Handled complexity of setting a character into a string at a specific index for SessionStore set, e.g, put("name.2","n") changes "joe" to "jon".

2016-07-25 v0.0.11 - SessionStore was still converting embedded arrays to objects on restore. v0.0.10 only fixed save. Fixed this.

2016-07-25 v0.0.10 - SessionStore was converting embedded arrays to objects. Fixed this.

2016-07-25 v0.0.9 - v0.0.8 was overly agressive in restricting, now testing for writable or configurable.

2016-07-25 v0.0.8 - Ensured session storage does not keep and try to restore readonly properties.

2016-07-24 v0.0.7 - Ensursed auto save is recongnized on object creation. Enabled access to Session once SessionStore is invoked the first time. Added prefix of class names to keys.

2016-07-24 v0.0.6 - Added iStorable.SessionStore

2016-07-07 v0.0.5 - Documentation updates

2016-07-07 v0.0.1 - v0.0.4 Initial pushes of core functionality.

0.1.44

9 years ago

0.1.43

9 years ago

0.1.42

9 years ago

0.1.41

9 years ago

0.1.40

9 years ago

0.1.39

9 years ago

0.1.38

9 years ago

0.0.37

9 years ago

0.0.36

9 years ago

0.0.35

9 years ago

0.0.34

9 years ago

0.0.33

9 years ago

0.0.32

9 years ago

0.0.31

9 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26

9 years ago

0.0.25

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.18

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago