Skip to content

4.22.1

Choose a tag to compare

@mehmetkose mehmetkose released this 01 Nov 23:37
6dc3b07

The library's code is the same as in 4.22.0. This release corrects the author details npm shows, and updates the
examples.

Changed

  • The package's author and maintainer are now Mehmet Kose <mehmetkose@duck.com> with
    mehmetkose.github.io, replacing an email address and website that were wrong.

Documentation

  • The Next.js, Astro and Remix examples use dependency versions that fix published security advisories: next
    16.4.2 and zod 4.6.7, and in the Astro example undici 8.12.3, qs 6.16.1, body-parser 2.4.0 and fast-uri
    3.1.9. The Remix example overrides esbuild to 0.28.2, since remix still asks for 0.27.
  • The Hono example and
    its recipe use what 4.22.0 documented. Chat
    messages are requests the server answers with posted or refused, and a retry with the same key isn't posted
    twice. The server tells clients when to come back: a full room closes with 1013 and a delay, long-lived
    connections are asked to migrate(), and a page built for an older protocol is closed with a code it doesn't
    retry, and asks the user to reload. A new bot.ts joins from Node with a token in a header, through a proxy if
    HTTPS_PROXY is set.