Skip to content

Latest commit

 

History

History
285 lines (155 loc) · 16.8 KB

CHANGELOG.md

File metadata and controls

285 lines (155 loc) · 16.8 KB

Changelog

3.6.3 (2021-07-07)

Bug Fixes

  • handle Storybook and other sites that don't build (#496) (9deacfb)

3.6.2 (2021-07-05)

Bug Fixes

  • deps: update dependency fastq to v1.11.1 (#476) (ca8549f)
  • try to resolve next modules via multiple paths (#479) (7d208c3)

3.6.1 (2021-07-01)

Bug Fixes

  • deps: update dependency commander to v8 (#447) (18a789a)
  • skip plugin if build command is empty (#471) (4d0524b)
  • update min Next.js version, and log current (#472) (fcb06fe)
  • use correct protocol for image source (#467) (4edbc73)

3.6.0 (2021-06-29)

Features

Bug Fixes

3.5.0 (2021-06-28)

Features

Bug Fixes

3.4.2 (2021-06-04)

Bug Fixes

3.4.1 (2021-06-04)

Bug Fixes

  • basePath is undefined when a site has no config file (#385) (7d01aba)

3.4.0 (2021-06-03)

Features

Bug Fixes

  • changes from review (09642bd)
  • deps: update dependency execa to v5.0.1 (28df64f)
  • deps: update dependency sharp to v0.28.3 (a3d4b20)
  • extract target checks (a1ab7bf)
  • fix tests (630cb1a)
  • watch: add missing bin property (#355) (5a70c61)

3.3.1 (2021-05-25)

Bug Fixes

  • add sharp optimisations (75de7f2)
  • catch oversize image response (7ab5aa0)
  • changes from review (b27f30d)
  • deps: update dependency @netlify/functions to ^0.7.2 (10dc8d2)
  • handle image rotation (e6938da)
  • refactor image function (6b2e413)
  • use allowlist for remote images (20b1288)

Performance Improvements

  • parallelize page processing (7184379)

3.3.0 (2021-05-14)

Features

  • next/image improvements (sharp + on demand builders) (#295) (088f267)

Bug Fixes

  • deps: move execa to prod (#283) (7e02782)
  • dynamic imports with webpack 5 (ce4308a)
  • dynamic imports with webpack 5 (#294) (ec62ee3)
  • preserve function directory structure (4847929)

3.2.2 (2021-05-03)

Bug Fixes

  • support isDynamicRoute in sls-next >=1.8.0 (#266) (3901302)

3.2.1 (2021-05-03)

Bug Fixes

  • deps: update dependency moize to v6.0.3 (bef04fd)
  • nextConfig was memoized too early (#264) (c5d88a4)

3.2.0 (2021-04-29)

Features

Bug Fixes

  • deps: update dependency chalk to v4.1.1 (eda3d1f)
  • deps: update dependency moize to v6.0.2 (24702ab)

3.1.0 (2021-04-11)

Features

  • unstableNetlifyFunctionsSupport.includeDirs configuration (#182) (2953faa)

Bug Fixes

  • deps: update dependency find-up to v5 (#138) (757ba52)
  • deps: update dependency semver to v7.3.5 (5a92dd2)
  • fix minimum Next.js version (54c2b1e)

3.0.3 (2021-03-12)

Bug fixes

  • Fix memoization when retrieving next.config.js (#128)

3.0.2 (2021-03-11)

Bug fixes

  • Fix missing find-cache-dir (#127)

3.0.1 (2021-03-11)

Bug fixes

  • Fix errors while loading next.config.js (#124)
  • Fix errors when next is not installed (#123)
  • Fix missing await keyword (#122)

Chore

  • Reduce the npm package size (#109)

3.0.0 (2021-03-08)

  • feat: merge next-on-netlify into @netlify/plugin-nextjs

    This improves our ability to maintain the plugin, reduces confusion about how to configure Next.js support for Netlify builds, and prepares the plugin for something we're pretty dang excited about: automatic installation for new Next.js projects!

NOTE: There are no breaking changes for existing plugin users. This is a major release because we're bringing an external package into the plugin and turning on automatic installation for new Next.js projects on Netlify. This doesn't break anything, but it's a big enough change that we wanted to treat it as a major release.

  • fix: next 10.0.8 changes loadConfig to be async (#105)

Migrating from v2 to v3

If you've installed this plugin via Netlify's UI, no action is necessary. The upgrade is automatic.

If you've installed this plugin manually in your netlify.toml, you can upgrade two ways:

  1. Manually update to the latest version using npm i @netlify/plugin-nextjs@latest.
  2. If you prefer to automatically get updates, remove this plugin from your project and netlify.toml, then install the plugin using the Netlify UI.

Migrating from the original next-on-netlify package

As part of the 3.0.0 release, next-on-netlify has been deprecated and merged into the Essential Next.js Build Plugin. If your site is using the next-on-netlify package, you'll need to switch over to the plugin to get future updates.

For instructions on migrating from next-on-netlify to the Essential Next.js Build Plugin, please see the migration guide on the next-on-netlify repo.

2.0.1 (2021-02-17)

  • fail build if plugin cant load next.config.js (#99)
  • chore: decrease package size (#101)
  • remove Next as a peer dependency (#96)
  • update failure points in plugin to do nothing instead (#94)

2.0.0 (2021-02-04)

  • feature: use new default functions directory (#87)

1.1.2 (2021-03-16)

  • backport update failure points in plugin to do nothing instead to v1 (#146)

1.1.1 (2021-02-02)

1.1.0 (2021-01-27)

1.0.9 (2021-01-26)

1.0.8 (2021-01-18)

  • upgrade NoN to 2.8.4 (fixes file tracking for nonexistent dirs) (#86)

1.0.7 (2021-01-18)

  • upgrade NoN to 2.8.3 (reverts next/image support)

1.0.6 (2021-01-16)

  • upgrade NoN to 2.8.2; explain CLI usage workflow in README; add jimp (#83)
  • update next.config.js target error message to be more clear (78a0986)

1.0.5 (2021-01-07)

  • upgrade next-on-netlify version to 2.7.2 (#77)

1.0.4 (2021-01-06)

  • upgrade next-on-netlify version to 2.7.1 (#76)

1.0.3 (2020-12-21)

  • Fix: use site's Next.js version (#73)
  • Fix: next export unused script mistakenly failed builds (#72)
  • Miscellaneous testing
  • Miscellaneous README changes

1.0.2 (2020-11-10)

  • Fix React peer dependency (#60)

1.0.1 (2020-11-19)

  • Fix: require('next') until plugin pre-installs are fixed internally (#57)

1.0.0 (2020-11-18)

  • Beta release of zero-config and UI-one-click plugin install