Visitar URL original
Comparing 8.21.1...8.22.0 · websockets/ws · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: websockets/ws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8.21.1
Choose a base ref
...
head repository: websockets/ws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8.22.0
Choose a head ref
  • 10 commits
  • 9 files changed
  • 3 contributors

Commits on Aug 3, 2026

  1. [test] Skip test on Node.js versions where it does not apply

    In Node.js versions >= 22.23.2 < 23.0.0, >= 24.18.1 < 25.0.0, and
    >= 26.5.1, the HTTP server rejects the request before emitting the
    `'upgrade'` event.
    
    Refs: nodejs/node@064d339f
    lpinca committed Aug 3, 2026
    Configuration menu
    Copy the full SHA
    2eb3be0 View commit details
    Browse the repository at this point in the history
  2. [security] Use GitHub PVR as main reporting channel

    Direct security reporters to use private vulnerability reporting on
    GitHub as the primary reporting channel.
    lpinca committed Aug 3, 2026
    Configuration menu
    Copy the full SHA
    e4bb883 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4d62eb View commit details
    Browse the repository at this point in the history
  4. [dist] 8.21.2

    lpinca committed Aug 3, 2026
    Configuration menu
    Copy the full SHA
    787ebf2 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2026

  1. [fix] Reject offers with client_max_window_bits below config

    When a server is configured with `clientMaxWindowBits = N` and a client
    offers `client_max_window_bits = M` where `M < N`, the server must not
    respond with a value greater than `M`.
    
    Previously the server accepted such offers and responded with
    `client_max_window_bits = N`. The analogous check for
    `serverMaxWindowBits` already existed; this commit adds the symmetric
    check for `clientMaxWindowBits`.
    JSap0914 authored and lpinca committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    e97a20e View commit details
    Browse the repository at this point in the history
  2. [dist] 8.21.3

    lpinca committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    c791e70 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2026

  1. [fix] Change the ready state after validating the arguments (#2337)

    `Sender.prototype.close()` validates `code` and `data` and throws if
    they are invalid. Do not change the ready state before it returns,
    otherwise the state is set to `CLOSING` with no close frame sent and no
    close timer set, and any subsequent `WebSocket.prototype.close()` call
    becomes a noop because the state is already `CLOSING`.
    rajanpanth authored Aug 13, 2026
    Configuration menu
    Copy the full SHA
    d9b8954 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. Configuration menu
    Copy the full SHA
    73e03eb View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2026

  1. [feature] Introduce the protocols option

    Allow specifying subprotocols with the `protocols` option.
    
    Refs: whatwg/websockets#42
    lpinca committed Sep 26, 2026
    Configuration menu
    Copy the full SHA
    8b918b0 View commit details
    Browse the repository at this point in the history
  2. [dist] 8.22.0

    lpinca committed Sep 26, 2026
    Configuration menu
    Copy the full SHA
    297202c View commit details
    Browse the repository at this point in the history
Loading