v9.0.4
Minor Changes
- Experimental: Serverless Trace target: #8246
- Experimental: Implement
experimentalPrerender
option: #7983 - Experimental: Granular build chunking: #7696
Patches
- Golf page-loader: #8190
- Don't require test job for deploying: #8194
- Revert "Don't require test job for deploying": #8199
- Update TypeScript Instructions: #8200
- Add some notes about Now deployment: #8205
- Contributing guide rename initialprops: #8203
- Add test for dynamic routing/webpack HMR bug: #8061
- Remove useless code block in docs: 6468b6c
- Remove Old Prerender Implementation: #8218
- FIX- #8059 - Update relay version in examples to latest one: #8227
- Add Create Next App instructions: #8224
- Make Azure CI (sometimes) work: #8230
- Update README.md: 48e1d14
- [Enhancement]: Update README buttons: #8235
- Update to check browserName instead of browser.log: #8234
- [WIP] Add temp secret for PR Stats Action: #8248
- Add warning for API export: #8250
- Define generic for _app state: #8256
- Compression documentation: #8247
- Remove propertyFields from the client router: #8219
- Swallow test process kill errors on win32: #8260
- Add warning for invalid href being passed to router: #8231
- Migrate amp-toolbox-optimizer to @ampproject/toolbox-optimizer: #8275
- Handle backslashes in exportedFiles: #8277
- Update README.md: #8282
- Bugfix: Babel targets value can be a String: #8268
- Update handling of ref in next/link: #8254
- Simplify mobx example: #8269
- Remove cache clearing from static-checker: #8290
- Run migration script for GitHub Actions: #8305
- Revert "Run migration script for GitHub Actions " (#8307): #8305
- Adds user timing marks and measures for hydration/render: #8069
- Document poweredByHeader option: da494db
- Add info about removing @zeit/next-typescript on .babelrc: #8321
- Remove 405 from render method: #8323
- Fix layout example building: #8326
- Deprecate Container usage: #8327
- Only add flying-shuttle code when enabled: #8330
- Update custom app example in README: #8320
- Add config/test app for new PR stats set-up: #8317
- Show warning if next export detects an API route: #8257
- Remove extra variable: #8329
- Followup optimizations for new experimentalPrerender: #8287
- Prevent false positive experimental warning: #8284
- Add warning for missing <Head>: #8276
- Escape output names for modern bundles to prevent replacing: #8232
- Remove accidental support for invalid JavaScript: #8077
- Fix: Warn when user specifies prefetch option as
true
: #8233 - Fix TypeScript setup with empty file: #8332
- Update to use dynamic port for stats-app: #8336
- Detect @types/ package for compiled packages: #8340
- 🐛 Support multiple Next.js versions in one file: #8339
- Add test for AMP errors during auto prerendering: #8335
- Minify ncc'd packages for download speed: #8341
- Use 'initial' setting for SplitChunksPlugin: #8293
- Add warning for disabled minification during build: #8337
- Also provide AppTree in NextPageContext: #8223
- Fixes nav start argument in user timing check: #8348
- Add missing dependency "compression" to next-server: #8344
- Add note explaining empty query during prerendering: #8351
- Remove experimental async-to-promises code: #8353
- Fix AppTree type not allowing extra props: #8352
- Add a note for multiple dynamic route segments: #8359
- Fix chunking tests failing from timeout being too low: #8360
- Define
typeof window
for application code only: #8355 - Add tests for typeof window replacing: #8361
- Updated links from #useRouter to #userouter: #8362
- Create a unique instance of transform-define: #8371
- Use
data-next-page
instead ofid=__NEXT_PAGE__
: #8380 - Fix(examples): correct the path in with-electron: #8370
- Update with-apollo example with hooks: #8363
- Change componentWillMount to UNSAFE: #8357
- [Expo] Updated React Native example: #8376
- Reverting clear measure: #8373
- Don't look up for TS files in dev: #8374
- Feature: Add transparent JSX optimization: #8350
- Hook destructuring optimization: #8381
- Update README.md: #8392
- Remove extra DOM method call: #8394
- Update to replace asPath for static pages in dev mode: #8388
- Updated with-redux-thunk example using useSelector and useDispatch: #8396
- Fixed the docs. The real option is compress, not compression: #8409
- Typo in class name in with-react-esi example: #8414
- Add custom profiler / tracer: #8378
- Next/bin/next - fix typo in help text: #8419
- Fix a typo in with-reasonml-todo example: #8420
- Update Link for create-next-app: #8423
- Upgrade
send
dep: #8424 - Fix conflict between defaultPathMap and default 404.html export: #8366
- Fix dynamic APIs with query params: #8386
Credits
Huge thanks to @ijjk, @jordan-jarolim, @rajasekarm, @lfades, @nataliemarleny, @huv1k, @atcastle, @sebastianbenz, @delbaoliveira, @developit , @housseindjirdeh, @diagramatics, @timneutkens, @borekb, @adam187, @devknoll, @elliottsj, @yuyokk, @williamli , @Timer, @merceyz, @rafaelalmeidatk, @EvanBacon, @prateekbh, @bgrayburn , @matamatak, @knight-of-zero, @pogkat , @ondrejsika, @none23, @msweeneydev, @undirectlookable, and @Deadleg for helping!