Changes since 24.8.0.alpha10
New features
-
Add TransferProgressListener API
Commit · Pull requestThis is the first part for DownloadHandler.
-
Add UploadHanlder interface
Commit · Pull requestAdd upload handler callback when xhr upload happens.
Fixes
-
Preserve handler type when chaining listener methods
Commit · Pull requestAllows getting the proper type instead of TransferProgressAwareHandler to pass to component.
-
ElementRequestHandler node state handling
Commit · Pull request · Issue -
Prevent potential errors by checking for module.forHMROnly before assignment
Commit · Pull request -
Prevent file watcher threads from slowing down JVM shutdown
Commit · Pull requestFileWatcher was using an executor that creates non-daemon threads to watch for file changes. This caused a delay in JVM shutdown, as it would wait at least 60 seconds for all threads in the executor pool to be evicted. This change provides a custom thread factory that creates daemon threads for the executor to prevent JVM shutdown delays.