Skip to content

Lunary v0.2.4

Choose a tag to compare

@sundanc sundanc released this 26 Dec 13:37
· 10 commits to main since this release
ddd9719

New Features

  • Added parser shutdown handling and message count estimation
  • Implemented validation in parsers and concurrent components
  • Added unchecked read methods
  • Added support for Direct Listing (O) messages
  • Implemented message type validation in ZeroCopyParser
  • Added input availability tracking to SpscParser

Bug Fixes

  • Fixed skipping of consecutive invalid bytes and file size validation
  • Prevented integer overflow in ZeroCopyParser
  • Replaced swap_bytes with to_be for correctness
  • Prevented data loss in compact_buffer

Performance Improvements

  • Enhanced memcpy_nontemporal with alignment check
  • Cached SIMD level at startup for better performance

Refactors and Other Changes

  • Replaced atomic status with OnceLock
  • Removed manual padding
  • Implemented safe pointer arithmetic in zerocopy_types
  • Added Default derive for ParserBuilder
  • Replaced manual byte search with memchr
  • Reordered tempfile dependency
  • Improved error handling in SpscParser, ParallelParser, and WorkStealingParser
  • Removed duplicated WorkUnit slice extraction
  • Simplified work unit handling
  • Removed UTF-8 validation in hot path