Skip to content

web, website: update browserslist#14386

Merged
BeryJu merged 1 commit intogoauthentik:mainfrom
dominic-r:sdko/update-browserlist
May 5, 2025
Merged

web, website: update browserslist#14386
BeryJu merged 1 commit intogoauthentik:mainfrom
dominic-r:sdko/update-browserlist

Conversation

@dominic-r
Copy link
Member

Updates browser list in web and website using npx update-browserslist-db@latest

Our list was more than 7 months outdated.

Why to update:

This update will bring data about new browsers to polyfill tools like Autoprefixer or Babel and reduce already unnecessary polyfills.

You need to do it regularly for three reasons:

  1. To use the latest browser’s versions and statistics in queries like last 2 versions or >1%. For example, if you created your project 2 years ago and did not update your dependencies, last 1 version will return 2-year-old browsers.
  2. Actual browser data will lead to using less polyfills. It will reduce size of JS and CSS files and improve website performance.
  3. caniuse-lite deduplication: to synchronize versions in different tools.

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

Updates browser list in web and website using `npx
update-browserslist-db@latest`

Our list was more than 7 months outdated.

Why to update:
> This update will bring data about new browsers to polyfill tools like Autoprefixer or Babel and reduce already unnecessary polyfills.
>
> You need to do it regularly for three reasons:
>
> 1. To use the latest browser’s versions and statistics in queries like last 2 versions or >1%. For example, if you created your project 2 years ago and did not update your dependencies, last 1 version will return 2-year-old browsers.
> 2. Actual browser data will lead to using less polyfills. It will reduce size of JS and CSS files and improve website performance.
> 3. caniuse-lite deduplication: to synchronize versions in different tools.
@dominic-r dominic-r requested review from a team as code owners May 5, 2025 03:20
@netlify
Copy link

netlify bot commented May 5, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 4e19d10
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/68182e7b2ee3c700082cd48a
😎 Deploy Preview https://deploy-preview-14386--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented May 5, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 4e19d10
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/68182e7bf67a980008bca1c5
😎 Deploy Preview https://deploy-preview-14386--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented May 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.76%. Comparing base (8a5381e) to head (4e19d10).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14386      +/-   ##
==========================================
+ Coverage   92.70%   92.76%   +0.05%     
==========================================
  Files         809      809              
  Lines       41533    41533              
==========================================
+ Hits        38504    38527      +23     
+ Misses       3029     3006      -23     
Flag Coverage Δ
e2e 47.85% <ø> (+0.07%) ⬆️
integration 24.39% <ø> (ø)
unit 90.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@BeryJu BeryJu changed the title web,website: update browserslist web, website: update browserslist May 5, 2025
@BeryJu BeryJu merged commit eb31f31 into goauthentik:main May 5, 2025
90 checks passed
@dominic-r dominic-r deleted the sdko/update-browserlist branch May 5, 2025 13:02
kensternberg-authentik added a commit that referenced this pull request May 5, 2025
* main: (99 commits)
  web, website: update browserslist (#14386)
  core, web: update translations (#14383)
  website/integrations: add atlassian (#14209)
  core: bump github.com/pires/go-proxyproto from 0.8.0 to 0.8.1 (#14388)
  ci: bump golangci/golangci-lint-action from 7 to 8 (#14389)
  core: bump axllent/mailpit from v1.24.1 to v1.24.2 in /tests/e2e (#14390)
  translate: Updates for file web/xliff/en.xlf in it (#14372)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14374)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#14375)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in pt (#14379)
  website/integrations: Fix outpost link for Home Assistant configuration (#14382)
  website/docs: fix leftover placeholder in release notes (#14377)
  website/integrations: minio: fix typo (#14376)
  core: bump goauthentik/fips-python from 3.12.10-slim-bookworm-fips to 3.13.3-slim-bookworm-fips (#12763)
  core: bump axllent/mailpit from v1.6.5 to v1.24.1 in /tests/e2e (#14341)
  core: bump selenium/standalone-chrome from 122.0 to 135.0 in /tests/e2e (#14342)
  core: bump lxml from 5.3.2 to v5.4.0 (#14355)
  core: bump azure-core from 1.33.0 to v1.34.0 (#14345)
  core: bump boto3 from 1.37.35 to v1.38.7 (#14346)
  core: bump celery from 5.5.1 to v5.5.2 (#14347)
  ...
kensternberg-authentik added a commit that referenced this pull request May 6, 2025
* main: (112 commits)
  web: cleanup/loading attribute always true (#14288)
  core: bump selenium from 4.31.0 to v4.32.0 (#14394)
  website/docs: Update Docusaurus config. Prep for version picker. (#14401)
  core: bump golang.org/x/oauth2 from 0.29.0 to 0.30.0 (#14405)
  core: bump golang.org/x/sync from 0.13.0 to 0.14.0 (#14406)
  core: bump selenium/standalone-chrome from 135.0 to 136.0 in /tests/e2e (#14407)
  core, web: update translations (#14402)
  core: bump boto3 from 1.38.7 to v1.38.8 (#14393)
  core: bump setuptools from 80.1.0 to v80.3.1 (#14395)
  core: bump twilio from 9.5.2 to v9.6.0 (#14396)
  website/docs: add one more reference and link about `can view Admin interface` (#14399)
  website/docs: Update deps. (#14397)
  website/docs: Add pkg-config to the brew dependencies (#14398)
  web, website: update browserslist (#14386)
  core, web: update translations (#14383)
  website/integrations: add atlassian (#14209)
  core: bump github.com/pires/go-proxyproto from 0.8.0 to 0.8.1 (#14388)
  ci: bump golangci/golangci-lint-action from 7 to 8 (#14389)
  core: bump axllent/mailpit from v1.24.1 to v1.24.2 in /tests/e2e (#14390)
  translate: Updates for file web/xliff/en.xlf in it (#14372)
  ...
kensternberg-authentik added a commit that referenced this pull request May 22, 2025
* main: (45 commits)
  web, website: update browserslist (#14386)
  core, web: update translations (#14383)
  website/integrations: add atlassian (#14209)
  core: bump github.com/pires/go-proxyproto from 0.8.0 to 0.8.1 (#14388)
  ci: bump golangci/golangci-lint-action from 7 to 8 (#14389)
  core: bump axllent/mailpit from v1.24.1 to v1.24.2 in /tests/e2e (#14390)
  translate: Updates for file web/xliff/en.xlf in it (#14372)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14374)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#14375)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in pt (#14379)
  website/integrations: Fix outpost link for Home Assistant configuration (#14382)
  website/docs: fix leftover placeholder in release notes (#14377)
  website/integrations: minio: fix typo (#14376)
  core: bump goauthentik/fips-python from 3.12.10-slim-bookworm-fips to 3.13.3-slim-bookworm-fips (#12763)
  core: bump axllent/mailpit from v1.6.5 to v1.24.1 in /tests/e2e (#14341)
  core: bump selenium/standalone-chrome from 122.0 to 135.0 in /tests/e2e (#14342)
  core: bump lxml from 5.3.2 to v5.4.0 (#14355)
  core: bump azure-core from 1.33.0 to v1.34.0 (#14345)
  core: bump boto3 from 1.37.35 to v1.38.7 (#14346)
  core: bump celery from 5.5.1 to v5.5.2 (#14347)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants