1 | # Changelog
|
2 |
|
3 | ## [Unreleased]
|
4 |
|
5 | ## [2.0.2] - 2018-02-12
|
6 |
|
7 | ### Added
|
8 | * Add 9 to Travis (@ralphtheninja)
|
9 |
|
10 | ### Changed
|
11 | * Update `browserify` to `16.0.0` (@ralphtheninja)
|
12 | * Update `leveldown` to `3.0.0` (@ralphtheninja)
|
13 | * Update `deferred-leveldown` to `3.0.0` (@ralphtheninja)
|
14 | * README: normalize readme style (@ralphtheninja)
|
15 | * README: use markdown links instead of `<a href></a>` (@ralphtheninja)
|
16 | * Clarify 'must provide db' error message (@adityapurwa)
|
17 | * Update copyright year to 2018 (@adityapurwa)
|
18 |
|
19 | ### Removed
|
20 | * Remove `abstract-leveldown` devDependency (@ralphtheninja)
|
21 |
|
22 | ## [2.0.1] - 2017-11-11
|
23 |
|
24 | ### Changed
|
25 | * README: clarify that options are specific to the underlying store (@ralphtheninja)
|
26 | * Update `abstract-leveldown` to `3.0.0` (@ralphtheninja)
|
27 | * Update `encoding-down` to `3.0.0` (@ralphtheninja)
|
28 |
|
29 | ### Fixed
|
30 | * Restore support for node 4 (@farskipper)
|
31 |
|
32 | ## [2.0.0] - 2017-10-10
|
33 |
|
34 | ### Added
|
35 | * Add default export (@zixia)
|
36 | * Test that key and value of queued operation is not serialized (@vweevers)
|
37 | * Test JSON encoding with stream (@vweevers)
|
38 | * Add smoke test for `levelup` and `leveldown` without `encoding-down` (@vweevers)
|
39 |
|
40 | ### Changed
|
41 | * Update `leveldown` (@ralphtheninja)
|
42 | * README: prefer 'underlying store' over database, backend etc (@vweevers)
|
43 | * README: update badges (@ralphtheninja)
|
44 | * README: unquote properties (@vweevers)
|
45 | * README: clarify what excluding callback means (@vweevers)
|
46 | * README: 'arbitrary data object' => 'of any type' (@vweevers)
|
47 | * README: reduce 'supported platforms' section (@vweevers)
|
48 | * README: rewrite intro and relationship with leveldown (@vweevers)
|
49 | * README: cleanup (@vweevers)
|
50 | * README: fix bad async code example (@ralphtheninja)
|
51 | * Update `deferred-leveldown` (@ralphtheninja)
|
52 |
|
53 | ### Removed
|
54 | * Remove unstable typings and Typescript tests (@MeirionHughes)
|
55 |
|
56 | ## [2.0.0-rc3] - 2017-09-15
|
57 |
|
58 | ### Changed
|
59 | * Refactor typings, use `abstract-leveldown` types (@MeirionHughes)
|
60 | * Update `leveldown` (@MeirionHughes)
|
61 |
|
62 | ### Fixed
|
63 | * Correct bad encoding options in tests (@MeirionHughes)
|
64 |
|
65 | ## [2.0.0-rc2] - 2017-09-11
|
66 |
|
67 | ### Added
|
68 | * README: add node version badge (@ralphtheninja)
|
69 | * Add Typescript definitions and testing (@MeirionHughes)
|
70 |
|
71 | ### Changed
|
72 | * README: homogenize readme style (@vweevers)
|
73 | * Update `level-errors` (@ralphtheninja)
|
74 | * Optimize Typescript tests (@vweevers)
|
75 |
|
76 | ### Removed
|
77 | * Remove 7 from Travis (@ralphtheninja)
|
78 |
|
79 | ## [2.0.0-rc1] - 2017-09-01
|
80 |
|
81 | ### Added
|
82 | * Add `Promise` to the API if callbacks are omitted (@juliangruber)
|
83 | * Add Greenkeeper badge (@ralphtheninja)
|
84 | * Add tests for `maybeError()` calling back synchronously if db is closed (@ralphtheninja)
|
85 |
|
86 | ### Changed
|
87 | * Update `deferred-leveldown` to `2.0.0` (@ralphtheninja)
|
88 | * Change `levelup` constructor to take store as first parameter (@ralphtheninja)
|
89 | * Switch to use `AbstractLevelDOWN#status` (@ralphtheninja)
|
90 | * Update copyright year to 2017 (@ralphtheninja)
|
91 | * Rename `lib/util.js` to `lib/promisify.js` (@ralphtheninja)
|
92 |
|
93 | ### Removed
|
94 | * Remove `approximateSize()` (@ralphtheninja)
|
95 | * Remove `destroy()` (@ralphtheninja)
|
96 | * Remove `repair()` (@ralphtheninja)
|
97 | * Remove `getProperty()` (@ralphtheninja)
|
98 | * Remove `.errorIfExists` (@ralphtheninja)
|
99 | * Remove `.createIfMissing` (@ralphtheninja)
|
100 | * Remove `.compression` (@ralphtheninja)
|
101 | * Remove `.cacheSize` (@ralphtheninja)
|
102 | * Remove `.sync` (@ralphtheninja)
|
103 | * Remove `.fillCache` (@ralphtheninja)
|
104 | * Remove optional `leveldown` (@ralphtheninja)
|
105 | * Remove unused `options` parameter from `maybeError` (@ralphtheninja)
|
106 | * Remove `browser` field from `package.json` (@ralphtheninja)
|
107 | * Remove 0.12 and 4 from Travis (@juliangruber)
|
108 | * Remove unused `isDefined` from `lib/util.js` (@ralphtheninja)
|
109 | * Remove encodings (@ralphtheninja)
|
110 | * Remove `dispatchError()`, callback is always a function (@ralphtheninja)
|
111 |
|
112 | ### Fixed
|
113 | * Fix problems with zalgo in `maybeError()` (@ralphtheninja)
|
114 |
|
115 | ## [1.3.9] - 2017-07-26
|
116 |
|
117 | ### Added
|
118 | * Add `standard` for linting (@ralphtheninja)
|
119 | * Add 8 to Travis (@ralphtheninja)
|
120 |
|
121 | ### Changed
|
122 | * Ignore `package-lock.json` and `yarn.lock` (@ralphtheninja)
|
123 | * README: make code examples adhere to `standard` (@ralphtheninja)
|
124 | * Update dependencies (@ralphtheninja)
|
125 |
|
126 | ## [1.3.8] - 2017-05-29
|
127 |
|
128 | ### Changed
|
129 | * Revert previous `getLevelDOWN` fix (@ralphtheninja)
|
130 | * Throw more descriptive error if db factory is not a function (@ralphtheninja)
|
131 |
|
132 | ## [1.3.7] - 2017-05-24
|
133 |
|
134 | ### Fixed
|
135 | * Avoid calling `getLevelDOWN` if not present (@diasdavid)
|
136 |
|
137 | ## [1.3.6] - 2017-05-10
|
138 |
|
139 | ### Changed
|
140 | * Pull `LevelDOWN` loader out to non browserified module (@kemitchell)
|
141 |
|
142 | ## [1.3.5] - 2017-03-02
|
143 |
|
144 | ### Changed
|
145 | * Explicitly require `leveldown/package.json` (@PascalTemel)
|
146 |
|
147 | ## [1.3.4] - 2017-03-02
|
148 |
|
149 | ### Added
|
150 | * Add 7 to Travis (@ralphtheninja)
|
151 |
|
152 | ### Removed
|
153 | * Remove 0.10 and 5 from Travis (@ralphtheninja)
|
154 |
|
155 | ## [1.3.3] - 2016-10-09
|
156 |
|
157 | ### Changed
|
158 | * README: fix typo (@jamesgrayling)
|
159 | * README: fix typo (@danielravina)
|
160 | * README: fix typo (@juliangruber)
|
161 |
|
162 | ## [1.3.2] - 2016-05-17
|
163 |
|
164 | ### Added
|
165 | * Add node 6 to Travis (@ralphtheninja)
|
166 |
|
167 | ### Changed
|
168 | * Use `sudo: false` to run tests in containers on Travis (@ralphtheninja)
|
169 | * Update `package.json` (@0x00A)
|
170 | * README: fix typos (@pra85)
|
171 | * README: changed build status ticker from png to svg (@montyanderson)
|
172 | * README: link build badge to master branch (@a0viedo)
|
173 | * Update copyright year to 2016 (@ralphtheninja)
|
174 | * Rename `appromixate-size-test.js` to `approximate-size-test.js` (@ralphtheninja)
|
175 |
|
176 | ### Removed
|
177 | * Remove non supported versions from Travis (@ralphtheninja)
|
178 |
|
179 | ### Fixed
|
180 | * Ensure Travis can compile in case no prebuilt binaries can be found (@ralphtheninja)
|
181 | * Fix deprecation test (@juliangruber)
|
182 |
|
183 | ## [1.3.1] - 2015-12-10
|
184 |
|
185 | ### Added
|
186 | * Add node 5 to travis (@ralphtheninja)
|
187 |
|
188 | ### Changed
|
189 | * Update outdated dependencies (@ralphtheninja)
|
190 | * Test on latest node 2, node 3 (@ralphtheninja)
|
191 |
|
192 | ## [1.3.0] - 2015-11-12
|
193 |
|
194 | ### Changed
|
195 | * README: fixed small typo (Stephen Sawchuck)
|
196 | * README: update url to Snappy (@hansott)
|
197 | * README: add dependency badge (@ralphtheninja)
|
198 | * Test on all major abi versions (@ralphtheninja)
|
199 | * Update outdated dependencies (@ralphtheninja)
|
200 | * Track and expose chained batch ops queue length (@kemitchell)
|
201 |
|
202 | ### Fixed
|
203 | * Dev depend on `tap` to fix `npm@3` warning (@ralphtheninja)
|
204 |
|
205 | ## [1.2.1] - 2015-06-10
|
206 |
|
207 | ### Changed
|
208 | * Improve error message when trying to require `leveldown` (@ralphtheninja)
|
209 |
|
210 | ## [1.2.0] - 2015-06-04
|
211 |
|
212 | ### Changed
|
213 | * Less restrictive version on `leveldown` (@ralphtheninja)
|
214 |
|
215 | ### Fixed
|
216 | * Handle errors in benchmarks (@juliangruber)
|
217 |
|
218 | ## [1.1.1] - 2015-05-29
|
219 |
|
220 | ### Added
|
221 | * Add link to `level/community` (@ralphtheninja)
|
222 |
|
223 | ### Changed
|
224 | * Update `leveldown` dependency (@juliangruber)
|
225 |
|
226 | ### Removed
|
227 | * Remove compression tests (@juliangruber)
|
228 |
|
229 | ## [1.1.0] - 2015-05-17
|
230 |
|
231 | ### Changed
|
232 | * Batch operation default to `'put'` (@ralphtheninja)
|
233 |
|
234 | ## [1.0.0] - 2015-05-14
|
235 |
|
236 | ### Removed
|
237 | * Remove return values from `dispatchError()` and `readError()`, they are used as voids (@ralphtheninja)
|
238 |
|
239 | ## [1.0.0-5] - 2015-05-07
|
240 |
|
241 | ### Changed
|
242 | * Target multiple iojs versions, remove notifications (@ralphtheninja)
|
243 | * Deprecate static functions `destroy()` and `repair()` (@juliangruber)
|
244 |
|
245 | ## [1.0.0-4] - 2015-05-06
|
246 |
|
247 | ### Changed
|
248 | * Deprecate `.approximateSize()` (@juliangruber)
|
249 |
|
250 | ## [1.0.0-3] - 2015-05-05
|
251 |
|
252 | ### Changed
|
253 | * Replace `tap` with `tape` + `faucet` (@ralphtheninja)
|
254 | * Refactor read streams using `level-iterator-stream` and `level-codec` (@juliangruber)
|
255 |
|
256 | ## [1.0.0-2] - 2015-04-30
|
257 |
|
258 | ### Changed
|
259 | * Refactor ltgt encoding (@juliangruber)
|
260 |
|
261 | ### Fixed
|
262 | * Fix readStream \*AsBuffer options (@juliangruber)
|
263 |
|
264 | ## [1.0.0-1] - 2015-04-28
|
265 |
|
266 | ### Added
|
267 | * Add test for `valueEncoding` `'hex'` for `createReadStream` (@braydonf)
|
268 |
|
269 | ### Changed
|
270 | * Update dependencies (@ralphtheninja)
|
271 |
|
272 | ### Fixed
|
273 | * Fix `valueEncoding` bug by passing options without array (@braydonf)
|
274 |
|
275 | ## [1.0.0-0] - 2015-04-28
|
276 |
|
277 | ### Added
|
278 | * Add @jcrugzz as contributor
|
279 | * Add 0.12 and iojs to Travis (@ralphtheninja)
|
280 |
|
281 | ### Changed
|
282 | * Support values to be `null` or `undefined` (@kesla)
|
283 | * README: explain callback arguments to `del` (@bewest)
|
284 | * README: update logo and copyright (@ralphtheninja)
|
285 | * README: remove docs on `createWriteStream()` and add note on what happened to it (@jcrugzz)
|
286 | * README: tweak explanation on why `createWriteStream()` was removed (@ralphtheninja)
|
287 | * README: clean up old `level-ws` reference (@ralphtheninja)
|
288 | * README: changed options for get to same as put (@RichardLitt)
|
289 | * README: remove reference to write-stream and iterators (@ralphtheninja)
|
290 | * Explicit devdep versions (@rvagg)
|
291 | * Update Travis and `package.json` scripts (@jcrugzz)
|
292 | * Added errors to the available namespace when requiring `levelup` (@braydonf)
|
293 | * Extract error codes into `level-errors` module (@ralphtheninja)
|
294 | * Use `level-codec` (@juliangruber)
|
295 | * Refactor iterators using new `deferred-leveldown` (@juliangruber)
|
296 |
|
297 | ### Removed
|
298 | * Remove 0.8 from Travis (@rvagg)
|
299 | * Remove references to write-stream in tests (@jcrugzz)
|
300 | * Remove references to write-stream (@jcrugzz)
|
301 | * Remove fstream based tests (@jcrugzz)
|
302 | * Remove `copy` as it requires write-stream (@jcrugzz)
|
303 | * Remove unused dependencies (@ralphtheninja)
|
304 | * Remove `encoding` option (@juliangruber)
|
305 | * Remove `leveled` benchmarks (@juliangruber)
|
306 |
|
307 | ### Fixed
|
308 | * README: fix the leveldb link (@seriousManual)
|
309 | * Use newer memdown store (@sorribas)
|
310 | * Check `notFound` on err (@doowb)
|
311 | * Fix benchmarks by installing `leveldown@^0.10.4` (@juliangruber)
|
312 | * Fix `stream-bench.js` (@juliangruber)
|
313 | * Replace `rvagg/node-` with `level` (@ralphtheninja)
|
314 |
|
315 | ## [0.19.1] - 2016-01-23
|
316 |
|
317 | ### Added
|
318 | * Add 0.12, 1.0, 1.8, 2, 3, 4, 5 to Travis (@ralphtheninja)
|
319 | * Add `tape@4.x.x` (@ralphtheninja)
|
320 |
|
321 | ### Changed
|
322 | * Update `semver` (@ralphtheninja)
|
323 | * Update `tap` (@ralphtheninja)
|
324 | * Update compiler on Travis (@ralphtheninja)
|
325 | * Fix `bustermove` version (@ralphtheninja)
|
326 |
|
327 | ### Removed
|
328 | * Remove 0.8 from Travis (@ralphtheninja)
|
329 |
|
330 | ## [0.19.0] - 2014-08-26
|
331 |
|
332 | ### Added
|
333 | * Add suport for `lt`, `lte`, `gt`, and `gte` (@dominictarr)
|
334 | * Add `isDefined` to util (@dominictarr)
|
335 |
|
336 | ### Changed
|
337 | * Refactor encodings and codec from util to separate file (@dominictarr)
|
338 | * Decouple codec from levelup parts for allowing arbitrary encoding strategies (@dominictarr)
|
339 | * Decouple read-stream from encoding and opening stuff (@dominictarr)
|
340 | * Keep codec on the db as `db._codec` (@dominictarr)
|
341 | * Refactor error checks (@dominictarr)
|
342 | * README: document `lt`, `lte`, `gt`, and `gte` (@dominictarr)
|
343 | * README: clarify ltgt (@dominictarr)
|
344 | * README: unmention bops (@dominictarr)
|
345 | * README: discourage the use of `start` and `end` a bit (@raboof)
|
346 | * README: document what `limit` does in reverse mode (@raboof)
|
347 | * README: use highest/lowest instead of largest/smallest (@raboof)
|
348 | * Binary encoding in the browser (@calvinmetcalf)
|
349 | * Document code with comments (@dominictarr)
|
350 | * Minor style fixes (@rvagg)
|
351 | * Minor whitespace changes (@rvagg)
|
352 | * Update nodeico badge (@rvagg)
|
353 |
|
354 | ### Fixed
|
355 | * Fix license (@rvagg)
|
356 |
|
357 | ## [0.18.6] - 2014-07-26
|
358 |
|
359 | ### Changed
|
360 | * Change from MIT +no-false-attribs License to plain MIT (@andrewrk)
|
361 | * Upgrade `bl` dependency (@raynos)
|
362 |
|
363 | ## [0.18.5] - 2014-06-26
|
364 |
|
365 | ### Fixed
|
366 | * Replace `concat-stream` with `bl`, fixes [#251](https://github.com/Level/levelup/issues/251) (@rvagg)
|
367 |
|
368 | ## [0.18.4] - 2014-06-24
|
369 |
|
370 | ### Changed
|
371 | * Reorder dependencies (@juliangruber)
|
372 | * Update dependencies (@rvagg)
|
373 |
|
374 | ### Fixed
|
375 | * Fix race condition on read stream's `self._iterator` (@nolanlawson)
|
376 |
|
377 | ## [0.18.3] - 2014-04-26
|
378 |
|
379 | ### Changed
|
380 | * README: fix formatting (@rvagg)
|
381 | * README: minor corrections (@guybrush)
|
382 | * README: fix leveldown method wording (@juliangruber)
|
383 | * README: clarify `start`, `end` and `limit` options in `createReadStream` docs (@maxogden)
|
384 |
|
385 | ### Removed
|
386 | * Remove `bops` and use `Buffer` instead (@nolanlawson)
|
387 |
|
388 | ## [0.18.2] - 2013-11-26
|
389 |
|
390 | ### Added
|
391 | * Add `DNT` configuration (@rvagg)
|
392 |
|
393 | ### Changed
|
394 | * Use `readable-stream` from user land across all node version (@rvagg)
|
395 |
|
396 | ## [0.18.1] - 2013-11-20
|
397 |
|
398 | ### Changed
|
399 | * Make chained-batch obey global LevelUP object options (@mcavage)
|
400 |
|
401 | ## [0.18.0] - 2013-11-18
|
402 |
|
403 | ### Changed
|
404 | * Upgrade to `LevelDOWN@0.10.0` (and bops@0.1.0 and readable-stream@1.1.9) (@rvagg)
|
405 |
|
406 | ## [0.17.0] - 2013-10-01
|
407 |
|
408 | ### Changed
|
409 | * Undo factory pattern, use plain prototypal object and expose full prototype (@rvagg)
|
410 | * Move Batch object to batch.js and expose (@rvagg)
|
411 | * Use new package, DeferredLevelDOWN to handle all deferred open logic (@rvagg)
|
412 | * Code cleanup, update deps (xtend) (@rvagg, @juliangruber)
|
413 |
|
414 | ## [0.16.0] - 2013-09-10
|
415 |
|
416 | ### Added
|
417 | * Add `notFound` boolean property and `status=404` property to NotFoundError (@rvagg)
|
418 |
|
419 | ### Changed
|
420 | * Upgrade to `errno@0.1.0` which aliases `.type` and `.name` properties (@rvagg)
|
421 | * ReadStream gracefully handles multiple `destroy()` calls (@mcollina)
|
422 |
|
423 | ## [0.15.0] - 2013-08-26
|
424 |
|
425 | ### Added
|
426 | * Add @substack as contributor
|
427 |
|
428 | ### Changed
|
429 | * New ReadStream: upgrade to streams2, remove all state-management cruft, remove fstream support (@substack)
|
430 | * Update LevelDOWN dependency to ~0.8.0 with Iterator lt/lte/gt/gte support and NAN as a dependency (@rvagg)
|
431 |
|
432 | ## [0.14.0] - 2013-08-19
|
433 |
|
434 | ### Changed
|
435 | * Encodings overhaul, allow custom encoders/decoders for `keyEncoding` or `valueEncoding` (@dominictarr)
|
436 |
|
437 | ## [0.13.0] - 2013-08-11
|
438 |
|
439 | ### Changed
|
440 | * Update LevelDOWN dependency version ~0.7.0 for Node 0.8->0.11 compatibility (@rvagg)
|
441 |
|
442 | ## [0.12.0] - 2013-07-25
|
443 |
|
444 | ### Changed
|
445 | * Update LevelDOWN dependency version ~0.6.2 (@rvagg)
|
446 |
|
447 | ## [0.11.0] - 2013-07-17
|
448 |
|
449 | ### Added
|
450 | * Add @pgte as contributor
|
451 |
|
452 | ### Changed
|
453 | * Switch from direct Buffer access to bops for better browser compatibility (@juliangruber)
|
454 | * WriteStream#end accepts `data` argument (@pgte)
|
455 |
|
456 | ### Removed
|
457 | * Remove all Function#bind calls for better browser compatibility (@juliangruber)
|
458 |
|
459 | ## [0.10.0] - 2013-06-14
|
460 |
|
461 | ### Changed
|
462 | * Upgrade to `LevelDOWN@0.6.0` which upgrades to `LevelDB@1.11.0`, some important bugfixes: https://groups.google.com/forum/#!topic/leveldb/vS1JvmGlp4E (@rvagg)
|
463 |
|
464 | ## [0.9.0] - 2013-05-21
|
465 |
|
466 | ### Changed
|
467 | * Use LevelDOWN@0.5.0, see https://github.com/level/leveldown/blob/master/CHANGELOG.md for details (@rvagg)
|
468 | * Race-condition(ish) fixed in ReadStream--createReadStream() does not start immediately and therefore allowed put()s to happen before the stream starts (@dominictarr)
|
469 | * ReadStream doesn't emit "ready" event (@dominictarr)
|
470 | * Allow separate encodings per operation in db.batch() (@juliangruber)
|
471 | * Allow separate encodings per write() in WriteStream (@juliangruber)
|
472 | * WriteStream supports "type" option ("put" [default] or "del") on constructor and individual write()s (@mcollina)
|
473 | * Expose LevelDOWN (or LevelDOWN substitute) as `db` property on LevelUP instance (e.g. db.db.approximateSize()) (@rvagg)
|
474 | * Chained batch exposed from LevelDOWN, invoked with argument-less db.batch() (@juliangruber, @rvagg)
|
475 | * Significantly improve ReadStream performance by replacing .bind() and .apply() (@mcollina, @kesla)
|
476 | * Better Browserify support (@rvagg, @juliangruber, @maxogden, etc.)
|
477 | * Deprecate secondary LevelDB-specific operations on LevelUP, prefer direct LevelDOWN access (approximateSize(), repair(), destroy(), getProperty()--new in LevelDOWN@0.5.0) (@rvagg)
|
478 |
|
479 | ### Removed
|
480 | * Remove "leveldown" from dependencies (see http://r.va.gg/2013/05/levelup-v0.9-some-major-changes.html) (@rvagg)
|
481 |
|
482 | ## [0.8.0] - 2013-04-17
|
483 |
|
484 | ### Changed
|
485 | * More comprehensive argument checking, will now report back directly or throw if there is a problem rather than on nextTick (@rvagg)
|
486 | * Expose `.options` property on LevelUP instances. (@rvagg)
|
487 | * Further clarify 'encoding' -> 'valueEncoding' shift. db.options.valueEncoding is now authoritative even if user used 'encoding' on initialisation. (@rvagg)
|
488 | * `level` package now published to npm that bundles `LevelUP` and `LevelDOWN` and exposes `LevelUP` directly; for planned shift to detaching LevelDOWN as a direct-dependency of LevelUP. (@rvagg)
|
489 |
|
490 | ## [0.7.0] - 2013-04-08
|
491 |
|
492 | ### Added
|
493 | * Add windows support in `LevelDOWN@0.2.0` (@rvagg)
|
494 | * Add 'db' option on constructor to replace LevelDOWN (@rvagg)
|
495 | * Add `repair()` and `destroy()` aliases for LevelDOWN implementations (@rvagg)
|
496 |
|
497 | ### Changed
|
498 | * Improved ReadStream reverse=true start key handling (@kesla)
|
499 | * ReadStream empty start and end keys ignored rather than segfault (@kesla)
|
500 | * 'encoding' option now an alias for `valueEncoding` only, `keyEncoding` defaults to `'utf8'` and must be changed explicitly (@rvagg)
|
501 |
|
502 | ### Fixed
|
503 | * Fix early `close` emit in WriteStream (@rvagg)
|
504 |
|
505 | ## [0.6.2] - 2013-03-04
|
506 |
|
507 | ### Changed
|
508 | * Use `xtend` package instead of internal `util._extend` (@ralphtheninja)
|
509 | * Internal cleanup of `callback` argument detection (@ralphtheninja)
|
510 | * Move deferred-open-operations into an internal `this._db` wrapper rather than make them call public .get()/.put() etc. for a second time (@dominictarr)
|
511 |
|
512 | ## [0.6.1] - 2013-03-01
|
513 |
|
514 | ### Changed
|
515 | * Internal code cleanup and refactoring (@ralphtheninja)
|
516 |
|
517 | ### Fixed
|
518 | * Fix multiple `iterator.end()` calls in ReadStreams throwing errors, destroy() called while read/next is in progress #82 #83 #84 (@rvagg)
|
519 |
|
520 | ## [0.6.0] - 2013-02-25
|
521 |
|
522 | ### Changed
|
523 | * Rename `ReadStream`, `KeyStream` and `ValueStream` to `createReadStream`, `createKeyStream` and `createValueStream` (@rvagg)
|
524 | * Complete transition to `LevelDOWN` for the `LevelDB` binding. No native code left in `LevelUP` (@rvagg)
|
525 | - LevelDOWN now keeps its own ChangeLog at: https://github.com/level/leveldown/blob/master/CHANGELOG.md
|
526 | - LevelDB@1.9.0 and Snappy@1.1.0 are included in LevelDOWN@0.1.2
|
527 |
|
528 | ## [0.6.0-rc1] - 2013-02-24
|
529 |
|
530 | ### Changed
|
531 | * Refactor and simplify db state code (@ralphtheninja)
|
532 | * Extract all binding code to `leveldown` project (@rvagg)
|
533 | * Depend on `leveldown@0.0.1` (@rvagg)
|
534 | * Simplify callback signature by removing extra, undocumented properties from some callbacks (@rvagg, @dominictarr)
|
535 |
|
536 | ## [0.5.4] - 2013-02-15
|
537 |
|
538 | ### Changed
|
539 | * Move `encodingOpts` from `levelup.js` to `util.js` (@ralphtheninja)
|
540 | * Allow one `next()` at a time, improve `end()` handling (@rvagg)
|
541 | * Use explicit namespaces in C++ (@rvagg)
|
542 |
|
543 | ### Removed
|
544 | * Remove `CloseError` (@ralphtheninja)
|
545 | * Remove `.useBatch` in `copy()` (@ralphtheninja)
|
546 | * Ensure iterator `end` and `next` don't conflict (@rvagg)
|
547 |
|
548 | ### Fixed
|
549 | * Fix `put`/`batch` bug in `WriteStream#_process()` (@ralphtheninja)
|
550 | * Fix memory leak, `Persistent<Function>` callback not Dispose()d for `readStream()` (@rvagg)
|
551 |
|
552 | ## [0.5.3-1] - 2013-02-05
|
553 |
|
554 | ### Changed
|
555 | * Non shrinkwrapped release @rvagg
|
556 |
|
557 | ## [0.5.3] - 2013-01-28
|
558 |
|
559 | ### Changed
|
560 | * Disable all sqlite3 benchmarks (@ralphtheninja)
|
561 | * Put `LevelUP()` into closure (@ralphtheninja)
|
562 | * Swap `bufferstream` dependency for `simple-bufferstream` (@rvagg)
|
563 | * Make `location` a read-only property on db object (@rvagg)
|
564 |
|
565 | ## [0.5.2] - 2013-01-23
|
566 |
|
567 | ### Fixed
|
568 | * Fix incorrect scope in approximateSize function (@sandfox)
|
569 |
|
570 | ## [0.5.1] - 2013-01-10
|
571 |
|
572 | ### Changed
|
573 | * Version bump (@rvagg)
|
574 |
|
575 | ## [0.5.0-1] - 2013-01-09
|
576 |
|
577 | ### Added
|
578 |
|
579 | ### Changed
|
580 | * Change `createIfMissing` option default to `true` (@rvagg)
|
581 | * Use `util._extend` instead of local variant (@rvagg)
|
582 |
|
583 | ## [0.5.0] - 2013-01-08
|
584 |
|
585 | ### Added
|
586 | * Add support for setting size of LRU-cache (@kesla)
|
587 |
|
588 | ### Changed
|
589 | * Use `util.inherits()` from node core (@ralphtheninja)
|
590 | * Adjust copyright & contributors (@rvagg)
|
591 |
|
592 | ### Fixed
|
593 | * Idempotent open and close, and emit _state as events (@dominictarr)
|
594 | * Check that UINT32_OPTION_VALUE is a Uint32 (@kesla)
|
595 |
|
596 | ## [0.4.4] - 2013-01-01
|
597 |
|
598 | ### Fixed
|
599 | * Set `.maxListeners` to `Infinity` to prevent warnings when using deferred open (@juliangruber)
|
600 |
|
601 | ## [0.4.3] - 2012-12-30
|
602 |
|
603 | ### Added
|
604 | * Add @kesla to contributors list (@rvagg)
|
605 | * Add `approximateSize()` (@kesla)
|
606 |
|
607 | ## [0.4.2] - 2012-12-30
|
608 |
|
609 | ### Added
|
610 | * Add @ralphtheninja to contributors list (@rvagg)
|
611 |
|
612 | ### Fixed
|
613 | * Use `setImmediate` instead of `process.nextTick` for `node@0.9.5` compatibility (@rvagg)
|
614 |
|
615 | ## [0.4.1] - 2012-12-19
|
616 |
|
617 | ### Removed
|
618 | * Remove `useBatch` option on `writeStream()` @rvagg
|
619 |
|
620 | ## [0.4.0] - 2012-12-17
|
621 |
|
622 | ### Added
|
623 | * Add SQLite3 to test suite (@rvagg)
|
624 | * Add basic `get()` benchmarks (@rvagg)
|
625 | * Add `compress` boolean on `open()` (@rvagg)
|
626 |
|
627 | ### Changed
|
628 | * Speed up `batch()` and allow non-Strings to C++ (@rvagg)
|
629 | * Improved compression test (@rvagg)
|
630 | * Return Strings not Buffers from C++ when possible (@rvagg)
|
631 | * Optimised encoders and decoders (@rvagg)
|
632 | * Revamped benchmark suite (@rvagg)
|
633 | * Allow JS Strings through to native layer (@rvagg)
|
634 | * Cleaner build for osx (@rvagg)
|
635 | * Update to `LevelDB@1.7` (@rvagg)
|
636 |
|
637 | ### Removed
|
638 | * Remove old and unused util functions (@rvagg)
|
639 | * Remove compile warnings on osx (@rvagg)
|
640 | * Remove compile warnings for solaris (@rvagg)
|
641 |
|
642 | ### Fixed
|
643 | * Fix `batch()` benchmarks (@rvagg)
|
644 |
|
645 | ## [0.3.3] - 2012-12-14
|
646 |
|
647 | ### Added
|
648 | * Add compression tests (@rvagg)
|
649 |
|
650 | ### Fixed
|
651 | * Fix Snappy compression (@rvagg)
|
652 |
|
653 | ## [0.3.2] - 2012-11-24
|
654 |
|
655 | ### Added
|
656 | * Add more functional tests (@rvagg)
|
657 | * Add snapshot tests (@rvagg)
|
658 |
|
659 | ### Changed
|
660 | * Emit raw keys and values in events (@rvagg)
|
661 |
|
662 | ## [0.3.1] - 2012-11-21
|
663 |
|
664 | ### Added
|
665 | * Add benchmark suite (@rvagg)
|
666 | * Add `limit` option to `ReadStream` (@rvagg)
|
667 |
|
668 | ## [0.3.0] - 2012-11-18
|
669 |
|
670 | ### Added
|
671 | * Add `.status` property to keep track of db status (@raynos, @rvagg)
|
672 | * Add `CloseError` error type (@raynos, @rvagg)
|
673 | * Add tests for deferred operations (@rvagg)
|
674 |
|
675 | ### Changed
|
676 | * Document events (@rvagg)
|
677 | * Run the encoding on `start` and `end` in case your keys are JSON encoded (@raynos)
|
678 | * First attempt at deferring operations. All operations that used to throw when called before open are now called once the database is open (@raynos, @rvagg)
|
679 |
|
680 | ### Fixed
|
681 | * If status is `'closing'`, call callback after db is closed (@raynos, @rvagg)
|
682 |
|
683 | ## [0.2.1] - 2012-10-28
|
684 |
|
685 | ### Fixed
|
686 | * Fix db GC when using multiple `ReadStream` (@rvagg)
|
687 |
|
688 | ## [0.2.0] - 2012-10-28
|
689 |
|
690 | ### Added
|
691 | * Add support for Solaris/SunOS/SmartOS (@rvagg)
|
692 |
|
693 | ## [0.1.2] - 2012-10-26
|
694 |
|
695 | ### Fixed
|
696 | * Fix bug with falsey values on `start` and `end`, fixes [#8](https://github.com/Level/levelup/issues/8) (@rvagg)
|
697 |
|
698 | ## [0.1.1] - 2012-10-17
|
699 |
|
700 | ### Fixed
|
701 | * Fix bug with sticky options, fixes [#6](https://github.com/Level/levelup/issues/6) (@rvagg)
|
702 |
|
703 | ## [0.1.0] - 2012-09-28
|
704 |
|
705 | ### Added
|
706 | * Add Travis setup (@rvagg)
|
707 | * Add `KeyStream()` and `ValueStream()` (@rvagg)
|
708 |
|
709 | ## [0.0.5-1] - 2012-09-28
|
710 |
|
711 | ### Added
|
712 | * Add description to `package.json` (@rvagg)
|
713 |
|
714 | ## [0.0.5] - 2012-09-22
|
715 |
|
716 | ### Changed
|
717 | * Native layer errors if `key` or `value` are `undefined` or `null` (@rvagg)
|
718 |
|
719 | ## [0.0.4] - 2012-09-12
|
720 |
|
721 | ### Fixed
|
722 | * Fix bug with `options` not being passed to readable streams (@rvagg)
|
723 |
|
724 | ## [0.0.3] - 2012-09-09
|
725 |
|
726 | ### Added
|
727 | * Add `reverse` functionality to readable streams (@rvagg)
|
728 |
|
729 | ## [0.0.2-1] - 2012-09-07
|
730 |
|
731 | ### Added
|
732 | * Add repository information to `package.json` (@rvagg)
|
733 |
|
734 | ## [0.0.2] - 2012-09-07
|
735 |
|
736 | ### Changed
|
737 | * Do not encourage using async `throw` in documentation (@rvagg)
|
738 | * Return to classical prototypal inheritance (@rvagg)
|
739 |
|
740 | ### Fixed
|
741 | * Fix typos in documentation (@rvagg)
|
742 |
|
743 | ## [0.0.1] - 2012-08-31
|
744 |
|
745 | ### Added
|
746 | * Add `start` and `end` options for readable streams (@rvagg)
|
747 | * Add `'json'` encoding (@rvagg)
|
748 | * Add `.nextLocation()`, `.checkBinaryTestData()`, `.loadBinaryTestData()`, `.openTestDatabase()`, `.commonTearDown()`, `.commonSetup()` and `.binaryTestDataMD5Sum` to `test/common.js` (@rvagg)
|
749 | * Add tests for `.readStream()` with `start` being midway key (@rvagg)
|
750 | * Add keywords to `package.json` (@rvagg)
|
751 |
|
752 | ### Changed
|
753 | * New API. Database constructor now accepts callback (@rvagg)
|
754 | * Update documentation for new API (@rvagg)
|
755 |
|
756 | ### Removed
|
757 | * Remove usage of `global` in tests (@rvagg)
|
758 |
|
759 | ## [0.0.0-1] - 2012-08-18
|
760 |
|
761 | ### Added
|
762 | * Add `bufferstream` dependency (@rvagg)
|
763 |
|
764 | ### Changed
|
765 | * Document `ReadStream` and `WriteStream` (@rvagg)
|
766 | * Start using `~` in dependencies (@rvagg)
|
767 |
|
768 | ### Removed
|
769 | * Remove unused `inherits` variable (@rvagg)
|
770 |
|
771 | ## 0.0.0 - 2012-08-17
|
772 |
|
773 | :seedling: Initial release.
|
774 |
|
775 | [Unreleased]: https://github.com/level/levelup/compare/v2.0.2...HEAD
|
776 | [2.0.2]: https://github.com/level/levelup/compare/v2.0.1...v2.0.2
|
777 | [2.0.1]: https://github.com/level/levelup/compare/v2.0.0...v2.0.1
|
778 | [2.0.0]: https://github.com/level/levelup/compare/v2.0.0-rc3...v2.0.0
|
779 | [2.0.0-rc3]: https://github.com/level/levelup/compare/v2.0.0-rc2...v2.0.0-rc3
|
780 | [2.0.0-rc2]: https://github.com/level/levelup/compare/v2.0.0-rc1...v2.0.0-rc2
|
781 | [2.0.0-rc1]: https://github.com/level/levelup/compare/v1.3.9...v2.0.0-rc1
|
782 | [1.3.9]: https://github.com/level/levelup/compare/v1.3.8...v1.3.9
|
783 | [1.3.8]: https://github.com/level/levelup/compare/v1.3.7...v1.3.8
|
784 | [1.3.7]: https://github.com/level/levelup/compare/v1.3.6...v1.3.7
|
785 | [1.3.6]: https://github.com/level/levelup/compare/v1.3.5...v1.3.6
|
786 | [1.3.5]: https://github.com/level/levelup/compare/v1.3.4...v1.3.5
|
787 | [1.3.4]: https://github.com/level/levelup/compare/v1.3.3...v1.3.4
|
788 | [1.3.3]: https://github.com/level/levelup/compare/v1.3.2...v1.3.3
|
789 | [1.3.2]: https://github.com/level/levelup/compare/v1.3.1...v1.3.2
|
790 | [1.3.1]: https://github.com/level/levelup/compare/v1.3.0...v1.3.1
|
791 | [1.3.0]: https://github.com/level/levelup/compare/v1.2.1...v1.3.0
|
792 | [1.2.1]: https://github.com/level/levelup/compare/v1.2.0...v1.2.1
|
793 | [1.2.0]: https://github.com/level/levelup/compare/v1.1.1...v1.2.0
|
794 | [1.1.1]: https://github.com/level/levelup/compare/v1.1.0...v1.1.1
|
795 | [1.1.0]: https://github.com/level/levelup/compare/v1.0.0...v1.1.0
|
796 | [1.0.0]: https://github.com/level/levelup/compare/v1.0.0-5...v1.0.0
|
797 | [1.0.0-5]: https://github.com/level/levelup/compare/v1.0.0-4...v1.0.0-5
|
798 | [1.0.0-4]: https://github.com/level/levelup/compare/v1.0.0-3...v1.0.0-4
|
799 | [1.0.0-3]: https://github.com/level/levelup/compare/v1.0.0-2...v1.0.0-3
|
800 | [1.0.0-2]: https://github.com/level/levelup/compare/v1.0.0-1...v1.0.0-2
|
801 | [1.0.0-1]: https://github.com/level/levelup/compare/v1.0.0-0...v1.0.0-1
|
802 | [1.0.0-0]: https://github.com/level/levelup/compare/v0.19.0...v1.0.0-0
|
803 | [0.19.1]: https://github.com/level/levelup/compare/v0.19.0...v0.19.1
|
804 | [0.19.0]: https://github.com/level/levelup/compare/v0.18.6...v0.19.0
|
805 | [0.18.6]: https://github.com/level/levelup/compare/v0.18.5...v0.18.6
|
806 | [0.18.5]: https://github.com/level/levelup/compare/v0.18.4...v0.18.5
|
807 | [0.18.4]: https://github.com/level/levelup/compare/v0.18.3...v0.18.4
|
808 | [0.18.3]: https://github.com/level/levelup/compare/v0.18.2...v0.18.3
|
809 | [0.18.2]: https://github.com/level/levelup/compare/v0.18.1...v0.18.2
|
810 | [0.18.1]: https://github.com/level/levelup/compare/0.18.0...v0.18.1
|
811 | [0.18.0]: https://github.com/level/levelup/compare/0.17.0...0.18.0
|
812 | [0.17.0]: https://github.com/level/levelup/compare/0.16.0...0.17.0
|
813 | [0.16.0]: https://github.com/level/levelup/compare/0.15.0...0.16.0
|
814 | [0.15.0]: https://github.com/level/levelup/compare/0.14.0...0.15.0
|
815 | [0.14.0]: https://github.com/level/levelup/compare/0.13.0...0.14.0
|
816 | [0.13.0]: https://github.com/level/levelup/compare/0.12.0...0.13.0
|
817 | [0.12.0]: https://github.com/level/levelup/compare/0.11.0...0.12.0
|
818 | [0.11.0]: https://github.com/level/levelup/compare/0.10.0...0.11.0
|
819 | [0.10.0]: https://github.com/level/levelup/compare/0.9.0...0.10.0
|
820 | [0.9.0]: https://github.com/level/levelup/compare/0.8.0...0.9.0
|
821 | [0.8.0]: https://github.com/level/levelup/compare/0.7.0...0.8.0
|
822 | [0.7.0]: https://github.com/level/levelup/compare/0.6.2...0.7.0
|
823 | [0.6.2]: https://github.com/level/levelup/compare/0.6.1...0.6.2
|
824 | [0.6.1]: https://github.com/level/levelup/compare/0.6.0...0.6.1
|
825 | [0.6.0]: https://github.com/level/levelup/compare/0.6.0-rc1...0.6.0
|
826 | [0.6.0-rc1]: https://github.com/level/levelup/compare/0.5.4...0.6.0-rc1
|
827 | [0.5.4]: https://github.com/level/levelup/compare/0.5.3-1...0.5.4
|
828 | [0.5.3-1]: https://github.com/level/levelup/compare/0.5.3...0.5.3-1
|
829 | [0.5.3]: https://github.com/level/levelup/compare/0.5.2...0.5.3
|
830 | [0.5.2]: https://github.com/level/levelup/compare/0.5.1...0.5.2
|
831 | [0.5.1]: https://github.com/level/levelup/compare/0.5.0-1...0.5.1
|
832 | [0.5.0-1]: https://github.com/level/levelup/compare/0.5.0...0.5.0-1
|
833 | [0.5.0]: https://github.com/level/levelup/compare/0.4.4...0.5.0
|
834 | [0.4.4]: https://github.com/level/levelup/compare/0.4.3...0.4.4
|
835 | [0.4.3]: https://github.com/level/levelup/compare/0.4.2...0.4.3
|
836 | [0.4.2]: https://github.com/level/levelup/compare/0.4.1...0.4.2
|
837 | [0.4.1]: https://github.com/level/levelup/compare/0.4.0...0.4.1
|
838 | [0.4.0]: https://github.com/level/levelup/compare/0.3.3...0.4.0
|
839 | [0.3.3]: https://github.com/level/levelup/compare/0.3.2...0.3.3
|
840 | [0.3.2]: https://github.com/level/levelup/compare/0.3.1...0.3.2
|
841 | [0.3.1]: https://github.com/level/levelup/compare/0.3.0...0.3.1
|
842 | [0.3.0]: https://github.com/level/levelup/compare/0.2.1...0.3.0
|
843 | [0.2.1]: https://github.com/level/levelup/compare/0.2.0...0.2.1
|
844 | [0.2.0]: https://github.com/level/levelup/compare/0.1.2...0.2.0
|
845 | [0.1.2]: https://github.com/level/levelup/compare/0.1.1...0.1.2
|
846 | [0.1.1]: https://github.com/level/levelup/compare/0.1.0...0.1.1
|
847 | [0.1.0]: https://github.com/level/levelup/compare/0.0.5-1...0.1.0
|
848 | [0.0.5-1]: https://github.com/level/levelup/compare/0.0.5...0.0.5-1
|
849 | [0.0.5]: https://github.com/level/levelup/compare/0.0.4...0.0.5
|
850 | [0.0.4]: https://github.com/level/levelup/compare/0.0.3...0.0.4
|
851 | [0.0.3]: https://github.com/level/levelup/compare/0.0.2-1...0.0.3
|
852 | [0.0.2-1]: https://github.com/level/levelup/compare/0.0.2...0.0.2-1
|
853 | [0.0.2]: https://github.com/level/levelup/compare/0.0.1...0.0.2
|
854 | [0.0.1]: https://github.com/level/levelup/compare/0.0.0-1...0.0.1
|
855 | [0.0.0-1]: https://github.com/level/levelup/compare/0.0.0...0.0.0-1
|