-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Upgrade Guide | ||
|
||
This document describes breaking changes and how to upgrade. ~~For a complete list of changes including minor and patch releases, please refer to the [changelog](CHANGELOG.md)~~. | ||
|
||
## v3 | ||
|
||
Removed use of `level-spaces` internally and dropped support for `options.sublevel`. You can still use `level-spaces` by setting `options.sub`, which should work fine as long as you don't use `options.defaultTTL`. | ||
|
||
## v2 | ||
|
||
Switched to `level-spaces`. | ||
|
||
## v1 | ||
|
||
Version 1.0.0 stores are not backwards compatible with previous versions. If you have unexpired entries in a store managed by < 1.0.0, don't expect them to expire if you upgrade to 1.0.0. This is due to a `level-sublevel` change. It is also recommended that you only use `level-sublevel` >= 6.0.0 with `level-ttl`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,7 @@ | |
"name": "level-ttl", | ||
"version": "3.1.1", | ||
"description": "Adds a 'ttl' option to levelup for puts and batches", | ||
"authors": [ | ||
"Rod Vagg <[email protected]> (https://github.com/rvagg)" | ||
], | ||
"author": "Rod Vagg <[email protected]> (https://github.com/rvagg)", | ||
"license": "MIT", | ||
"main": "./level-ttl.js", | ||
"scripts": { | ||
|