Latest in branch 13.0
13.4.0
Released 06 Apr 2023
(3 years ago)
SoftwareAngular
Version13.0
Initial release13.0.0
03 Nov 2021
(4 years ago)
Latest release13.4.0
06 Apr 2023
(3 years ago)
Active support end03 May 2022
(Ended 4 years ago)
Security support end15 Nov 2023
(Ended 2 years ago)
Commercial support
(HeroDevs-NES)
Yes
Release noteshttps://github.com/angular/angular/releases/tag/13.0.0
Source codehttps://github.com/angular/angular/tree/13.4.0
Documentationhttps://angular.io/docs
Angular 13.0 ReleasesView full list

What Is New in Angular 13.0

Angular 13 delivers a significant update focused on developer experience, performance, and modernizing the framework's foundation. The key changes are summarized in the table below.

Category Key Changes
New Features View Engine is deprecated, full Ivy adoption; Persistent build cache
Improvements ES2017 as the new compilation target; Modern Angular Package Format (APF)
Developer Experience RxJS 7.4 as default; Simplified dynamic component creation; Enhanced test APIs
Deprecations View Engine is deprecated; Node.js versions older than 12.20.0

Why is Ivy now the default and mandatory?

Angular 13 completely removes the legacy View Engine compilation and rendering pipeline, making Ivy the only option. This matters because it unifies the ecosystem, eliminating the complexity of supporting two different compilation systems.

All internal tools have been updated to use Ivy, and the Angular Compatibility Compiler (ngcc) is no longer needed. In practice, this means faster build times and a simpler mental model for developers, as all libraries must now be published in Ivy-compatible format.

What build and performance enhancements were introduced?

Two major performance features land in this release: a persistent build cache and a modernized compilation target. The persistent disk cache is a new CLI feature that dramatically speeds up subsequent builds and production builds by default.

Applications now compile to ES2017 by default instead of ES2015. This upgrade allows the CLI to output more modern code, which can lead to smaller bundle sizes and improved performance in modern browsers that support these features.

How has the Angular Package Format evolved?

The Angular Package Format (APF) has been updated to a more modern and simplified version. The new APF uses the latest Node.js package export functionality with subpath patterns defined in the package.json "exports" field.

This change replaces the deep import paths we used to need. It results in cleaner, more explicit package APIs and better tooling support. Library authors need to update their build process to output this new format.

What improvements were made to the component API?

Creating dynamic components is now significantly easier. The ViewContainerRef.createComponent method has been simplified, no longer requiring the use of an injected component factory resolver.

You can now create a component with a single line: viewContainerRef.createComponent(MyComponent);. This is a great quality-of-life improvement that removes boilerplate and makes the intent of the code much clearer.

Were there any updates for testing?

Yes, the framework testing APIs received notable improvements. The TestBed now better tears down test environments after each test, automatically cleaning up any components that were created during the test execution.

This automatic cleanup helps prevent cross-test contamination, making tests more isolated and reliable. It's a welcome change that reduces the chance of flaky tests caused by improper cleanup in afterEach blocks.

FAQ

Do I need to do anything to upgrade my app to use only Ivy?
If you were already using Ivy in Angular 12, your upgrade should be smooth. The main impact is for library creators, who must ensure they are publishing Ivy-compatible packages. Applications using View Engine will need to be migrated to Ivy first.

What is the immediate benefit of the new persistent build cache?
You'll see significantly faster build times on development machines and in CI/CD pipelines. The cache stores results from previous builds on disk, so operations like ng build and ng test can skip recompiling unchanged code.

Why did the compilation target change to ES2017?
This change allows Angular to generate more modern JavaScript by default. The output code can use newer language features native to modern browsers, which often results in smaller bundle sizes and better runtime performance without needing custom polyfills.

How does the new APF format affect my library imports?
You should no longer use deep imports (e.g., @my-lib/component/component). The new "exports" field in the package.json file defines the public API, and tools like TypeScript will now enforce using these approved entry points.

Is the simplified createComponent method backwards compatible?
The old method that required a ComponentFactory is still available but is now deprecated. The new signature is a drop-in replacement that is much simpler. You can refactor your code to use the new method without breaking existing functionality.

Releases In Branch 13.0

VersionRelease date
13.4.006 Apr 2023
(3 years ago)
13.3.1221 Nov 2022
(3 years ago)
13.3.1131 May 2022
(4 years ago)
13.3.1025 May 2022
(4 years ago)
13.3.918 May 2022
(4 years ago)
13.3.812 May 2022
(4 years ago)
13.3.711 May 2022
(4 years ago)
13.3.604 May 2022
(4 years ago)
13.3.527 Apr 2022
(4 years ago)
13.3.420 Apr 2022
(4 years ago)
13.3.313 Apr 2022
(4 years ago)
13.3.206 Apr 2022
(4 years ago)
13.3.130 Mar 2022
(4 years ago)
13.2.716 Mar 2022
(4 years ago)
13.3.016 Mar 2022
(4 years ago)
13.3.0-rc.010 Mar 2022
(4 years ago)
13.2.609 Mar 2022
(4 years ago)
13.2.502 Mar 2022
(4 years ago)
13.2.423 Feb 2022
(4 years ago)
13.2.317 Feb 2022
(4 years ago)
13.2.208 Feb 2022
(4 years ago)
13.2.102 Feb 2022
(4 years ago)
13.2.026 Jan 2022
(4 years ago)
13.2.0-rc.124 Jan 2022
(4 years ago)
13.2.0-rc.020 Jan 2022
(4 years ago)
13.1.319 Jan 2022
(4 years ago)
13.1.212 Jan 2022
(4 years ago)
13.2.0-next.212 Jan 2022
(4 years ago)
13.1.115 Dec 2021
(4 years ago)
13.2.0-next.115 Dec 2021
(4 years ago)
13.1.009 Dec 2021
(4 years ago)
13.2.0-next.009 Dec 2021
(4 years ago)
13.0.301 Dec 2021
(4 years ago)
13.1.0-next.301 Dec 2021
(4 years ago)
13.0.217 Nov 2021
(4 years ago)
13.1.0-next.217 Nov 2021
(4 years ago)
13.0.110 Nov 2021
(4 years ago)
13.1.0-next.110 Nov 2021
(4 years ago)
13.0.003 Nov 2021
(4 years ago)
13.1.0-next.003 Nov 2021
(4 years ago)
13.0.0-rc.302 Nov 2021
(4 years ago)
13.0.0-rc.227 Oct 2021
(4 years ago)
13.0.0-rc.120 Oct 2021
(4 years ago)
13.0.0-rc.013 Oct 2021
(4 years ago)
13.0.0-next.1507 Oct 2021
(4 years ago)
13.0.0-next.1206 Oct 2021
(4 years ago)
13.0.0-next.1306 Oct 2021
(4 years ago)
13.0.0-next.1406 Oct 2021
(4 years ago)
13.0.0-next.1105 Oct 2021
(4 years ago)
13.0.0-next.1001 Oct 2021
(4 years ago)
13.0.0-next.930 Sep 2021
(4 years ago)
13.0.0-next.827 Sep 2021
(4 years ago)
13.0.0-next.722 Sep 2021
(4 years ago)
13.0.0-next.615 Sep 2021
(4 years ago)
13.0.0-next.508 Sep 2021
(4 years ago)
13.0.0-next.401 Sep 2021
(4 years ago)
13.0.0-next.325 Aug 2021
(4 years ago)
13.0.0-next.218 Aug 2021
(4 years ago)
13.0.0-next.111 Aug 2021
(4 years ago)
13.0.0-next.004 Aug 2021
(4 years ago)