tape v2.0.0 Release Notes

Release Date: 2018-09-13 // over 1 year ago

Previous changes from v2.0.0-beta1

  • 🚀 Tape 2 is a major release that focusses on simplifying the API. Tape 2 also adopts a new file format that allows QueueFile to grow beyond 4GB.

    • New: remove(int) allows atomic removal of multiple elements.
    • Improvement: QueueFile now implements the Closeable and Iterable interface.
    • Improvement: Simplified ObjectQueue API. ObjectQueue now implements the Closeable and Iterable interface. ObjectQueue.Listener has been removed.
    • New: Iterator API allows iterating queue items and stopping iteration early.
    • Improvement: New file format that allows QueueFile to grow beyond 4GB. Tape 2 can continue to operate on the v1 format. You can also force the legacy format by using the forceLegacy option.

    🚀 Note: Existing queues are currently not migrated to the newer format. This will be added in a future release.