Skip to content

Update v5 .browserslistrc #41390

Open
@mdo

Description

@mdo

v5 has been around for almost five years (with the first alpha release in June 2020). In that time, browser support for new CSS and JS features has really accelerated, and Bootstrap 5 hasn't progressed to support that.

I'd like to modify the supported browsers in v5.4 to push the project forward to more modern features.

Here's our list today with 96% coverage:

>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
not kaios <= 2.5

Bumping some of these drops us to 94.4%:


>= 0.5%
last 2 major versions
not dead
**Chrome >= 105
**Firefox >= 121
Firefox ESR
**iOS >= 15.4
**Safari >= 15.4
not Explorer <= 11
not kaios <= 2.5

I targeted those versions to at least get :has(), but we may even want to further refine them and see what features we want access to without making folks upgrade to v6.

This in theory also goes well with the Sass modules support which will be a breaking change within v5.

More to come but I wanted to get this out there before I forgot and collect some initial thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions