Skip to content

Release: v7.0.1#669

Merged
sherakama merged 2 commits intomainfrom
release/v7.0.1
Dec 12, 2025
Merged

Release: v7.0.1#669
sherakama merged 2 commits intomainfrom
release/v7.0.1

Conversation

@sherakama
Copy link
Member

READY FOR REVIEW

Summary

Copilot AI review requested due to automatic review settings December 11, 2025 23:50
@sherakama sherakama added the patch patch label Dec 11, 2025
@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for adapt-giving ready!

Name Link
🔨 Latest commit 9e8766e
🔍 Latest deploy log https://app.netlify.com/projects/adapt-giving/deploys/693b58d8f03e8600089478aa
😎 Deploy Preview https://deploy-preview-669--adapt-giving.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 is a security release (v7.0.1) addressing CVE-2025-55184 through dependency updates, particularly upgrading Next.js, React, and ESLint-related packages. The PR also includes code quality improvements by refactoring React hooks patterns and modernizing the ESLint configuration to use the flat config format.

  • Upgraded critical dependencies: Next.js (16.0.7 → 16.0.10), React/React-DOM (19.2.1 → 19.2.3), and eslint-config-next (15.5.3 → 16.0.10)
  • Refactored components to use useMemo instead of useState/useEffect for derived values, improving performance
  • Modernized ESLint configuration from FlatCompat wrapper to native flat config format

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
package.json Updated dependencies for Next.js, React, React-DOM, and eslint-config-next to address security vulnerability
package-lock.json Lock file updates reflecting dependency upgrades including new Babel packages and TypeScript ESLint v8.49.0
eslint.config.mjs Refactored to use flat config format directly, removing FlatCompat wrapper and reorganizing rule configurations
utilities/data/getStoryData.ts Removed eslint-disable comment for no-explicit-any (but still uses any type)
tailwind/plugins/base/base.ts Removed eslint-disable comment for no-unsafe-function-type (but still uses Function type)
components/Search/Search.tsx Removed eslint-disable comment for no-explicit-any (but still uses any[] type)
components/Storyblok/partials/SbLink.tsx Refactored from useState/useEffect to useMemo for URL computation with UTMs
components/Cta/CtaExternalLink.tsx Refactored from useState/useEffect to useMemo for external link href with UTMs
components/Accordion/Accordion.tsx Optimized initial state computation using useState initializer function instead of useEffect
components/Storyblok/SbSupportPage/SbSupportPage.tsx Added eslint-disable for new react-hooks/set-state-in-effect rule
components/Search/Modal/SearchModalContext.tsx Added eslint-disable for new react-hooks/set-state-in-effect rule

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

Copy link
Member

@yvonnetangsu yvonnetangsu left a comment

Choose a reason for hiding this comment

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

Quick check components that were updated and all still seems to be good 👍🏼 Thanks!

@sherakama sherakama merged commit f68297b into main Dec 12, 2025
16 checks passed
@sherakama sherakama deleted the release/v7.0.1 branch December 12, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants