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/2function that replaceslength/1,next_flush/1, andsize/1. - Added an
insert_batch/2function that inserts multiple items at once.
Changed
- Removed
length/1,next_flush/1, andsize/1in favor ofinfo/2.
Links
[0.3.0] - 2023-10-26
Added
- Added an
ExBufferbehaviour. - Added a non-banged version of
ExBuffer.chunk!/2.
Changed
- Split code back into multiple modules to simplify feature addition.
- Reorganized unit tests.
Links
[0.2.1] - 2023-10-24
Changed
- Condensed code into a single module.
Links
[0.2.0] - 2023-10-23
Added
- Added the ability to provide a custom callback for determining item size (see
:size_callbackoption for bothExBuffer.start_link/1andExBuffer.chunk!/2). - Added the ability to include metadata in the flush callback (see
:flush_metaoption forExBuffer.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
:callbackoption forExBuffer.start_link/1had been renamed to:flush_callbackand now expects a function of arity 2 (seeExBuffer.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.
Links
[0.1.0] - 2023-10-20
Added
- Initial release.