question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This list is open to suggestions!

  • Improve the documentation

That is obviously the major pain point of the project.

  • Reverse the direction of the ping-pong mechanism

Currently the client emits a ping and waits for a pong from the server, relying on setTimeout() to check whether the connection is still alive or not. But there are reports of throttled timers on the browser side, which may trigger random disconnections.

A solution would be that the ping is emitted from the server to the client, but that is a breaking change which will also break other client implementations…

Related: https://github.com/socketio/engine.io/issues/312

  • Update the source code to ES6 in every project

  • Migrate to webpack 4 (or another bundler, if need be)

  • Remove the sticky-session requirement when using multiple nodes

  • Default to websocket, and use XHR polling as fallback

Currently polling is established first, and then upgraded to websocket if possible.

  • Make the generateId method asynchronous

This one is also a breaking change. Related: https://github.com/socketio/engine.io/pull/535

  • Update the Typescript bindings, if need be

  • Triage issues

No release date for now, as I’m not sure how much time I will be able to dedicate to those points in the following weeks. But any help is welcome!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:51 (22 by maintainers)

github_iconTop GitHub Comments

9reactions
darrachequesnecommented, Sep 17, 2020

We’ve already released Engine.IO v4, which will be included in Socket.IO v3. You can find the release notes here.

I’ve added what I could find in this thread to the project here, to give an overview of the progress. Do not hesitate to comment!

8reactions
darrachequesnecommented, Oct 13, 2020

socket.io@3.0.0-rc1 and socket.io-client@3.0.0-rc1 have been published 🔥

A few notes:

  • the public API does not change much (a few methods have been removed though, see here and here for reference)
  • the codebase has been migrated to TypeScript, but some typings are missing, notably on the client-side.
  • the breaking changes in Engine.IO v4 (listed here) have been included
  • the client bundle size has increased a bit, despite having less dependencies, I’ll dig into this

Any feedback is welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Roadmap for v2 and v3 · Issue #357 - GitHub
This is the list of features, enhancements, and bug fixes to be released into the upcoming releases, especially with breaking changes.
Read more >
V3 Release Roadmap - Service Autopilot
Release Roadmap. Introducing Version 3: the most powerful version of Service Autopilot. Discover our newest game-changing features in 2020. SIGN ...
Read more >
Roadmap to v3.0, v4.0, v5.0 - Read the Docs
Background¶. To make the khmer project easier to use and easier to build upon several fundamental changes need to happen. This document outlines...
Read more >
2023 v3 roadmap - GlassWire Internet Security Forum
2023 v3 roadmap · GLASSWIRE V3 Windows (APP) · New and Simplified Network Traffic Tab · New Tab: Hardware Resources · New View...
Read more >
IDEX v3 Roadmap – Features & Updates
IDEX v3 has now been live for 16 days and we've had an incredible start to our journey as the world's first Hybrid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found