yarn @next/eslint-plugin-next 13.2.2
v13.2.2

18 months ago

Core Changes

  • fix(ts): correctly augment next when typedRoutes: true: #46332
  • feat(cssnano-simple): merge into next repo: #46380
  • Dedupe next/font preload tags: #46354
  • Print command for current packet manager in @next/font warning: #46359
  • Loader refactoring: #46304
  • Support server-only inside pages/api: #46328
  • fix: improve next.config.js validation for images prop: #46326
  • Revert "Support server-only inside pages/api": #46388
  • Add relative app dir field: #46393
  • test(integration): properly pipe turbopack binary stdouts: #46382
  • chore: improve error when exporting metadata from client component: #46334
  • Update server reference syntax and tests: #46389
  • Fix SWC error wrongly formatted : #46412
  • Fix(typedRoutes): replaced readFile + replaceAll, hid utils types, fixed duplication in type Route, fixed route groups on Windows: #46378
  • Ensure fetch fields are detected with RequestInit: #46398
  • Ensure SERVER_REFERENCE_MANIFEST is included in output files: #46420
  • Fix duplicate link type asset generation: #46421
  • chore: show large data warning once per page on prod: #46323
  • fixed spelling mistake: #46446
  • Fix(typedRoutes): export createServer from 'next/types/index.d.ts': #46462
  • chore: Loss of precision due to Date now amplification: #46344
  • Fix next/font/google config not being used: #46484
  • Add @latest to next/font codemod warning: #46486
  • Add error for styled-jsx in Server Component: #46482
  • Refactor style loader code: #46490
  • Fix SWC's auto_cjs handling: #46448
  • Add theme color media support for metadata: #46502
  • Fix(typedRoutes): fixed 'next' imports on TS < 5.0: #46507
  • fix: codemod should preserve type only import: #46512
  • Add interactive-widget optional property to Viewport type: #46506
  • Update router filter to be less sensitive: #46515
  • Update fetch cache internal handling: #46522
  • Upgrade precompiled react packages: #46365
  • fix(error-overlay): hide "Learn more" when up-to-date: #46488
  • Refactor route types to include rewrites and redirects: #46327
  • Added bcrypt to the serverComponentsExternalPackages auto-optOut list: #46532
  • feat: add support for the src folder for the instrumentation hook: #46529
  • Fix viewport typing and refactor constants: #46569
  • Fix shared entries/invalidators module scope: #46533
  • Fix CSS imports not included in entries with a custom extension: #46571
  • fix: should not warn when image unmounts: #46567
  • fix: generate next-env.d.ts file during next lint command: #46249
  • Fix infinite invalidations loop in app dir (#46526)
  • Use og:image instead of og:image:url: #46570
  • Fix usage of textDecoder to not break utf8 characters: #46564
  • Fix app client child entry not being disposed when deleting the file: #46583
  • Fix: canonical should allow relative urls: #46584

Documentation Changes

  • Docs: next/font updates: #46159
  • Add note explaining how to import fonts with spaces in name: #46348
  • Docs: Fix Railway link: #46381
  • Wrong function name: #46546

Example Changes

Misc Changes

  • test(next-script): teardown next-dev instance via jest hooks: #46383
  • Apply filtering after rewrite as well (#46390
  • Fix fetch cache key inputs and encoding (#46392
  • Fix failing app-static deploy test: #46395
  • Cover 1st-party examples with tests (#45270)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Tim Neutkens tim@timneutkens.nl
  • Updates cms-sanity example to use Sanity v3 (#45662
  • Support Two-letter Language Codes(ISO-639-1) to metadata HrefLang types (#46285
  • [next/codemod]: Preserve type-only imports when using next-image-to-legacy-image (#46460
  • Remove incorrect comment (#46467)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • dynamic = "error" violations should be shown in error overlay (#45893
  • Fix typo from next-font (#46468
  • Add image generation test to app route: #46449
  • Remove baseUrl from create-next-app ts/jsconfig.json: #46458
  • Update fetch cache key (#46513

Credits

Huge thanks to @balazsorban44, @delbaoliveira, @SukkaW, @ijjk, @hanneslund, @JanKaifer, @GitRowin, @shuding, @styfle, @mjunix, @kwonoj, @thiskevinwang, @DuCanhGH, @SethFalco, @yun-jay, @harrytothemoon, @timneutkens, @huozhi, @thomasballinger, @aretrace, @JesseKoldewijn, @feedthejim, @serkanbektas, @teobler, and @vadzim for helping!

Don't miss a new eslint-plugin-next release

NewReleases is sending notifications on new releases.