vercel/next.js
### [`v9.3.2`](https://togithub.com/vercel/next.js/releases/v9.3.2)
[Compare Source](https://togithub.com/vercel/next.js/compare/v9.3.1...v9.3.2)
**This upgrade is _completely backwards compatible and recommended for all users on versions below 9.3.2._ For future security related communications of our OSS projects, please [join this mailing list](https://zeit.co/security).**
Next.js has just been audited by one of the top security firms in the world.
They found that attackers could craft special requests to access files in the dist directory (`.next`).
**This does not affect files outside of the dist directory (`.next`).**
In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory.
We recommend upgrading to the latest version of Next.js to improve the overall security of your application.
#### How to Upgrade
- We have released patch versions for both the stable and canary channels of Next.js.
- To upgrade run `npm install next@latest --save`
#### Impact
- **Not affected**: Deployments on ZEIT Now v2 ([https://zeit.co](https://zeit.co/)) are not affected
- **Not affected**: Deployments using the `serverless` target
- **Not affected**: Deployments using `next export`
- **Affected**: Users of Next.js below 9.3.2 that use `next start`
We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.
##### How to Assess Impact
If you think sensitive code or data could have been exposed, you can filter logs of affected sites by `../` with a 200 response.
#### What is Being Done
As Next.js has grown in popularity, it has received the attention of security researchers and auditors. We are thankful to Luca Carettoni from Doyensec for their investigation and discovery of the original bug and subsequent responsible disclosure.
We've landed a patch that ensures only known filesystem paths of `.next/static` are made available under `/_next/static`.
Regression tests for this attack were added to the [security](https://togithub.com/zeit/next.js/blob/canary/test/integration/production/test/security.js) integration test suite.
- We have notified known Next.js users in advance of this publication.
- A public CVE was issued.
- If you want to stay on top of our security related news impacting Next.js or other ZEIT projects, please [join this mailing list](https://zeit.co/security).
- We encourage responsible disclosure of future issues. Please email us at ****. We are actively monitoring this mailbox.
* * *
##### Patches
- Add Numeric Separator Support for TypeScript: [#11308](https://togithub.com/vercel/next.js/issues/11308)
- Update CLI custom config documentation link: [#11152](https://togithub.com/vercel/next.js/issues/11152)
- Add error when attempting to export GSSP page: [#11154](https://togithub.com/vercel/next.js/issues/11154)
- Update blog-starter example: [#11071](https://togithub.com/vercel/next.js/issues/11071)
- Add CSS file to build output: [#11145](https://togithub.com/vercel/next.js/issues/11145)
- Update <dir> reference in help text: [`5274535`](https://togithub.com/vercel/next.js/commit/527453560e1dde8c670266c3b42bcf3a58dee155)
- Clean up examples directory: [#11169](https://togithub.com/vercel/next.js/issues/11169)
- Remove react-ssr-prepass alias as it&[#39](https://togithub.com/vercel/next.js/issues/39);s not longer needed: [#11170](https://togithub.com/vercel/next.js/issues/11170)
- Upgrade [@ampproject/toolbox-optimizer](https://togithub.com/ampproject/toolbox-optimizer) to 2.0.1: [#11168](https://togithub.com/vercel/next.js/issues/11168)
- Add section on reading files: [#11084](https://togithub.com/vercel/next.js/issues/11084)
- [Examples] fix `remark` link in blog-starter&[#39](https://togithub.com/vercel/next.js/issues/39);s README: [#11177](https://togithub.com/vercel/next.js/issues/11177)
- Updated with-typescript example to SSG: [#11081](https://togithub.com/vercel/next.js/issues/11081)
- Add CMS example for Sanity: [#10907](https://togithub.com/vercel/next.js/issues/10907)
- Group CSS files in shared build output separate from JS files: [#11184](https://togithub.com/vercel/next.js/issues/11184)
- Updating min nodejs requirement: [#11181](https://togithub.com/vercel/next.js/issues/11181)
- Docs(ssr): req is an IncomingMessage instance, not HttpRequest: [#11194](https://togithub.com/vercel/next.js/issues/11194)
- Add support for baseUrl option in tsconfig and jsconfig: [#11203](https://togithub.com/vercel/next.js/issues/11203)
- [Example] with-passport: [#10529](https://togithub.com/vercel/next.js/issues/10529)
- CMS TakeShape Example: [#11038](https://togithub.com/vercel/next.js/issues/11038)
- Ensure hybrid AMP works correctly with SSG: [#11205](https://togithub.com/vercel/next.js/issues/11205)
- Update mocha example with yml configuration.: [#11214](https://togithub.com/vercel/next.js/issues/11214)
- Fix with-firebase-cloud-messaging example setup code: [#10686](https://togithub.com/vercel/next.js/issues/10686)
- Update wording of new data fetching methods recommendation: [#11221](https://togithub.com/vercel/next.js/issues/11221)
- Updated Api Routes Middleware example to use getServerSideProps: [#11128](https://togithub.com/vercel/next.js/issues/11128)
- With Firebase Client-Side example: [#11053](https://togithub.com/vercel/next.js/issues/11053)
- Docs(example): Load basic-css example on codesandbox: [#11227](https://togithub.com/vercel/next.js/issues/11227)
- Remove mkdirp, bump fs-extra to 9.0.0: [#11251](https://togithub.com/vercel/next.js/issues/11251)
- Add support for paths in tsconfig.json and jsconfig.json: [#11293](https://togithub.com/vercel/next.js/issues/11293)
- Add test for single alias: [#11296](https://togithub.com/vercel/next.js/issues/11296)
- Update GIP docs: [#11303](https://togithub.com/vercel/next.js/issues/11303)
- Add custom amp optimizer and skip validation mode: [#10705](https://togithub.com/vercel/next.js/issues/10705)
- Update handling for ENOENT from GSSP methods: [#11302](https://togithub.com/vercel/next.js/issues/11302)
- Docs: clarify how to customize next/babel presets: [#11316](https://togithub.com/vercel/next.js/issues/11316)
- Fix assignment of props in WithApollo.getInitialProps: [#11236](https://togithub.com/vercel/next.js/issues/11236)
- Fix: typo in `isStaging` in `with-env` example: [#11305](https://togithub.com/vercel/next.js/issues/11305)
- Skip paths that are routed to a .d.ts file: [#11322](https://togithub.com/vercel/next.js/issues/11322)
- Upgrade loader-utils: [#11324](https://togithub.com/vercel/next.js/issues/11324)
- Fix warning for API routes with next export: [#11330](https://togithub.com/vercel/next.js/issues/11330)
- Make sure to copy AMP SSG files during export: [#11331](https://togithub.com/vercel/next.js/issues/11331)
- Just a small typo I think, right?: [#11344](https://togithub.com/vercel/next.js/issues/11344)
- [docs] Mention our channels: [#11336](https://togithub.com/vercel/next.js/issues/11336)
- Use records to init store: [#11343](https://togithub.com/vercel/next.js/issues/11343)
- Update data-fetching.md: [`074c60e`](https://togithub.com/vercel/next.js/commit/074c60e0ec201c3d453dbd0f6ed9543b541f576a)
- Fix preview-mode docs/examples typo: [#11345](https://togithub.com/vercel/next.js/issues/11345)
- Update to prevent re-using workers for getStaticPaths in dev mode: [#11347](https://togithub.com/vercel/next.js/issues/11347)
##### Credits
Huge thanks to [@chibicode](https://togithub.com/chibicode), [@ijjk](https://togithub.com/ijjk), [@timneutkens](https://togithub.com/timneutkens), [@sebastianbenz](https://togithub.com/sebastianbenz), [@zhe](https://togithub.com/zhe), [@shaswatsaxena](https://togithub.com/shaswatsaxena), [@prateekbh](https://togithub.com/prateekbh), [@vvo](https://togithub.com/vvo), [@lfades](https://togithub.com/lfades), [@bbortt](https://togithub.com/bbortt), [@aviaryan](https://togithub.com/aviaryan), [@mgranados](https://togithub.com/mgranados), [@julianbenegas](https://togithub.com/julianbenegas), [@gregrickaby](https://togithub.com/gregrickaby), [@dulmandakh](https://togithub.com/dulmandakh), [@yosuke-furukawa](https://togithub.com/yosuke-furukawa), [@tinymachine](https://togithub.com/tinymachine), [@bgoerdt](https://togithub.com/bgoerdt), [@nicolasrouanne](https://togithub.com/nicolasrouanne), [@filipesmedeiros](https://togithub.com/filipesmedeiros), [@rishabhsaxena](https://togithub.com/rishabhsaxena), and [@queq1890](https://togithub.com/queq1890) for helping!
### [`v9.3.1`](https://togithub.com/vercel/next.js/releases/v9.3.1)
[Compare Source](https://togithub.com/vercel/next.js/compare/v9.3.0...v9.3.1)
##### Patches
- Correctly Count Object References: [#10903](https://togithub.com/vercel/next.js/issues/10903)
- Add warning when built-in CSS/SCSS support is disabled: [#10942](https://togithub.com/vercel/next.js/issues/10942)
- Add missing words in docs: [#10941](https://togithub.com/vercel/next.js/issues/10941)
- Update handling for patterns in custom routes: [#10523](https://togithub.com/vercel/next.js/issues/10523)
- Remove extra closing parenthesis: [#10948](https://togithub.com/vercel/next.js/issues/10948)
- Fix paths.params.type in getStaticPaths(document): [#10959](https://togithub.com/vercel/next.js/issues/10959)
- Check SSG Page via Route Lookup: [#10971](https://togithub.com/vercel/next.js/issues/10971)
- Make sure to not show pages/404 GIP error from \_app having GIP: [#10974](https://togithub.com/vercel/next.js/issues/10974)
- Fix examples with relay-compiler: [#10976](https://togithub.com/vercel/next.js/issues/10976)
- Use core-js promise polyfill for nomodule browsers: [#10985](https://togithub.com/vercel/next.js/issues/10985)
- Improve Sass Error: [#10982](https://togithub.com/vercel/next.js/issues/10982)
- Add support for getStaticProps in pages/404: [#10984](https://togithub.com/vercel/next.js/issues/10984)
- Cms-datocms SerializableError fixes: [#10986](https://togithub.com/vercel/next.js/issues/10986)
- Fix Lint: [`39ed664`](https://togithub.com/vercel/next.js/commit/39ed66496644cb3cc2954f62959045780cc64480)
- Generic form of GetStaticProps and GetServerSideProps: [#10856](https://togithub.com/vercel/next.js/issues/10856)
- Add Array.flat polyfill to nomodule-polyfills: [#11004](https://togithub.com/vercel/next.js/issues/11004)
- Add "noreferrer" to the prerender indicator doc link: [#11005](https://togithub.com/vercel/next.js/issues/11005)
- Update RegExp test and remove extra script: [#11006](https://togithub.com/vercel/next.js/issues/11006)
- Update data-fetch example to SSG: [#11017](https://togithub.com/vercel/next.js/issues/11017)
- Feat: update api-routes example to SSG: [#11019](https://togithub.com/vercel/next.js/issues/11019)
- Fix Test for Windows: [`c135830`](https://togithub.com/vercel/next.js/commit/c1358301cc521469f0cd48a79b89d1f28b50ef30)
- Update amp-first example to use GSSP: [#11028](https://togithub.com/vercel/next.js/issues/11028)
- Update with-zeit-fetch example to use SSG: [#11026](https://togithub.com/vercel/next.js/issues/11026)
- Update next-sass example to use built-in sass support: [#11015](https://togithub.com/vercel/next.js/issues/11015)
- Correct Cache-Control Behavior for GS(S)P: [#11022](https://togithub.com/vercel/next.js/issues/11022)
- Update custom-server-fastify example to not use internal fn: [#11040](https://togithub.com/vercel/next.js/issues/11040)
- Updated analyze-bundles example: [#11031](https://togithub.com/vercel/next.js/issues/11031)
- Use getServerSideProps for example: [#11057](https://togithub.com/vercel/next.js/issues/11057)
- Update custom-server-express example with getServerSideProps: [#11035](https://togithub.com/vercel/next.js/issues/11035)
- Upgrade next.js version on datocms example: [#11039](https://togithub.com/vercel/next.js/issues/11039)
- Update with-loading example to SSG: [#11050](https://togithub.com/vercel/next.js/issues/11050)
- Update form handler example: [#11059](https://togithub.com/vercel/next.js/issues/11059)
- Add support for static 404 when \_error does not have custom GIP: [#11062](https://togithub.com/vercel/next.js/issues/11062)
- Update ssr-caching example with getServerSideProps: [#11032](https://togithub.com/vercel/next.js/issues/11032)
- Upgrade styled-jsx: [#11070](https://togithub.com/vercel/next.js/issues/11070)
- Update preset.ts: Remove any and use updated Node.js types: [#11075](https://togithub.com/vercel/next.js/issues/11075)
- Update [@next/bundle-analyzer](https://togithub.com/next/bundle-analyzer) dependencies: [#11068](https://togithub.com/vercel/next.js/issues/11068)
- Update introduction.md: [#11092](https://togithub.com/vercel/next.js/issues/11092)
- Fix prettier linting: [`a231315`](https://togithub.com/vercel/next.js/commit/a231315bf49f13ed51094c0ba5b138ba2339f404)
- Add experimental support for SCSS options: [#11063](https://togithub.com/vercel/next.js/issues/11063)
- Update API routes documentation to correctly mention middlewar…: [#11083](https://togithub.com/vercel/next.js/issues/11083)
- Update with-react-multi-carousel example to use GSSP: [#11069](https://togithub.com/vercel/next.js/issues/11069)
- Move public directory for development in examples/with-firebas…: [#11085](https://togithub.com/vercel/next.js/issues/11085)
- Update examples to use getStaticProps where possible: [#11136](https://togithub.com/vercel/next.js/issues/11136)
##### Credits
Huge thanks to [@ijjk](https://togithub.com/ijjk), [@chibicode](https://togithub.com/chibicode), [@5alidz](https://togithub.com/5alidz), [@watanabeyu](https://togithub.com/watanabeyu), [@messa](https://togithub.com/messa), [@timneutkens](https://togithub.com/timneutkens), [@followbl](https://togithub.com/followbl), [@herrstucki](https://togithub.com/herrstucki), [@danlutz](https://togithub.com/danlutz), [@Spy-Seth](https://togithub.com/Spy-Seth), [@asotoglez](https://togithub.com/asotoglez), [@josiahwiebe](https://togithub.com/josiahwiebe), [@ragingwind](https://togithub.com/ragingwind), [@ruisaraiva19](https://togithub.com/ruisaraiva19), [@SarKurd](https://togithub.com/SarKurd), [@bobaaaaa](https://togithub.com/bobaaaaa), [@akhila-ariyachandra](https://togithub.com/akhila-ariyachandra), [@lfades](https://togithub.com/lfades), [@matamatanot](https://togithub.com/matamatanot), [@JazibJafri](https://togithub.com/JazibJafri), [@tomdohnal](https://togithub.com/tomdohnal), [@carlospavanetti](https://togithub.com/carlospavanetti), [@giuseppeg](https://togithub.com/giuseppeg), [@lifeiscontent](https://togithub.com/lifeiscontent), [@7ma7X](https://togithub.com/7ma7X), [@PaulHale](https://togithub.com/PaulHale), [@john015](https://togithub.com/john015), and [@petamoriken](https://togithub.com/petamoriken) for helping!
### [`v9.3.0`](https://togithub.com/vercel/next.js/releases/v9.3.0)
[Compare Source](https://togithub.com/vercel/next.js/compare/v9.2.2...v9.3.0)
##### Minor Changes
- Enable scss/sass support: [#10571](https://togithub.com/vercel/next.js/issues/10571)
- Enable pages/404.js support: [#10572](https://togithub.com/vercel/next.js/issues/10572)
- Enable polyfillsOptimization: [#10574](https://togithub.com/vercel/next.js/issues/10574)
- Prefetch SSG Data: [#10127](https://togithub.com/vercel/next.js/issues/10127)
- Adding conformance checks: [#10314](https://togithub.com/vercel/next.js/issues/10314)
- Preview mode documentation: [#10863](https://togithub.com/vercel/next.js/issues/10863)
- Add TypeScript docs for SSG: [#10865](https://togithub.com/vercel/next.js/issues/10865)
- Verify GS(S)P Serializability: [#10857](https://togithub.com/vercel/next.js/issues/10857)
##### Patches
- Adds a missing dependency: [#10570](https://togithub.com/vercel/next.js/issues/10570)
- Add missin create permission for faunadb example: [#10575](https://togithub.com/vercel/next.js/issues/10575)
- Decrease number of expected preloads in safari: [#10578](https://togithub.com/vercel/next.js/issues/10578)
- Make sure to handle rejection when prefetching pages: [#10579](https://togithub.com/vercel/next.js/issues/10579)
- Add NextApiHandler type: [#10573](https://togithub.com/vercel/next.js/issues/10573)
- Update error message for invalid return value from getStaticPaths: [#10580](https://togithub.com/vercel/next.js/issues/10580)
- Update to latest watchpack with dynamic route rename fix: [#10351](https://togithub.com/vercel/next.js/issues/10351)
- Bump amphtml-validator to 1.0.30: [#10588](https://togithub.com/vercel/next.js/issues/10588)
- Add Failing CSS Test Case: [#10590](https://togithub.com/vercel/next.js/issues/10590)
- Do not cache 404 SSR responses: [#10596](https://togithub.com/vercel/next.js/issues/10596)
- Fix Nested Index Dynamic Routes in Development: [#10595](https://togithub.com/vercel/next.js/issues/10595)
- Emit ES5 Friendly Code in Program#exit Visitor: [#10591](https://togithub.com/vercel/next.js/issues/10591)
- Fixed pathname check in router: [#10547](https://togithub.com/vercel/next.js/issues/10547)
- Use clearInterval instead of clearTimer on a timer: [#10597](https://togithub.com/vercel/next.js/issues/10597)
- Fix AMP Validator Version: [#10600](https://togithub.com/vercel/next.js/issues/10600)
- Fix: Improve grammar of apollo.js comments: [#10601](https://togithub.com/vercel/next.js/issues/10601)
- Clean up landed experimental flags: [#10593](https://togithub.com/vercel/next.js/issues/10593)
- Updated links: [#10604](https://togithub.com/vercel/next.js/issues/10604)
- Add err.sh for invalid getStaticPaths return value: [#10605](https://togithub.com/vercel/next.js/issues/10605)
- Remove extra whitespace: [`80bdf73`](https://togithub.com/vercel/next.js/commit/80bdf73929b4531482631ff3ac766af09873a9ef)
- Upgrade next-transpile-modules to latest everywhere: [#10607](https://togithub.com/vercel/next.js/issues/10607)
- Disable setImmediate polyfill: [#10612](https://togithub.com/vercel/next.js/issues/10612)
- Add navigation test specific for Safari 10: [#10616](https://togithub.com/vercel/next.js/issues/10616)
- Make sure to handle failing to load \_error: [#10617](https://togithub.com/vercel/next.js/issues/10617)
- Update legacy safari test for GitHub actions: [#10618](https://togithub.com/vercel/next.js/issues/10618)
- Add err.sh for getStaticProps error: [#10619](https://togithub.com/vercel/next.js/issues/10619)
- Add error messages for dynamic SSG page without getStaticPaths: [#10620](https://togithub.com/vercel/next.js/issues/10620)
- Remove next/link from chakra-ui example: [#10625](https://togithub.com/vercel/next.js/issues/10625)
- Update error-load-fail test to use check to handle reload taking longer on windows: [#10631](https://togithub.com/vercel/next.js/issues/10631)
- Remove deprecated static folder: [#10632](https://togithub.com/vercel/next.js/issues/10632)
- Fix Cookie Expiration: [#10634](https://togithub.com/vercel/next.js/issues/10634)
- Preview Mode Should Not Cache: [#10636](https://togithub.com/vercel/next.js/issues/10636)
- Invalidate cache for link[preload] in dev for CSS files: [#10630](https://togithub.com/vercel/next.js/issues/10630)
- Update link to GitHub Discussions beta: [`b331338`](https://togithub.com/vercel/next.js/commit/b331338891eca47b4ddd902dbfb734a05c37a91f)
- Make sure to log errors from data fetching in dev mode in the console: [#10652](https://togithub.com/vercel/next.js/issues/10652)
- Fix typo in invalid getStaticPaths value example: [#10657](https://togithub.com/vercel/next.js/issues/10657)
- Update with-mobx-keystone-typescript example: [#10638](https://togithub.com/vercel/next.js/issues/10638)
- Test Prerender in Emulated Serverless Mode: [#10660](https://togithub.com/vercel/next.js/issues/10660)
- Improve Nested Catch-All Coverage: [#10659](https://togithub.com/vercel/next.js/issues/10659)
- Fix Double URL Encoding for Serverless: [#10663](https://togithub.com/vercel/next.js/issues/10663)
- Add calling getStaticPaths in development before showing fallback: [#10611](https://togithub.com/vercel/next.js/issues/10611)
- Show better error when non-array is returned from custom-routes: [#10670](https://togithub.com/vercel/next.js/issues/10670)
- Update error load fail test so that webdriver can still connect to app: [#10673](https://togithub.com/vercel/next.js/issues/10673)
- Rename zeit.co/new → zeit.co/import: [#10674](https://togithub.com/vercel/next.js/issues/10674)
- Update example "with-typescript-graphql": [#10637](https://togithub.com/vercel/next.js/issues/10637)
- Create config.yml: [`cedd6fa`](https://togithub.com/vercel/next.js/commit/cedd6faba6f4f183d51cac612bc274e5c346e09b)
- Update 1.Bug_report.md: [`fc9f18d`](https://togithub.com/vercel/next.js/commit/fc9f18d78410a09fc1cd90326068106e918310d7)
- Fix apollo example: [#10696](https://togithub.com/vercel/next.js/issues/10696)
- Update head-manager to compress better: [#10687](https://togithub.com/vercel/next.js/issues/10687)
- Update README.md: [`c0f4283`](https://togithub.com/vercel/next.js/commit/c0f42837bf7ae1fc4d2bb2b15b84e7dfd8e2ad92)
- Make sure rewrites are handled in serverless mode correctly: [#10697](https://togithub.com/vercel/next.js/issues/10697)
- Update url prop handling for pages with new data methods: [#10653](https://togithub.com/vercel/next.js/issues/10653)
- Add dataRoutes field to routes-manifest for SSG and serverProps routes: [#10622](https://togithub.com/vercel/next.js/issues/10622)
- Ability to Disable SSG Fallback: [#10701](https://togithub.com/vercel/next.js/issues/10701)
- Fix Error Message: [`663f5c4`](https://togithub.com/vercel/next.js/commit/663f5c4b6e385ebe168e00110ca5217f56af6161)
- Add --example=<github-url> to create-next-app: [#10226](https://togithub.com/vercel/next.js/issues/10226)
- Rename getServerProps to getServerSideProps: [#10722](https://togithub.com/vercel/next.js/issues/10722)
- Remove `unstable_` prefix from new methods: [#10723](https://togithub.com/vercel/next.js/issues/10723)
- Fix buildId being escaped breaking test with certain build ids: [#10728](https://togithub.com/vercel/next.js/issues/10728)
- Fix url-polyfill dep and re-enable native-url: [#10726](https://togithub.com/vercel/next.js/issues/10726)
- Extract sendPayload and prepareServerlessUrl: [#10732](https://togithub.com/vercel/next.js/issues/10732)
- Extract getStaticPaths helper: [#10731](https://togithub.com/vercel/next.js/issues/10731)
- Remove old eslint-ignores from unstable\_ prefix: [#10740](https://togithub.com/vercel/next.js/issues/10740)
- Move upgrading guide to /docs: [#10727](https://togithub.com/vercel/next.js/issues/10727)
- Adding new types of performance monitoring: [#10421](https://togithub.com/vercel/next.js/issues/10421)
- Separate Low Priority Files from Main Files: [#10756](https://togithub.com/vercel/next.js/issues/10756)
- Consistently Type GS(S)P: [#10757](https://togithub.com/vercel/next.js/issues/10757)
- Correctly Dedupe Prefetching: [#10758](https://togithub.com/vercel/next.js/issues/10758)
- Add params to getStaticProps on err.sh: [#10751](https://togithub.com/vercel/next.js/issues/10751)
- Updating links to dynamic-routes section of docs: [#10759](https://togithub.com/vercel/next.js/issues/10759)
- Remove `dangerousAsPath` from `RenderOpts`: [#10773](https://togithub.com/vercel/next.js/issues/10773)
- Remove Dead Code from Next Server: [#10772](https://togithub.com/vercel/next.js/issues/10772)
- Examples: react-native-web: fix config to prefer .web.\* exts: [#10774](https://togithub.com/vercel/next.js/issues/10774)
- Fix RenderOpts in `next-server`: [#10776](https://togithub.com/vercel/next.js/issues/10776)
- Fix next/config module mismatch in new serverless mode: [#10792](https://togithub.com/vercel/next.js/issues/10792)
- Remove old env from workflow since it is replaced with WebHook: [#10798](https://togithub.com/vercel/next.js/issues/10798)
- Measure `getStaticProps`, `getServerSideProps`: [#10800](https://togithub.com/vercel/next.js/issues/10800)
- Throw NoFallbackError instead of returning: [#10793](https://togithub.com/vercel/next.js/issues/10793)
- Add identifier to NEXT_DATA for gs(s)p: [#10812](https://togithub.com/vercel/next.js/issues/10812)
- Update to output jest data for posting failed tests comment: [#10814](https://togithub.com/vercel/next.js/issues/10814)
- Fix(cli): inspect flag is deprecated: [#10819](https://togithub.com/vercel/next.js/issues/10819)
- Update to make sure preview mode works with getServerSideProps: [#10813](https://togithub.com/vercel/next.js/issues/10813)
- Send Credentials for `getServerSideProps` Requests: [#10826](https://togithub.com/vercel/next.js/issues/10826)
- Update release stats with different name from pr stats: [#10827](https://togithub.com/vercel/next.js/issues/10827)
- Add docs for static 404 and pages/404: [#10811](https://togithub.com/vercel/next.js/issues/10811)
- Make sure to error when setting too large of preview data: [#10831](https://togithub.com/vercel/next.js/issues/10831)
- Ensure an accessible default viewport meta tag: [#10823](https://togithub.com/vercel/next.js/issues/10823)
- Update Pages and Data Fetching docs for SSG improvements: [#10837](https://togithub.com/vercel/next.js/issues/10837)
- Update Custom Server README&[#39](https://togithub.com/vercel/next.js/issues/39);s: [#10843](https://togithub.com/vercel/next.js/issues/10843)
- Fix data fetching learn more links: [`a61dfb2`](https://togithub.com/vercel/next.js/commit/a61dfb22a14abbff524c5598bd8569f28db644c4)
- Re-add Sass Docs: [#10850](https://togithub.com/vercel/next.js/issues/10850)
- Update README-template.md: [`69ba793`](https://togithub.com/vercel/next.js/commit/69ba79346f348f784b82ae1eb01cce0d655b2224)
- Fix getStaticPaths modules being cached in dev mode: [#10852](https://togithub.com/vercel/next.js/issues/10852)
- Add example for why-did-you-render: [#10662](https://togithub.com/vercel/next.js/issues/10662)
- Update method for attaching GS(S)P identifier to page: [#10859](https://togithub.com/vercel/next.js/issues/10859)
- Fix `getServerSideProps` Test Case: [#10862](https://togithub.com/vercel/next.js/issues/10862)
- Fix Prerender Test Cases: [#10861](https://togithub.com/vercel/next.js/issues/10861)
- Add Test Case for SSG Full Re-Export: [#10864](https://togithub.com/vercel/next.js/issues/10864)
- Test child_process with API route: [#10872](https://togithub.com/vercel/next.js/issues/10872)
- Typo on preview mode documentation: [#10892](https://togithub.com/vercel/next.js/issues/10892)
- Fix getStaticPaths example code: [#10893](https://togithub.com/vercel/next.js/issues/10893)
- Fix linting of markdown documentation: [`83b4fd1`](https://togithub.com/vercel/next.js/commit/83b4fd150910917d4f91d8f743df0cc4d3ca5696)
- DatoCMS Example: [#10891](https://togithub.com/vercel/next.js/issues/10891)
- Upgrade webpack: [#10895](https://togithub.com/vercel/next.js/issues/10895)
- Fix Azure Pipelines: [#10896](https://togithub.com/vercel/next.js/issues/10896)
- Add demo URL for the DatoCMS example: [#10901](https://togithub.com/vercel/next.js/issues/10901)
##### Credits
Huge thanks to [@arcanis](https://togithub.com/arcanis), [@lgordey](https://togithub.com/lgordey), [@ijjk](https://togithub.com/ijjk), [@martpie](https://togithub.com/martpie), [@jaywink](https://togithub.com/jaywink), [@fabianishere](https://togithub.com/fabianishere), [@dijs](https://togithub.com/dijs), [@TheRusskiy](https://togithub.com/TheRusskiy), [@quinnturner](https://togithub.com/quinnturner), [@timneutkens](https://togithub.com/timneutkens), [@lfades](https://togithub.com/lfades), [@vvo](https://togithub.com/vvo), [@adithwip](https://togithub.com/adithwip), [@rafaelalmeidatk](https://togithub.com/rafaelalmeidatk), [@bmathews](https://togithub.com/bmathews), [@Spy-Seth](https://togithub.com/Spy-Seth), [@EvgeniyKumachev](https://togithub.com/EvgeniyKumachev), [@chibicode](https://togithub.com/chibicode), [@piglovesyou](https://togithub.com/piglovesyou), [@HaNdTriX](https://togithub.com/HaNdTriX), [@Timer](https://togithub.com/Timer), [@janicklas-ralph](https://togithub.com/janicklas-ralph), [@devknoll](https://togithub.com/devknoll), [@prateekbh](https://togithub.com/prateekbh), [@ethanryan](https://togithub.com/ethanryan), [@MoOx](https://togithub.com/MoOx), [@rifaidev](https://togithub.com/rifaidev), [@msweeneydev](https://togithub.com/msweeneydev), [@motiko](https://togithub.com/motiko), and [@balazsorban44](https://togithub.com/balazsorban44) for helping!
### [`v9.2.2`](https://togithub.com/vercel/next.js/releases/v9.2.2)
[Compare Source](https://togithub.com/vercel/next.js/compare/v9.2.1...v9.2.2)
##### Patches
- Fix missing file extensions in docs: [#10251](https://togithub.com/vercel/next.js/issues/10251)
- De-dupe escape-regex with escape-string-regexp: [#10257](https://togithub.com/vercel/next.js/issues/10257)
- Update static check vars and fix types: [#10260](https://togithub.com/vercel/next.js/issues/10260)
- Update SSG types and clean up RenderOpts type: [#10259](https://togithub.com/vercel/next.js/issues/10259)
- Update \_next/data URL handling in serverless-loader: [#10261](https://togithub.com/vercel/next.js/issues/10261)
- [example with-typescript-graphql] Fix type error: [#10269](https://togithub.com/vercel/next.js/issues/10269)
- Update built-in-css-support.md: [`c71694e`](https://togithub.com/vercel/next.js/commit/c71694e28b11c9c3e909692c5614b2670cec01b2)
- Update typo in typescript docs: [#10276](https://togithub.com/vercel/next.js/issues/10276)
- Update FaunaDB Example Instructions: [#10280](https://togithub.com/vercel/next.js/issues/10280)
- Add .jsx as a valid file extension in the pages directory: [#10281](https://togithub.com/vercel/next.js/issues/10281)
- Improved wording in comment: [#10277](https://togithub.com/vercel/next.js/issues/10277)
- Improve Stalled Requests Grammar: [#10283](https://togithub.com/vercel/next.js/issues/10283)
- Added support for BigInt to API routes: [#10215](https://togithub.com/vercel/next.js/issues/10215)
- Docs: remove --save from npm install; avoid system-ui: [#10252](https://togithub.com/vercel/next.js/issues/10252)
- Add catch all routes example and a link to it in docs: [#10202](https://togithub.com/vercel/next.js/issues/10202)
- Migrate CircleCi config to GitHub actions: [#10274](https://togithub.com/vercel/next.js/issues/10274)
- Fix Experimental Modern Mode with CSS: [#10289](https://togithub.com/vercel/next.js/issues/10289)
- Add initial support for unstable_getServerProps: [#10077](https://togithub.com/vercel/next.js/issues/10077)
- Fix with-orbit-components&[#39](https://togithub.com/vercel/next.js/issues/39);s name in package.json: [#10307](https://togithub.com/vercel/next.js/issues/10307)
- Fix typo in FaunaDB example: [#10304](https://togithub.com/vercel/next.js/issues/10304)
- Updated PostCSS docs and added a link to it: [#10292](https://togithub.com/vercel/next.js/issues/10292)
- Make sure to exit publish script with correct code: [#10310](https://togithub.com/vercel/next.js/issues/10310)
- Allowing skipping local selenium server when not needed: [#10312](https://togithub.com/vercel/next.js/issues/10312)
- Fix missing file extensions in docs: [#10251](https://togithub.com/vercel/next.js/issues/10251)
- De-dupe escape-regex with escape-string-regexp: [#10257](https://togithub.com/vercel/next.js/issues/10257)
- Update static check vars and fix types: [#10260](https://togithub.com/vercel/next.js/issues/10260)
- Update SSG types and clean up RenderOpts type: [#10259](https://togithub.com/vercel/next.js/issues/10259)
- Update \_next/data URL handling in serverless-loader: [#10261](https://togithub.com/vercel/next.js/issues/10261)
- [example with-typescript-graphql] Fix type error: [#10269](https://togithub.com/vercel/next.js/issues/10269)
- Update built-in-css-support.md: [`c71694e`](https://togithub.com/vercel/next.js/commit/c71694e28b11c9c3e909692c5614b2670cec01b2)
- Update typo in typescript docs: [#10276](https://togithub.com/vercel/next.js/issues/10276)
- Update FaunaDB Example Instructions: [#10280](https://togithub.com/vercel/next.js/issues/10280)
- Add .jsx as a valid file extension in the pages directory: [#10281](https://togithub.com/vercel/next.js/issues/10281)
- Improved wording in comment: [#10277](https://togithub.com/vercel/next.js/issues/10277)
- Improve Stalled Requests Grammar: [#10283](https://togithub.com/vercel/next.js/issues/10283)
- Added support for BigInt to API routes: [#10215](https://togithub.com/vercel/next.js/issues/10215)
- Docs: remove --save from npm install; avoid system-ui: [#10252](https://togithub.com/vercel/next.js/issues/10252)
- Add catch all routes example and a link to it in docs: [#10202](https://togithub.com/vercel/next.js/issues/10202)
- Migrate CircleCi config to GitHub actions: [#10274](https://togithub.com/vercel/next.js/issues/10274)
- Fix Experimental Modern Mode with CSS: [#10289](https://togithub.com/vercel/next.js/issues/10289)
- Add initial support for unstable_getServerProps: [#10077](https://togithub.com/vercel/next.js/issues/10077)
- Fix preprocessor loader error: [#10235](https://togithub.com/vercel/next.js/issues/10235)
- Enable static 404 config to allow static 404 page when availab…: [#10290](https://togithub.com/vercel/next.js/issues/10290)
- Small grammar fix: [#10317](https://togithub.com/vercel/next.js/issues/10317)
- Fix: 9919 Add warning when no config is exported from next.con…: [#10228](https://togithub.com/vercel/next.js/issues/10228)
- Update workflow for testing against react@next: [#10323](https://togithub.com/vercel/next.js/issues/10323)
- Repair advanced feature reference: [#10330](https://togithub.com/vercel/next.js/issues/10330)
- Disable caching for react@next workflow as its not supported: [#10331](https://togithub.com/vercel/next.js/issues/10331)
- [Experimental] Nomodule polyfills chunk: [#10212](https://togithub.com/vercel/next.js/issues/10212)
- Update note about public and pages overlap: [#10287](https://togithub.com/vercel/next.js/issues/10287)
- Update the default template of create-next-app: [#10327](https://togithub.com/vercel/next.js/issues/10327)
- Upgrade with-carbon-components to built-in SCSS: [#10321](https://togithub.com/vercel/next.js/issues/10321)
- Fixes [#10333](https://togithub.com/vercel/next.js/issues/10333) `with-next-seo` sample issues: [#10335](https://togithub.com/vercel/next.js/issues/10335)
- Fix api-routes-apollo-server-and-client-auth Example: [#10334](https://togithub.com/vercel/next.js/issues/10334)
- TypeScript documentation for \_app.tsx: [#10345](https://togithub.com/vercel/next.js/issues/10345)
- Improve api-routes-apollo-server-and-client-auth Example: [#10358](https://togithub.com/vercel/next.js/issues/10358)
- Increase watch limit for GitHub actions testing: [#10367](https://togithub.com/vercel/next.js/issues/10367)
- Added fix for [#8893](https://togithub.com/vercel/next.js/issues/8893): [#10370](https://togithub.com/vercel/next.js/issues/10370)
- Make sure to not override initial navigation when refreshing static page&[#39](https://togithub.com/vercel/next.js/issues/39);s query: [#10353](https://togithub.com/vercel/next.js/issues/10353)
- Add support for runtimeConfigs in serverless mode: [#10365](https://togithub.com/vercel/next.js/issues/10365)
- Add check that dynamic route is API route in handleApiRequest: [#10360](https://togithub.com/vercel/next.js/issues/10360)
- Implement experimental pages/404.js for custom 404 page: [#10329](https://togithub.com/vercel/next.js/issues/10329)
- Update Preact Example: [#10380](https://togithub.com/vercel/next.js/issues/10380)
- Custom AMP Validator Variable Name Collision Fix: [#10371](https://togithub.com/vercel/next.js/issues/10371)
- Fix bug in catch-all routes with SSG: [#10379](https://togithub.com/vercel/next.js/issues/10379)
- Update create app docs: [#10382](https://togithub.com/vercel/next.js/issues/10382)
- Make sure runtime config is set before any imports for serverless: [#10386](https://togithub.com/vercel/next.js/issues/10386)
- Update to not show API not ended warning when response is piped to: [#10342](https://togithub.com/vercel/next.js/issues/10342)
- Add TypeScript Definitions for Sass: [#10363](https://togithub.com/vercel/next.js/issues/10363)
- Remove Old Records: [#10398](https://togithub.com/vercel/next.js/issues/10398)
- Fix with-reasonml example: [#10399](https://togithub.com/vercel/next.js/issues/10399)
- New Jest Example: [#10396](https://togithub.com/vercel/next.js/issues/10396)
- Skip undefined attribute in Head: [#9856](https://togithub.com/vercel/next.js/issues/9856)
- Make sure runtime config works in dev mode for serverless targ…: [#10402](https://togithub.com/vercel/next.js/issues/10402)
- Check for invalid pages: [#10403](https://togithub.com/vercel/next.js/issues/10403)
- Remove `builds` from examples: [#10417](https://togithub.com/vercel/next.js/issues/10417)
- Detect Invalid Pages Before Optimize: [#10418](https://togithub.com/vercel/next.js/issues/10418)
- Add support for rewriting to external resources: [#10041](https://togithub.com/vercel/next.js/issues/10041)
- Modify splitChunksPlugin to give shared CSS chunks different names: [#10408](https://togithub.com/vercel/next.js/issues/10408)
- Re-enable `native-url`: [#10419](https://togithub.com/vercel/next.js/issues/10419)
- Update optimize event with static 404 status: [#10420](https://togithub.com/vercel/next.js/issues/10420)
- De-dupe paths returned in getStaticPaths: [#10423](https://togithub.com/vercel/next.js/issues/10423)
- Make apollo HOC composable: [#10422](https://togithub.com/vercel/next.js/issues/10422)
- Adjust README of example: [#10426](https://togithub.com/vercel/next.js/issues/10426)
- Remove old ts-ignores and extra value in routeInfo: [#10429](https://togithub.com/vercel/next.js/issues/10429)
- Update to use existing util to de-dupe path check: [#10431](https://togithub.com/vercel/next.js/issues/10431)
- Make missing param error message more specific: [#10433](https://togithub.com/vercel/next.js/issues/10433)
- Update size-limit test to be more fine grained: [#10434](https://togithub.com/vercel/next.js/issues/10434)
- Update utm links in create-next-app: [#10442](https://togithub.com/vercel/next.js/issues/10442)
- Remove unused dependency [@types/babel-types](https://togithub.com/types/babel-types): [#10448](https://togithub.com/vercel/next.js/issues/10448)
- Add initial SSG fallback handling: [#10424](https://togithub.com/vercel/next.js/issues/10424)
- Redesign custom-routes output and show headers in output: [#10444](https://togithub.com/vercel/next.js/issues/10444)
- Make withApollo work with \_app.js components: [#8801](https://togithub.com/vercel/next.js/issues/8801)
- With threejs example: [#10301](https://togithub.com/vercel/next.js/issues/10301)
- Add paths field for unstable_getStaticPaths: [#10454](https://togithub.com/vercel/next.js/issues/10454)
- Add error message when rewriting to dynamic SSG page: [#10458](https://togithub.com/vercel/next.js/issues/10458)
- Upgrade koa router in example: [#10469](https://togithub.com/vercel/next.js/issues/10469)
- Get the http2 example to work: [#10470](https://togithub.com/vercel/next.js/issues/10470)
- Make Missing Prerender Manifest Fatal: [#10485](https://togithub.com/vercel/next.js/issues/10485)
- Update next-server routes order for expected priority: [#10326](https://togithub.com/vercel/next.js/issues/10326)
- Add Stripe TypeScript Example: [#10482](https://togithub.com/vercel/next.js/issues/10482)
- Update README.md: [#10487](https://togithub.com/vercel/next.js/issues/10487)
- Use filter for create-next-app template: [#10496](https://togithub.com/vercel/next.js/issues/10496)
- Upgrade next-transpile-modules in workspace examples: [#10492](https://togithub.com/vercel/next.js/issues/10492)
- Builds with Warnings Still Complete: [#10498](https://togithub.com/vercel/next.js/issues/10498)
- Update deploy doc to surface ZEIT Now / DPS: [#10412](https://togithub.com/vercel/next.js/issues/10412)
- SSG Preview Mode: [#10459](https://togithub.com/vercel/next.js/issues/10459)
- Fix typo in ignoring-typescript-errors.md: [#10499](https://togithub.com/vercel/next.js/issues/10499)
- [Docs] Apply updates based on feedback: [#10352](https://togithub.com/vercel/next.js/issues/10352)
- Remove Now CLI reference from examples: [#10501](https://togithub.com/vercel/next.js/issues/10501)
- Adjust SSG Loading Behavior: [#10510](https://togithub.com/vercel/next.js/issues/10510)
- Update wording for custom server: [#10512](https://togithub.com/vercel/next.js/issues/10512)
- Retry Static Data Fetch on Hydration: [#10513](https://togithub.com/vercel/next.js/issues/10513)
- Remove with-data-prefetch Example: [#10514](https://togithub.com/vercel/next.js/issues/10514)
- Clean up async in next-server: [#10476](https://togithub.com/vercel/next.js/issues/10476)
- Improve error for invalid page configurations: [#10441](https://togithub.com/vercel/next.js/issues/10441)
- Add handling for default as named export in SSG transform: [#10486](https://togithub.com/vercel/next.js/issues/10486)
- Update withApollo example: [#10451](https://togithub.com/vercel/next.js/issues/10451)
- Add global CSS styles to example/with-stripe-typescript: [#10520](https://togithub.com/vercel/next.js/issues/10520)
- Remove `native-url` Again: [#10526](https://togithub.com/vercel/next.js/issues/10526)
- Make sure to encode pathname for custom-route destination: [#10536](https://togithub.com/vercel/next.js/issues/10536)
- Check next.config.js settings: [#10425](https://togithub.com/vercel/next.js/issues/10425)
- Migrate to AMP Optimizer 2.0: [#10535](https://togithub.com/vercel/next.js/issues/10535)
- Implement `isFallback` Router Property: [#10539](https://togithub.com/vercel/next.js/issues/10539)
##### Credits
Huge thanks to [@borisowsky](https://togithub.com/borisowsky), [@piglovesyou](https://togithub.com/piglovesyou), [@dannytatom](https://togithub.com/dannytatom), [@msweeneydev](https://togithub.com/msweeneydev), [@bartdeslagmulder](https://togithub.com/bartdeslagmulder), [@stigkj](https://togithub.com/stigkj), [@jamesmosier](https://togithub.com/jamesmosier), [@chibicode](https://togithub.com/chibicode), [@lfades](https://togithub.com/lfades), [@Timer](https://togithub.com/Timer), [@RobinCsl](https://togithub.com/RobinCsl), [@apollonian](https://togithub.com/apollonian), [@alejalapeno](https://togithub.com/alejalapeno), [@dmitrika](https://togithub.com/dmitrika), [@micahalcorn](https://togithub.com/micahalcorn), [@ijjk](https://togithub.com/ijjk), [@pacocoursey](https://togithub.com/pacocoursey), [@zhe](https://togithub.com/zhe), [@ivan-kleshnin](https://togithub.com/ivan-kleshnin), [@stryder03](https://togithub.com/stryder03), [@38elements](https://togithub.com/38elements), [@msnider](https://togithub.com/msnider), [@TheDSCPL](https://togithub.com/TheDSCPL), [@vasco3](https://togithub.com/vasco3), [@lachlanjc](https://togithub.com/lachlanjc), [@AndyBitz](https://togithub.com/AndyBitz), [@atcastle](https://togithub.com/atcastle), [@pex](https://togithub.com/pex), [@Janpot](https://togithub.com/Janpot), [@HaNdTriX](https://togithub.com/HaNdTriX), [@afsanefda](https://togithub.com/afsanefda), [@Nainterceptor](https://togithub.com/Nainterceptor), [@areai51](https://togithub.com/areai51), [@thorsten-stripe](https://togithub.com/thorsten-stripe), [@vvo](https://togithub.com/vvo), [@markhaslam](https://togithub.com/markhaslam), [@devknoll](https://togithub.com/devknoll), and [@sebastianbenz](https://togithub.com/sebastianbenz) for helping!
### [`v9.2.1`](https://togithub.com/vercel/next.js/releases/v9.2.1)
[Compare Source](https://togithub.com/vercel/next.js/compare/v9.2.0...v9.2.1)
##### Minor Changes
- Allow mismatching `href` and `as` when manually provided: [#9837](https://togithub.com/vercel/next.js/issues/9837)
- [Experimental] Add built-in Sass support: [#10133](https://togithub.com/vercel/next.js/issues/10133)
##### Patches
- Add an example for Fauna using cookie based auth (round 2): [#9986](https://togithub.com/vercel/next.js/issues/9986)
- Honor exportTrailingSlash for default 404: [#10109](https://togithub.com/vercel/next.js/issues/10109)
- Rename Build SPR to SSG: [#10114](https://togithub.com/vercel/next.js/issues/10114)
- Add specific warning for require() PostCSS plugin: [#10121](https://togithub.com/vercel/next.js/issues/10121)
- Added amp-img example with fallback attribute: [#10122](https://togithub.com/vercel/next.js/issues/10122)
- Remove outdated readme: [#10123](https://togithub.com/vercel/next.js/issues/10123)
- Make example READMEs more consistent: [#10124](https://togithub.com/vercel/next.js/issues/10124)
- Support unnamed parameters in custom-routes correctly: [#9920](https://togithub.com/vercel/next.js/issues/9920)
- Error on query values in exportPathMap for auto export page: [#9908](https://togithub.com/vercel/next.js/issues/9908)
- Fix SSG data request failing with trailing slash: [#10140](https://togithub.com/vercel/next.js/issues/10140)
- Switch from `defer` to `async`: [#10143](https://togithub.com/vercel/next.js/issues/10143)
- Update readme.md: [#10136](https://togithub.com/vercel/next.js/issues/10136)
- Fix hydration with custom \_app and granular chunks: [#10144](https://togithub.com/vercel/next.js/issues/10144)
- Update with-tailwindcss example: [#10141](https://togithub.com/vercel/next.js/issues/10141)
- Chore(examples): Update firebase version: [#10145](https://togithub.com/vercel/next.js/issues/10145)
- Update static-html-export.md: [#10155](https://togithub.com/vercel/next.js/issues/10155)
- Minor update for the "with-react-ga" example: [#10156](https://togithub.com/vercel/next.js/issues/10156)
- Add option arg to changeState when onlyAHashChange: [#10003](https://togithub.com/vercel/next.js/issues/10003)
- Fix broken link in error page: [#10159](https://togithub.com/vercel/next.js/issues/10159)
- Add initial support for static 404 page: [#10113](https://togithub.com/vercel/next.js/issues/10113)
- Remove [@zeit/next-css](https://togithub.com/zeit/next-css) from docs: [#10168](https://togithub.com/vercel/next.js/issues/10168)
- Sends Google Analytics correct url path on fresh page load: [#10146](https://togithub.com/vercel/next.js/issues/10146)
- Remove `native-url`: [#10176](https://togithub.com/vercel/next.js/issues/10176)
- Test Query String Behavior: [#10102](https://togithub.com/vercel/next.js/issues/10102)
- Add error for invalid distDir value: [#10177](https://togithub.com/vercel/next.js/issues/10177)
- [docs] Added related links to next.config.js: [#10174](https://togithub.com/vercel/next.js/issues/10174)
- Feat(build): Transpile assuming higher version of runtime: [#9511](https://togithub.com/vercel/next.js/issues/9511)
- Delay hydration until after page is visible in development: [#10164](https://togithub.com/vercel/next.js/issues/10164)
- Add example: with-firebase-authentication-serverless: [#10078](https://togithub.com/vercel/next.js/issues/10078)
- Example: Convert \_app.js to functional components: [#10115](https://togithub.com/vercel/next.js/issues/10115)
- Feat(examples:tailwind): add postcss-preset-env: [#10160](https://togithub.com/vercel/next.js/issues/10160)
- Serve `public/` folder when page routes are disabled: [#10169](https://togithub.com/vercel/next.js/issues/10169)
- [with-emotion-10,11] Update emotion examples to v10 & v11: [#9646](https://togithub.com/vercel/next.js/issues/9646)
- Update Relay Modern example: [#10150](https://togithub.com/vercel/next.js/issues/10150)
- Add support for catch-all routes with SSG: [#10175](https://togithub.com/vercel/next.js/issues/10175)
- Add `with-stencil` example: [#10125](https://togithub.com/vercel/next.js/issues/10125)
- Improve user errors for invalid `pageExtensions`: [#10178](https://togithub.com/vercel/next.js/issues/10178)
- Test CSS/Media Caching in Production Suite: [#10184](https://togithub.com/vercel/next.js/issues/10184)
- Stabilize New Dev Test: [#10188](https://togithub.com/vercel/next.js/issues/10188)
- Don&[#39](https://togithub.com/vercel/next.js/issues/39);t include core-js for default \_document: [#10187](https://togithub.com/vercel/next.js/issues/10187)
- Test Query String with + Sign: [#10186](https://togithub.com/vercel/next.js/issues/10186)
- Disable core-js for server-side build: [#10189](https://togithub.com/vercel/next.js/issues/10189)
- Add hydration callback for testing: [#10195](https://togithub.com/vercel/next.js/issues/10195)
- Update tsconfig for tests: [`592a2c2`](https://togithub.com/vercel/next.js/commit/592a2c2f009a7be164f25af5c512c844da19cde2)
- Update error for failing to parse custom-route source: [#10197](https://togithub.com/vercel/next.js/issues/10197)
- Disable core-js on Next.js core files as it&[#39](https://togithub.com/vercel/next.js/issues/39);s not transforming…: [#10193](https://togithub.com/vercel/next.js/issues/10193)
- Fix ESLint Ignores and Extract Fn: [#10205](https://togithub.com/vercel/next.js/issues/10205)
- Dedupe CSS Regexes: [#10206](https://togithub.com/vercel/next.js/issues/10206)
- Use builtins for React transform: [#10207](https://togithub.com/vercel/next.js/issues/10207)
- Extract CSS Loaders into Separate Files: [#10210](https://togithub.com/vercel/next.js/issues/10210)
- Updated docs: [#10213](https://togithub.com/vercel/next.js/issues/10213)
- Let users define their own database as easily as possible.: [#10209](https://togithub.com/vercel/next.js/issues/10209)
- Enable security tests cross browser: [#10217](https://togithub.com/vercel/next.js/issues/10217)
- Remove unnecessary exportPathMap from examples: [#10218](https://togithub.com/vercel/next.js/issues/10218)
- Disable invalid security tests for safari: [#10221](https://togithub.com/vercel/next.js/issues/10221)
- Update README.md for example project "form-handler": [#10224](https://togithub.com/vercel/next.js/issues/10224)
- Fix rewriting to API routes not including query: [#10223](https://togithub.com/vercel/next.js/issues/10223)
- Improve Link documentation: [#10225](https://togithub.com/vercel/next.js/issues/10225)
- Add Bitbucket Pipelines to errors/no-cache.md: [#10229](https://togithub.com/vercel/next.js/issues/10229)
- Fix Linting: [`945f726`](https://togithub.com/vercel/next.js/commit/945f7265905fdca91c0b4f559d4c8e77fc0fc744)
- Revert "feat(build): Transpile assuming higher version of runt…: [#10233](https://togithub.com/vercel/next.js/issues/10233)
- Customizing PostCSS Configuration: [#10236](https://togithub.com/vercel/next.js/issues/10236)
- Check for invalid objects in rewrites/redirects/headers: [#10238](https://togithub.com/vercel/next.js/issues/10238)
- Check CSS Test Output: [#10237](https://togithub.com/vercel/next.js/issues/10237)
- Update tests running and add splitting by timings for Azure: [#10214](https://togithub.com/vercel/next.js/issues/10214)
- Add example with-xstate: [#10234](https://togithub.com/vercel/next.js/issues/10234)
- Add PostCSS Configuration to Sidebar: [`fb47360`](https://togithub.com/vercel/next.js/commit/fb47360f8dc9f5ca1e8c6ec616c8b8b213dd716d)
- Fix a typo in docs: [#10239](https://togithub.com/vercel/next.js/issues/10239)
- Add Apollo Server and Client Auth Example: [#9913](https://togithub.com/vercel/next.js/issues/9913)
- Explain Ignored PostCSS Plugin: [#10240](https://togithub.com/vercel/next.js/issues/10240)
- PostCSS Error When Exporting Function: [#10242](https://togithub.com/vercel/next.js/issues/10242)
- Add info on storing cache in GitHub Actions: [#10231](https://togithub.com/vercel/next.js/issues/10231)
- Tweak export test to be more stable: [#10241](https://togithub.com/vercel/next.js/issues/10241)
- Adding conformance webpack plugin: [#9716](https://togithub.com/vercel/next.js/issues/9716)
- Error on Invalid PostCSS Shape: [#10244](https://togithub.com/vercel/next.js/issues/10244)
##### Credits
Huge thanks to [@vimota](https://togithub.com/vimota), [@ijjk](https://togithub.com/ijjk), [@jplhomer](https://togithub.com/jplhomer), [@luciovilla](https://togithub.com/luciovilla), [@timneutkens](https://togithub.com/timneutkens), [@chibicode](https://togithub.com/chibicode), [@OlegFilonchuk](https://togithub.com/OlegFilonchuk), [@zhe](https://togithub.com/zhe), [@ssong](https://togithub.com/ssong), [@orta](https://togithub.com/orta), [@EvHaus](https://togithub.com/EvHaus), [@rscotten](https://togithub.com/rscotten), [@lenaggar](https://togithub.com/lenaggar), [@lfades](https://togithub.com/lfades), [@shaneMLK](https://togithub.com/shaneMLK), [@Timer](https://togithub.com/Timer), [@eps1lon](https://togithub.com/eps1lon), [@kmjennison](https://togithub.com/kmjennison), [@stramel](https://togithub.com/stramel), [@afzalsayed96](https://togithub.com/afzalsayed96), [@alreadyExisted](https://togithub.com/alreadyExisted), [@azizhk](https://togithub.com/azizhk), [@thibaultboursier](https://togithub.com/thibaultboursier), [@rohmanhm](https://togithub.com/rohmanhm), [@alejalapeno](https://togithub.com/alejalapeno), [@fauna-brecht](https://togithub.com/fauna-brecht), [@smilevideo](https://togithub.com/smilevideo), [@mgrubinger](https://togithub.com/mgrubinger), [@none23](https:
Configuration
:date: Schedule: "" in timezone America/Lima.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
9.1.7
->9.3.2
GitHub Vulnerability Alerts
CVE-2020-5284
Impact
serverless
targetnext export
We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.
Patches
https://github.com/zeit/next.js/releases/tag/v9.3.2
References
https://github.com/zeit/next.js/releases/tag/v9.3.2
Release Notes
vercel/next.js
### [`v9.3.2`](https://togithub.com/vercel/next.js/releases/v9.3.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v9.3.1...v9.3.2) **This upgrade is _completely backwards compatible and recommended for all users on versions below 9.3.2._ For future security related communications of our OSS projects, please [join this mailing list](https://zeit.co/security).** Next.js has just been audited by one of the top security firms in the world. They found that attackers could craft special requests to access files in the dist directory (`.next`). **This does not affect files outside of the dist directory (`.next`).** In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory. We recommend upgrading to the latest version of Next.js to improve the overall security of your application. #### How to Upgrade - We have released patch versions for both the stable and canary channels of Next.js. - To upgrade run `npm install next@latest --save` #### Impact - **Not affected**: Deployments on ZEIT Now v2 ([https://zeit.co](https://zeit.co/)) are not affected - **Not affected**: Deployments using the `serverless` target - **Not affected**: Deployments using `next export` - **Affected**: Users of Next.js below 9.3.2 that use `next start` We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. ##### How to Assess Impact If you think sensitive code or data could have been exposed, you can filter logs of affected sites by `../` with a 200 response. #### What is Being Done As Next.js has grown in popularity, it has received the attention of security researchers and auditors. We are thankful to Luca Carettoni from Doyensec for their investigation and discovery of the original bug and subsequent responsible disclosure. We've landed a patch that ensures only known filesystem paths of `.next/static` are made available under `/_next/static`. Regression tests for this attack were added to the [security](https://togithub.com/zeit/next.js/blob/canary/test/integration/production/test/security.js) integration test suite. - We have notified known Next.js users in advance of this publication. - A public CVE was issued. - If you want to stay on top of our security related news impacting Next.js or other ZEIT projects, please [join this mailing list](https://zeit.co/security). - We encourage responsible disclosure of future issues. Please email us at **Configuration
:date: Schedule: "" in timezone America/Lima.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.