chapter-three / next-drupal

Next.js for Drupal has everything you need to build a next-generation front-end for your Drupal site: SSG, SSR, and ISR, Multi-site, Authentication, Webforms, Search API, I18n and Preview mode (works with JSON:API and GraphQL).
https://next-drupal.org
MIT License
640 stars 178 forks source link

Adding D11 support for nextjs. #778

Closed apathak18 closed 1 month ago

apathak18 commented 5 months ago

This pull request is for: (mark with an "x")

GitHub Issue: # Please add a link to the GitHub issue: https://github.com/chapter-three/next-drupal/issues/777 where this problem is discussed. Getting ready for this

Describe your changes

A clear and concise description of what the request is.

If applicable, add screenshots to help explain your issue.

vercel[bot] commented 5 months ago

@apathak18 is attempting to deploy a commit to the Chapter Three Team on Vercel.

A member of the Team first needs to authorize it.

apathak18 commented 5 months ago

@shadcn I'm not able to add the reviewer and other pipelines are blocked without reviewer. Could you please review the PR and check if any changes required to support D11.

apathak18 commented 4 months ago

@shadcn could you please review this PR and check if its looks for D11 compatible release?

apathak18 commented 3 months ago

@JohnAlbin, Validated with these changes and it is running the site without any error!! Content syncing and image rendering ~~ attaching the screenshots for the same

Screenshot 2024-08-03 at 6 45 01 PM Screenshot 2024-08-03 at 6 44 52 PM
apathak18 commented 3 months ago

I've refractor the tests to move delete action log after revalidate as I've noticed it is logging after revalidating (Reason delete event fire on hook_entity_predelete)

Screenshot 2024-08-06 at 2 12 00 PM

Tests output for D11

Screenshot 2024-08-06 at 2 29 08 PM
apathak18 commented 3 months ago

@JohnAlbin Please review this PR and let me know if any other changes required.

backlineint commented 1 month ago

This has been released as 2.0.0-beta1: https://www.drupal.org/project/next/releases/2.0.0-beta1