Paul Krill
Editor at Large

Angular roadmap embraces security, simplicity

news
Sep 9, 20202 mins

Upgrade plan for the popular framework features trusted native types, stricter typing for reactive forms, debugging and performance profiling tools, and more

abstract tunnel showing speed and motion and connectivity
Credit: thinkstock

A roadmap published for Google’s TypeScript-based Angular web framework has the platform adding support for native trusted types for security and strict typing for forms.

New features cited in the roadmap are not yet designated for a specific version of Angular but are categorized as either “in progress” or “future.” The capabilities could find their way into the planned Angular 11 release or a different version.

With native trusted types, DOM-based cross-site scripting vulnerabilities are prevented. Plans call for the addition of a trusted types API to help build secure web applications. This capability is listed as “in progress.”

Stricter type checking for reactive forms is listed as a “future” improvement. Stricter type checking will allow developers to catch more issues during development time and enable better text editing and IDE support.

Other plans noted in Angular roadmap include:

  • Ergonomic component-level code-splitting APIs, an in-progress feature intended to improve the speed of web applications.
  • Development tools for debugging and performance profiling, an in-progress plan.
  • Webpack 5 module bundler support in the CLI, bringing build speed and bundle size improvements. This is cited as a future improvement.
  • Integration of the MDC Web library into the Angular Material UI component library, an in-progress capability.
  • Removal of the legacy View Engine, for smaller conceptual overhead and package size, lower maintenance costs, and less complexity in the code base. This future improvement would be done after all Angular internal tools have been moved to the Ivy renderer.
  • Making NgModules optional, a future capability intended to enable developers to build standalone components and implement an alternative API for declaring a component’s compilation scope.
  • Simplify Angular, reduce NPM package size, and improve maintainability by migrating the Angular language service to Ivy. This improvement is in-progress.
  • Migration to the ESLint linter, a future improvement. Angular’s developers will work toward backward compatibility with the current recommended TSLint linting tool configuration, implement a migration strategy for existing applications, and introduce new tools to the Angular CLI toolchain.
  • Support for TypeScript 4.0, a capability just added to the compiler in Angular 10.1.

The current version of the framework, Angular 10.1, was released one week ago. Development has begun on Angular 11, but the only feature cited so far is a fix pertaining to application-loading and eviction of cached assets.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author