Pilgr Paper Versions Save

Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.

2.7.2

2 years ago

Fixes:

  • Crash on read caused by R8 optimization

Improvements:

  • Add nullability annotations

Thanks Keita Watanabe, Nabil Mosharraf, Ahmet Türk

2.7.1

4 years ago

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!

2.6

6 years ago

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!

2.5

6 years ago

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).

2.1

6 years ago
  • #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+;

2.0

7 years ago
  • 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

7 years ago

Migrate to Kryo 4.0 Decrease dependencies methods count

1.5

7 years ago
  • 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.

1.1

8 years ago

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

1.0

8 years ago
  • 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.