Releases: ayonli/jsext
Releases · ayonli/jsext
v0.9.50
http.serve
supportstype
,onError
,onListen
andheaders
options;http.serve
supports Fastly Compute, improves Cloudflare Workers support;http.randomPort
supportshostname
parametersse
module is always available regardless of what runtime is;- rename
EventClient
toEventConsumer
insse
module; - improved
runtime.env
function; - add
addUnhandledRejectionListener
inruntime
module,addShutdownListener
can prevent exit;
v0.9.42
v0.9.41
v0.9.40
SSE
insse
module is renamed toEventEndpoint
;WebSocketConnection
is now async iterable, addWebSocketConnection.ready
, fixws
module for Deno;http.serveStatic
now supports Cloudflare Workers, addhttp.serve
for writing HTTP server for all server runtimes;http
server supports customizing entry file, supports customizing port and directory when serving static files;fs
module now has limited support for Cloudflare Workers;dialog
module now dynamically imports dependencies based on the environment;
v0.9.35
v0.9.34
v0.9.33
- add parseBasicAuth and verifyBasicAuth in http module;
- http.serveStatic supports checking If-Match header;
- add encoding module;
- bytes() supports loading from hex and base64 strings;
- add hmac() in hash module;
- add filterEntries, mapEntries, partitionEntries and invert in object module;
- add partition() in array module
- refactor http.Cookie to satisfy Chrome's CookieStore API;
- add parseCookies() and stringifyCookies() in http module;