Skip to content

Conversation

@frano-m
Copy link
Contributor

@frano-m frano-m commented Jan 6, 2026

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 JSX namespace and createElement for component creation.

Dependency Updates:

  • package.json: Upgraded many devDependencies and peerDependencies to their latest versions, including core libraries such as react, react-dom, next, @mui/material, typescript, and related tooling. This enhances stability, security, and compatibility with modern features.

Code Consistency and Style Improvements:

Documentation:

frano-m and others added 4 commits January 5, 2026 20:53
…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 <[email protected]>
* 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 <[email protected]>
* chore: update jest v29 (#756)

* chore!: rebased (#756)

---------

Co-authored-by: Fran McDade <[email protected]>
* chore!: next.js to v15.x (step towards v16) (#714)

* Update src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Fran McDade <[email protected]>
Co-authored-by: Copilot <[email protected]>
@frano-m frano-m requested review from NoopDog and Copilot January 6, 2026 07:13
@frano-m frano-m changed the title Fran/714 nextjs upgrade chore!: next.js to v15.x (step towards v16) (#714) Jan 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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" to import { 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

@frano-m frano-m marked this pull request as ready for review January 6, 2026 08:33
@NoopDog NoopDog merged commit b312990 into main Jan 6, 2026
2 checks passed
@frano-m frano-m deleted the fran/714-nextjs-upgrade branch January 6, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants