Skip to content

v0.2.0 — IEC + SI, Culture-Aware, and Custom Units

Latest

Choose a tag to compare

@AndrewClements84 AndrewClements84 released this 03 Oct 10:44
7619048

v0.2.0 — IEC + SI, Culture-Aware, and Custom Units

This release brings major new features to ByteFlow.Net while keeping it simple, fast, and dependency-free.
It extends the library into a complete one-stop solution for human-readable byte formatting in .NET.


✨ New Features

  • Added support for IEC (KiB, MiB, GiB) and SI (KB, MB, GB) units.
  • Added culture-aware parsing/formatting (e.g., 1.5 MB in en-US, 1,5 MB in de-DE).
  • Added custom suffix sets for non-standard units (e.g., "KX", "MX").
  • Added alignment/padding helpers for formatted output in tables or logs.

🧹 Improvements

  • Updated XML documentation for public APIs.
  • Refactored test suite for clarity and added coverage for new features.
  • Maintained 100% code coverage on Codecov.

📦 Notes

  • Still zero dependencies.
  • Backwards compatible — existing ToHumanBytes/ToBytes calls behave the same by default.