0.1.44 • Published 10 years ago

iStorable v0.1.44

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

10 years ago

0.1.43

10 years ago

0.1.42

10 years ago

0.1.41

10 years ago

0.1.40

10 years ago

0.1.39

10 years ago

0.1.38

10 years ago

0.0.37

10 years ago

0.0.36

10 years ago

0.0.35

10 years ago

0.0.34

10 years ago

0.0.33

10 years ago

0.0.32

10 years ago

0.0.31

10 years ago

0.0.29

10 years ago

0.0.28

10 years ago

0.0.27

10 years ago

0.0.26

10 years ago

0.0.25

10 years ago

0.0.24

10 years ago

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.20

10 years ago

0.0.18

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago