Skip to content

Commit

Permalink
Update CHANGELOG.md [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarmanz committed Jul 9, 2022
1 parent 3c80969 commit e40bd6f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
# v0.13.0 (Sat Jul 09 2022)

### Release Notes

#### New Hooks DSL ([#29](https://github.com/intuit/hooks/pull/29))

💥 **Breaking Change** 💥

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:

```kotlin
abstract class CarHooks : Hooks() {
@Sync<() -> Unit>
abstract val brake: Hook

@Sync<(newSpeed: Int) -> Unit>
abstract val accelerate: Hook
}
```

---

#### 🚀 Enhancement

- New Hooks DSL [#29](https://github.com/intuit/hooks/pull/29) ([@stabbylambda](https://github.com/stabbylambda))

#### Authors: 1

- David Stone ([@stabbylambda](https://github.com/stabbylambda))

---

# v0.12.1 (Sat Jul 09 2022)

#### 🐛 Bug Fix
Expand Down

0 comments on commit e40bd6f

Please sign in to comment.