Skip to content

Commit 16c3bc9

Browse files
committed
chore(release): v3.0.0-alpha.10
1 parent c85ab8d commit 16c3bc9

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

CHANGELOG.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,57 @@
11
# Changelog
22

3+
## v3.0.0-alpha.10
4+
5+
[compare changes](https://github.com/tmlmt/cooklang-parser/compare/v3.0.0-alpha.9...v3.0.0-alpha.10)
6+
7+
### 🚀 Enhancements
8+
9+
- Add multiple type-guard and render helper functions ([05584f5](https://github.com/tmlmt/cooklang-parser/commit/05584f5))
10+
11+
List of functions introduced:
12+
- isAlternativeSelected
13+
- isGroupedItem
14+
- formatNumericValue
15+
- formatSingleValue
16+
- formatQuantity
17+
- formatUnit
18+
- formatQuantityWithUnit
19+
- formatExtendedQuantity
20+
- formatItemQuantity
21+
- isAndGroup
22+
- isSimpleGroup
23+
- hasAlternatives
24+
25+
### 🩹 Fixes
26+
27+
- **isAlternativeSelected:** Return true for first alternative when selected index is 0 ([4e9b1dd](https://github.com/tmlmt/cooklang-parser/commit/4e9b1dd))
28+
- **docs, v3:** Link to playground in top menubar ([361a676](https://github.com/tmlmt/cooklang-parser/commit/361a676))
29+
30+
### 🏡 Chore
31+
32+
- **CHANGELOG:** Fix missing end of code block ([00f27b3](https://github.com/tmlmt/cooklang-parser/commit/00f27b3))
33+
34+
### 🎨 Styles
35+
36+
- **types:** Remove unnecessary ComputedIngredient type ([f35f2f0](https://github.com/tmlmt/cooklang-parser/commit/f35f2f0))
37+
- **types:** Make IngredientQuantityAndGroup extend AndGroup ([6647039](https://github.com/tmlmt/cooklang-parser/commit/6647039))
38+
39+
### ❤️ Contributors
40+
41+
- Thomas Lamant ([@tmlmt](https://github.com/tmlmt))
42+
343
## v3.0.0-alpha.9
444

545
[compare changes](https://github.com/tmlmt/cooklang-parser/compare/v3.0.0-alpha.8...v3.0.0-alpha.9)
646

747
### ⚠️ Breaking Changes
848

9-
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
49+
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
1050

1151
Before:
1252

1353
```
14-
{
54+
{
1555
type: "or", // or "and"
1656
entries: [ ... ]
1757
}
@@ -38,7 +78,7 @@ After:
3878

3979
### 🎨 Styles
4080

41-
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
81+
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
4282

4383
### ❤️ Contributors
4484

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.9",
3+
"version": "3.0.0-alpha.10",
44
"description": "Cooklang parsers and utilities",
55
"author": "Thomas Lamant <[email protected]>",
66
"packageManager": "[email protected]",

0 commit comments

Comments
 (0)