Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit fc5fdad

Browse files
authored
Add 3.0.0-rc1 to changelog (#115)
1 parent 294345d commit fc5fdad

File tree

2 files changed

+70
-3
lines changed

2 files changed

+70
-3
lines changed

CHANGELOG.md

+69-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,73 @@
22

33
## [Unreleased]
44

5+
## [3.0.0-rc1] - 2016-05-26
6+
7+
### Changed
8+
* Upgrade `abstract-leveldown` from `0.12.0` to `5.0.0` (@vweevers)
9+
* Upgrade `typedarray-to-buffer` from `1.0.0` to `3.1.5` (@vweevers)
10+
* Upgrade `levelup` devDependency from `0.18.2` to `3.0.0` (@vweevers)
11+
* Upgrade `browserify` devDependency from `4.1.2` to `16.2.2` (@vweevers)
12+
* Switch license from BSD to MIT (@ralphtheninja)
13+
* Replace `IDBWrapper` with straight IndexedDB code (@vweevers)
14+
* Change default database prefix from `IDBWrapper-` to `level-js-` (@vweevers)
15+
* Implement abstract `#_serializeKey` with support of all IndexedDB Second Edition types including binary keys (as Buffers) (@vweevers)
16+
* Implement abstract `#_serializeValue` with support of all types of the structured clone algorithm except for `null` and `undefined` (@vweevers)
17+
* Use `immediate` module for consistent microtask behavior (@vweevers)
18+
* Replace `Buffer()` with `Buffer.from()` (@vweevers)
19+
* Rename `Iterator#iterator` to `#transaction` (@vweevers)
20+
* Replace `beefy` with `airtap --local` for local testing (@vweevers)
21+
* Homogenize README title, description and headers (@vweevers)
22+
* Make real `tape` tests out of `test-levelup.js` (@vweevers)
23+
* Restructure custom tests to follow abstract test suite format (@vweevers)
24+
25+
### Added
26+
* Add continuous browser tests with `airtap` and Sauce Labs (@vweevers)
27+
* Add `prefix` and `version` options to constructor (@vweevers)
28+
* Detect binary key support and fallback to `String(buffer)` (@vweevers)
29+
* Detect array key support and fallback to `String(array)` (@vweevers)
30+
* Test all value types of the structured clone algorithm (@vweevers)
31+
* Catch `DataCloneError` if the environment does not support serializing the type of a key or value (@vweevers)
32+
* Include Promise polyfill for `levelup` integration tests (@vweevers)
33+
* Test that `Iterator` stringifies `Buffer.from()` argument (@vweevers)
34+
* Add README badges, new goals and a code example with `levelup` (@vweevers)
35+
* Add npm files to `.gitignore` (@vweevers)
36+
37+
### Fixed
38+
* Start `Iterator` cursor immediately and fill an in-memory cache to fulfill `abstract-leveldown` snapshot guarantees (@vweevers)
39+
* Stop advancing `Iterator` cursor when `options.limit` is reached (@vweevers)
40+
* Rename public `#iterator` to private `#_iterator` (@vweevers)
41+
* Fix `#_iterator({ limit: 0 })` to yield 0 entries (@vweevers)
42+
* Handle transaction errors in `Iterator` (@vweevers)
43+
* Fix constructor to call super (@vweevers)
44+
* Make one request at a time in a batch transaction, saving CPU time (@vweevers)
45+
* Properly close and destroy db's in custom tests (@vweevers)
46+
* Update README links (@vweevers)
47+
48+
### Removed
49+
* Remove support of `ArrayBuffer` values in favor of `Buffer` (@vweevers)
50+
* Remove now unneeded `raw` option from `#_get()` and `#_iterator()` (@vweevers)
51+
* Run tests without `IndexedDBShim` (@vweevers)
52+
* Remove `Buffer` to `Uint8Array` conversion in `#_put()` and `#_batch()` (@vweevers)
53+
* Remove obsolete `#_approximateSize` (@vweevers)
54+
* Remove obsolete `#_isBuffer` (@vweevers)
55+
* Remove obsolete `testBuffer` from abstract tests (@vweevers)
56+
* Remove obsolete writestream test from `test-levelup.js` (@vweevers)
57+
* Rely on `abstract-leveldown` defaults in `Iterator` constructor (@vweevers)
58+
* Rely on `abstract-leveldown` callback defaults (@vweevers)
59+
* Remove testling from `package.json` (@vweevers)
60+
* Remove `level.js` logo (@vweevers)
61+
62+
**Historical Note** As a result of removing `IDBWrapper`, only modern browsers with a non-prefixed `window.indexedDB` are supported in this release. IE10 and Firefox 52 are known to be broken. The current test matrix of `level-js` includes the latest versions of Chrome, Firefox, Safari, Edge and IE.
63+
64+
**Historical Note** Though `level-js` now passes the full `abstract-leveldown` test suite, fulfulling the snapshot guarantee (reads not being affected by simultaneous writes) means a loss of backpressure as iterators have to keep reading from their IndexedDB cursors. Memory consumption might increase if an iterator is not consumed fast enough. A future release will have an option to favor backpressure over snapshot guarantees.
65+
66+
**Historical Note** This release introduced the boolean `binaryKeys` and `arrayKeys` properties on the constructor, indicating whether the environment supports binary and array keys respectively. These properties may become private.
67+
68+
**Historical Note** The vendored `IndexedDBShim` is still included, but likely to be removed.
69+
70+
**Historical Note** Though we upgraded `browserify` to `16.2.2`, the effective version used in tests is `13.3.0` because we switched from `beefy` to `airtap`, which ships with its own `browserify` dependency.
71+
572
## [2.2.4] - 2016-05-09
673

774
### Changed
@@ -210,7 +277,8 @@
210277

211278
:seedling: Initial release.
212279

213-
[Unreleased]: https://github.com/level/level.js/compare/v2.2.4...HEAD
280+
[Unreleased]: https://github.com/level/level.js/compare/v3.0.0-rc1...HEAD
281+
[3.0.0-rc1]: https://github.com/level/level.js/compare/v2.2.4...v3.0.0-rc1
214282
[2.2.4]: https://github.com/level/level.js/compare/v2.2.3...v2.2.4
215283
[2.2.3]: https://github.com/level/level.js/compare/v2.2.2...v2.2.3
216284
[2.2.2]: https://github.com/level/level.js/compare/v2.2.1...v2.2.2
@@ -235,4 +303,3 @@
235303
[1.0.3]: https://github.com/level/level.js/compare/v1.0.2...v1.0.3
236304
[1.0.2]: https://github.com/level/level.js/compare/v1.0.1...v1.0.2
237305
[1.0.1]: https://github.com/level/level.js/compare/v1.0.0...v1.0.1
238-

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Being `abstract-leveldown` compliant means you can use many of the [Level module
2525

2626
## Example
2727

28-
**This assumes use of version `3.0.0-rc1`. The next release will have an upgrade guide.**
28+
**This assumes use of version `3.0.0-rc1`. The next release will have an upgrade guide. Until then, please see the [changelog](CHANGELOG.md).**
2929

3030
```js
3131
var levelup = require('levelup')

0 commit comments

Comments
 (0)