0.1.44 • Published 8 years ago

iStorable v0.1.44

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.43

8 years ago

0.1.42

8 years ago

0.1.41

8 years ago

0.1.40

8 years ago

0.1.39

8 years ago

0.1.38

8 years ago

0.0.37

8 years ago

0.0.36

8 years ago

0.0.35

8 years ago

0.0.34

8 years ago

0.0.33

8 years ago

0.0.32

8 years ago

0.0.31

8 years ago

0.0.29

8 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.18

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago