UNPKG

6.44 kBMarkdownView Raw
1# About this CHANGELOG
2
3This file will include all API breakage, new features, and upgrade info in
4localForage's lifetime.
5
6### [1.5](https://github.com/mozilla/localForage/releases/tag/1.5.0)
7* **Major storage engine change for Safari**: We now use IndexedDB as the storage engine for Safari v10.1 (and above). This means sites using localForage for data storage with users using Safari `< 10.1` will experience "data loss". In fact no data is lost but the engine will change so localForage will seem empty. You can still force a connection to WebSQL using [localForage's config](https://localforage.github.io/localForage/#settings-api-setdriver) to either keep using your existing WebSQL database or migrate to IndexedDB.
8
9### [1.4.2](https://github.com/mozilla/localForage/releases/tag/1.4.2)
10* Fixes #562.
11
12### [1.4.1](https://github.com/mozilla/localForage/releases/tag/1.4.1)
13* Fixes #520; browserify builds work properly
14
15### [1.4](https://github.com/mozilla/localForage/releases/tag/1.4.0)
16* Fixes #516; this version should always load the correct driver without that bug.
17
18### [1.3](https://github.com/mozilla/localForage/releases/tag/1.3.0)
19* We now use ES6 for our source code and `webpack` to bundle the `dist/` files.
20
21### [1.2](https://github.com/mozilla/localForage/releases/tag/1.2.0)
22* Iterate through the entire database using `iterate()`. ([#283](https://github.com/mozilla/localForage/pull/283); fixes [#186](https://github.com/mozilla/localForage/pull/186))
23
24### [1.1](https://github.com/mozilla/localForage/releases/tag/1.1.0)
25* Custom drivers can be created using `defineDriver()`. ([#282](https://github.com/mozilla/localForage/pull/282); fixes [#267](https://github.com/mozilla/localForage/pull/267))
26
27### [1.0.3](https://github.com/mozilla/localForage/releases/tag/1.0.3)
28* `config()` accepts a new option: `driver`, so users can set the driver during config rather than using `setDriver()`. ([#273](https://github.com/mozilla/localForage/pull/273); fixes [#168](https://github.com/mozilla/localForage/pull/168))
29
30### [1.0](https://github.com/mozilla/localForage/releases/tag/1.0.0)
31
32* It is no longer necessary to queue commands using `ready()` when using RequireJS. ([723cc94e06](https://github.com/mozilla/localForage/commit/723cc94e06af4f5ba4c53fa65524ccd5f6c4432e))
33* `setDriver` now accepts an array of drivers to be used, in order of preference, instead of simply a string. The string option is still supported. (eg. now one can use `setDriver(['WebSQL', 'localStorage'])` instead of `setDriver('WebSQL')`)
34* node-style, error-first argument method signatures are used for callbacks. Promises don't use error-first method signatures; instead they supply an error to the promise's `reject()` function.
35
36### [0.9](https://github.com/mozilla/localForage/releases/tag/0.9.1)
37
38This release drops support for some legacy browsers, though not actually the
39ones you might think. localForage's new policy is to support the current
40version of all major browsers plus up to three versions back.
41
42* Add built versions without the Promises polyfill to `dist/` directory. ([#172](https://github.com/mozilla/localForage/pull/172))
43* **Drop support for Firefox 3.5. Minimum version is now Firefox 25.** (Technically, Firefox 4+ seems to work.)
44* **Drop support for Chrome 31 and below. Minimum version is now Chrome 32.**
45* Fix a **lot** of bugs. Especially in Internet Exploder.
46* Switch to Mocha tests and test on [Sauce Labs](https://saucelabs.com/).
47* Add a `keys()` method. ([#180](https://github.com/mozilla/localForage/pull/180))
48* Check for localStorage instead of assuming it's available. ([#183](https://github.com/mozilla/localForage/pull/183))
49
50### [Version 0.8](https://github.com/mozilla/localForage/releases/tag/0.8.1)
51
52* Add support for web workers. ([#144](https://github.com/mozilla/localForage/pull/144), [#147](https://github.com/mozilla/localForage/pull/147)).
53
54### [Version 0.6.1](https://github.com/mozilla/localForage/releases/tag/0.6.1)
55
56* Put built versions back in `dist/` directory.
57
58### [Version 0.6.0](https://github.com/mozilla/localForage/releases/tag/0.6.0)
59
60* Add `localforage.config`. ([#40](https://github.com/mozilla/localForage/pull/140))
61* Fix iFrame bug in WebKit. ([#78](https://github.com/mozilla/localForage/issues/78))
62* Improve error handling. ([#60](https://github.com/mozilla/localForage/issues/60))
63* Remove support for `window.localForageConfig`. ([#135](https://github.com/mozilla/localForage/issues/135))
64
65### [Version 0.4](https://github.com/mozilla/localForage/releases/tag/0.4.0)
66
67* Built versions of localForage are now in the top-level directory. ([2d11c90](https://github.com/mozilla/localForage/commit/2d11c90))
68
69### [Version 0.3](https://github.com/mozilla/localForage/releases/tag/0.3.0)
70
71* Check code quality in test suite ([#124](https://github.com/mozilla/localForage/pull/124))
72* `_initDriver()` is called after first public API call ([#119](https://github.com/mozilla/localForage/pull/119))
73
74### [Version 0.2.1](https://github.com/mozilla/localForage/releases/tag/0.2.1)
75
76* Allow configuration of WebSQL DB size ([commit](https://github.com/mozilla/localForage/commit/6e78fff51a23e729206a03e5b750e959d8610f8c))
77* Use bower for JS dependencies instead of `vendor/` folder ([#109](https://github.com/mozilla/localForage/pull/109))
78
79### [Version 0.2.0](https://github.com/mozilla/localForage/releases/tag/0.2.0)
80
81* Add support for ArrayBuffer, Blob, and TypedArrays ([#54](https://github.com/mozilla/localForage/pull/54), [#73](https://github.com/mozilla/localForage/pull/73))
82
83### [Version 0.1.1](https://github.com/mozilla/localForage/releases/tag/0.1.1)
84
85* Added config options to allow users to set their own database names, etc. ([#100](https://github.com/mozilla/localForage/pull/100))
86
87---
88
89### March 16th, 2014
90
91* Moved Backbone adapter to its own repository ([b7987b3091855379d4908376b668b4b51a6fedfe](https://github.com/mozilla/localForage/commit/b7987b3091855379d4908376b668b4b51a6fedfe))
92
93### March 13th, 2014
94
95* Changed `localforage.driver` to a function instead of the string directly ([49415145021b0029d2521182de6e338e048fe5b1](https://github.com/mozilla/localForage/commit/49415145021b0029d2521182de6e338e048fe5b1))
96
97### March 4th, 2014
98
99* Changed the IndexedDB database name from `asyncStorage` to `localforage` ([f4e0156a29969a79005ac27b303d7e321a720fc6](https://github.com/mozilla/localForage/commit/f4e0156a29969a79005ac27b303d7e321a720fc6))