Releases: AndrewClements84/ByteFlow.Net
Releases · AndrewClements84/ByteFlow.Net
v0.2.0 — IEC + SI, Culture-Aware, and Custom Units
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 MBin en-US,1,5 MBin 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/ToBytescalls behave the same by default.
ByteFlow.Net v0.1.1 — First Public Release
🎉 First Public Release of ByteFlow.Net
This release introduces ByteFlow.Net, a lightweight utility library for converting between bytes and human-readable formats (KB, MB, GB, TB, PB) with zero dependencies.
✨ Features
- Convert bytes into human-readable strings
(1234567 → "1.18 MB") - Parse human-readable strings back into bytes
("2.5 GB" → 2684354560) - Safe parsing with
TryParseHumanBytes(no exceptions on invalid input) - Full unit test coverage (100% line coverage)
- Supports .NET Standard 2.0 → compatible with .NET Framework 4.6.1+ and all modern .NET versions (Core, 5/6/7/8)
📦 Installation
Install from NuGet:
dotnet add package ByteFlow.Net
#### 🔮 Roadmap
Planned features for upcoming releases:
- Support for both **IEC (binary: KiB, MiB)** and **SI (decimal: KB, MB)** unit standards.
- Culture-aware parsing (e.g., commas vs dots for decimals).
- Customizable suffix sets (allowing non-standard units).
- Performance benchmarking and optimizations for very large inputs.
- Additional helpers for formatting with alignment/padding.