Brijesh Bhalala created ATLAS-5382:
--------------------------------------

             Summary: Atlas React UI: Upgrade react-router and react-router-dom 
from v6 to v7
                 Key: ATLAS-5382
                 URL: https://issues.apache.org/jira/browse/ATLAS-5382
             Project: Atlas
          Issue Type: Task
          Components:  atlas-core
    Affects Versions: 2.5.0, 3.0.0
            Reporter: Brijesh Bhalala
            Assignee: Brijesh Bhalala


*Background:*
The Atlas React UI (`/dashboard`) is currently using `react-router` and 
`react-router-dom` at version `v6.30.4`. We need to upgrade these core routing 
libraries to the latest v7 release line (e.g., `^7.18.2`) to keep the 
dashboard's dependencies modern and up-to-date.

*Scope:*
Because upgrading from React Router v6 to v7 is a major architectural change 
that can subtly impact routing behavior, data loaders, and history handling, it 
was deemed out-of-scope and too risky for the general dependency bump ticket 
(ATLAS-5348).

This ticket specifically tracks the dedicated effort to:
1. Upgrade `react-router-dom` and `react-router` from `v6.30.4` to `^7.18.2`.
2. Refactor any deprecated routing APIs and address any breaking changes 
required by the v7 migration.
3. Update the Jest testing configuration to support the new internal 
requirements of v7 (e.g., adding `TextEncoder` polyfills).
4. Thoroughly verify all routing paths, history operations, and browser 
navigation within the React UI to ensure they function correctly under the new 
major version.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to