diff --git a/changelog.md b/changelog.md index 7381e66975..7433dba9d7 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,8 @@ ### Breaking changes in the standard library +- `asyncdispatch.drain` now properly takes into account `selector.hasPendingOperations` and only returns once all pending async operations are guaranteed to have completed. +- `asyncdispatch.drain` now consistently uses the passed timeout value for all iterations of the event loop, and not just the first iteration. This is more consistent with the other asyncdispatch apis, and allows `asyncdispatch.drain` to be more efficient. ### Breaking changes in the compiler @@ -43,3 +45,4 @@ ## Bugfixes +- The `FD` variant of `selector.unregister` for `ioselector_epoll` and `ioselector_select` now properly handle the `Event.User` select event type.