Release notes
*Sourced from [next's releases](https://github.com/zeit/next.js/releases).*
> ## v9.0.0
> ### Major
>
> - Remove `withAmp` and do not expose `isInAmpMode`: [#7690](https://github-redirect.dependabot.com/zeit/next.js/issues/7690)
>
>
> ### Minor
>
> - Add Typescript compilation: [#7110](https://github-redirect.dependabot.com/zeit/next.js/issues/7110)
> - Add support for /public: [#7213](https://github-redirect.dependabot.com/zeit/next.js/issues/7213)
> - Add API routes support: [#7296](https://github-redirect.dependabot.com/zeit/next.js/issues/7296)
> - Make next/dynamic loading component return `null` by default: [#7695](https://github-redirect.dependabot.com/zeit/next.js/issues/7695)
> - Automatic static optimization: [#7666](https://github-redirect.dependabot.com/zeit/next.js/issues/7666)
>
> ### Patches
>
> - Add declaration files to /dist: [#7118](https://github-redirect.dependabot.com/zeit/next.js/issues/7118)
> - Updated broken test in Windows: [#7124](https://github-redirect.dependabot.com/zeit/next.js/issues/7124)
> - Add AMP label to AMP only pages in build tree: [#7123](https://github-redirect.dependabot.com/zeit/next.js/issues/7123)
> - More Specific Info on Script Loading Error: [#7108](https://github-redirect.dependabot.com/zeit/next.js/issues/7108)
> - Make next export respect experimental.exportTrailingSlash: [#6752](https://github-redirect.dependabot.com/zeit/next.js/issues/6752)
> - Add more TypeScript types: [#7054](https://github-redirect.dependabot.com/zeit/next.js/issues/7054)
> - Rewrote .circleci/config.yml to 2.1 schema: [#7103](https://github-redirect.dependabot.com/zeit/next.js/issues/7103)
> - Wait for entry to resolve in production build: [#7104](https://github-redirect.dependabot.com/zeit/next.js/issues/7104)
> - Fix: add repository to next-server package.json: [#7105](https://github-redirect.dependabot.com/zeit/next.js/issues/7105)
> - Update types for with-router: [#7106](https://github-redirect.dependabot.com/zeit/next.js/issues/7106)
> - Replace the typescript compiler with @babel/preset-typescript: [#7016](https://github-redirect.dependabot.com/zeit/next.js/issues/7016)
> - Revert "Detect built ins in externals " ([#7107](https://github-redirect.dependabot.com/zeit/next.js/issues/7107)): [#7083](https://github-redirect.dependabot.com/zeit/next.js/issues/7083)
> - Update removing AMP pages to not require during build: [#7081](https://github-redirect.dependabot.com/zeit/next.js/issues/7081)
> - Make styles compatible in AMP mode: [#7060](https://github-redirect.dependabot.com/zeit/next.js/issues/7060)
> - Cache Babel and AutoDll plugin in `dirDir/cache`: [#7102](https://github-redirect.dependabot.com/zeit/next.js/issues/7102)
> - Remove un-needed config from example: [#7055](https://github-redirect.dependabot.com/zeit/next.js/issues/7055)
> - Update AMP example: [#7056](https://github-redirect.dependabot.com/zeit/next.js/issues/7056)
> - Update AMP example to AMP-first wording: 549965282045beda0cf0b31823b35a13014a0d6b
> - Update dependency to fix with-next-page-transitions example: [#7049](https://github-redirect.dependabot.com/zeit/next.js/issues/7049)
> - Add test for /dashboard/index: [#7065](https://github-redirect.dependabot.com/zeit/next.js/issues/7065)
> - With-apollo example: explicitly pass fetch to HttpLink: [#7072](https://github-redirect.dependabot.com/zeit/next.js/issues/7072)
> - Update fela example: [#7051](https://github-redirect.dependabot.com/zeit/next.js/issues/7051)
> - Disable Terser loader when debugging: [#7079](https://github-redirect.dependabot.com/zeit/next.js/issues/7079)
> - Fix broken link: [#7087](https://github-redirect.dependabot.com/zeit/next.js/issues/7087)
> - Upgrade with-reasonml example to Reason React 0.7 and JSX 3: [#7078](https://github-redirect.dependabot.com/zeit/next.js/issues/7078)
> - Update the recommendation section in examples/with-reasonml: [#7089](https://github-redirect.dependabot.com/zeit/next.js/issues/7089)
> - Run optimizer after validating in dirty AMP mode: [#7063](https://github-redirect.dependabot.com/zeit/next.js/issues/7063)
> - Detect built ins in externals: [#7083](https://github-redirect.dependabot.com/zeit/next.js/issues/7083)
> - Move react-ssr-prepass import inside of: [#7095](https://github-redirect.dependabot.com/zeit/next.js/issues/7095)
> - Export 404 even if undefined in exportPathMap: [#6912](https://github-redirect.dependabot.com/zeit/next.js/issues/6912)
> - Remove dynamic-import-node from the preset: [#7096](https://github-redirect.dependabot.com/zeit/next.js/issues/7096)
> - Update to share HMR and ondemand SSE connection: [#7084](https://github-redirect.dependabot.com/zeit/next.js/issues/7084)
> - Upgrade Terser: [#6981](https://github-redirect.dependabot.com/zeit/next.js/issues/6981)
> - Upgrade amp-optimizer to 0.5.3: [#7134](https://github-redirect.dependabot.com/zeit/next.js/issues/7134)
> ... (truncated)
Commits
- [`66bf56f`](https://github.com/zeit/next.js/commit/66bf56ff7e5bad115cc73d728c92fdacfde243a6) v9.0.0
- [`6cc7205`](https://github.com/zeit/next.js/commit/6cc72052b8f5f51149a852fbbfe2546d03b17dd5) Add UPGRADING doc ([#7773](https://github-redirect.dependabot.com/zeit/next.js/issues/7773))
- [`9f65e50`](https://github.com/zeit/next.js/commit/9f65e50b6685bf72d98856ec74cb0aca80438985) v8.1.1-canary.70
- [`264fc01`](https://github.com/zeit/next.js/commit/264fc019695466a345ed404d704fed11879ae4b9) API routes documentation ([#7562](https://github-redirect.dependabot.com/zeit/next.js/issues/7562))
- [`b0b1c32`](https://github.com/zeit/next.js/commit/b0b1c320a8912e85bef301dcb8de2f7f7f8e25f8) Experimentalize `public/` ([#7771](https://github-redirect.dependabot.com/zeit/next.js/issues/7771))
- [`f204935`](https://github.com/zeit/next.js/commit/f204935251aba0914c59d94c09588cf85a8352a0) Fix serverless loader for API routes ([#7767](https://github-redirect.dependabot.com/zeit/next.js/issues/7767))
- [`e995c73`](https://github.com/zeit/next.js/commit/e995c73b2c22f297b55004bb5f75f960fb424742) [typings] Allow getInitialProps to be sync ([#7763](https://github-redirect.dependabot.com/zeit/next.js/issues/7763))
- [`cc49756`](https://github.com/zeit/next.js/commit/cc497568b4b226498069c9a7adbdc03e689b8526) v8.1.1-canary.69
- [`270d548`](https://github.com/zeit/next.js/commit/270d548d33f813c6121f739ce906385c398d1b1b) Remove old docs ([#7760](https://github-redirect.dependabot.com/zeit/next.js/issues/7760))
- [`6fa17b3`](https://github.com/zeit/next.js/commit/6fa17b3f1549c4408480849720c9364c47b46a2e) Improve automatic prerendering warning ([#7759](https://github-redirect.dependabot.com/zeit/next.js/issues/7759))
- Additional commits viewable in [compare view](https://github.com/zeit/next.js/compare/v8.0.3...v9.0.0)
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 will not automatically merge this PR because it includes a major update to a production dependency.
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps next from 8.0.3 to 9.0.0.
Release notes
*Sourced from [next's releases](https://github.com/zeit/next.js/releases).* > ## v9.0.0 > ### Major > > - Remove `withAmp` and do not expose `isInAmpMode`: [#7690](https://github-redirect.dependabot.com/zeit/next.js/issues/7690) > > > ### Minor > > - Add Typescript compilation: [#7110](https://github-redirect.dependabot.com/zeit/next.js/issues/7110) > - Add support for /public: [#7213](https://github-redirect.dependabot.com/zeit/next.js/issues/7213) > - Add API routes support: [#7296](https://github-redirect.dependabot.com/zeit/next.js/issues/7296) > - Make next/dynamic loading component return `null` by default: [#7695](https://github-redirect.dependabot.com/zeit/next.js/issues/7695) > - Automatic static optimization: [#7666](https://github-redirect.dependabot.com/zeit/next.js/issues/7666) > > ### Patches > > - Add declaration files to /dist: [#7118](https://github-redirect.dependabot.com/zeit/next.js/issues/7118) > - Updated broken test in Windows: [#7124](https://github-redirect.dependabot.com/zeit/next.js/issues/7124) > - Add AMP label to AMP only pages in build tree: [#7123](https://github-redirect.dependabot.com/zeit/next.js/issues/7123) > - More Specific Info on Script Loading Error: [#7108](https://github-redirect.dependabot.com/zeit/next.js/issues/7108) > - Make next export respect experimental.exportTrailingSlash: [#6752](https://github-redirect.dependabot.com/zeit/next.js/issues/6752) > - Add more TypeScript types: [#7054](https://github-redirect.dependabot.com/zeit/next.js/issues/7054) > - Rewrote .circleci/config.yml to 2.1 schema: [#7103](https://github-redirect.dependabot.com/zeit/next.js/issues/7103) > - Wait for entry to resolve in production build: [#7104](https://github-redirect.dependabot.com/zeit/next.js/issues/7104) > - Fix: add repository to next-server package.json: [#7105](https://github-redirect.dependabot.com/zeit/next.js/issues/7105) > - Update types for with-router: [#7106](https://github-redirect.dependabot.com/zeit/next.js/issues/7106) > - Replace the typescript compiler with @babel/preset-typescript: [#7016](https://github-redirect.dependabot.com/zeit/next.js/issues/7016) > - Revert "Detect built ins in externals " ([#7107](https://github-redirect.dependabot.com/zeit/next.js/issues/7107)): [#7083](https://github-redirect.dependabot.com/zeit/next.js/issues/7083) > - Update removing AMP pages to not require during build: [#7081](https://github-redirect.dependabot.com/zeit/next.js/issues/7081) > - Make styles compatible in AMP mode: [#7060](https://github-redirect.dependabot.com/zeit/next.js/issues/7060) > - Cache Babel and AutoDll plugin in `dirDir/cache`: [#7102](https://github-redirect.dependabot.com/zeit/next.js/issues/7102) > - Remove un-needed config from example: [#7055](https://github-redirect.dependabot.com/zeit/next.js/issues/7055) > - Update AMP example: [#7056](https://github-redirect.dependabot.com/zeit/next.js/issues/7056) > - Update AMP example to AMP-first wording: 549965282045beda0cf0b31823b35a13014a0d6b > - Update dependency to fix with-next-page-transitions example: [#7049](https://github-redirect.dependabot.com/zeit/next.js/issues/7049) > - Add test for /dashboard/index: [#7065](https://github-redirect.dependabot.com/zeit/next.js/issues/7065) > - With-apollo example: explicitly pass fetch to HttpLink: [#7072](https://github-redirect.dependabot.com/zeit/next.js/issues/7072) > - Update fela example: [#7051](https://github-redirect.dependabot.com/zeit/next.js/issues/7051) > - Disable Terser loader when debugging: [#7079](https://github-redirect.dependabot.com/zeit/next.js/issues/7079) > - Fix broken link: [#7087](https://github-redirect.dependabot.com/zeit/next.js/issues/7087) > - Upgrade with-reasonml example to Reason React 0.7 and JSX 3: [#7078](https://github-redirect.dependabot.com/zeit/next.js/issues/7078) > - Update the recommendation section in examples/with-reasonml: [#7089](https://github-redirect.dependabot.com/zeit/next.js/issues/7089) > - Run optimizer after validating in dirty AMP mode: [#7063](https://github-redirect.dependabot.com/zeit/next.js/issues/7063) > - Detect built ins in externals: [#7083](https://github-redirect.dependabot.com/zeit/next.js/issues/7083) > - Move react-ssr-prepass import inside of: [#7095](https://github-redirect.dependabot.com/zeit/next.js/issues/7095) > - Export 404 even if undefined in exportPathMap: [#6912](https://github-redirect.dependabot.com/zeit/next.js/issues/6912) > - Remove dynamic-import-node from the preset: [#7096](https://github-redirect.dependabot.com/zeit/next.js/issues/7096) > - Update to share HMR and ondemand SSE connection: [#7084](https://github-redirect.dependabot.com/zeit/next.js/issues/7084) > - Upgrade Terser: [#6981](https://github-redirect.dependabot.com/zeit/next.js/issues/6981) > - Upgrade amp-optimizer to 0.5.3: [#7134](https://github-redirect.dependabot.com/zeit/next.js/issues/7134) > ... (truncated)Commits
- [`66bf56f`](https://github.com/zeit/next.js/commit/66bf56ff7e5bad115cc73d728c92fdacfde243a6) v9.0.0 - [`6cc7205`](https://github.com/zeit/next.js/commit/6cc72052b8f5f51149a852fbbfe2546d03b17dd5) Add UPGRADING doc ([#7773](https://github-redirect.dependabot.com/zeit/next.js/issues/7773)) - [`9f65e50`](https://github.com/zeit/next.js/commit/9f65e50b6685bf72d98856ec74cb0aca80438985) v8.1.1-canary.70 - [`264fc01`](https://github.com/zeit/next.js/commit/264fc019695466a345ed404d704fed11879ae4b9) API routes documentation ([#7562](https://github-redirect.dependabot.com/zeit/next.js/issues/7562)) - [`b0b1c32`](https://github.com/zeit/next.js/commit/b0b1c320a8912e85bef301dcb8de2f7f7f8e25f8) Experimentalize `public/` ([#7771](https://github-redirect.dependabot.com/zeit/next.js/issues/7771)) - [`f204935`](https://github.com/zeit/next.js/commit/f204935251aba0914c59d94c09588cf85a8352a0) Fix serverless loader for API routes ([#7767](https://github-redirect.dependabot.com/zeit/next.js/issues/7767)) - [`e995c73`](https://github.com/zeit/next.js/commit/e995c73b2c22f297b55004bb5f75f960fb424742) [typings] Allow getInitialProps to be sync ([#7763](https://github-redirect.dependabot.com/zeit/next.js/issues/7763)) - [`cc49756`](https://github.com/zeit/next.js/commit/cc497568b4b226498069c9a7adbdc03e689b8526) v8.1.1-canary.69 - [`270d548`](https://github.com/zeit/next.js/commit/270d548d33f813c6121f739ce906385c398d1b1b) Remove old docs ([#7760](https://github-redirect.dependabot.com/zeit/next.js/issues/7760)) - [`6fa17b3`](https://github.com/zeit/next.js/commit/6fa17b3f1549c4408480849720c9364c47b46a2e) Improve automatic prerendering warning ([#7759](https://github-redirect.dependabot.com/zeit/next.js/issues/7759)) - Additional commits viewable in [compare view](https://github.com/zeit/next.js/compare/v8.0.3...v9.0.0)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 will not automatically merge this PR because it includes a major update to a production dependency.
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it - `@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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.