Releases: atom-universe/useWebWorker
Releases · atom-universe/useWebWorker
Release 2.1.2-beta.0
Release 2.1.0
Release 2.0.3
2.0.3 (2025-04-03)
- Minimize size of the output bundle much more again
Release 2.0.2
2.0.2 (2025-04-03)
- Minimize size of the output production
Release 2.0.1
2.0.1 (2025-03-28)
- Remove CommonJS output configuration from Rolldown config
Release 2.0.0
2.0.0 (2025-03-28)
Features
- core: major API refactor and documentation update (b823ad7)
BREAKING CHANGES
- core: Rename useWebWorkerFn to useWebWorker as default export
- Rename useWebWorkerFn to useWebWorker as the default export
- Remove file-based worker API in favor of function-based API
- Update API to use array destructuring for better ergonomics
- Improve type safety with automatic type inference
- Add built-in timeout handling
- Add comprehensive error handling with customizable callbacks
- Add support for external and local dependencies
- Add automatic cleanup of worker resources
- Add memory leak prevention
- Update documentation to reflect new API
- Add detailed feature explanations
- Add Chinese documentation