Skip to content

fix(next): update to the latest version#7095

Merged
maxgfr merged 19 commits intodevfrom
maxgfr/update-some-libs
Feb 13, 2026
Merged

fix(next): update to the latest version#7095
maxgfr merged 19 commits intodevfrom
maxgfr/update-some-libs

Conversation

@maxgfr
Copy link
Copy Markdown
Member

@maxgfr maxgfr commented Feb 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 4, 2026 17:27
@revu-bot revu-bot Bot requested a review from revu-bot February 4, 2026 17:27
@maxgfr maxgfr had a problem deploying to build-preproduction February 4, 2026 17:27 — with GitHub Actions Failure
@maxgfr maxgfr requested a review from m-maillot February 4, 2026 17:27
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Feb 4, 2026

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Feb 4, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

Copy link
Copy Markdown
Collaborator

@revu-bot revu-bot left a comment

Choose a reason for hiding this comment

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

Summary

This PR updates Next.js and several related dependencies to their latest versions. The changes are primarily version bumps in package.json and corresponding lockfile updates.

Key Updates

  • Next.js: ~16.1.3~16.1.6
  • React: ~19.2.3~19.2.4
  • Cypress: ^15.4.0^15.9.0
  • Various minor dependencies: katex, memoizee, downshift, html-react-parser, etc.

Import Path Improvement

The import statement in queries.ts has been correctly consolidated to use the package's main export rather than a deep import path, which improves maintainability.

Overall Assessment

The changes appear safe and follow semantic versioning practices. The dependency updates are minor/patch versions that should maintain backward compatibility. No critical issues identified, though testing should verify compatibility with the new versions.

Copy link
Copy Markdown
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 PR updates Next.js from version 16.1.3 to 16.1.6 along with related dependency updates to maintain compatibility and resolve potential issues.

Changes:

  • Updated Next.js from 16.1.3 to 16.1.6
  • Updated React and React DOM from 19.2.3 to 19.2.4
  • Updated various related dependencies (Cypress, katex, memoizee, downshift, html-react-parser, etc.)
  • Fixed import path for getRouteBySource in queries.ts to use the standard package import instead of a deep import

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
pnpm-lock.yaml Updated dependency versions and peer dependency resolutions for Next.js 16.1.6, React 19.2.4, and related packages
packages/code-du-travail-frontend/package.json Updated package version specifiers to match the new versions in the lock file
packages/code-du-travail-frontend/src/modules/infographie/queries.ts Refactored import to use standard package import pattern instead of deep import path
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maxgfr maxgfr had a problem deploying to build-preproduction February 5, 2026 09:34 — with GitHub Actions Failure
@maxgfr maxgfr had a problem deploying to build-preproduction February 5, 2026 09:50 — with GitHub Actions Failure
@maxgfr maxgfr had a problem deploying to build-preproduction February 5, 2026 17:44 — with GitHub Actions Failure
@maxgfr maxgfr had a problem deploying to build-preproduction February 5, 2026 17:54 — with GitHub Actions Failure
@maxgfr maxgfr had a problem deploying to build-preproduction February 5, 2026 18:03 — with GitHub Actions Failure
@maxgfr maxgfr temporarily deployed to build-review-auto February 11, 2026 16:31 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-preproduction February 11, 2026 16:31 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-preproduction February 11, 2026 17:00 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-preproduction February 12, 2026 15:00 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-review-auto February 13, 2026 09:14 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-preproduction February 13, 2026 09:14 — with GitHub Actions Inactive
@maxgfr maxgfr requested a review from a team as a code owner February 13, 2026 10:04
@maxgfr maxgfr temporarily deployed to build-review-auto February 13, 2026 10:04 — with GitHub Actions Inactive
@maxgfr maxgfr temporarily deployed to build-preproduction February 13, 2026 10:04 — with GitHub Actions Inactive
@sonarqubecloud
Copy link
Copy Markdown

@tokenbureau
Copy link
Copy Markdown

tokenbureau Bot commented Feb 13, 2026

@maxgfr
Copy link
Copy Markdown
Member Author

maxgfr commented Feb 13, 2026

La CI est verte, je me permets de merger + j'ai modifié l'action Elasticsearch qui nous fait casser nos tests suite à ce problème : elastic/elastic-github-actions#47

@maxgfr maxgfr merged commit cc5feb6 into dev Feb 13, 2026
24 checks passed
@maxgfr maxgfr deleted the maxgfr/update-some-libs branch February 13, 2026 10:26
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.

3 participants