WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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: CHANGES.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 0.21.1
4
+
5
+
* Improved performance of coroutine dispatching (`DispatchTask` instance is no longer allocated).
6
+
* Fixed `Job.cancel` and `CompletableDeferred.complete` to support cancelling/completing states and properly wait for their children to complete on join/await (see #199).
7
+
* Fixed a bug in binary heap implementation (used internally by `delay`) which could have resulted in wrong delay time in rare circumstances.
8
+
* Coroutines library for [Kotlin/JS](js/README.md):
9
+
*`Promise.asDeferred` immediately installs handlers to avoid "Unhandled promise rejection" warning.
10
+
* Use `window.setMessage` instead of `setTimeout` for coroutines inside the browser to avoid timeout throttling (see #194).
11
+
* Use custom queue in `Window.awaitAnimationFrame` to align all animations and reduce overhead.
0 commit comments