Skip to content

Upgrade React to v16 in XUI#201

Merged
pavelhoral merged 2 commits intoWrenSecurity:mainfrom
krausvo1:react_16_upgrade
Jun 13, 2025
Merged

Upgrade React to v16 in XUI#201
pavelhoral merged 2 commits intoWrenSecurity:mainfrom
krausvo1:react_16_upgrade

Conversation

@krausvo1
Copy link
Copy Markdown
Contributor

@krausvo1 krausvo1 commented Jun 12, 2025

This PR upgrades React and React-related dependencies to versions compatible with React 16 in XUI. React 16 is used since we upgraded wrensec-ui to 23.2.0.

Most of the required changes are related to PropTypes being separated to dedicated prop-types library. Apart from that and upgrades of other React-related dependencies, another big change is refactoring of Sessions page, where new component for asynchronous select input was added as a wrapper for react-select's Async component.

I have tested all pages where React components are used and haven't encountered any issues after the upgrade.

@krausvo1
Copy link
Copy Markdown
Contributor Author

I have dropped dependencies "react-bootstrap-table-next" and "react-bootstrap-table2-paginator" that I included accidentally.

Copy link
Copy Markdown
Member

@pavelhoral pavelhoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pavelhoral pavelhoral merged commit db68c1c into WrenSecurity:main Jun 13, 2025
2 checks passed
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