- Breaking changes:
- Changed some compound unit constructor names to be more descriptive.
- Made
Units.singular
property non-nullable. - Number
==
operators now take anObject
argument instead ofdynamic
,
- Updated the minimum
intl
dependency to0.19.0
. - Added unit tests for all compound unit constructors.
- Fixed numerous bugs in compound unit constructor logic.
- Accounted for lower case
e
in number formatting/grouping. - Removed logging of quantity type resolution failure from
inverse
method. - Updated formatting; addressed pana suggestions.
- Update lint dependency to
^3.0.0
.
- Fixed bugs in Precise class.
- Requires >= Dart SDK 3.0.
- Support for intl 0.18.
- Support for Dart 2.12, null safety.
- Requires >= Dart SDK 2.3.
- Increased testing.
- Number formatting; quantity text output.
- The latest official constants.
- TimeInstant extensions.
- MutableQuantity.
- Relaxed
intl
package version dependency to>=0.15.0 <1.0.0
.
- Dart 2 support.
- Stricter typing.
- Addressed many (but not all) analyzer items.
- Upgraded dependencies:
intl 0.14
andquiver 0.23
.
- Added
isScalar
andisScalarSI
toDimensions
andQuantity
. - Extended use of type hints in dimensions for more efficient and accurate type determination during operations.
- Generalized special handling of scalar quantities.
- Fixed
CHANGELOG.md
formatting.
- Added
operator ==
andhashCode
to quantity range classes. - Added
toTypedQuantity
toMiscQuantity
. - Changed
googol
constant to arbitrary precision. - Renamed private
_dimensions
constructor to_internal
in quantities.
Precise
isInteger
and_limitPrecision
fixes.hashCode
testing for quantity objects (esp.Scalar
)
Temperature
,TemperatureInterval
tests, tweaks, bug fixes.
- Initial version.