UNPKG

5.48 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.3](https://github.com/mozilla/localForage/releases/tag/1.3.0)
7* We now use ES6 for our source code and `webpack` to bundle the `dist/` files.
8
9### [1.2](https://github.com/mozilla/localForage/releases/tag/1.2.0)
10* Iterate through the entire database using `iterate()`. ([#283](https://github.com/mozilla/localForage/pull/283); fixes [#186](https://github.com/mozilla/localForage/pull/186))
11
12### [1.1](https://github.com/mozilla/localForage/releases/tag/1.1.0)
13* Custom drivers can be created using `defineDriver()`. ([#282](https://github.com/mozilla/localForage/pull/282); fixes [#267](https://github.com/mozilla/localForage/pull/267))
14
15### [1.0.3](https://github.com/mozilla/localForage/releases/tag/1.0.3)
16* `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))
17
18### [1.0](https://github.com/mozilla/localForage/releases/tag/1.0.0)
19
20* It is no longer necessary to queue commands using `ready()` when using RequireJS. ([723cc94e06](https://github.com/mozilla/localForage/commit/723cc94e06af4f5ba4c53fa65524ccd5f6c4432e))
21* `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')`)
22* 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.
23
24### [0.9](https://github.com/mozilla/localForage/releases/tag/0.9.1)
25
26This release drops support for some legacy browsers, though not actually the
27ones you might think. localForage's new policy is to support the current
28version of all major browsers plus up to three versions back.
29
30* Add built versions without the Promises polyfill to `dist/` directory. ([#172](https://github.com/mozilla/localForage/pull/172))
31* **Drop support for Firefox 3.5. Minimum version is now Firefox 25.** (Technically, Firefox 4+ seems to work.)
32* **Drop support for Chrome 31 and below. Minimum version is now Chrome 32.**
33* Fix a **lot** of bugs. Especially in Internet Exploder.
34* Switch to Mocha tests and test on [Sauce Labs](https://saucelabs.com/).
35* Add a `keys()` method. ([#180](https://github.com/mozilla/localForage/pull/180))
36* Check for localStorage instead of assuming it's available. ([#183](https://github.com/mozilla/localForage/pull/183))
37
38### [Version 0.8](https://github.com/mozilla/localForage/releases/tag/0.8.1)
39
40* Add support for web workers. ([#144](https://github.com/mozilla/localForage/pull/144), [#147](https://github.com/mozilla/localForage/pull/147)).
41
42### [Version 0.6.1](https://github.com/mozilla/localForage/releases/tag/0.6.1)
43
44* Put built versions back in `dist/` directory.
45
46### [Version 0.6.0](https://github.com/mozilla/localForage/releases/tag/0.6.0)
47
48* Add `localforage.config`. ([#40](https://github.com/mozilla/localForage/pull/140))
49* Fix iFrame bug in WebKit. ([#78](https://github.com/mozilla/localForage/issues/78))
50* Improve error handling. ([#60](https://github.com/mozilla/localForage/issues/60))
51* Remove support for `window.localForageConfig`. ([#135](https://github.com/mozilla/localForage/issues/135))
52
53### [Version 0.4](https://github.com/mozilla/localForage/releases/tag/0.4.0)
54
55* Built versions of localForage are now in the top-level directory. ([2d11c90](https://github.com/mozilla/localForage/commit/2d11c90))
56
57### [Version 0.3](https://github.com/mozilla/localForage/releases/tag/0.3.0)
58
59* Check code quality in test suite ([#124](https://github.com/mozilla/localForage/pull/124))
60* `_initDriver()` is called after first public API call ([#119](https://github.com/mozilla/localForage/pull/119))
61
62### [Version 0.2.1](https://github.com/mozilla/localForage/releases/tag/0.2.1)
63
64* Allow configuration of WebSQL DB size ([commit](https://github.com/mozilla/localForage/commit/6e78fff51a23e729206a03e5b750e959d8610f8c))
65* Use bower for JS dependencies instead of `vendor/` folder ([#109](https://github.com/mozilla/localForage/pull/109))
66
67### [Version 0.2.0](https://github.com/mozilla/localForage/releases/tag/0.2.0)
68
69* Add support for ArrayBuffer, Blob, and TypedArrays ([#54](https://github.com/mozilla/localForage/pull/54), [#73](https://github.com/mozilla/localForage/pull/73))
70
71### [Version 0.1.1](https://github.com/mozilla/localForage/releases/tag/0.1.1)
72
73* Added config options to allow users to set their own database names, etc. ([#100](https://github.com/mozilla/localForage/pull/100))
74
75---
76
77### March 16th, 2014
78
79* Moved Backbone adapter to its own repository ([b7987b3091855379d4908376b668b4b51a6fedfe](https://github.com/mozilla/localForage/commit/b7987b3091855379d4908376b668b4b51a6fedfe))
80
81### March 13th, 2014
82
83* Changed `localforage.driver` to a function instead of the string directly ([49415145021b0029d2521182de6e338e048fe5b1](https://github.com/mozilla/localForage/commit/49415145021b0029d2521182de6e338e048fe5b1))
84
85### March 4th, 2014
86
87* Changed the IndexedDB database name from `asyncStorage` to `localforage` ([f4e0156a29969a79005ac27b303d7e321a720fc6](https://github.com/mozilla/localForage/commit/f4e0156a29969a79005ac27b303d7e321a720fc6))