Skip to content

feat: support Next 13 #1714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 25, 2022
Merged

feat: support Next 13 #1714

merged 6 commits into from
Oct 25, 2022

Conversation

ascorbic
Copy link
Contributor

Summary

Updates the test sites and dependencies to Next 13 (actually 12.3.2-canary.43, but that is the same as next 13, which isn;t yet in npm)

Test plan

  1. Check the deploy previews and e2e tests!

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

image

Standard checks:

  • Check the Deploy Preview's Demo site for your PR's functionality
  • Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

@ascorbic ascorbic requested a review from a team October 25, 2022 13:49
@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-nx-monorepo-demo/deploys/63580df0c1f57e000820e20a
😎 Deploy Preview https://deploy-preview-1714--netlify-plugin-nextjs-nx-monorepo-demo.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-next-auth-demo/deploys/63580df0580f310009065409
😎 Deploy Preview https://deploy-preview-1714--netlify-plugin-nextjs-next-auth-demo.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for netlify-plugin-nextjs-export-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-export-demo/deploys/63580df0a996eb0009959128
😎 Deploy Preview https://deploy-preview-1714--netlify-plugin-nextjs-export-demo.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for next-plugin-edge-middleware ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-edge-middleware/deploys/63580df01c8b370009fc3036
😎 Deploy Preview https://deploy-preview-1714--next-plugin-edge-middleware.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 site settings.

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Oct 25, 2022
@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-static-root-demo/deploys/63580df069099f0009ccefe8
😎 Deploy Preview https://deploy-preview-1714--netlify-plugin-nextjs-static-root-demo.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for next-i18next-demo failed.

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/next-i18next-demo/deploys/63580df09a01d500081d25c5

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for nextjs-plugin-custom-routes-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/nextjs-plugin-custom-routes-demo/deploys/63580df053afba0008519aa8
😎 Deploy Preview https://deploy-preview-1714--nextjs-plugin-custom-routes-demo.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for next-plugin-canary ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-canary/deploys/63580df053afba0008519aa4
😎 Deploy Preview https://deploy-preview-1714--next-plugin-canary.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 site settings.

@netlify
Copy link

netlify bot commented Oct 25, 2022

Deploy Preview for netlify-plugin-nextjs-demo ready!

Name Link
🔨 Latest commit af713f6
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-demo/deploys/63580df0824e5d0008ceeff3
😎 Deploy Preview https://deploy-preview-1714--netlify-plugin-nextjs-demo.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 site settings.

@ascorbic
Copy link
Contributor Author

I've disabled Node 12 tests in branch protections. Once this is in we can start requiring the Node 14 tests instead

@ascorbic
Copy link
Contributor Author

ascorbic commented Oct 25, 2022

@ericapisani the next/image tests are failing at the moment. The images seem to display fine, but the tests fail. I'm going to switch them to use next/legacy/image and we can look into why the new component is breaking thing.

@ascorbic
Copy link
Contributor Author

The I18next site is failing because it doesn't like the canary version number. Updating to 13.0.0 should fix that.

@@ -1,5 +1,5 @@
import Head from 'next/head'
import Image from 'next/image'
import Image from 'next/legacy/image'

Choose a reason for hiding this comment

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

Is this temporary until the image tests get working in this PR or are we switching back to the new next/image post this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we do it post this PR

@ascorbic ascorbic changed the title chore(deps): update demos and deps to Next 13 feat: support Next 13 Oct 25, 2022
@github-actions github-actions bot added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Oct 25, 2022
Copy link

@nickytonline nickytonline left a comment

Choose a reason for hiding this comment

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

The changes look good. Assuming all checks pass, this is good to 🚀

@ascorbic
Copy link
Contributor Author

The i18next demo will fail to build for now (until Next 13 is published to npm), but aside from that it should all be good to go.

@nickytonline nickytonline mentioned this pull request Oct 25, 2022
6 tasks
@kodiakhq kodiakhq bot merged commit efcb47a into main Oct 25, 2022
@kodiakhq kodiakhq bot deleted the mk/next-13 branch October 25, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge type: chore work needed to keep the product and development running smoothly type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants