humanizer 2.0.0
humanizer: ^2.0.0 copied to clipboard
A library to convert Dart values into human-friendly representations.
2.0.0 NOT YET RELEASED #
- Switched to using
Rationalas the basis for units of measurement rather thanDecimalThis is a breaking change. It allows for running calculations to be performed without loss of precision. A
Decimalis a wrapper aroundRational, so most call sites can be fixed by simple substitution. - Added support for dimensionless quantities to units of measurement feature, which allows you to humanize large numbers
1.0.0 16th Oct, 2021 #
- Improved the design and implementation of units of measurement, particularly around formatting
- Add ability to humanize
Enuminstances - Symbol related extensions now operate against a
SymbolNameclass rather thanString - Generalize approximate relative time to approximate time
- Switch to using
DecimalIntlnow that this issue is resolved
0.0.2 26th Feb, 2021 #
- Add permissible units to units of measurement
humanizeextensions - Add example
- Bump
decimaldependency to stable, null-safe version (1.0.0)
0.0.1-nullsafety 25th Feb, 2021 #
- Initial release