You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scaleBy and scaleTo now emit FractionValue instead of DecimalValue for scaled quantities whose result can be expressed as an allowed fraction on a fraction-enabled unit (e.g. 0.5 on cup → {type:"fraction", num:1, den:2}). This affects units that have fractions.enabled set (cup, lb, oz, tsp, tbsp, fl-oz, etc.).
Units without fraction support (g, ml, kg, l, piece, …) are unaffected.
Callers that branch on value.type or access value.decimal directly for these units must handle FractionValue alongside DecimalValue.
🩹 Fixes
units:⚠️ Prefer input-family unit for non-integer scaled values (4a3b830)
scaling: Drop duplicate equivalents after quantity scaling (84d557a)