chore!: next.js to v15.x (step towards v16) (#714)#759
Merged
Conversation
…and react 18 (#752) (#753) * chore!: update tanstack packages to latest (#752) * chore!: update isomorphic-dompurify to latest (#752) * chore!: update mui/material to latest (#752) * chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752) * chore!: update @commitlint/cli, @commitlint/config-conventional (#752) * chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752) * chore: update @testing-library/react to latest (#742) * chore: update storybook (#752) * chore: update @typescript-eslint/eslint-plugin to latest (#752) * chore: update eslint and eslint-config-prettier (#752) * chore: update eslint-related packages (#752) * chore: minor bump prettier (#752) * chore!: update package-lock (#752) * chore: udpate package-lock (#752) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>
* chore!: update tanstack packages to latest (#752) * chore!: update isomorphic-dompurify to latest (#752) * chore!: update mui/material to latest (#752) * chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752) * chore!: update @commitlint/cli, @commitlint/config-conventional (#752) * chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752) * chore: update @testing-library/react to latest (#742) * chore: update storybook (#752) * chore: update @typescript-eslint/eslint-plugin to latest (#752) * chore: update eslint and eslint-config-prettier (#752) * chore: update eslint-related packages (#752) * chore: minor bump prettier (#752) * chore!: update package-lock (#752) * chore: udpate package-lock (#752) * chore: migrate to prettier 3 and updated plugins (#754) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>
* chore!: next.js to v15.x (step towards v16) (#714) * Update src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request upgrades the project's dependencies to their latest versions, primarily focusing on updating React (v19), Next.js (v15), Material-UI (v7), and various development tools. The upgrade also includes code consistency improvements by adding trailing commas to function parameters and switching React imports from React to use the JSX namespace and createElement, aligning with React 18+ best practices.
Key Changes
- Major dependency upgrades including React 19, Next.js 15, Material-UI 7, and related ecosystem packages
- Updated import patterns from
import React from "react"toimport { JSX } from "react"across components - Added trailing commas to function parameters throughout the codebase for consistency
- Removed deprecated Next.js Link API usage (
legacyBehavior,passHref) in favor of direct component prop usage
Reviewed changes
Copilot reviewed 299 out of 688 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated devDependencies and peerDependencies to latest major versions |
| Multiple .tsx files | Changed React imports to use JSX namespace instead of default React import |
| Multiple .ts files | Added trailing commas to function parameters for consistency |
| src/components/ComponentCreator/ComponentCreator.tsx | Updated to use createElement from react instead of React.createElement |
| src/components/Project/components/DataReleasePolicy/dataReleasePolicy.tsx | Removed deprecated Next.js Link patterns |
| src/components/Project/components/Contacts/contacts.tsx | Simplified Link component usage |
| src/components/Layout/components/Nav/nav.tsx | Updated ListItemButton to use component prop with Link |
| src/components/Export/components/ExportMethod/exportMethod.tsx | Streamlined Link usage by removing wrapper pattern |
| src/components/Error/error.tsx | Updated button Link integration |
| src/components/MarkdownRenderer/markdownRenderer.tsx | Updated rehype-react integration for new version |
| docs/TRUSTED_PUBLISHING.md | Minor formatting fix |
...omponents/Index/components/EntityView/components/views/ChartView/hooks/UseChartView/types.ts
Show resolved
Hide resolved
NoopDog
approved these changes
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #714.
Closes #752.
Closes #754.
Closes #756.
This pull request primarily focuses on updating dependencies to their latest versions and improving code consistency across the codebase. The dependency upgrades help ensure compatibility with newer features, bug fixes, and security patches. Additionally, there are several minor code style improvements, such as consistently adding trailing commas to function parameters and arguments, and switching React imports to use the
JSXnamespace andcreateElementfor component creation.Dependency Updates:
package.json: Upgraded many devDependencies and peerDependencies to their latest versions, including core libraries such asreact,react-dom,next,@mui/material,typescript, and related tooling. This enhances stability, security, and compatibility with modern features.Code Consistency and Style Improvements:
Multiple files: Added trailing commas to function parameters and arguments for improved readability and consistency. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]
Switched React imports to use the
JSXnamespace andcreateElementfor component creation, aligning with React 18+ best practices and improving type safety. [1] [2] [3] [4] [5]Documentation:
docs/TRUSTED_PUBLISHING.md: Minor formatting improvement to the trusted publishing workflow instructions.