Releases: ublitzjs/core
1.2.1 Channel support for "self-deleting" listeners (once)
Now Channel has an ability to remove elements from itself, simulating "once" behaviour.
var channel = new Channel();
function selfDelete() { channel.unsubCurrent(); }
channel.sub(selfDelete);
channel.pub(undefined)
// here selfDelete is no longer registered1.2.0 abort handler + Channel
Before: "registerAbort", "response.emitter" - now deprecated.
After: "regAbort", "response.abortCh". See USAGE.md
Now "@ublitzjs/core/channel" provides you with a "Channel" - "one-event" emitter, faster than node:events, cozyevent and tseep. All tests' results are open-source and can be viewed in "USAGE.md" or GitHub Actions (they run each commit).
Improved testing structure, removed unnecessary data from npm package
Generally, this upgrade concerns me as a developer. You will get faster installation from npm.
1.0.0 Stable release
Now this package is stable
Since the first publish there was no testing and, in fact, it could be called an experimental access. Something did brake, but stopped now. "I am a teapot" for the issues of previous versions.
Tests are based on top of Guthib-of-Dan/lib_arch which lets test ESM and CJS version both normal and minified with ESBuild in ONE RUN. Also "tsd" package helps write DX-tests for typescript, and here it is used as well.
Next step - make all other packages for µBlitz.js compatible with 1.x.x versions.
One last thing - now versioning is done ONLY by npm recommendations:
0.0.X - release which doesn't change user-side API
0.X.0 - release which adds new functionality but doesn't brake API for older versions
X.0.0 - release, which breaks backward compatibility.
0.1.1 Patch for NodeJS 25
Updated uWebSockets.js to v20.56.0
0.1.0 Minor release
- fixed #1
- added several keywords to package.json
Init
0.0.1 init