Skip to content

Commit d193af7

Browse files
committed
Update CHANGELOG.md [skip ci]
1 parent 2e52067 commit d193af7

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# v0.12.0 (Thu Jun 23 2022)
2+
3+
### Release Notes
4+
5+
#### Migrate from Arrow Meta to Kotlin Symbol Processor ([#24](https://github.com/intuit/hooks/pull/24))
6+
7+
💥 **This is a breaking change** 💥
8+
9+
Migration to KSP from Arrow Meta because they dropped support for source generation. This does improve the overall maturity of the codegen module (`compiler-plugin` -> `processor`). However, the KSP framework doesn't support the code typing introspection that we were doing in Arrow Meta. Instead, we have to rely strictly on typings and annotations, which changes the DSL we originally had.
10+
11+
```kotlin
12+
internal abstract class GenericHooks : Hooks() {
13+
@Sync<(newSpeed: Int) -> Unit> abstract val sync: SyncHook<*>
14+
@SyncBail<(Boolean) -> BailResult<Int>> abstract val syncBail: SyncBailHook<*, *>
15+
@SyncLoop<(foo: Boolean) -> LoopResult> abstract val syncLoop: SyncLoopHook<*, *>
16+
@SyncWaterfall<(name: String) -> String> abstract val syncWaterfall: SyncWaterfallHook<*, *>
17+
@AsyncParallelBail<suspend (String) -> BailResult<String>> abstract val asyncParallelBail: AsyncParallelBailHook<*, *>
18+
@AsyncParallel<suspend (String) -> Int> abstract val asyncParallel: AsyncParallelHook<*>
19+
@AsyncSeries<suspend (String) -> Int> abstract val asyncSeries: AsyncSeriesHook<*>
20+
@AsyncSeriesBail<suspend (String) -> BailResult<String>> abstract val asyncSeriesBail: AsyncSeriesBailHook<*, *>
21+
@AsyncSeriesLoop<suspend (String) -> LoopResult> abstract val asyncSeriesLoop: AsyncSeriesLoopHook<*, *>
22+
@AsyncSeriesWaterfall<suspend (String) -> String> abstract val asyncSeriesWaterfall: AsyncSeriesWaterfallHook<*, *>
23+
}
24+
```
25+
26+
---
27+
28+
#### 🚀 Enhancement
29+
30+
- Migrate from Arrow Meta to Kotlin Symbol Processor [#24](https://github.com/intuit/hooks/pull/24) ([@sugarmanz](https://github.com/sugarmanz))
31+
32+
#### ⚠️ Pushed to `main`
33+
34+
- forgot this for shot in the dark ([@sugarmanz](https://github.com/sugarmanz))
35+
- more reversions ([@sugarmanz](https://github.com/sugarmanz))
36+
- revert breaking build changes ([@sugarmanz](https://github.com/sugarmanz))
37+
- shot in the dark ([@sugarmanz](https://github.com/sugarmanz))
38+
- try to fix gradle crashing on release ([@sugarmanz](https://github.com/sugarmanz))
39+
40+
#### Authors: 1
41+
42+
- Jeremiah Zucker ([@sugarmanz](https://github.com/sugarmanz))
43+
44+
---
45+
146
# v0.11.1 (Wed Nov 03 2021)
247

348
### Release Notes

0 commit comments

Comments
 (0)