Skip to content

@leisim leisim released this Oct 22, 2019 · 14 commits to master since this release

Breaking changes

  • object.delete() now throws exception if object is not stored in a box

Fixes

  • Fixed bug where object.save() would faild on subsequent calls
Assets 2

@leisim leisim released this Oct 18, 2019 · 16 commits to master since this release

  • Fixed bug that it was not possible to open typed boxes (Box<E>)
Assets 2

@leisim leisim released this Oct 17, 2019 · 19 commits to master since this release

  • Bugfix
Assets 2

@leisim leisim released this Oct 16, 2019 · 23 commits to master since this release

Breaking changes

  • Changed return type of addAll() from List<int> to Iterable<int>.
  • Removed the option to register TypeAdapters for a specific box. E.g. box.registerTypeAdapter().
  • getAt(), putAt(), deleteAt() and keyAt() no longer allow indices out of range.

Enhancements

  • Added HiveObject
  • Boxes have now an optional type parameter Box<E>
  • Support opening boxes from assets

Fixes

  • Fixed bug which was caused by not awaiting write operations
  • Fixed bug where custom compaction strategy was not applied
  • Hive now locks box files while they are open to prevent concurrent access from multiple processes

More

  • Improved performance of putAll(), deleteAll(), add(), addAll()
  • Changed values parameter of addAll() from List to Iterable
  • Improved documentation
  • Preparation for queries
Assets 2
You can’t perform that action at this time.