It's great to see that the team removed type coercion in some functions – it will make development easier for sure.
Unfortunately, regardless of whether new releases are out there, some cloud providers lag behind others. AWS is one example, supporting only Node 14, when we have Node 18. The decision to start supporting versions 16+ would be a great one.
Let’s dig in!
Why Is Node Such A Big Deal?
You may have fewer teams working on your products, with the same or bigger efficiency;
Going back to the most notable features of the newest version of Node.js:
A Built-in Test Runner
Testing is elementary for creating quality products. Until now, we did not have a built-in test runner for Node. That is changing, with the team introducing a test runner available out of the box.
Whether this is as a response to some voices in the community saying Node.js does not provide much out of the box or not, it’s absolutely something that new teams will appreciate. The older teams probably already have a testing framework in place.
The new tool should feel familiar to many Node.js & front-end developers alike. An example test looks like this:
An Update To The Underlying Tech
Node.js users are particularly happy about that (or could be), since they are getting performance improvements to their apps for free. You are not changing a thing about your app, and yet it will run faster and provide developers with more options, assuming your app is compatible. Speaking of compatibility…
As with each major upgrade, also this time there are some changes that will force you to change your app a bit. This time there are also little changes like that. Two of them pertain to the availability.
To be more precise, Node.js is now “experimental” on the 32-bit Windows platform, and the minimum required version of macOS is now 10.15. If you are one of the people who started looking up “macOS 10.14 Node 18 not working” or “32-bit Windows Node 18 download” in a disarray, then there is no other option than to change your operating system. The case is similar for some Linux distributions. If you are an Ubuntu, Debian, or Red Hat Enterprise Linux user, then you need to upgrade to versions 20.04, 10, and 8 respectively as well. Progress brings changes we do not wish for, occasionally, but the ones that we need to get through.
To end this section, there are additional modifications that may break your apps, that we did not cover. We did it so that we don’t write an entire e-book worth of content every time a popular tool has a new release.
360° IT Check is a weekly publication where we bring you the latest and greatest in the world of tech. We cover topics like emerging technologies & frameworks, news about innovative startups, and other topics which affect the world of tech directly or indirectly.