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: 3.0.5
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: 3.1.0
Choose a head ref
  • 9 commits
  • 18 files changed
  • 7 contributors

Commits on Jan 8, 2021

  1. Copy the full SHA
    de8dffd View commit details

Commits on Jan 14, 2021

  1. feat: add support for Socket.IO v2 clients

    In order to ease the migration to Socket.IO v3, the Socket.IO server
    can now communicate with v2 clients.
    
    ```js
    const io = require("socket.io")({
      allowEIO3: true
    });
    ```
    
    This feature is disabled by default.
    darrachequesne committed Jan 14, 2021
    Copy the full SHA
    9925746 View commit details
  2. Copy the full SHA
    233650c View commit details
  3. Copy the full SHA
    b55892a View commit details
  4. Copy the full SHA
    6b1d790 View commit details
  5. Copy the full SHA
    d52532b View commit details

Commits on Jan 15, 2021

  1. feat: confirm a weak but matching ETag (#3485)

    When handling compression at the proxy server level, the client receives a weak ETag.
    Weak ETags are prefixed with `W/`, e.g. `W/"2.2.0"`.
    Upon cache validation we should take care of these too.
    
    Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
    das7pad authored and darrachequesne committed Jan 15, 2021
    Copy the full SHA
    161091d View commit details
  2. Copy the full SHA
    2c883f5 View commit details
  3. chore(release): 3.1.0

    darrachequesne committed Jan 15, 2021
    Copy the full SHA
    f05a4a6 View commit details
2 changes: 2 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language = "nodejs"
run = "npm start"
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [3.1.0](https://github.com/socketio/socket.io/compare/3.0.5...3.1.0) (2021-01-15)


### Features

* confirm a weak but matching ETag ([#3485](https://github.com/socketio/socket.io/issues/3485)) ([161091d](https://github.com/socketio/socket.io/commit/161091dd4c9e1b1610ac3d45d964195e63d92b94))
* **esm:** export the Namespace and Socket class ([#3699](https://github.com/socketio/socket.io/issues/3699)) ([233650c](https://github.com/socketio/socket.io/commit/233650c22209708b5fccc4349c38d2fa1b465d8f))
* add support for Socket.IO v2 clients ([9925746](https://github.com/socketio/socket.io/commit/9925746c8ee3a6522bd640b5d586c83f04f2f1ba))
* add room events ([155fa63](https://github.com/socketio/socket.io-adapter/commit/155fa6333a504036e99a33667dc0397f6aede25e))


### Bug Fixes

* allow integers as event names ([1c220dd](https://github.com/socketio/socket.io-parser/commit/1c220ddbf45ea4b44bc8dbf6f9ae245f672ba1b9))


## [3.0.5](https://github.com/socketio/socket.io/compare/3.0.4...3.0.5) (2021-01-05)


5 changes: 3 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

# socket.io

[![Run on Repl.it](https://repl.it/badge/github/socketio/socket.io)](https://repl.it/github/socketio/socket.io)
[![Backers on Open Collective](https://opencollective.com/socketio/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/socketio/sponsors/badge.svg)](#sponsors)
[![Build Status](https://github.com/socketio/socket.io/workflows/CI/badge.svg)](https://github.com/socketio/socket.io/actions)
[![Dependency Status](https://david-dm.org/socketio/socket.io.svg)](https://david-dm.org/socketio/socket.io)
@@ -22,6 +21,8 @@ Some implementations in other languages are also available:
- [C++](https://github.com/socketio/socket.io-client-cpp)
- [Swift](https://github.com/socketio/socket.io-client-swift)
- [Dart](https://github.com/rikulo/socket.io-client-dart)
- [Python](https://github.com/miguelgrinberg/python-socketio)
- [.Net](https://github.com/Quobject/SocketIoClientDotNet)

Its main features are:

Loading