Skip to content

Commit 266472b

Browse files
committed
chore(release): v3.0.0-alpha.9
1 parent 98f3f3b commit 266472b

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## v3.0.0-alpha.9
4+
5+
[compare changes](https://github.com/tmlmt/cooklang-parser/compare/v3.0.0-alpha.8...v3.0.0-alpha.9)
6+
7+
### ⚠️ Breaking Changes
8+
9+
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
10+
11+
Before:
12+
13+
```
14+
{
15+
type: "or", // or "and"
16+
entries: [ ... ]
17+
}
18+
```
19+
20+
After:
21+
22+
```
23+
{
24+
or: [ ... ] // or and: [ ... ]
25+
}
26+
27+
### 🚀 Enhancements
28+
29+
- **Recipe:** New universal `getIngredientQuantities` method to filter by section, step and/or user choices ([04e61f6](https://github.com/tmlmt/cooklang-parser/commit/04e61f6))
30+
- **ShoppingList:** Enhance ingredient handling with AND groups and ensure choices are provided for recipes with alternatives ([f5ef123](https://github.com/tmlmt/cooklang-parser/commit/f5ef123))
31+
- **Helpers:** Add isAlternativeSelected function to determine selected ingredient alternatives ([2c5af2a](https://github.com/tmlmt/cooklang-parser/commit/2c5af2a))
32+
33+
### 📖 Documentation
34+
35+
- **Recipe:** Fix description of `choices` property ([b9169ac](https://github.com/tmlmt/cooklang-parser/commit/b9169ac))
36+
- **playground:** Dynamically render user choices for alternatives ingredients ([2eea3c0](https://github.com/tmlmt/cooklang-parser/commit/2eea3c0))
37+
38+
### 🎨 Styles
39+
40+
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
41+
42+
### ❤️ Contributors
43+
44+
- Thomas Lamant ([@tmlmt](https://github.com/tmlmt))
45+
346
## v3.0.0-alpha.8
447
548
[compare changes](https://github.com/tmlmt/cooklang-parser/compare/v3.0.0-alpha.7...v3.0.0-alpha.8)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tmlmt/cooklang-parser",
3-
"version": "3.0.0-alpha.8",
3+
"version": "3.0.0-alpha.9",
44
"description": "Cooklang parsers and utilities",
55
"author": "Thomas Lamant <[email protected]>",
66
"packageManager": "[email protected]",

0 commit comments

Comments
 (0)