VOOZH about

URL: https://thenewstack.io/dev-news-angular-v16-plus-node-js-and-typescript-updates/

⇱ Dev News: Angular v16, plus Node.js and TypeScript Updates - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-04-22 04:00:43
Dev News: Angular v16, plus Node.js and TypeScript Updates
Frontend Development / Software Development / TypeScript

Dev News: Angular v16, plus Node.js and TypeScript Updates

Angular will release a new version in May, while Node.js updated and TypeScript announced a beta version. Also, a new npm security measure.
Apr 22nd, 2023 4:00am by Loraine Lawson
👁 Featued image for: Dev News: Angular v16, plus Node.js and TypeScript Updates
Image via Pexels
Angular 16 is due to release in May and it includes support for SSR hydration, writes frontend Principal Software Engineer at F5, Gaurav Mukherjee. “There are a lot of features/changes coming with this version. Much more than we have seen in any previous major release,” Mukherjee wrote. “Angular is seeing a kind of renaissance, and v16 is just the beginning.” Among the changes he enumerates are:
  • SSR with hydration, a long sought-after feature. “Without this, lot of developers who wanted to build an end-user-facing application where initial startup time and SEO is very important, withheld from using angular,” he noted.
  • Required input for components. Angular developers have had to use hacks to enforce that inputs are getting passed to the component — unlike in React and other frontend frameworks. “Without this input being passed from the parent, [the] component may not work as intended,” he wrote. “This feature brings this much-requested feature in angular.”
  • ngcc is out, completing the shift to ivy that started in v9. That should reduce Angular bundle side. Angular View Engine libraries can no longer be used after this, which he notes is a “hard break in compatibility.”
  • Binding router information to component inputs, in which some router data will be available in the component directly as input. That means developers won’t have to use Activatedroute to get these specific values, which could remove a lot of boilerplate code from apps, he writes.
  • takeUntilDestroyed and DestroyRef, which he said is another shift Angular is making toward “a more functional approach of writing code.”
  • Signals, “are the new reactive primitive provided by Angular, which will help [the] framework track changes to its model,” he wrote. Some benefits this incurs include simplifying Angular by allowing the reactive primitive to replace rxjs in most cases and reducing app complexity; fine-grained reactivity; and fewer concepts to learn.

Node.js Offers Experimental Feature

Node.js introduced an experimental feature called the Permission Model, according to the feature contributor, software engineer Rafael Gonzaga. “It allows developers to restrict access to specific resources during program execution, such as file system operations, child process spawning, and worker thread creation,” Gonzaga wrote. “The API exists behind a flag –experimental-permission, which when enabled will restrict access to all available permissions.” Developers can use the feature to prevent apps from accessing or modifying sensitive data or running potentially harmful code. Node v20.0.0 includes other changes as well, including custom ESM loader hooks running on a dedicated thread.
import.meta.resolve()
Other changes include an update to the V8 engine to add new features to the JavaScript API; and the Ada url parser.

Using GitHub Actions Adds Security to NPM

Developers can now add a command flag that will publish details of a code’s origin by using GitHub Actions to build software packages for the npm registry, the Register reported Wednesday. That will enhance security, according to the article. “GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform, which provides a way to automate arcane command line input and software builds,” the Register wrote. “It’s often used by software developers to mechanize the build process for packages distributed through the company’s npm registry, which hosts more than two million of these modular libraries.” Last week, npm made headlines after three attackers flooded the npm open source package repository for Node.js with bogus packets.

TypeScript 5.1 Beta Released

Microsoft announced the TypeScript 5.1 beta release this week and provided a rundown of the new features. One feature highlighted is easier implicit returns for undefined-returning functions. Microsoft explained that while JavaScript returns a value as undefined if a function finishes running without hitting a return, previous versions of TypeScript would return as void any functions and returning functions that had no return statements. “That meant that even if you explicitly said ‘this function returns undefined,’ you were forced to have at least one return statement,” wrote TypeScript Program Manager Daniel Rosenwasser. “This could be a pain if some API expected a function returning undefined — you would need to have either at least one explicit return of undefined or a return statement and an explicit annotation.” TypeScript 5.1 allows undefined-returning functions to have no return statement. Also, if a function has no return expression and is passed to something expecting a function that returns undefined, it will infer undefined for that function’s return type, the post explained. To address another similar pain point, under TypeScript’s –noImplicitReturns option, functions returning only undefined now have a similar exception to void, in that not every single code path must end in an explicit return. Other features in the beta release include:
  • Unrelated Types for Getters and Setters
  • Decoupled Type-Checking Between JSX Elements and JSX Tag Types
  • Namespaced JSX Attributes
  • typeRoots Are Consulted In Module Resolution
  • Linked Cursors for JSX Tags
  • Breaking Changes
Developers can access the beta through NuGet, or through npm with the following command:
npm install -D typescript@beta
TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.