View Source Change Log

All notable changes to this project will be documented in this file.

[0.4.0] - 2023-12-12

Added

  • Added support for rendundancy partitions for an ExBuffer.
  • Added an info/2 function that replaces length/1, next_flush/1, and size/1.
  • Added an insert_batch/2 function that inserts multiple items at once.

Changed

  • Removed length/1, next_flush/1, and size/1 in favor of info/2.

[0.3.0] - 2023-10-26

Added

Changed

  • Split code back into multiple modules to simplify feature addition.
  • Reorganized unit tests.

[0.2.1] - 2023-10-24

Changed

  • Condensed code into a single module.

[0.2.0] - 2023-10-23

Added

  • Added the ability to provide a custom callback for determining item size (see :size_callback option for both ExBuffer.start_link/1 and ExBuffer.chunk!/2).
  • Added the ability to include metadata in the flush callback (see :flush_meta option for ExBuffer.start_link/1).
  • Added the ability to get the time until the next scheduled flush (see ExBuffer.next_flush/1).
  • Added benchee dependency for local benchmarking.

Changed

  • The :callback option for ExBuffer.start_link/1 had been renamed to :flush_callback and now expects a function of arity 2 (see ExBuffer.start_link/1).
  • Updated function docs to include doctests.
  • Updated README.md to include a more sophisticated use case.
  • Updated README.md to display build status and Hex version.

[0.1.0] - 2023-10-20

Added

  • Initial release.