quantities 0.2.0
quantities: ^0.2.0 copied to clipboard
Physical quantities and units.
0.2.0 #
IMPORTANT: this is the last version that will be published to pub.dev; see
https://codeberg.org/triallax/quantities/src/commit/8aad1c9ce69aabc0526b6029e06d4acffdab83c4#installation
for details and how to receive future versions of quantities.
- [BREAKING] Remove old prefix syntax; to migrate, change e.g.
kilo.gramtokilo(gram), andcenti.metertocenti(meter) - [BREAKING] Raise Dart version lower bound to 2.14.0
- [TECHNICALLY BREAKING] Don't consider
runtimeTypeinQuantity's==andhashCode; for almost all code this change will break nothing - Add new units:
- Current: ampere
- Electric charge: coulomb
- Pressure: bar
- Remove
tupledependency - Improve the documentation a bit
0.1.2 #
- Add new units:
- Force: newton
- Pressure: pascal, standard atmosphere, millimeter of mercury, centimeter of water
- Time: minute
- Temperature: kelvin, degree Celsius, degree Fahrenheit (note that the latter two have not been added as units per se because they require additive offsets)
- Dimensionless: percent
- Add nano prefix
0.1.1 #
- Add
purescript-quantitieslicense to LICENSE - Update copyright range in LICENSE
0.1.0 #
- [BREAKING]
Quantity's constructor now takesdoubleinstead ofnum - [BREAKING] Removed
Unit.identity; useUnit.unityinstead - [DEPRECATION] Deprecated old prefix syntax (i.e.
kilo.gram); use new syntax (kilo(gram)) instead - Migrate to null safety
- Add hour, liter, and mole units
- Add milli, deci, and micro prefixes
0.0.2 #
- Add inch and pound units
0.0.1 #
- Initial version