Skip to content

Releases: ublitzjs/core

1.2.1 Channel support for "self-deleting" listeners (once)

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 19 Mar 22:56

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 registered

1.2.0 abort handler + Channel

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 19 Mar 19:18
3e4fb39

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).

More TypeScript, License, deprecations and headers

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 11 Mar 18:38
8a7d327

Deprecations

toAB, HeadersMap, checkContentLength, badRequest, tooLargeBody, seeOtherMethods, notFoundConstructor, c411, c400, c413, c405, c404. They are to be removed in 2.0.0. When is it going to be released? Who knows. To remove these from code use bundler, like ESBuild

New utilities

staticHeaders, typedAllowHeader, parseRange.

Improved testing structure, removed unnecessary data from npm package

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 15 Feb 19:09

Generally, this upgrade concerns me as a developer. You will get faster installation from npm.

1.0.0 Stable release

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 13 Feb 19:31

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

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 07 Nov 20:26

Updated uWebSockets.js to v20.56.0

0.1.0 Minor release

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 04 Jul 11:28
  1. fixed #1
  2. added several keywords to package.json

Init

Choose a tag to compare

@Guthib-of-Dan Guthib-of-Dan released this 22 Jun 10:12
0.0.1

init