Skip to content

Create documentation on how to upgrade an application to socket.io 2.0.0 #2957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TysonAndre opened this issue May 30, 2017 · 3 comments
Closed

Comments

@TysonAndre
Copy link

You want to:

request documentation

Current behaviour

There is currently no explanation or tutorial of steps to upgrade an application (e.g. mobile app using socket.io) in the following places (or their links):

Expected behaviour

Create documentation in https://socket.io/docs/# , link to it from blog posts and release notes

Other information (e.g. stacktraces, related issues, suggestions how to fix)

Based on the UTF-8 comment in the changelog, I assume it's incompatible (i.e. 2.0 client won't work with 1.x, nor will 1.x client work with 2.0). Is that correct?

A similar question was asked in #2946 (comment)

Sorry if this already exists, I didn't see any similar issues after a quick search.

@niallel
Copy link

niallel commented Jul 9, 2017

I agree, I understand there is an issue with unicode, but it would be really useful to know in what situations this will cause failures.

I'm using it with Cordova in an app, so I can't just upgrade the server as many clients will be on 1.x.
However I did a test with the client on 2.0.3 and the server on 1.7.4 and all worked.

Are there examples of what would work and what wouldn't. For example if I'm just using very basic ascii characters will it all work?

@niallel
Copy link

niallel commented Jul 9, 2017

I've spent the day testing with my apps setup.
Everything has worked, 1.4.5 <--> 2.0.3 (client and server both ways).

When I read the notes for the utf encoding problem I see that it only mentions if you are using polling.
So I imagine if you are using web sockets then it works fine (seems to).
With the other issue #1058, it mentions if you are using the non-default namespace.
So again I imagine if you are using the default namespace it works fine (again seems to).

Would someone be able to confirm if there are any other reasons why there would be problems.

@jwalton
Copy link

jwalton commented Oct 16, 2017

Good comments here: #3007 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants