Skip to content

Commit

Permalink
Point to 2.7.1 in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgr committed May 11, 2020
1 parent 971bf78 commit 19adb49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Version 2.7.1 *(2020-05-11)*

Fixes:
* Ignore backup files in getAllKeys
* Fix nasty issue when write and destroy is being called in parallel
* Fix exception on simultaneous write and destroy

Thanks Alexandre Boucey, Mohamed Wael and other contributors to make this happen!

Expand Down
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@ Paper's aim is to provide a simple yet [fast](#benchmark-results) object storage

![Paper icon](/paper_icon.png)

#### What's [new](/CHANGELOG.md) in 2.6

New API:
* `Paper.bookOn(path)` to set custom storage location;
* `book.getPath()` or `book.getPath(key)` to get path for content of book or key.

Improvements:
* simultaneous read/write for different keys, up to 97% performance gain per thread.
* name change: use `book.contains(key)` instead of deprecated `book.exist(key)`

Thanks [@hiperioncn](https://github.com/hiperioncn) and [@cezar-carneiro](https://github.com/cezar-carneiro) for your contribution!
#### What's [new](/CHANGELOG.md) in 2.7.1

Fixes:
* Ignore backup files in getAllKeys
* Fix exception on simultaneous write and destroy

Thanks Alexandre Boucey, Mohamed Wael and other contributors to make this happen!

### Add dependency
```groovy
implementation 'io.paperdb:paperdb:2.6'
implementation 'io.paperdb:paperdb:2.7.1'
```

RxJava wrapper for Paper is available as a separate lib [RxPaper2](https://github.com/pakoito/RxPaper2). Thanks [@pakoito](https://github.com/pakoito) for it!
Expand Down

0 comments on commit 19adb49

Please sign in to comment.