You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+32
Original file line number
Diff line number
Diff 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
+
abstractclassCarHooks : Hooks() {
13
+
@Sync<() ->Unit>
14
+
abstractval brake:Hook
15
+
16
+
@Sync<(newSpeed:Int) ->Unit>
17
+
abstractval 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))
0 commit comments