2.2.0 2026-10-15 11:01:28 Europe/Copenhagen
- Metadata keys are case-insensitive, and the last value wins (spec proposal 0007)
- Scaling by servings also reads the 'serves' metadata
- @??x is the optional ingredient '?x', also without {}
- Timer human() is the amount ('3 minutes'), without the name
- steps_flat() handles line breaks as steps() does
- Tests: random text round-trips through cook(), spec proposal examples,
ranges, mixed numbers and text quantities
- Code tidy-up
2.1.0 2026-10-14 12:53:01 Europe/Copenhagen
- Align with the current Cooklang spec tests (t/spec submodule)
- Optional ingredients and cookware: @?name, #?name
- Front matter is parsed as YAML (YAMLish is now a dependency)
- Scaling: fixed quantities {=1%tsp}, cookware and timers are not scaled,
and new 'servings' attribute to scale to a number of servings
- cook() returns the original recipe text
- human(): better plurals and a/an, optional items marked
- Throw Cooklang::ParseError when a recipe can not be parsed
- Fix metadata keys spanning lines, block comment values and Measurement methods
- Ranges like {2-3} are scaled at both ends; whole numbers are shown as 8, not 8.0
- human() leaves out the '\' that marks a line break
- An amount in {} can not span lines; an unclosed '{' is kept as text
- Notes ('> text') and sections ('== Dough =='), with new notes() and sections() methods
- human(): cookware without a given quantity is shown without one, one line per metadata
- Tests with the spec example recipes and made-up recipes using all features
- Clearer grammar, more tests and updated documentation
2.0.1 2024-10-29 16:45:00 Europe/Copenhagen
- Restructure data into objects for better flexibility
1.1.1 2023-08-10 15:17:30 Europe/Copenhagen
- Add qamount note
1.1.0 2023-08-04 13:04:10 Europe/Copenhagen
- Renamed .ast to .data, as it does not return an AST tree.
- Added parsing for '//' modifiier.
1.0.6 2023-08-04 09:42:30 Europe/Copenhagen
- Improved match where it could fail to match recipe
1.0.5 2023-08-01 13:15:00 Europe/Copenhagen
- Accept list of .cook files
1.0.3 2023-08-01 11:00:00 Europe/Copenhagen
- Update POD6.
1.0.2 2023-07-31 14:59:12 Europe/Copenhagen
- First version. Passes all tests.