Skip to content

[v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui#67334

Merged
pierrejeambrun merged 1 commit into
apache:v3-2-testfrom
astronomer:backport-65811
May 22, 2026
Merged

[v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui#67334
pierrejeambrun merged 1 commit into
apache:v3-2-testfrom
astronomer:backport-65811

Conversation

@pierrejeambrun
Copy link
Copy Markdown
Member

Backport of #65811 to v3-2-test.

Cherry-picked from f1a3050.

Clean cherry-pick, no conflicts — git auto-merged package.json and pnpm-lock.yaml.

Fixes #67309 (UI layout persistent RTL rendering after multiple browser refreshes on the Dag detail page in 3.2.2rc1). The persistent RTL state is caused by a useTranslation re-render race in react-i18next 15.5.1: useSyncExternalStore's subscribe callback attaches after first commit, and on a fast-loading production bundle the post-init languageChanged event can fire before the listener is set, so the component renders with the i18next default direction ("rtl") and never re-renders with the resolved language. react-i18next 16.x reworked the hook subscription path so the event isn't dropped.

The bump has been on main since 2026-04-27 but was never backported to the 3.2 release branch, so 3.2.2rc1 shipped with the buggy version.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.7)

Generated-by: Claude Code (Opus 4.7) following the guidelines

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label May 22, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.2.2 milestone May 22, 2026
…/ui (apache#65811)

Bumps [react-i18next](https://github.com/i18next/react-i18next) from 15.5.1 to 16.6.5.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/react-i18next@v15.5.1...v16.6.5)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-version: 16.6.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f1a3050)
@pierrejeambrun
Copy link
Copy Markdown
Member Author

Unrelated CI failures, merging. playright install keeps failing.

@pierrejeambrun pierrejeambrun merged commit 351181e into apache:v3-2-test May 22, 2026
145 of 151 checks passed
@pierrejeambrun pierrejeambrun deleted the backport-65811 branch May 22, 2026 22:41
@choo121600
Copy link
Copy Markdown
Member

@vatsrahul1001 @pierrejeambrun
This has been resolved here. Could you take another look when you have a chance?
#67398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants