Skip to content

Releases: ayonli/jsext

v0.9.50

14 Jul 13:35
Compare
Choose a tag to compare
  1. http.serve supports type, onError, onListen and headers options;
  2. http.serve supports Fastly Compute, improves Cloudflare Workers support;
  3. http.randomPort supports hostname parameter
  4. sse module is always available regardless of what runtime is;
  5. rename EventClient to EventConsumer in sse module;
  6. improved runtime.env function;
  7. add addUnhandledRejectionListener in runtime module, addShutdownListener can prevent exit;

v0.9.42

08 Jul 13:00
Compare
Choose a tag to compare
  1. fix http.serveStatic for non-latin filenames;
  2. fix http module for Cloudflare Workers;

v0.9.41

07 Jul 16:05
Compare
Choose a tag to compare
  1. fix fs module for Cloudflare Workers;
  2. refine docs;

v0.9.40

07 Jul 10:39
Compare
Choose a tag to compare
  1. SSE in sse module is renamed to EventEndpoint;
  2. WebSocketConnection is now async iterable, add WebSocketConnection.ready, fix ws module for Deno;
  3. http.serveStatic now supports Cloudflare Workers, add http.serve for writing HTTP server for all server runtimes;
  4. http server supports customizing entry file, supports customizing port and directory when serving static files;
  5. fs module now has limited support for Cloudflare Workers;
  6. dialog module now dynamically imports dependencies based on the environment;

v0.9.35

18 Jun 12:44
Compare
Choose a tag to compare
  1. SSE supports Node.js http server APIs;
  2. fix http.withWeb not closing the response stream with chunked response;
  3. fix SSE for Bun; fix EventClient for a potential bug;
  4. fix fs.createWritableStream for Bun;

v0.9.34

15 Jun 18:17
Compare
Choose a tag to compare
  1. Tarball.stream() can only be called once and Tarball.retrieve() returns the entry with a stream;

v0.9.33

15 Jun 10:37
Compare
Choose a tag to compare
  1. add parseBasicAuth and verifyBasicAuth in http module;
  2. http.serveStatic supports checking If-Match header;
  3. add encoding module;
  4. bytes() supports loading from hex and base64 strings;
  5. add hmac() in hash module;
  6. add filterEntries, mapEntries, partitionEntries and invert in object module;
  7. add partition() in array module
  8. refactor http.Cookie to satisfy Chrome's CookieStore API;
  9. add parseCookies() and stringifyCookies() in http module;

v0.9.30

10 Jun 14:14
Compare
Choose a tag to compare
  1. add event.createCustomEvent;
  2. EventClient dispatches ErrorEvent on error event;;
  3. add ws module;
  4. add http module;
  5. dialog.downloadFile supports displaying progress bar;

v0.9.20

05 Jun 05:15
Compare
Choose a tag to compare
  1. add event module, fix error module;
  2. dialog.downloadFile() supports listening to the progress event;
  3. archive.untar() supports progress event when the size of the tarball is unknown;

v0.9.19

05 Jun 03:08
Compare
Choose a tag to compare
  1. add sse module;
  2. add createErrorEvent(), createCloseEvent() and createProgressEvent() in error module;