PHP Units of Measure v2.1.0 Release Notes

Release Date: 2016-07-24 // almost 8 years ago
    • โž• Added getUnitDefinitions() method to PhysicalQuantity classes, to get a raw list of UnitofMeasure objects defined on that quantity
    • โž• Added UPPERCASE templating support for autogenerated metric units to support names like MEGA_METERS, for example.
    • ๐Ÿ†• New Quantity physical quantity, with mole as the standard unit, to represent the Amount of Substance SI base quantity.
    • ๐Ÿ†• New SolidAngle physical quantity, with steradian as the standard unit, to represent the solid angle quantity
    • โž• Additional aliases for Area units
    • โž• Additional units for time: decade, century, and millenium
    • โž• Additional units for volume: teaspoon, tablespoon, gallon, quart, fluid ounce, and pint

Previous changes from v2.0.1

    • ๐Ÿ“ฆ Migrated package from triplepoint/php-units-of-measure to php-units-of-measure/php-units-of-measure.
    • ๐Ÿ†• New physical quantity: Energy
    • ๐Ÿ†• New units of measure:
      • Area: are and decare
      • Length: nautical mile, mil, AU
      • Mass: stone, also slightly changed definitions of lb and oz
      • Time: yr, and jyr
      • Velocity: km/h, ft/s, mph, knot
    • ๐Ÿ‘ท Automated CI testing now includes HHVM and PHP 7
    • โœ‚ Removed the heavy vagrant git submodule, it was a silly thing.
    • ๐Ÿ‘ Expanded the Readme for better contribution and installation instructions.