Skip to content

Releases: pilgr/Paper

Version 2.7.2

02 Jan 18:03
Compare
Choose a tag to compare

Fixes:

  • Crash on read caused by R8 optimization

Improvements:

  • Add nullability annotations

Thanks Keita Watanabe, Nabil Mosharraf, Ahmet Türk

Version 2.7.1

11 May 21:22
Compare
Choose a tag to compare

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!

Version 2.6

21 Oct 13:32
Compare
Choose a tag to compare

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 and @cezar-carneiro for your contribution!

Version 2.5

21 Sep 15:32
Compare
Choose a tag to compare

This update contains critical fixes, please update your project ASAP:

  • #87 : fix crash on data migration when switching lib from 1.x to 2.x
  • #90: do not remove data file after failed read attempt (don't consider file broken).

Version 2.1

01 Jun 14:21
Compare
Choose a tag to compare
  • #40: Allow logging kryo marshalling;
  • Add Book.lastModified() for given key to return timestamp of last update;
  • #58: Fix warning on read data on Android N+;

Version 2.0

24 Oct 13:51
Compare
Choose a tag to compare
  • Update internal Kryo serializer to 4.0. The data format is changed, but Paper supports backward data compatibility automatically;
  • Now 58% less methods count : 4037;
  • Depends on data structure you may experience faster reading but slower writing.

2.0-rc1

05 Oct 17:49
Compare
Choose a tag to compare
2.0-rc1 Pre-release
Pre-release

Migrate to Kryo 4.0
Decrease dependencies methods count

Version 1.5

22 Sep 13:17
Compare
Choose a tag to compare
  • Removed restriction to use classes only having no-arg constructor;
  • Custom serializers now can be added using Paper.addSerializer();
  • Kotlin is fully supported now, including saving data classes.

Version 1.1

27 Nov 13:38
Compare
Choose a tag to compare

New Paper.book().getAllKeys() api
Proguard config for lib itself is included in aar.

Version 1.0

15 Sep 15:46
Compare
Choose a tag to compare
  • New multi-book API.
  • 0.9 API is still supported and marked as deprecated.
  • Unsafe possibility to write null values is disabled.

NOTE: Data storage format is unchanged. You can easily use files created within version 0.9.