Releases: pilgr/Paper
Releases · pilgr/Paper
Version 2.7.2
Version 2.7.1
Fixes:
- Ignore backup files in
getAllKeys
- Fix exception on simultaneous
write
anddestroy
Thanks Alexandre Boucey, Mohamed Wael and other contributors to make this happen!
Version 2.6
New API:
Paper.bookOn(path)
to set custom storage location;book.getPath()
orbook.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 deprecatedbook.exist(key)
Thanks @hiperioncn and @cezar-carneiro for your contribution!
Version 2.5
Version 2.1
Version 2.0
- 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
Version 1.5
- 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
New Paper.book().getAllKeys()
api
Proguard config for lib itself is included in aar.
Version 1.0
- 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.