Releases: intuit/hooks
Releases · intuit/hooks
0.10.4-next.0
⚠️ Pushed to next
- lint + dump (@sugarmanz)
- remove outdated comment (@sugarmanz)
- immutable list, mutable var (@sugarmanz)
- swap to using list to better preserve ordering on overriding a tap (@sugarmanz)
- add untap method (@sugarmanz)
- fix gradle build generation (@sugarmanz)
- fix async parallel hooks to suspend until all tappers are complete (@sugarmanz)
Authors: 1
- Jeremiah Zucker (@sugarmanz)
v0.10.2
Release Notes
Format generated source with KtLint (#18)
What Changed
Format generated source with KtLint
Why
To make generated source more readable for consumers
🐛 Bug Fix
- Format generated source with KtLint #18 (@sugarmanz)
Authors: 1
- Jeremiah Zucker (@sugarmanz)
v0.10.1
Release Notes
manually bump version snapshot (#17)
🐛 Bug Fix
- manually bump version snapshot #17 (@sugarmanz)
- enhance class name and path generation strategy #17 (@sugarmanz)
- enhance hooks dsl detection and change example to use nested class #17 (@sugarmanz)
- use fully qualified path for superclass #17 (@sugarmanz)
Authors: 1
- Jeremiah Zucker (@sugarmanz)
v0.10.0
Release Notes
upgrade to arrow 1.0.0 and fix generated sources root (#15)
- Upgrade to Arrow 1.0.0
- Fixed issue where JAR bundling was somehow causing the plugin options to be dropped
🚀 Enhancement
- upgrade to arrow 1.0.0 and fix generated sources root #15 (@sugarmanz)
Authors: 1
- Jeremiah Zucker (@sugarmanz)
v0.9.1
🐛 Bug Fix
- Upgrade to Kotlin 1.5 #13 (@stabbylambda)
⚠️ Pushed to main
- rename master to main ([email protected])
🏠 Internal
- Upgrade binary compatibility tool to 0.5.0 #14 ([email protected])
- Setup Auto for Canary and Next #12 ([email protected])
Authors: 2
- David Stone (@stabbylambda)
- Jeremiah Zucker (@sugarmanz)
0.9.2-next.1
⚠️ Pushed to next
- don't require releases to be done on a certain branch ([email protected])
Authors: 1
- Jeremiah Zucker ([email protected])
v0.9.0
🎉 This release contains work from a new contributor! 🎉
Thank you, David Stone (@stabbylambda), for all your work!
Release Notes
Hooks with type parameters (#8)
Enhance DSL to adds the ability to generate Hooks with type parameters. The use case for this is when some piece of data is known only to the consumer of a library and the consumers of the taps, but not necessarily the library itself. As an example:
class FooHooks<T> : Hooks() {
open val beforeCalc = syncHook<(T) -> Unit>()
}
data class Foo<T>(val t: T) {
public val hooks = FooHooksImpl<T>()
fun calc() {
hooks.beforeCalc.call(t)
// ...
}
}
fun runCalcsWithLog() {
val f = Foo<String>("hi")
f.hooks.beforeCalc.tap("hi") { x -> println(x) }
}
🚀 Enhancement
- Hooks with type parameters #8 (@stabbylambda)
🐛 Bug Fix
- Update to use Typed Quotes #7 (@stabbylambda)
📝 Documentation
- update docs for gradle plugin portal #6 (@sugarmanz)
Authors: 2
- David Stone (@stabbylambda)
- Jeremiah Zucker (@sugarmanz)
v0.8.2
v0.8.1
v0.8.0
🚀 Enhancement
- Finalize publishing and fix links #4 (@sugarmanz)
Authors: 1
- Jeremiah Zucker (@sugarmanz)