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.1.3
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.2.0
Choose a head ref
  • 6 commits
  • 14 files changed
  • 4 contributors

Commits on Jul 15, 2021

  1. docs(examples): add missing module (#4018)

    Fixes the following error:
    
    > test/todo-management/todo.tests.ts:275:3 - error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
    
    Co-authored-by: brownman <brownman@users.noreply.github.com>
    brownman and brownman authored Jul 15, 2021
    Copy the full SHA
    310f855 View commit details

Commits on Aug 30, 2021

  1. Copy the full SHA
    24fee27 View commit details
  2. fix(typings): allow async listener in typed events

    So that:
    
    ```ts
    socket.on("my-event", async () => {
      // ...
    });
    ```
    
    is valid under the @typescript-eslint/no-misused-promises rule.
    
    Related: socketio/socket.io-client#1486
    darrachequesne committed Aug 30, 2021
    Copy the full SHA
    ccfd8ca View commit details
  3. docs: update the link of the Repl.it badge

    The link will now point towards a sample project, instead of the root
    repository.
    
    Related: #3934
    darrachequesne committed Aug 30, 2021
    Copy the full SHA
    d8cc8ae View commit details
  4. Copy the full SHA
    f03eeca View commit details
  5. chore(release): 4.2.0

    darrachequesne committed Aug 30, 2021
    Copy the full SHA
    c100b7b View commit details
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# [4.2.0](https://github.com/socketio/socket.io/compare/4.1.3...4.2.0) (2021-08-30)


### Bug Fixes

* **typings:** allow async listener in typed events ([ccfd8ca](https://github.com/socketio/socket.io/commit/ccfd8caba6d38b7ba6c5114bd8179346ed07671c))


### Features

* ignore the query string when serving client JavaScript ([#4024](https://github.com/socketio/socket.io/issues/4024)) ([24fee27](https://github.com/socketio/socket.io/commit/24fee27ba36485308f8e995879c10931532c814e))


## [4.1.3](https://github.com/socketio/socket.io/compare/4.1.2...4.1.3) (2021-07-10)


2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# socket.io
[![Run on Repl.it](https://repl.it/badge/github/socketio/socket.io)](https://repl.it/github/socketio/socket.io)
[![Run on Repl.it](https://repl.it/badge/github/socketio/socket.io)](https://replit.com/@socketio/socketio-minimal-example)
[![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)
Loading