Skip to content

v3.0.1

Choose a tag to compare

@jakeboone02 jakeboone02 released this 27 Oct 18:29
· 7 commits to main since this release

Fixed

  • #58 A unit followed by a slashed alternate amount is now recognized: '2 cups/10 ounces frozen peas' yields unitOfMeasureID: 'cup' and description: '/10 ounces frozen peas' (previously no unit). Registered slashed units like Scheibe/n keep precedence, and a slash not followed by a quantity ('cups/sticks') is not split.
  • #58 descriptionMeasurements and extractMeasurements find a quantity right after a slash ('cups/10 ounces', 'w/2 cups'), unless a numeric character precedes the slash ('1/0', '½/1'), which is treated as a fraction bar.
  • #58 '1-2 cups/250-500 ml' now reports the 250-500 ml range as a description measurement, not just 500 ml.

Full Changelog: v3.0.0...v3.0.1