Skip to content

Angular 22 build uses old baseline date for supported browsers #33586

Description

@alexanderjungmann

Command

build

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

The official documentation for browser support in Angular 22 states that the baseline date for browser support should be 2026-05-07, see https://angular.dev/reference/versions#browser-support, but the @angular/build package is still using the old Angular 21 baseline date 2025-10-20.

Minimal Reproduction

This can be reproduced by installing @angular/build version 22.0.7 and then viewing the file angular/build/src/utils/supported-browsers.js in node_modules folder, which specifies

// The below is replaced by bazel `npm_package`.
const BASELINE_DATE = '2025-10-20';

or by manually overriding .browserslistrc with 2025-10-20 and running ng build, which should output a warning like

One or more browsers which are configured in the project's Browserslist configuration fall outside Angular's browser support for this version.

but no warning is produced.

Exception or Error


Your Environment

Angular CLI       : 22.0.7
Angular           : 22.0.7
Node.js           : 24.16.0
Package Manager   : npm 11.13.0
Operating System  : linux x64

┌───────────────────────────┬───────────────────┬───────────────────┐
│ Package                   │ Installed Version │ Requested Version │
├───────────────────────────┼───────────────────┼───────────────────┤
│ @angular/animations       │ 22.0.7            │ 22.0.7            │
│ @angular/build            │ 22.0.7            │ 22.0.7            │
│ @angular/cdk              │ 22.0.5            │ 22.0.5            │
│ @angular/cli              │ 22.0.7            │ 22.0.7            │
│ @angular/common           │ 22.0.7            │ 22.0.7            │
│ @angular/compiler         │ 22.0.7            │ 22.0.7            │
│ @angular/compiler-cli     │ 22.0.7            │ 22.0.7            │
│ @angular/core             │ 22.0.7            │ 22.0.7            │
│ @angular/elements         │ 22.0.7            │ 22.0.7            │
│ @angular/forms            │ 22.0.7            │ 22.0.7            │
│ @angular/language-service │ 22.0.7            │ 22.0.7            │
│ @angular/localize         │ 22.0.7            │ 22.0.7            │
│ @angular/platform-browser │ 22.0.7            │ 22.0.7            │
│ @angular/router           │ 22.0.7            │ 22.0.7            │
│ rxjs                      │ 7.8.2             │ 7.8.2             │
│ typescript                │ 6.0.3             │ 6.0.3             │
│ vitest                    │ 4.1.9             │ 4.1.9             │
│ zone.js                   │ 0.16.2            │ 0.16.2            │
└───────────────────────────┴───────────────────┴───────────────────┘

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions