Core Changes
- fix(types): allow nonpromise return types for static functions: #24685
- Ensure history navigates correctly with dynamic routes + basePath: #25459
- Fix external check for non-local next import: #25518
- Ensure providing only query on dynamic route works as expected: #25469
- Assume a recent
react@experimental
ifreactRoot
is set: #25496 - Update to latest webpack 5 and webpack-sources: #25558
- Set default webpack publicPath value to override auto: #25452
- Add helpful error for link with multiple children: #25657
- Ensure rewrites are resolved correctly through history: #25666
- Fix rewrite and dynamic params on navigating to initial history entry: #25495
- Enable serial build by default: #25642
- Don't show webpack version message in production server: #25654
- Font optimization add preconnect: #25346
- Enable new babel mode: #25635
- Remove deprecated features: #25446
- Disable split chunks in webpack 5 in dev mode: #25735
- Remove experimental tag from Script component: #25435
next lint
+ ESLint in Create Next App: #25064- Bump "engines" to node >= 12.0.0: #25761
- Support for static image imports: #24993
- Bump minimum React version to
^17.0.2
: #25788 - Remove feature flags for static image and blurry placeholder: #25797
- Add note to upgrading guide about React version: #25849
- Fix "env" key in babelrc with new Babel mode: #25841
- Enable webpack5 for all apps: #25639
- Fix types for static image: #25808
- Do not remove placeholder for data URL: #24704
- Add warning for older TypeScript versions: #25867
- Prevent node inspect from causing webpack check to fail: #25876
- fix(21606): consider scroll option when using shallow routing: #24888
- remove opentelemetry/api: #25900
- Adjust JPEG quality when generating placeholder: #25904
- Improve check for eslint version: #25910
- Refactor image optimizer static immutable header: #25909
- ESLint Updates: #25895
- Fix immutable header on static image: #25914
- ESLint: Updates disable ESLint message during builds: #25917
- Remove
@types/comment-json
: #25810 - Add delay to placeholder removal: #25916
- Add experimental cra-to-next transform in codemod cli: #24969
- add global callback for refresh latency: #25944
- Add css blur when
placeholder=blur
: #25945 - ESLint: More updates and bug fixes: #25952
- Add errors for invalid
placeholder=blur
usage: #25953 - Fix delay between blur image and high res image: #25994
- Update
json5
and remove@types/json5
: #25946 - Disable prerendering /500 when _error has getServerSideProps: #23586
- Update comments for clarity & grammar in router.ts: #25947
- include lib folder when publishing next-codemod: #26003
- Update client-side default error: #25997
- Add gitignore template to published files for codemod: #26008
- Fix Firefox image decode error: #26011
- Enable optimized loading strategy: #26021
- Remove deprecated features and enable future flag: #26066
- Remove unsupported examples: #26075
- Remove React version checks and warnings that are no longer needed: #25992
- fix: don't create .eslintrc if package.json contains eslintConfig: #26025
- Add lint checking events: #26089
- Update to latest version of webpack 5: #26102
Documentation Changes
- Update Authentication docs to be an examples list.: #25497
- Improve documentation of CDN asset paths : #25531
- Fix rewrite example for fallback site: #25508
- doc: update TS version for --incremental: #25736
- Update ESLint docs.: #25816
- ESLint Plugin: Fix Document and Head import rules: #25730
- Adding
--typescript
option: #25831 - Fix command in upgrade guide: #25879
- docs: use descriptive links instead of "click here": #25897
- Fix loader url composition on image/next doc: #25893
- Add changing the hostname to the cli doc: #25971
- Add experimental CRA transform to docs: #25989
- docs: advise users of
create-next-app --ts, --typescript
: #25349 - Update react-version.md: #26093
- [ESLint] Adds section to docs for migrating existing ESLint configurations: #26101
- Update learn path in getting started and from cra docs: #26104
- Script component docs: #25471
- Update image documentation for static image: #25949
Example Changes
- Updated example name: #25428
- Example: Treat "mockServiceWorker" as a generated artifact in "with-msw": #25515
- Fix with-docker example fails to load image: #25536
- Updated with-mdx-remote dynamic components example: #25366
- up-to-date electron: #25551
- Update tsconfig of example to be consistent with default output of next.js: #25581
- Remove react-relay-network-modern example.: #25815
- fix mobx-state-tree-typesript missing babel/core dependency: #25589
- feat: bump styled-components version on examples: #25826
- Add run on Google Cloud Run button to the docker example: #25824
- updated example for zustand v3.5.1 interface change: #25066
- fix: added typescript dependency in next-sitemap example: #25866
- docs(examples/with-iron-session): fix mutate + fetch, add TypeScript example link: #25889
- docs: add 'Open in StackBlitz' buttons to various examples: #25853
- fix: move viewport meta tag to head in _app.js: #25901
- fix: use key while rendering arrays: #25902
- docs(examples/with-mobx-state-tree-typescript): add 'Open in StackBlitz' button: #25926
- tslib module missing in package.json: #25829
- Updated Readme: #25575
- Modify image component examples app for static image: #25956
- (examples/with-urql): fixes graphql server url: #25987
- docs(examples/with-redux-persist): add 'Open in StackBlitz' button: #25972
- Example blog with comments: #24829
- docs: fix typo in with-unstated/README.md: #26004
- (examples/with-react-md): switch from node-sass to sass: #26001
- Update next-transpile-modules to 7.3.0 across examples: #26040
- examples/with-mongodb: avoid destructuring of environment variables.: #26029
- (example/with-typescript-grapql): fix deps: #26010
- (examples): fix missed peer dependencies: #26069
- (examples/with-rbx-bulma-pro): update deps: #26077
Misc Changes
- Update
yarn next
script with--enable-source-maps
: #25533 - Update size limit test
- ESLint Config: Adds
alt
text rule for Image: #25462 - Enable Strict Mode in new
create-next-app
projects: #25696 - Replace 'require' with 'import' in bench files and update dependancies: #25775
- Fix occasional test failures: #25855
- feat: have .tsx be in ts template for create-next-app: #25820
- Run acceptance tests non-concurrently: #25861
- Update CNA build target in tsconfig: #25780
- Replace
CLIEngine
withESLint
: #25801 - Ensure correct browser env is used: #26014
- Update preload test for safari: #26020
- Update safari preload test: #26086
- Fix react@next and react@experimental tests: #26088
Credits
Huge thanks to @kahy9, @ljosberinn, @leerob, @kettanaito, @thomasboyt, @hussainanjar, @styfle, @devknoll, @LiuuY, @timneutkens, @housseindjirdeh, @PepijnSenders, @janicklas-ralph, @payapula, @tmtk75, @ijjk, @hiramhuang, @daku10, @atcastle, @matamatanot, @pelhage, @Lukazovic, @mzaien, @gleich, @geshan, @Munawwar, @ykzts, @vitalybaev, @mottox2, @vvo, @chrisneven, @turneand, @d3lm, @akellbl4, @sokra, @johnjago, @alicanyildirim, @sanathusk, @valse, @samrobbins85, @SamVerschueren, @ademilter, @ctjlewis, @brandondc741, @eltociear, @martpie, @kasipavankumar, and @joecohens for helping!