v9.3.0
Minor Changes
- Enable scss/sass support: #10571
- Enable pages/404.js support: #10572
- Enable polyfillsOptimization: #10574
- Prefetch SSG Data: #10127
- Adding conformance checks: #10314
- Preview mode documentation: #10863
- Add TypeScript docs for SSG: #10865
- Verify GS(S)P Serializability: #10857
Patches
- Adds a missing dependency: #10570
- Add missin create permission for faunadb example: #10575
- Decrease number of expected preloads in safari: #10578
- Make sure to handle rejection when prefetching pages: #10579
- Add NextApiHandler type: #10573
- Update error message for invalid return value from getStaticPaths: #10580
- Update to latest watchpack with dynamic route rename fix: #10351
- Bump amphtml-validator to 1.0.30: #10588
- Add Failing CSS Test Case: #10590
- Do not cache 404 SSR responses: #10596
- Fix Nested Index Dynamic Routes in Development: #10595
- Emit ES5 Friendly Code in Program#exit Visitor: #10591
- Fixed pathname check in router: #10547
- Use clearInterval instead of clearTimer on a timer: #10597
- Fix AMP Validator Version: #10600
- Fix: Improve grammar of apollo.js comments: #10601
- Clean up landed experimental flags: #10593
- Updated links: #10604
- Add err.sh for invalid getStaticPaths return value: #10605
- Remove extra whitespace: 80bdf73
- Upgrade next-transpile-modules to latest everywhere: #10607
- Disable setImmediate polyfill: #10612
- Add navigation test specific for Safari 10: #10616
- Make sure to handle failing to load _error: #10617
- Update legacy safari test for GitHub actions: #10618
- Add err.sh for getStaticProps error: #10619
- Add error messages for dynamic SSG page without getStaticPaths: #10620
- Remove next/link from chakra-ui example: #10625
- Update error-load-fail test to use check to handle reload taking longer on windows: #10631
- Remove deprecated static folder: #10632
- Fix Cookie Expiration: #10634
- Preview Mode Should Not Cache: #10636
- Invalidate cache for link[preload] in dev for CSS files: #10630
- Update link to GitHub Discussions beta: b331338
- Make sure to log errors from data fetching in dev mode in the console: #10652
- Fix typo in invalid getStaticPaths value example: #10657
- Update with-mobx-keystone-typescript example: #10638
- Test Prerender in Emulated Serverless Mode: #10660
- Improve Nested Catch-All Coverage: #10659
- Fix Double URL Encoding for Serverless: #10663
- Add calling getStaticPaths in development before showing fallback: #10611
- Show better error when non-array is returned from custom-routes: #10670
- Update error load fail test so that webdriver can still connect to app: #10673
- Rename zeit.co/new → zeit.co/import: #10674
- Update example "with-typescript-graphql": #10637
- Create config.yml: cedd6fa
- Update 1.Bug_report.md: fc9f18d
- Fix apollo example: #10696
- Update head-manager to compress better: #10687
- Update README.md: c0f4283
- Make sure rewrites are handled in serverless mode correctly: #10697
- Update url prop handling for pages with new data methods: #10653
- Add dataRoutes field to routes-manifest for SSG and serverProps routes: #10622
- Ability to Disable SSG Fallback: #10701
- Fix Error Message: 663f5c4
- Add --example=<github-url> to create-next-app: #10226
- Rename getServerProps to getServerSideProps: #10722
- Remove
unstable_
prefix from new methods: #10723 - Fix buildId being escaped breaking test with certain build ids: #10728
- Fix url-polyfill dep and re-enable native-url: #10726
- Extract sendPayload and prepareServerlessUrl: #10732
- Extract getStaticPaths helper: #10731
- Remove old eslint-ignores from unstable_ prefix: #10740
- Move upgrading guide to /docs: #10727
- Adding new types of performance monitoring: #10421
- Separate Low Priority Files from Main Files: #10756
- Consistently Type GS(S)P: #10757
- Correctly Dedupe Prefetching: #10758
- Add params to getStaticProps on err.sh: #10751
- Updating links to dynamic-routes section of docs: #10759
- Remove
dangerousAsPath
fromRenderOpts
: #10773 - Remove Dead Code from Next Server: #10772
- Examples: react-native-web: fix config to prefer .web.* exts: #10774
- Fix RenderOpts in
next-server
: #10776 - Fix next/config module mismatch in new serverless mode: #10792
- Remove old env from workflow since it is replaced with WebHook: #10798
- Measure
getStaticProps
,getServerSideProps
: #10800 - Throw NoFallbackError instead of returning: #10793
- Add identifier to NEXT_DATA for gs(s)p: #10812
- Update to output jest data for posting failed tests comment: #10814
- Fix(cli): inspect flag is deprecated: #10819
- Update to make sure preview mode works with getServerSideProps: #10813
- Send Credentials for
getServerSideProps
Requests: #10826 - Update release stats with different name from pr stats: #10827
- Add docs for static 404 and pages/404: #10811
- Make sure to error when setting too large of preview data: #10831
- Ensure an accessible default viewport meta tag: #10823
- Update Pages and Data Fetching docs for SSG improvements: #10837
- Update Custom Server README's: #10843
- Fix data fetching learn more links: a61dfb2
- Re-add Sass Docs: #10850
- Update README-template.md: 69ba793
- Fix getStaticPaths modules being cached in dev mode: #10852
- Add example for why-did-you-render: #10662
- Update method for attaching GS(S)P identifier to page: #10859
- Fix
getServerSideProps
Test Case: #10862 - Fix Prerender Test Cases: #10861
- Add Test Case for SSG Full Re-Export: #10864
- Test child_process with API route: #10872
- Typo on preview mode documentation: #10892
- Fix getStaticPaths example code: #10893
- Fix linting of markdown documentation: 83b4fd1
- DatoCMS Example: #10891
- Upgrade webpack: #10895
- Fix Azure Pipelines: #10896
- Add demo URL for the DatoCMS example: #10901
Credits
Huge thanks to @arcanis, @lgordey, @ijjk, @martpie, @jaywink, @fabianishere, @dijs, @TheRusskiy, @quinnturner, @timneutkens, @lfades, @vvo, @adithwip, @rafaelalmeidatk, @bmathews, @Spy-Seth, @EvgeniyKumachev, @chibicode, @piglovesyou, @HaNdTriX, @Timer, @janicklas-ralph, @devknoll, @prateekbh, @ethanryan, @MoOx, @rifaidev, @msweeneydev, @motiko, and @balazsorban44 for helping!