Skip to content

Releases: tmlmt/cooklang-parser

v3.0.0-alpha.40

v3.0.0-alpha.40 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 16 Jul 00:27

compare changes

🚀 Enhancements

  • ProductCatalog: Allow any string as productId (1240f53)
  • helpers: Export parseFixedValue(), parseQuantityValue(), parseQuantityWithUnit() and stringifyQuantityValue() (013d430)

📖 Documentation

  • Add guide for product catalog syntax (2fd1d45)

❤️ Contributors

v3.0.0-alpha.39

v3.0.0-alpha.39 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 08 Jul 23:16

compare changes

🩹 Fixes

  • package: Correctly refer to parser files built with tsdown (f644cf0)

❤️ Contributors

v3.0.0-alpha.38

v3.0.0-alpha.38 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 08 Jul 23:04

compare changes

🩹 Fixes

  • quantities: Round range bounds when multiplying by non-clean factor (da024f5)

📦 Build

  • Migrate from tsup to tsdown (1569272)

❤️ Contributors

v3.0.0-alpha.37

v3.0.0-alpha.37 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 06 Jul 12:50

compare changes

🩹 Fixes

  • shopping-list: Match category ingredients case-insensitively (f16d704)

❤️ Contributors

v3.0.0-alpha.36

v3.0.0-alpha.36 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 25 May 10:34

compare changes

🚀 Enhancements

  • shopping-list: Remove no-quantity ingredients covered by pantry (70b3b66)
  • shopping-list: Pantry item with unlimited quantity (f63a066)

🩹 Fixes

  • shopping-list: Remove pantry-covered ingredients from ingredients list (80648fb)

📖 Documentation

  • Correctly tag UnknownRecipePathError as error (cec06cc)
  • guide: Add the two new behavior related to pantry quantities (8008f27)
  • Fix regression causing duplicated in sidebar by pinning typedoc-plugin-markdown to v4.10.0 (be14090)

❤️ Contributors

v3.0.0-alpha.35

v3.0.0-alpha.35 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 01 May 21:23

compare changes

🚀 Enhancements

  • Add variant-specific notes support (14b2cb6)

🩹 Fixes

  • recipe: Correctly filter cross-variant subgroup alternatives by variant (317d2f0)

❤️ Contributors

v3.0.0-alpha.34

v3.0.0-alpha.34 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 01 May 12:50

compare changes

🚀 Enhancements

  • Scale cookware quantities (de6cfdc)

❤️ Contributors

v3.0.0-alpha.33

v3.0.0-alpha.33 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 01 May 11:07

compare changes

🏡 Chore

❤️ Contributors

v3.0.0-alpha.32

v3.0.0-alpha.32 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 01 May 11:05

compare changes

⚠️ Breaking Changes

  • 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)

❤️ Contributors

v3.0.0-alpha.31

v3.0.0-alpha.31 Pre-release
Pre-release

Choose a tag to compare

@tmlmt tmlmt released this 29 Apr 18:40

compare changes

🚀 Enhancements

  • recipe: Add variant-aware step index interpretation to getIngredientQuantities (ddfa812)

📖 Documentation

  • guide-extensions: Properly show backticks in example for in-line code markdown (90465e5)

❤️ Contributors