This has been in the making for a while now but the final checks are complete and NodeCG v2 has been released!
For bundle developers? Nothing really... but in a good way. This means that bundles can be migrated over to v2 with little to no changes required. This update is more about making it easier for NodeCG core developers to develop new features that you can use in the future.
The biggest and most important change for NodeCG is that it is now written in TypeScript. This will greatly benefit developers of NodeCG core and also allow bundle developers to more easily use types through the @nodecg/types
NodeCG repository now contains only source code
NodeCG used to contain its build outputs in the repository. This was helpful at the time, since all that was needed was to install the dependencies and you were off to the races. However, in v2 this has changed. If you use nodecg-cli
, make sure to download the latest version in order for v2 to install correctly (npm i -g nodecg-cli@latest
). Developers who would clone manually must now install all dependencies (npm i
) and run npm run build
Running into issues?
NodeCG waiting to be rewritten in TypeScript was a major blocker for new developments to the project. It was also a massive undertaking, which is why it took so long to develop.
Now that it's written in TypeScript we can start developing new features that have been long requested such as:
Reworked project structure
Better bundle management
Updating the dashboard UI to React (will not affect bundles, just the internal code of the dashboard. You will never be forced to write your bundles in any specific framework.)
Lange for lead development of v2
Keiichiro Amemiya for assisting in direction and development of v2
zoton2 for testing & feedback
Ewan Lyon for testing & feedback
Daniel for testing & feedback
Dan Shields for fixes & feedback
Jon Egeland for major contributions to the architecture of the code
Dom Hynes for fixes & feedback
The NodeCG community for their patience and support during this time