v9.4.0
Minor Changes
- Polyfill fetch by default: #12353
- [Fast Refresh] Redesigned Runtime Error Experience: #12222
- Elements with
role=link
should open on [Enter]: #12460 - [Fast Refresh] New Overlay for Prerender Error: #12485
- Export NextApiRequest type as interface: #12186
- Experimental: New ESLint Plugin: #11986
- Context types for getStaticProps and getServerSideProps: #12606
- Allow
@babel/preset-typescript
to be configured: #11840 - Cont. Update performance relayer and remove unstable prefix: #12665
- Enable Fast Refresh by Default: #12640
- Enable sassOptions support in next.config.js: #12685
- [Docs] Environment Variables: #12696
Patches
- Remove documentMiddleware experimental option: #12218
- Update preview-mode.md: #12287
- New logging output: #12169
- Enable NEXT_PUBLIC_ env var support: #12283
- Fix wildcard paths causing infinite resolving: #12318
- [Examples] add Contentful example: #12323
- Fix typo: #12224
- Update jsconfig paths fix for windows: #12328
- Update with-tailwindcss to use Tailwind CSS v1.4.0's new built-in purge option: #12327
- [Docs] Add link to relative title in postcss docs: #12330
- Skip LogBox tests to fix CI: 103c25a
- [Fast Refresh] Skip Environment Check: #12359
- Upgrade
source-map
package: #12355 - Add URL escaping for custom headers: #12031
- Rectified typo: #12366
- Only monospace numbers for new overlay: #12394
- [Fast Refresh] Click to open in editor: #12397
- Add name to component in with-tailwindcss example: #12417
- Add names to components in hello-world example: #12416
- Add names to components in amp example: #12415
- Update lint-staged: #12225
- [Fast Refresh] Add Titles for Click to Open Action: #12427
- Docs(examples): with-iron-session update: #12418
- Remove NEXT_DATA from production builds when runtime JS is disabled: #12406
- Clean up styles in with-tailwindcss example: #12458
- [Fast Refresh] Fix terminal editors on macOS: #12430
- [Fast Refresh] Support client-side code being ran in Node: #12426
- [Fast Refresh] Unlock Focus on Disabled Element: #12425
- Use fs.promises in test files: #12432
- Fix linting: 806b78c
- Do not prettify
lerna.json
: 93a94b8 - Add warning for non-standard NODE_ENV value: #12361
- Add additional file serving tests: #12479
- Upgrade Flexbugs Dependency: #12459
- Don't generate fake cache keys for Preview Mode: #12487
- Next/client/link: improve internal type annotation: #12468
- [examples/with-typescript-graphql] Add "createResolverContext" hook, etc.: #11681
- Fixed typo: #12497
- Add note about HoC possibly adding GIP to _app: #12491
- Disable cache warning on supported platforms: #12495
- [Fast Refresh] Better Tabbing Order: #12503
- [Fast Refresh] Correctly Trap Focus in Overlay: #12502
- Disable Comment Extraction: #12496
- [Fast Refresh] Fix overlay display on Safari: #12523
- Update tests to poll for output instead of wait for it: #12534
- Don't add
.amp
to pathname: #12528 - Update dynamic-import.md: #12541
- [Fast Refresh] New Compile Error Overlay: #12543
- Adds missing deps: #12519
- Add documentation for TypeScript baseUrl and paths option: #12379
- Update blog-starter to use Tailwind CSS v1.4's new built-in purge option: #12452
- Fix: hello world missing default exports: #12551
- Mention nesting in arrays alongside Fragments in next/head docs: #12420
- Update AMP dependencies: #12536
- [Fast Refresh] Toggling of Collapsed Frames: #12560
- [Fast Refresh] Separate LogBox Tests: #12564
- Resolve bug with Prismic Locales: #12132
- [Fast Refresh] Add more test cases: #12568
- Example: added Ant Design Pro Layout less: #12408
- Update to run tests in headless mode on Azure: #12574
- Fix
moduleId
not resolving correctly on Windows: #12584 - Add cross-env package: #12581
- Add flag to disable API warning: #11380
- Update to latest version of stacktrace-parser: #12597
- Fix DatePicker Day.js bug in Ant Design example: #12580
- [Examples]: With react bootstrap: #12421
- Fix error toast pluralization: #12622
- Clarify dismissal message: #12624
- [Fast Refresh] Adjust Overlay Styling: #12623
- [Fast Refresh] Upgrade
react-refresh
for SC: #12627 - [Examples] Update data-fetch example: #12617
- [Fast Refresh] Overlay hash must consider stack: #12639
- More renaming ZEIT → Vercel: #12649
- Disable experimental pageEnv stub by default: #12644
- [Fast Refresh] Reorder Loaders: #12671
- [Fast Refresh] Resize Arrows and Preserve Newlines: #12672
- [Fast Refresh] Do not draw eye to collapsed frames: #12673
- Fix: use latest experimental method names: #12669
- Fix check utility in tests: #12678
- Chore(create-next-app): add missing return types on helpers: #12616
- [Fast Refresh] Add additional test case: #12674
- Update documentation that refers to isomorphic fetch libs: #12686
- Chore(create-next-app): add missing types: #12691
- Chore(next): link/router/document missing types: #12692
- Upgrade deps: #12700
- [Examples] Update firebase authentication: #12687
- Update code sample in performance measurement docs: #12690
- Link Made by Vercel to vercel.com: #12702
- Use @/ to show module alias instead of @ prefixed: #12600
- Fix logout in with-iron-session example: #12704
- Add test for API route with fetch polyfill: #12680
Credits
Huge thanks to @jamespohalloran, @lfades, @aemiro-allison, @ijjk, @taylorbryant, @Timer, @ykzts, @plug-n-play, @fabianishere, @vvo, @matamatanot, @chibicode, @karlhorky, @christianalfoni, @sangotaro, @liulanz, @dalibor-123, @stefanjudis, @Kiarash-Z, @hossam-magdy, @mit123suki, @robinweser, @lncls, @kohchihao, @connormcwood, @davidcsally, @roniemeque, @piyu-sh, @jonespen, @joemccann, @makezi, @TxHawks, @devknoll, @jokester, @piglovesyou, @austinhumes-valtech, @rafaelalmeidatk, @arcanis, @timneutkens, @mlorthiois, @huozhi, @lachlanjc, @sebastianbenz, @AlexanderVishnevsky, @mxschmitt, @janicklas-ralph, @NavizDev, @PabloSzx, @tywmick, @lwz7512, @justincy, @Skn0tt, @eps1lon, @maxigimenez, @sarupbanskota, @belgattitude, and @dpyzo0o for helping!