Skip to content

Commit e40bd6f

Browse files
committed
Update CHANGELOG.md [skip ci]
1 parent 3c80969 commit e40bd6f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# v0.13.0 (Sat Jul 09 2022)
2+
3+
### Release Notes
4+
5+
#### New Hooks DSL ([#29](https://github.com/intuit/hooks/pull/29))
6+
7+
💥 **Breaking Change** 💥
8+
9+
Relax typing specification when using the DSL. Hooks should always use the `Hook` superclass as the specified type and rely solely on the annotation to specify the actual constraints of the hook:
10+
11+
```kotlin
12+
abstract class CarHooks : Hooks() {
13+
@Sync<() -> Unit>
14+
abstract val brake: Hook
15+
16+
@Sync<(newSpeed: Int) -> Unit>
17+
abstract val accelerate: Hook
18+
}
19+
```
20+
21+
---
22+
23+
#### 🚀 Enhancement
24+
25+
- New Hooks DSL [#29](https://github.com/intuit/hooks/pull/29) ([@stabbylambda](https://github.com/stabbylambda))
26+
27+
#### Authors: 1
28+
29+
- David Stone ([@stabbylambda](https://github.com/stabbylambda))
30+
31+
---
32+
133
# v0.12.1 (Sat Jul 09 2022)
234

335
#### 🐛 Bug Fix

0 commit comments

Comments
 (0)