Skip to content

Upgrade non-breaking dependencies compatible with Next.js 14 and React 18 #752

@frano-m

Description

@frano-m

Summary

Upgrade dependencies that are compatible with our current Next.js 14 and React 18 stack before the major Next.js 15/React 19 upgrade. This reduces the scope of the major upgrade and ensures we're on the latest stable versions of supporting packages.

Motivation

  • Prepare codebase for Next.js 15/React 19 upgrade by updating compatible dependencies first
  • Reduce the complexity of the major upgrade PR

Packages to Update

devDependencies

  • @commitlint/cli: 17.8.1 → 20.2.0
  • @commitlint/config-conventional: 17.8.1 → 20.2.0
  • @emotion/jest: 11.13.0 → 11.14.2
  • @storybook/nextjs-vite: 10.1.7 → 10.1.10
  • @testing-library/react: 16.3.0 → 16.3.1
  • @types/uuid: 8.3.4 → 10.0.0
  • @typescript-eslint/eslint-plugin: 8.49.0 → 8.50.0
  • eslint-config-prettier: 8.10.2 → 10.1.8
  • eslint-plugin-jsdoc: 48.11.0 → 61.5.0
  • eslint-plugin-sonarjs: 0.18.0 → 3.0.5
  • eslint-plugin-sort-destructure-keys: 1.6.0 → 2.0.0
  • eslint-plugin-storybook: 10.1.7 → 10.1.10
  • husky: 8.0.3 → 9.1.7
  • prettier: 2.8.8 → 3.7.4
  • prettier-plugin-organize-imports: 3.2.4 → 4.3.0
  • storybook: 10.1.7 → 10.1.10
  • typescript: 5.5.4 → 5.7.2

peerDependencies

  • @emotion/react: 11.13.3 → 11.14.0
  • @emotion/styled: 11.13.0 → 11.14.1
  • @mui/icons-material: 7.0.1 → 7.3.6
  • @mui/material: 7.0.1 → 7.3.6
  • @tanstack/react-table: 8.19.2 → 8.20.6
  • @tanstack/react-virtual: 3.13.12 → 3.16.0
  • isomorphic-dompurify: 2.22.0 → 2.34.0
  • react-dropzone: 14.2.3 → 14.3.8
  • uuid: 8.3.2 → 13.0.0

Out of Scope

The following will be upgraded in a separate PR (Next.js 15/React 19 upgrade):

  • Next.js (14 → 15)
  • React (18 → 19)
  • React DOM (18 → 19)
  • ESLint (8 → 9) - requires config migration
  • Related Next.js packages (@next/eslint-plugin-next, eslint-config-next)
  • MDX/unified packages (may have breaking changes with Next.js 15)

Related Issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions