Skip to content

Conversation

tommaso1
Copy link
Collaborator

@tommaso1 tommaso1 commented Sep 4, 2025

List of Changes

  • Upgrade Next.js from 14.2.30 to 15.1.6
  • Update eslint-config-next to match Next.js version
  • Migrate all page components to use async params pattern required by Next.js 15
  • Create ClientDynamicComponents wrapper for SSR-disabled components
  • Replace ssr: false usage in Server Components with client components
  • Update revalidate configuration to use numeric values instead of constants
  • Fix all page.tsx files to await params before usage
  • Update generateMetadata functions to handle Promise

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

  - Upgrade Next.js from 14.2.30 to 15.1.6
  - Update eslint-config-next to match Next.js version
  - Migrate all page components to use async params pattern required by Next.js 15
  - Create ClientDynamicComponents wrapper for SSR-disabled components
  - Replace ssr: false usage in Server Components with client components
  - Update revalidate configuration to use numeric values instead of constants
  - Fix all page.tsx files to await params before usage
  - Update generateMetadata functions to handle Promise<Params>

  All builds now pass successfully with the new Next.js 15 architecture.
Copy link

changeset-bot bot commented Sep 4, 2025

🦋 Changeset detected

Latest commit: 8bec0d2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
infrastructure Minor
nextjs-website Patch
cognito-functions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@marcobottaro marcobottaro changed the title [DEV-2561] next 15 [DEV-2561] Upgrade to Next.js 15 Sep 5, 2025
@marcobottaro marcobottaro changed the base branch from main to DEV-2699-test-rapidoc September 5, 2025 11:08
"next": "^15.1.6",
"next-intl": "^2.20.2",
"qs": "^6.11.2",
"react": "^18.3.1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason why you are not upgrading to react 19? Could this next 15 upgrade be compatible with Stoplight Elements?

};
// TODO: remove when release notes metadata will be managed in strapi
export const revalidate = REVALIDATE_LONG_INTERVAL;
export const revalidate = 3600; // 1 hour
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you removing this const?

Comment on lines 38 to 43
if (isServer) {
config.externals.push({
'@aws-sdk/client-dynamodb': 'commonjs @aws-sdk/client-dynamodb',
'@aws-sdk/credential-providers': 'commonjs @aws-sdk/credential-providers',
});
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you pushing these libraries conditionally?

uolter and others added 5 commits September 9, 2025 15:08
* update cognito custom message funtion

* + changeset
…1667)

* script to update dynamodb item with expiresAt attribute

* update script and readmefile

* + requirements.txt file
* fix gemini models

* fix missed var region in new module onenext + changeset

* remplaced location with region as per requirement inside the module.

* nope: location is still required
* removed action ListBucket in cloudront identity

* + mchangeset

* fix typo in changeset
Copy link
Contributor

Branch is not up to date with base branch

@tommaso1 it seems this Pull Request is not updated with base branch.
Please proceed with a merge or rebase to solve this.

Copy link
Contributor

This PR exceeds the recommended size of 800 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Copy link
Contributor

github-actions bot commented Sep 18, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue DEV-2561

Copy link
Contributor

github-actions bot commented Oct 8, 2025

This pull request is stale because it has been open for 14 days with no activity. If the pull request is still valid, please update it within 21 days to keep it open or merge it, otherwise it will be closed automatically.

@github-actions github-actions bot added the stale label Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants