From 496f0b1b0fb4a4b76400b03fb592bb2c53e07c1e Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Tue, 28 Sep 2021 22:56:47 +0200 Subject: [PATCH] 6.1.0 --- CHANGELOG.md | 8 ++++++++ README.md | 3 ++- package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d40ec6..f7fc59f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [6.1.0] - 2021-09-28 + +### Added + +- Add `db.getMany(keys)` ([#787](https://github.com/Level/leveldown/issues/787)) ([`50dc50b`](https://github.com/Level/leveldown/commit/50dc50b)) (Vincent Weevers). + ## [6.0.3] - 2021-09-28 ### Fixed @@ -1118,6 +1124,8 @@ _Was not published as a tag and `package.json` was never committed with this ver :seedling: First release. Extracted from `levelup` as a stand-alone package ([**@rvagg**](https://github.com/rvagg)) +[6.1.0]: https://github.com/Level/leveldown/releases/tag/v6.1.0 + [6.0.3]: https://github.com/Level/leveldown/releases/tag/v6.0.3 [6.0.2]: https://github.com/Level/leveldown/releases/tag/v6.0.2 diff --git a/README.md b/README.md index 6c4bad68..a133e907 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ - [`options`](#options-1) - [`db.get(key[, options], callback)`](#dbgetkey-options-callback) - [`options`](#options-2) + - [`db.getMany(keys[, options][, callback])`](#dbgetmanykeys-options-callback) - [`db.del(key[, options], callback)`](#dbdelkey-options-callback) - [`options`](#options-3) - [`db.batch(operations[, options], callback)` _(array form)_](#dbbatchoperations-options-callback-array-form) @@ -230,7 +231,7 @@ The `callback` function will be called with a single `error` if the operation fa ### `db.getMany(keys[, options][, callback])` -Get multiple values from the store by an array of `keys`. The optional `options` object may contain `asBuffer` and `fillCache`, as described in [`get()`](#leveldown_get). +Get multiple values from the store by an array of `keys`. The optional `options` object may contain `asBuffer` and `fillCache`, as described in [`get()`](#dbgetkey-options-callback). The `callback` function will be called with an `Error` if the operation failed for any reason. If successful the first argument will be `null` and the second argument will be an array of values with the same order as `keys`. If a key was not found, the relevant value will be `undefined`. diff --git a/package.json b/package.json index 65bc4f36..c322c9f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "leveldown", - "version": "6.0.3", + "version": "6.1.0", "description": "A low-level Node.js LevelDB binding", "license": "MIT", "main": "leveldown.js",