Skip to content

v12.2.5

Compare
Choose a tag to compare
@ijjk ijjk released this 12 Aug 02:39
· 8592 commits to canary since this release

Core Changes

  • Change invalid internal upstream image error code: #39334
  • Hoist styles for Route Announcer: #39331
  • fix: wrong reference url for disableStaticImages: #39362
  • fix: skip resizing image if it's animated: #39325
  • Fix catchall rewrites for _next/data routes: #39370
  • Fix next/future/image alt text: #39366
  • refactor: add named export in next/server: #39381
  • fix(ts): More strict Redirect type: #38277
  • fix(next): dev server starting when importing a file using get-projec…: #38274
  • Add runtime to PageConfig type: #37453
  • fix: improve logging for _devPagesManifest.json loading failures: #38046
  • Allow custom path for preview mode cookies: #38313
  • Fix removing whitespacing in dev overlay: #28277
  • Fix emotion labelFormat and sourcemap options: #39389
  • Fix emotion shouldForwardProp options breaks component selectors: #39390
  • next/image imgix loader can use multiple auto params: #34808
  • Adds eslint-plugin-eslint-plugin to ensure eslint-plugin-next rules follow ESLint rule best practices along with enforcing some consistency.: #37920
  • [ESLint] Adds --output-file flag: #36420
  • Update polyfill for eslint no-unwanted-polyfillio rule: #33170
  • fix(ts): Middleware type tweaks: #38625
  • Fix Link generation for SSG pages if locale domains are used: #36818
  • Setup require hook in next-server for styled-jsx resolving: #39305
  • fix: ensure trailing slash on registry URL when fetching wasm fallback: #39427
  • typing: upgrade styled-jsx to remove workaround in build script: #39408
  • Extract redirect utils into a separate file: #39433
  • Ensure locale redirects are not applied in minimal mode: #39436
  • feat(middleware): augments / matcher with /index: #39397
  • Bump edge-runtime packages: #39450
  • Ensure default _app is used when falling back to default _error: #39467
  • Handle rewriting WebSocket requests: #39463
  • App Build Stats: #38884
  • Tweak styled-jsx type declarations: #39474
  • FIX GAUSSIAN BLUR IN FUTURE\IMAGE: #39190
  • Add hot-reloading for env file changes: #38483
  • feat(next-swc/modularize_imports): Add Kebab case: #38583
  • Make dev watch ignore more specific: #39504
  • Bump styled-jsx and remove manual types creation: #39506
  • Add position styling to future fill images: #39438
  • fix: ensure hidden iframe apps render in development mode: #39514
  • Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files: #39511
  • Re-add styled-jsx as a normal dependency: #39518

Documentation Changes

  • docs: update When section of getStaticProps page: #39393
  • Update script.md: #39400
  • API Routes Request Helpers docs.: #39407
  • Improve description of context.query in getServerSideProps(): #39422
  • Enhance sizes documentation for next/image: #39301
  • Add component wrapper in sizes documentation code snippet: #39437
  • Update router.prefetch documentation to include locale option: #39442
  • Fix docs path "Invalid getServerSideProps Return Value": #39443
  • Improve next/future/image Migration docs: #39421

Example Changes

  • Fixed links to supabase examples: #39343
  • Examples/cms-wordpress migrate to TypeScript: #39250
  • chore: upgrade example to Docker Compose v2: #39372
  • fix (examples): Changed the version of next-pwa: #39369
  • Port 'with-static-export' example to TypeScript: #38268
  • update examples/custom-server-fastify and replace depreaction: #38269
  • Land(Update example with-apivideo-upload README): #39391
  • Fix: broken TypeScript in WordPress example.: #39402
  • Enable @typescript-eslint/no-use-before-define for examples dir: #39469
  • [examples] Add on-demand revalidation to Contentful example: #39475
  • Fixed issues with environment variables for Windows users: #37853
  • fix(examples/with-wdyr): example config to support SWC: #39465

Misc Changes

  • test: ensure default output is correct: #39358
  • Fix failing escheck test: #39365
  • Add yarn 2 Setup Files to Valid Files for create-next-app: #30936
  • Add Object#fromEntries polyfill (with 6 lines of code): #36426
  • chore: restores removed tests: #39452
  • Fix next.config.js overwriting on deploy e2e test: #39476
  • Update contributing.md to recommend corepack: #39479
  • Fix swc build for freebsd target: #39478

Credits

Huge thanks to @pthomas931, @madmed88, @sanjaiyan-dev, @balazsorban44, @DonghyukJacobJang, @ijjk, @chaiwattsw, @styfle, @dunglas, @ahkhanjani, @promer94, @terrierscript, @shawncal, @insik-han, @QuiiBz, @ykzts, @JoshuaKGoldberg, @lucasassisrosa, @dikwickley, @Brooooooklyn, @sicarius97, @FourwingsY, @manovotny, @SukkaW, @pepoeverton, @jdeniau, @sumiren, @anthonyshew, @pekarja5, @huozhi, @leerob, @fediev, @atcastle, @shuding, @feugy, @jonohewitt, @zakiego, @Schniz, @timneutkens, @wyattjoh, @MaedahBatool, @X7Becka, @nnnnoel, @dcdev67, @alvinometric, @timothympace, and @jeferson-sb for helping!