-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Let's start to write upgrade guides! #18836
Comments
Just to clarify the second point: what I mean is that when we branch |
I think this is a great idea. I would be happy to help out on this front too! |
i've been meaning to bring this up in a more general sense, about creating wikis for getting started, upgrading, updating, more opinionated tutorials about the "node style" of programming, etc. as a nice reference: https://www.python.org/about/gettingstarted/ everything linked on that page provides good models for what we should be aiming for (within the reason of node.js being comparable to python) |
By the way, it would be nice to have a codemod based on something like jscodeshift that helps users automatically upgrade their codebase |
FWIW, there's also the OSS Huge +1 for this effort in general. Having a codified document will be a massive help for individuals that are getting caught by upgrades. |
Sounds like a good idea to me. |
Definitely 👍 . I think we should highlight and promote this for the LTS -> LTS migrations, which have a year worth of changes in them. |
Related: @fyockm just added this page to the Wiki today: https://github.com//nodejs/node/wiki/Breaking-changes-between-v6-LTS-and-v8-LTS Seems like it might be a copy/paste of the release notes for the most part. Seems well-intentioned and this might be a fine doc to have in the Wiki (and let other people come along and improve it). Maybe people interested in this Upgrade Guides initiative might find it worthwhile to improve that document. @nodejs/documentation |
@Trott sorry for the drive-by. Yes, it was just copy/paste from release notes. Seemed like a big hole since we are currently making a big push to migrate from Node 4 to Node 8, and I imagine many others are as well. |
You have nothing to apologize for. Thanks for trying to make things better for the next person who has to upgrade. |
Closing due to inactivity, but feel free to re-open if someone is going to make this happen. |
Did this happen organically somewhere else? The links to the wiki in above comments are broken now too. |
No, I'm afraid it did not happen. Contributions or links to existing materials welcome. I think one thing that has happened, though, is that updating is not the big deal it once was. Backward compatibility is pretty good for the most part. |
I think there is one thing that Node is missing compared to many other projects when a new major version is released: a clear guide for users who want to migrate their code from an earlier version.
We have lists of breaking changes in the wiki, mostly maintained by @Fishrock123.
Those are valuable, but I would like to propose something different:
doc/guides/upgrade/
)upgrade-to-node-10.md
/cc @nodejs/collaborators @nodejs/website @nodejs/tsc @nodejs/community-committee
The text was updated successfully, but these errors were encountered: