Skip to content

Commit e556717

Browse files
committed
Update CHANGELOG.md [skip ci]
1 parent 83eebf6 commit e556717

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# v0.11.0 (Wed Oct 27 2021)
2+
3+
### Release Notes
4+
5+
#### Untap support & various fixes ([#19](https://github.com/intuit/hooks/pull/19))
6+
7+
### Small fixes
8+
- Fix Gradle generation params
9+
- Modify async hook strategy to not take a scope, as this is already required to call the `suspend` method
10+
- Fix `AsyncParallelHook` to actually suspend properly until all callbacks complete
11+
- Replace mutable list containing `TapInfo` with a mutable `var` containing an immutable list (this fixes an issue when tapping a hook that is currently being called: `ConcurrentModificationException`)
12+
13+
### Untapping
14+
In order to allow calling sites to unregister stale callbacks and prevent memory leaks, the `tap` API now returns a `String` representing the ID of the specific "tap". The ID can then be passed into the new `untap` API to remove the callback from the hook. This ID can be randomly generated or manually passed when tapping a hook. Manually passing an ID is useful for when the tapper wants to replace a stale callback without calling needing to `untap` explicitly.
15+
16+
---
17+
18+
#### 🚀 Enhancement
19+
20+
21+
#### Authors: 1
22+
23+
- Jeremiah Zucker ([@sugarmanz](https://github.com/sugarmanz))
24+
25+
---
26+
127
# v0.10.2 (Thu Oct 07 2021)
228

329
### Release Notes

0 commit comments

Comments
 (0)