Releases: alphanull/publisher
Releases · alphanull/publisher
Async execution now prefers microtask
[1.6.2] – 2025-06-28
Changed
- async execution now prefers microtask (or Promise) execution over setTimeout
- improved docs and updated README
Docs Update & npm
🎉 First Public Release — v1.5.0
This is the first public release of Publisher — a lightweight and powerful JavaScript Publish/Subscribe (Pub/Sub) system for hierarchical topics and wildcard-based subscriptions. While this marks the first official release, Publisher.js has been in internal use and steady development since 2013.
Features
- Hierarchical topics with wildcard matching
- Persistent messages and late delivery support
- Subscriber priority and limited invocation options
- Asynchronous or synchronous publishing (configurable)
- Optional exception handling for safe dispatching
- Conditional subscriptions (via custom predicate)
- Fully tree-based structure for optimal dispatch performance
- ESM, CommonJS and global (UMD) support via Rollup build
- Lightweight footprint – no dependencies