Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2021

Bumps @netlify/plugin-nextjs from 3.9.2 to 4.1.1.

Release notes

Sourced from @​netlify/plugin-nextjs's releases.

@​netlify/plugin-nextjs v4.1.1

Bug Fixes

  • fix bug that caused ISR pages to sometimes serve first built version (#1051) (62660b2)
  • force React to use production env (#1056) (eca0bee)

@​netlify/plugin-nextjs v4.1.0

Features

Bug Fixes

@​netlify/plugin-nextjs v4.0.0

This is a full rewrite of the Essential Next.js plugin, with a new architecture that gives greater compatibility and stability.

What's new

  • Full support for incremental static regeneration (ISR).
  • Full support for Next.js rewrites, redirects and headers.
  • Beta support for Next 12 Middleware
  • Faster builds and deploys. Instead of generating one function per route, there are just three functions per site and a much smaller list of rewrites.
  • Full support for Netlify's new persistent On-Demand Builders. Return fallback: "blocking" from getStaticPaths and your rendering will be deferred until the first page load, then persisted globally.
  • A new image server for next/image, built on Nuxt's ipx. This is a high-performance, framework-agnostic image server based on sharp. This implementation uses On-Demand Builders to persist transformed images globally. Improved source image caching reduces time-to-first-byte for new transforms.
  • Simplified configuration. You no longer need to set any Netlify-specific configuration options. For example, in a monorepo all you need to do is set publish to point to your .next directory and you can build the site in any way you like.
  • Removes requirement for the target to be set to serverless, which is deprecated in Next 12.
  • Bundling now uses Next.js's own node-file-trace, giving more predictable results and smaller uploads.

Breaking changes

The publish directory should point to the site's .next directory or distDir if set, rather than out as in previous versions of the plugin.

Migration guide

Change the publish directory to .next:

[build]
publish = ".next"

If you previously set these values, they're no longer needed and can be removed:

... (truncated)

Changelog

Sourced from @​netlify/plugin-nextjs's changelog.

4.1.1 (2021-12-21)

Bug Fixes

  • fix bug that caused ISR pages to sometimes serve first built version (#1051) (62660b2)
  • force React to use production env (#1056) (eca0bee)

4.1.0 (2021-12-17)

Features

Bug Fixes

4.0.0 (2021-12-14)

This is a full rewrite of the Essential Next.js plugin, with a new architecture that gives greater compatibility and stability.

What's new

  • Full support for incremental static regeneration (ISR).
  • Full support for Next.js rewrites, redirects and headers.
  • Beta support for Next 12 Middleware
  • Faster builds and deploys. Instead of generating one function per route, there are just three functions per site and a much smaller list of rewrites.
  • Full support for Netlify's new persistent On-Demand Builders. Return fallback: "blocking" from getStaticPaths and your rendering will be deferred until the first page load, then persisted globally.
  • A new image server for next/image, built on Nuxt's ipx. This is a high-performance, framework-agnostic image server based on sharp. This implementation uses On-Demand Builders to persist transformed images globally. Improved source image caching reduces time-to-first-byte for new transforms.
  • Simplified configuration. You no longer need to set any Netlify-specific configuration options. For example, in a monorepo all you need to do is set publish to point to your .next directory and you can build the site in any way you like.
  • Removes requirement for the target to be set to serverless, which is deprecated in Next 12.
  • Bundling now uses Next.js's own node-file-trace, giving more predictable results and smaller uploads.

Breaking changes

The publish directory should point to the site's .next directory or distDir if set, rather than out as in previous versions of the plugin.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by netlify-bot, a new releaser for @​netlify/plugin-nextjs since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 22, 2021
@netlify
Copy link

netlify bot commented Dec 22, 2021

❌ Deploy Preview for codegram-next-starter failed.

🔨 Explore the source changes: 30d0b51

🔍 Inspect the deploy log: https://app.netlify.com/sites/codegram-next-starter/deploys/61df73e98de39a0007a0d073

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/netlify/plugin-nextjs-4.1.1 branch from 3bc7e9d to db03bc8 Compare December 31, 2021 00:54
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/netlify/plugin-nextjs-4.1.1 branch 4 times, most recently from 4b9e646 to ae9501a Compare January 12, 2022 01:00
Bumps [@netlify/plugin-nextjs](https://github.com/netlify/netlify-plugin-nextjs) from 3.9.2 to 4.1.1.
- [Release notes](https://github.com/netlify/netlify-plugin-nextjs/releases)
- [Changelog](https://github.com/netlify/netlify-plugin-nextjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/netlify/netlify-plugin-nextjs/commits/v4.1.1)

---
updated-dependencies:
- dependency-name: "@netlify/plugin-nextjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/netlify/plugin-nextjs-4.1.1 branch from ae9501a to 30d0b51 Compare January 13, 2022 00:35
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2022

Superseded by #491.

@dependabot dependabot bot closed this Jan 14, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/netlify/plugin-nextjs-4.1.1 branch January 14, 2022 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant