-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clearly Describe which SignalR npm Package to Use #21618
Comments
Really? |
You might have taken a different path than me to get to that. If you look at my steps and my screenshot, maybe it's understandable why it was confusing. This could just be called out a bit more explicitly, in my opinion. |
We can consider deprecating the @aspnet/signalr client with a message about the new client. New clients still work with older server versions, so there should be no breaks when people switch to a new client. @anurse we talked about this before. Do you remember why we didn't deprecate earlier? |
@simonua thanks for your detailed synopsis of how you got a bit confused here, and our apologies for it. As @gfoidl pointed out, that is our main doc on the latest version of the JavaScript client, which is absolutely the |
What we can (and should do) though is update the README for the package. That seems like a reasonable way to clear up some confusion. Something like:
@simonua can you clarify what was confusing here? The doc you ended up on is pretty clear as to which package to install, and npm will install the latest (which is the appropriate behavior). In general, SignalR clients are designed to be fully backwards and forwards compatible. In relation to this (and other similar questions) I've opened dotnet/AspNetCore.Docs#18293 to update our docs. |
Thanks, everyone, for the conversation. Hi @anurse, there's a difference in perspective here, I think, in that I looked at it from an npm perspective where I had two choices that didn't differ based on information on the registry whereas you looked at it from a much clearer Microsoft docs perspective. I think the latter is fine, and you are right that the doc is clear. What I wish for would be less ambiguity from a registry perspective, so that I could immediately see that one package is just on LTS now but no longer the preference. I fully agree with you with respect to updating the README for the @aspnet/signalr package. That would be appreciated. Thank you! |
Action item:
This would need to go into the 2.1 branch and be brought to tactics. We also might want to mark the |
adding @Pilchie to the discussion per the tactics mention. |
I think we're ready to merge the associated PRs for July servicing, right? |
Done with #22129 |
Is your feature request related to a problem? Please describe.
I was trying to determine the difference between @aspnet/signalr and @microsoft/signalr to use in my JavaScript / Angular application.
My challenges:
I decided to pursue @microsoft/signalr as it was updated 15 days ago whereas @aspnet/signalr was updated a year ago.


My next steps in researching this path further:
Informative, but a bit of a dead-end here as I still didn't know what version to use.
I then tried this:
Describe the solution you'd like
It would be helpful to point out which package to use more clearly on npm and more visibly in the Microsoft documentation.
The text was updated successfully, but these errors were encountered: