zeit/next.jsv9.0.0### Major
- Remove
withAmp
and do not expose
isInAmpMode
: #7690
### Minor
- Add Typescript compilation: #7110
- Add support for /public: #7213
- Add API routes support: #7296
- Make next/dynamic loading component return
null
by default: #7695
- Automatic static optimization: #7666
### Patches
- Add declaration files to /dist: #7118
- Updated broken test in Windows: #7124
- Add AMP label to AMP only pages in build tree: #7123
- More Specific Info on Script Loading Error: #7108
- Make next export respect experimental.exportTrailingSlash: #6752
- Add more TypeScript types: #7054
- Rewrote .circleci/config.yml to 2.1 schema: #7103
- Wait for entry to resolve in production build: #7104
- Fix: add repository to next-server package.json: #7105
- Update types for with-router: #7106
- Replace the typescript compiler with
@babel/preset-typescript: #7016
- Revert "Detect built ins in externals " (#7107): #7083
- Update removing AMP pages to not require during build: #7081
- Make styles compatible in AMP mode: #7060
- Cache Babel and AutoDll plugin in
dirDir/cache
: #7102
- Remove un-needed config from example: #7055
- Update AMP example: #7056
- Update AMP example to AMP-first wording: 549965282045beda0cf0b31823b35a13014a0d6b
- Update dependency to fix with-next-page-transitions example: #7049
- Add test for /dashboard/index: #7065
- With-apollo example: explicitly pass fetch to HttpLink: #7072
- Update fela example: #7051
- Disable Terser loader when debugging: #7079
- Fix broken link: #7087
- Upgrade with-reasonml example to Reason React 0.7 and JSX 3: #7078
- Update the recommendation section in examples/with-reasonml: #7089
- Run optimizer after validating in dirty AMP mode: #7063
- Detect built ins in externals: #7083
- Move react-ssr-prepass import inside of: #7095
- Export 404 even if undefined in exportPathMap: #6912
- Remove dynamic-import-node from the preset: #7096
- Update to share HMR and ondemand SSE connection: #7084
- Upgrade Terser: #6981
- Upgrade amp-optimizer to 0.5.3: #7134
- Add .d.ts for next-server: #7133
- Always use AllModulesIdentifiedPlugin after HashedModuleIdsPlugin: #7138
- TypeScript preset should always be enabled: #7137
- Remove old debugging logs: #7139
- A webpack bug is preventing us from hashing chunks: #7142
- Don't re-use the same page file for error-recovery tests: #7144
- Add --target serverless flag: #7141
- Move generating types to before deploy: #7145
- Replace --target serverless with env var: #7146
- Move type generating: #7147
- Remove list_dist from debugging: #7148
- Remove type defs for non-ts files and fix wrong import for router in _app: #7150
- Add stale-while-revalidate when no getInitialProps: #7149
- Update to render directly to body in AMP mode: #7151
- Add support for .ts / .tsx import without extension: #7152
- Add missing property types for styled-jsx: #7154
- Add types for next/dynamic: #7157
- Add types for next/link: #7160
- Add missing .d.ts for next/dynamic: #7158
- Add warning for @zeit/next-typescript: #7163
- Prefer type over interface: #7164
- Reduce CircleCI Parallelism: #7171
- Run Prettier on webpack configuration: #7172
- Don't resolve ts|tsx for non-TypeScript users: #7173
- Update Prettier configuration: 00e8ba49819274564249cb55950841b3555d5929
- Add types for getInitialProps: #7162
- Make sure to 404 for AMP client bundles in dev mode: #7183
- Update cache-control header when no getInitialProps: #7185
- Improve contributing guide: #7186
- Fix missing webpack buildin: #7187
- Allow _app and _document to be extended with other props: #7184
- Make sure not to require react before NODE_ENV has been set: #7200
- Browserstack optimisations: #7201
- Make sure Cache-Control header is set when no getInitialProps: #7202
- Fix firefox bug with detecting instanceof Promise in dynamic: #7203
- Add theme to styled-components example: #7206