7.2.16

Latest release in branch 7.0
Released 6 years ago (January 08, 2020)

Software Angular
Branch 7.0
Status
End of life
End of bug fixes April 18, 2019
End of security fixes April 18, 2020
First official release version 7.0.0
First official release date 7 years ago (October 18, 2018)
Release notes https://github.com/angular/angular/blob/main/CHANGELOG_ARCHIVE.md#700-2018-10-18
Source code https://github.com/angular/angular/tree/7.2.16
Documentation https://angular.io/docs
Angular 7.0 Releases View full list

What Is New in Angular 7.0

Angular 7.0 focuses on performance improvements, developer experience, and toolchain alignment. This release is a coordinated major update across the entire platform, including the core framework, Angular CLI, and Angular Material.

Category Key Updates
Performance & Size Smaller application bundles, faster execution with new CLI settings and virtual scrolling.
CLI & Tooling New prompts, improved workflows, and better developer guidance.
Component Library Angular Material and CDK include new components and features.
Dependency Updates TypeScript 3.1, RxJS 6.3, and Node 10 support.
Documentation Revamped guides with improved content and examples.

How did Angular 7 improve application performance?

The framework introduced several optimizations to make apps smaller and faster. The most significant change was the update to the Angular CLI to use BundleBudget warnings by default, which alerts developers when their app's bundle size exceeds predefined thresholds.

For data-heavy lists, the Component Dev Kit (CDK) added a new ScrollingModule featuring virtual scrolling. This dramatically improves performance by only rendering the items currently in view.

Virtual Scrolling Example

<cdk-virtual-scroll-viewport itemSize="50">
  <div *cdkVirtualFor="let item of items">
    {{item.name}}
  </div>
</cdk-virtual-scroll-viewport>

What CLI enhancements were introduced?

The CLI gained interactive prompts that guide developers through common operations. When you run commands like ng add or ng new, the CLI now asks questions to help configure the project correctly instead of failing or requiring you to remember all the correct flags.

Another key update was the addition of project files for ng update, allowing library authors to provide update schematics. This makes it easier for users to keep their projects and dependencies in sync with the latest versions.

What new components and features were added to Angular Material?

The Material library received a visual refresh and several new components. The most notable additions were the <mat-tree> for displaying hierarchical data and the <mat-badge> for showing small status indicators or counts.

The CDK's virtual scrolling module, while a performance feature, is also a major addition for UI development. The drag-and-drop module was also updated with improved accessibility support.

Badge Usage

<button mat-icon-button>
  <mat-icon>notifications</mat-icon>
  <mat-badge overlap="circle" value="8"></mat-badge>
</button>

Were there any updates to Angular's core?

Yes, the core framework saw important under-the-hood changes. The compiler was made more strict, catching certain classes of template errors earlier in the development process. This helps prevent bugs from making it to production.

Support for TypeScript 3.1 was a major dependency update that came with improved type checking. Additionally, the framework added support for Node 10, keeping pace with the active LTS schedule.

FAQ

Do I have to use the new Bundle Budgets in the CLI?
No, they are enabled by default but are just warnings. You can adjust the thresholds in your angular.json file under the "budgets" key to match your project's requirements.

Is virtual scrolling part of Angular Material or the core?
It's part of the Component Dev Kit (CDK), which means you can use the virtual scrolling functionality even if you aren't using Angular Material's visual design system.

What happens if I run `ng update` without the interactive prompts?
The prompts are there to help. If you already provide all the necessary flags and options on the command line, the process will run non-interactively just as it did before.

Why did my application bundle size warning appear after updating?
Angular 7.0 set more aggressive default budget thresholds to encourage smaller bundles. You're likely hitting these new defaults, which you can review and modify in your configuration.

Are there any breaking changes in Angular 7.0?
Yes, but they are minimal compared to previous major versions. The most common ones involve type strictness in the compiler and updates to Angular Material's CSS. Running ng update will automatically handle many of these for you.

Releases In Branch 7.0

Version Release date
7.2.16 6 years ago
(January 08, 2020)
7.2.15 6 years ago
(May 07, 2019)
7.2.14 6 years ago
(April 23, 2019)
7.2.13 7 years ago
(April 13, 2019)
7.2.12 7 years ago
(April 03, 2019)
7.2.11 7 years ago
(March 26, 2019)
7.2.10 7 years ago
(March 20, 2019)
7.2.9 7 years ago
(March 12, 2019)
7.2.8 7 years ago
(March 06, 2019)
7.2.7 7 years ago
(February 27, 2019)
7.2.6 7 years ago
(February 20, 2019)
7.2.5 7 years ago
(February 15, 2019)
7.2.4 7 years ago
(February 06, 2019)
7.2.3 7 years ago
(January 30, 2019)
7.2.2 7 years ago
(January 22, 2019)
7.2.1 7 years ago
(January 16, 2019)
7.2.0 7 years ago
(January 07, 2019)
7.2.0-rc.0 7 years ago
(December 19, 2018)
7.1.4 7 years ago
(December 18, 2018)
7.1.3 7 years ago
(December 11, 2018)
7.2.0-beta.2 7 years ago
(December 11, 2018)
7.2.0-beta.1 7 years ago
(December 06, 2018)
7.1.2 7 years ago
(December 06, 2018)
7.1.1 7 years ago
(November 28, 2018)
7.2.0-beta.0 7 years ago
(November 28, 2018)
7.1.0 7 years ago
(November 21, 2018)
7.0.4 7 years ago
(November 14, 2018)
7.1.0-rc.0.with-local-changes 7 years ago
(November 14, 2018)
7.1.0-rc.0 7 years ago
(November 14, 2018)
7.0.3 7 years ago
(November 07, 2018)
7.1.0-beta.2 7 years ago
(November 07, 2018)
7.0.2 7 years ago
(October 31, 2018)
7.1.0-beta.1 7 years ago
(October 31, 2018)
7.0.1 7 years ago
(October 24, 2018)
7.1.0-beta.0 7 years ago
(October 24, 2018)
7.0.0 7 years ago
(October 18, 2018)
7.0.0-rc.1 7 years ago
(October 10, 2018)
7.0.0-rc.0 7 years ago
(September 28, 2018)
7.0.0-beta.7 7 years ago
(September 26, 2018)
7.0.0-beta.6 7 years ago
(September 19, 2018)
7.0.0-beta.5 7 years ago
(September 06, 2018)
7.0.0-beta.4 7 years ago
(August 30, 2018)
7.0.0-beta.3 7 years ago
(August 22, 2018)
7.0.0-beta.2 7 years ago
(August 15, 2018)
7.0.0-beta.1 7 years ago
(August 08, 2018)
7.0.0-beta.0 7 years ago
(August 02, 2018)