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: socketio/socket.io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.6.0
Choose a base ref
...
head repository: socketio/socket.io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.6.1
Choose a head ref
  • 5 commits
  • 16 files changed
  • 3 contributors

Commits on Feb 16, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e71f3d7 View commit details

Commits on Feb 20, 2023

  1. fix(types): fix nodenext module resolution compatibility (#4625)

    The import added in [1] was invalid, because it used an non-exported
    class.
    
    Related: #4621
    
    [1]: d4a9b2c
    igorls authored and darrachequesne committed Feb 20, 2023
    Copy the full SHA
    d0b22c6 View commit details
  2. Copy the full SHA
    2a8565f View commit details
  3. fix: properly handle manually created dynamic namespaces

    Namespaces that match the regex of a parent namespace will now be added
    as a child of this namespace:
    
    ```js
    const parentNamespace = io.of(/^\/dynamic-\d+$/);
    const childNamespace = io.of("/dynamic-101");
    ```
    
    Related:
    
    - #4615
    - #4164
    - #4015
    - #3960
    darrachequesne committed Feb 20, 2023
    Copy the full SHA
    0d0a7a2 View commit details
  4. chore(release): 4.6.1

    darrachequesne committed Feb 20, 2023
    Copy the full SHA
    7952312 View commit details
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

## 2023

- [4.6.1](#461-2023-02-20) (Feb 2023)
- [4.6.0](#460-2023-02-07) (Feb 2023)

## 2022
@@ -56,7 +57,23 @@

# Release notes

# [4.6.0](https://github.com/socketio/socket.io/compare/4.5.4...4.6.0) (2023-02-07)
## [4.6.1](https://github.com/socketio/socket.io/compare/4.6.0...4.6.1) (2023-02-20)


### Bug Fixes

* properly handle manually created dynamic namespaces ([0d0a7a2](https://github.com/socketio/socket.io/commit/0d0a7a22b5ff95f864216c529114b7dd41738d1e))
* **types:** fix nodenext module resolution compatibility ([#4625](https://github.com/socketio/socket.io/issues/4625)) ([d0b22c6](https://github.com/socketio/socket.io/commit/d0b22c630208669aceb7ae013180c99ef90279b0))


### Dependencies

- [`engine.io@~6.4.0`](https://github.com/socketio/engine.io/releases/tag/6.4.0) (no change)
- [`ws@~8.11.0`](https://github.com/websockets/ws/releases/tag/8.11.0) (no change)



## [4.6.0](https://github.com/socketio/socket.io/compare/4.5.4...4.6.0) (2023-02-07)


### Bug Fixes
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ io.listen(3000);

Starting with **3.0**, express applications have become request handler
functions that you pass to `http` or `http` `Server` instances. You need
to pass the `Server` to `socket.io`, and not the express application
to pass the `Server` to `socket.io`, not the express application
function. Also make sure to call `.listen` on the `server`, not the `app`.

```js
Loading