next 8.0.4
Patches
- Remove event-source-polyfill dependency: #6407
- Remove http-status dependency: #6405
- Remove mkdirp-then in favor of promisify: #6408
- Add taskfile for ncc: #6409
- Upgrade async-sema: #6410
- Remove schema-utils dependency: #6413
- Replace
delwithrimrafpackage: #6411 - Remove event-source-polyfill dependency: 297f1a3fc0df8544f37be94e05c55531981618f0
- Update Hapi example: #6429
- Remove glob package: #6415
- Remove jsonPageRes Documentation Reference: #6440
- Fix link in with-react-with-styles sample: #6438
- AMP automatic page refreshing in dev: #6392
- Add new experimental-amp example: #6444
- Drop images from experimental-amp and with-amp examples: #6446
- Fix for index.js pages inside a folder named 'index': #6423
- Update @zeit/next-preact example: #6390
- Remove cross-spawn: #6450
- Add error for exporting when target is not server: #6455
- Update to Next v8.0 example on with-graphql-react: #6454
- Remove next-to-next-server babel plugin: #6458
- Create example for adding env variables from next.js.config / Final: #6318
- Update with-jest, with-jest-react-testing-library examples: #6464
- Add extra info to authentication: #6435
- Use cacheable-response for ssr: #6393
- Run ncc on unistore to fix install warning: #6459
- Change ncc taskr function name: #6471
- Update with-hashed-statics example: #6472
- Add styles to experimental-amp example: #6461
- Throw error when Promise is returned in next.config: #6476
- Fix dynamic require breaking after updating to v8: #6475
- Refactor(on-demand-entries): extract method: setupPing: #6483
- Setup on-demand-entries ping to prevent AMP page disposal: #6484
- Move next-bundle-analyzer to Next.js repo: #6445
- Make router UrlIsNew comparing method work as expected: #6383
- Add Babel plugin that fixes className for Amp elements: #6486
- Await config: #6488
- Update webpack-dev-middleware to fix querystring in file names: #6498
- Add docs for named exports using dynamic: #6502
- Show error when
routerorComponentare returned in _app.js: #6487 - Add graphql-hooks example: #6482
- Correct yarn.lock: #6503
- Add console.error before exit on uncaughtException: #6504
- Format a few documents: #6505
- Consolidate traditional and AMP rendering methods: #6506
- Update with-zones example to support Now v2 / serverless: #6485
- Added with-typescript-styled-components example: #6511
- Updated entries to not output _app and _document in serverless: #6512
- Add warning on stalled page load possibly from too many tabs open: #6514
- Fix /index/index.js route not emitting the right route in production: #6516
- [examples/with-sentry] Better docs + correct dependencies: #6521
- Move next-mdx from zeit/next-plugins to zeit/next.js: #6443
- Update login.js: #6527
- Update timeout for plugin-mdx test: #6528
- Add Grommet example: #6529
- Implement Recursive Delete: #6489
- Add preload notice: #6532
- Check if esmodules is supported before enabling useESModules: #6534
- Add workflow with next-stats-action: #6535
- Changing an url to a url in the readme: #6540
- Remove chunkfilter and extractcomments options as they’re unused: #6549
- Fix page not loading with ending the request: #6546
- Fixed typo in code comment: #6555
- Fix wrong env key in build time configuration docs: #6561
- Change redirect status to 302: #6562
- Update README.md: 51fc26161df50e3ad66388b40cbff4acd5e09c59
- Remove cacheKeys option and improve filtering: #6559
- Throw error when router methods are used in SSR: #6550
- Remove trailing spaces: #6547
- Remove more terser code: #6564
- Add note about passing webpack to config: #6606
- Add links for now info to parameterized-routing example: #6565
- Try restarting chromedriver on timeout: #6566
- Fix unnatural spaces in README: #6572
- Update react-error-overlay and use reportRuntimeError: #6577
- Remove more terser-webpack-plugin code: #6575
- Remove _error page from blocked pages: #6579
- Don’t prefetch outside of production: #6578
- Update with-now-env to use
envconfig: #6581 - Next minifier cache: #6582
- Remove case-sensitive-paths-plugin: #6587
- Remove cjs file: #6590
- Don’t load dev plugins for production bootup: #6589
- Eliminate need for render() method: #6591
- Remove stray comma: #6593
- Don't use webpack multiCompiler for single configuration: #6598
- Disable webpack minifier: #6603
- Add experimental cpus config and use CircleCI env var: #6604
- Default to the previous CPU calculation: #6605
- Add experimental profiling flag: #6594
- Update/webpack docs example: #6609
- Remove cacache: #6610
- Replace md4 hashing with murmurhash: #6611
- Sort pages between bundles: #6612
- Remove cacheKeys in favor of simply a cacheKey: #6613
- Ensure correct key order: #6616
- Fix HMR failing when rendering with
/index: #6541 - Initial overmind example: #6548
- Remove unused dev option from babel-loader: #6624
- Fix loading showing before
pastDelay: #6628 - Add test for recovering from export default undefined: #6631
- Inject the build ID after webpack runs: #6618
- Apply workaround for Firefox bug: #6630
- Fix export with folders that contain dot: #6538
- Convert router/router.js to typescript: #6644
- Show a better error when someone throws undefined: #6646
- Add err.sh link for threw undefined: #6649
- Ensure all modules are identified: #6656
- Creating one more example which only uses redux and no thunk as middl…: #6636
- Convert change/getRouteInfo to not use async: #6648
- Delete using realpath in HMR cache: #6635
- Stabilize Chunk ID generation: #6663
- Use relative instead of absolute for entry paths: #6659
- Check for the user's home directory in the build output: #6661
- Hash module IDs to save on bundle size: #6660
- Fix relative next path not working in webpack config: #6667
- Add codeowners file: #6672
- Remove sourceMaps from amp styles to not go over limit: #6674
- Remove empty paragraphs and missing examples: #6677
- A little missing documentation was added.: #6600
- Update custom-server-typescript example: #6627
- Port with-mobx to with-mobx-react-lite: #6617
- Add with-linaria example: #6510
- Add experimental exportTrailingSlash config: #6664
- Add possible explanation for webpack resolve error: #6682
- Add error handling for error being thrown in _app getinitialProps: #6680
- Make react-loadable-manifest only have modules that are part of dynamic chunks: #6622
- Small fix to example custom-server-typescript: #6695
- Remove conflicting <head> tags in amp mode: #6693
- Update with-rematch example: #6699
- Remove headManager property as it’s unused: #6700
- Clean up ErrorBoundary component: #6703
- Fix with-mobx-state-tree-typescript modules export: #6704
- Adds example for Office UI Fabric React.: #6705
- First pass of runtime amp validator: #6708
- Add support for creating AMP pages: #6706
- Add checking for corresponding pages for link tags: #6719
- Shrink the size of profiling test: #6723
- Ensure browser gets closed during testing: #6724
- Skip console clearing when not in a TTY: #6726
- Adjust CircleCI flow: #6728
- Add support for amp to export: #6725
- Catch errors when loading a page in case a script 404s: #6729
- Break up basic test suite: #6730
- Remove unused parameters: #6735
- Update export tests and fixed import: #6738
- Add more export tests for AMP: #6740
- Fix amphtml href with nested amp page: #6741
- Fix export not checking amp right for /index.amp: #6748
- Update local testing doc to show our own workflow: #6753
- Make pages-manifest-plugin compatible with webpack 5: #6760
- Remove error-debug.js checks as the chunk is removed: #6761
- Update to have default value for renderToHTML: #6755
- Remove PropTypes from _error and next/dynamic: #6763
- Remove hoist-non-react-statics from with-router: #6765
- Separate toRoute function: #6766
- Ncc nanoid: #6768
- Don't use array for main chunk: #6767
- Ncc resolve and arg: #6771
- Remove magic-string: #6772
- Make main.js override work correctly: #6781
- Add @lfades to CODEOWNERS: 480fb5652a8f836a87b5f814eb67076570f70c63
- Replace
buildIdwell known string during output: #6782 - Pass mapDispatchToProps as an object: #6786
- Removed the X-Powered-By header: #6789
- Use a shared module cache: #6791
- Add AMP validation on export: #6794
- Update dependencies of various examples: #6731
- Example with orbit-components: #6793
- Remove prop-types import in the build: #6798
- Improve with-google-analytics example: #6787
- [with-sentry] example: Make 'utils/sentry.js' more flexible: #6769
- Specified page builds: #6796
- Add a viewport meta tag by default: #6754
- Upgrade unfetch to v4.1.0: #6807
- Add a leading slash to passed pages: #6808
- Form handler example: Update deps and fix build from dep update: #6732
- With apollo and redux saga example: Update deps: #6734
- With apollo and redux example: Update deps and fix build: #6733
- The custom build test now runs in production mode: #6818
- Add example with astroturf (Zero runtime CSS-in-JS): #6821
- NODE_ENV is set to undefined before running a test command: #6823
- Fix typo by replacing
compatabilitywithcompatibility: #6831 - Update tests for BrowserStack: #6810
- Add error catching to firefox url query workaround: #6833
- Update env variables for CircleCi: #6834
- Add dropping of custom scripts in AMP mode: #6830
- Added babel-plugin-dynamic-import-node: #6811
- Exclude transform-typeof-symbol: #6812
- Add workflow to generate stats for release: #6836
- Fix typo in workflow: #6838
- Added useBuiltIns to babel object-rest-spread: #6805
- Fix wrong anchors and add missing link: #6845
- Re-add chromedriver retrying from previous webdriver setup: #6846
- Make sure error isn't swallowed for production test on CircleCi: #6848
- BuildId is not an ad: #6851
- Avoid "ad" anywhere in the buildId: #6854
Credits
Huge thanks to @AllenFang, @ijjk, @lfades, @shahzeb1, @crutchcorn, @shashkovdanil, @yjoer, @developit, @alexandernanberg, @tomashapl, @Macil, @cJayyy, @slv, @Timer, @dav-is, @timneutkens, @MarchWorks, @gtgalone, @juliomenendez, @kheruc, @xiaohuoni, @brentertz, @programbo, @slaterbbx, @christianalfoni, @ravindermahajan890, @7ma7X, @Janpot, @ryhinchey, @martonlanga, @Gigacore, @pex, @thinceller, @jesstelford, @GaelS, @rogerhutchings, @egorovli, @Joezo, @mikefrancis, @tangye1234, @laiso, @pkellner, @lucleray, @samundra, @toshi1127, @jepser, @jhoffmcd and @Kikobeats for helping!