Bot releases are hidden (Show)
Published by huozhi about 1 year ago
fs.existsSync
to avoid race condition: #56387waitUntil
into the handler: #56404existSync
call: #56419isolateModules
to tsconfig
when extending from tsconfig with verbatimModuleSyntax
: #54164verbatimModuleSyntax
to make type imports/exports explicit: #56551server-only
and client-only
: #56760useParams
: #56771x-forwarded-*
headers: #56797JSON.parse
to make reading output easier: #56713@radix-ui/react-icons
: #56452permalink
option of useFormState
: #56329cargo fmt
to lint staged: #56430.../templates/*/app/layout.*
import order: #56380.env.example
file: #56469Huge thanks to @ijjk, @timneutkens, @shuding, @wyattjoh, @Syphini, @manovotny, @ForsakenHarmony, @gnoff, @anonrig, @viktorronnback, @Rylab, @sokra, @hamirmahal, @huozhi, @jridgewell, @SukkaW, @wbinnssmith, @feedthejim, @balazsorban44, @jazsouf, @2XG-DEV, @stefanprobst, @ztanner, @mzab1985, @Mustafadagkiranlar, @JoRyGu, @cmbritten, @styfle, @Krishnanand2517, @bahag-buttf, @kwonoj, @Shadid12, @delbaoliveira, @mayankkamboj47, @dvoytenko, @mayank1513, @himself65, @suravshrestha, @fvaysh, @dianacpg, @joristirado, and @Kikobeats for helping!
Published by ijjk about 1 year ago
beta.nextjs.org
Links: #55924config.experimental.workerThreads
: #55257swc_core
to v0.83.26
: #55780swc_core
to v0.83.26
": #56077permanentRedirect
return 308 in route handlers: #56065boolean
instead of false
for experimental logging config: #56110postcss
: #56225not-found
to file conventions page: #55944extension
option to createMDX()
: #55967.bind
method: #56164Response.json
over NextResponse.json
: #56173with-jest
: #56152with-jest
types: #56193with-stripe-typescript
example: #56274swc_core
to v0.83.28
: #56134Huge thanks to @balazsorban44, @sdkdeepa, @aayman997, @mayank1513, @timneutkens, @2XG-DEV, @eliot-akira, @hi-matthew, @riobits, @wbinnssmith, @ijjk, @sokra, @dvoytenko, @rishabhpoddar, @manovotny, @A7med3bdulBaset, @huozhi, @jridgewell, @joulev, @SukkaW, @kdy1, @feedthejim, @Fredkiss3, @styfle, @MildTomato, @ForsakenHarmony, @walfly, @bzhn, @shuding, @boylett, @Loki899899, @devrsi0n, @ImBIOS, @vinaykulk621, @ztanner, @sdaigo, @hamirmahal, @blurrah, @omarmciver, and @alexBaizeau for helping!
Published by huozhi about 1 year ago
build
: #55628fs.existsSync
instead of accessSync
: #55675next/dist/esm
rewrite ResolvePlugin
: #55689fetchServerResponse
is a valid record when stored in router cache: #55690next/navigation
: #55743generate_types
task: #55748next info
output: #55704--experimental-https
: #55775turbopack-230922.2
: #55828--experimental-https
: #55775turbopack-230922.2
: #55828useFormState
: #55564nissuer
: #55723dependencies
/devDependencies
: #55730Huge thanks to @sokra, @ztanner, @anonrig, @huozhi, @mayank1513, @travisanderson, @wyattjoh, @jridgewell, @ryanagillie, @Brooooooklyn, @kwonoj, @balazsorban44, @naruaway, @S3Prototype, @feedthejim, @joulev, @icyJoseph, @ijjk, @ForsakenHarmony, @timneutkens, @wbinnssmith, @sdkdeepa, @sdaigo, @leerob, @dominiksipowicz, @joao-vasconcelos, and @mostafaegouda for helping!
Published by huozhi about 1 year ago
@vercel/og
and satori
: #55654named_import
transform: #55664create-next-app
templates: Change bun run dev
commands to bun dev
: #55603Huge thanks to @padmaia, @mayank1513, @jakeboone02, @balazsorban44, @kwonoj, @huozhi, @Yovach, @ztanner, @wyattjoh, @GabenGar, @timneutkens, and @shuding for helping!
Published by sokra about 1 year ago
output: export
in app router: #54202ua-parser-js
: #54404ssr: false
in App Router: #54411named_import_transform
: #54530optimize_barrel
SWC transform and new optimizePackageImports
config: #54572permanentRedirect
function in App Router: #54047preload
is not exported from react-dom
: #54688@visx/visx
to the import optimization list: #54778/
: #54744/route
suffix: #54851undici
: #55007react-hot-toast
from the optimizePackageImports list: #55029optimizePackageImports
: #55040babel/code-frame
: #55024skipTrailingSlashRedirect
being ignored in pages
: #55067Send
: #55077ImageResponse
extends Response
: #55187--experimental-turbo
from supported next-dev args: #55300react-server-dom-webpack
cache invalidation: #55287.ts
files: #552960.0.0.0
: #54445next/head
on client in App Pages: #55419mui-core
to the default optimizePackageImports
list: #55554ppr
flag: #55560optimize_server_react
transform: #55551manifest
metadata file: #54380next-i18n-router
as a resource for internationalized routing: #52344useSelectedLayoutSegment
& useSelectedLayoutSegments
: #53602loaderFile
config: #54529use-selected-layout-segments.mdx
: #54767maxDuration
in API Routes config: #54844app
reference on pages
doc for runtimes.: #55058satisfies
for TypeScript code blocks: #55205optimizePackageImports
: #55185nissuer
: #55525elements.update()
to ensure latest payment amount is reflected: #54848@keystone-next/keystone
: #55210swc_core
to v0.79.69
: #5419002-app/01-building-your-application/06-optimizing/01-images.mdx
: #54311swc_core
to v0.79.70
: #54368next-with-deps
: #54847node@18
: #54000swc_core
to v0.83.12
: #55216Huge thanks to @ztanner, @huozhi, @icyJoseph, @kdy1, @timneutkens, @feedthejim, @nbhargava, @shuding, @lauthieb, @leerob, @styfle, @tonskton, @delbaoliveira, @m4salah, @gnoff, @kwonoj, @ijjk, @dvoytenko, @sloanesturz, @balazsorban44, @wyattjoh, @wbinnssmith, @dcporter44, @Kikobeats, @uzairali001, @A7med3bdulBaset, @sokra, @ClementDreptin, @vvo, @Vector73, @ah100101, @chanyeinthaw, @emiliosheinz, @dikaio, @indraantoor, @steven-tey, @krychaxp, @smaeda-ks, @janicklas-ralph, @EdPutans, @vinaykulk621, @michaelangeloio, @mateuszaliyev, @lukebussey, @jridgewell, @Xvezda, @Aryan9592, @sadaffathali, @mayank1513, @ForsakenHarmony, @jsteele-stripe, @okoyecharles, @rob-johansen, @imageck, @ecklf, @Sylith1231, @SonMooSans, @rousan, @robertwbradford, @hiddenest, @innowhat, @sand4rt, @feugy, @ryota-murakami, @hyeewooon, @mewcoder, @CSY54, @csi-lk, @daltonmcphaden, @sidgaikwad, @joulev, @danaugrs, @olingern, @penberg, @sdaigo, @manovotny, @arsenykruglikov, @remorses, @alexandreferreirafr, @acdlite, @li-jia-nan, @wesleydebruijn, @Kevintjuhz, @ytkg, @roigecode, @hoop71, @romeobravo, and @padmaia for helping!
Published by ijjk about 1 year ago
@headlessui/react
: #54206devPageFiles
collection: #54224Route
and LinkProps
stub generics: #54226createClientModuleProxy
from Flight Server: #54232loaderFile
when loader: default
: #53417upgrading.mdx
link : #54234[email protected]
: #54246Huge thanks to @opnay, @styfle, @timneutkens, @ztanner, @shuding, @huozhi, @vinaykulk621, @balazsorban44, @goguda, and @coreyleelarson for helping!
Published by ztanner about 1 year ago
position
in dev-build-watcher
: #54124size
property to ReadonlySearchParams
: #53144Huge thanks to @huozhi, @shuding, @styfle, @jridgewell, @bencmbrook, @cramforce, and @ztanner for helping!
Published by huozhi about 1 year ago
as any
type cast: #54074fs.promises.rm()
: #54076[email protected]
: #54125NextRequest
: #54108handle_issues
from turbopack: #52972cookies().has()
breaks in app-route: #54112'
in data-fetching/fetching-caching-and-revalidating: #54058swc_core
to v0.79.59
: #54082packageManager
field: #54132Huge thanks to @balazsorban44, @huozhi, @ztanner, @williamli, @wbinnssmith, @kwonoj, @stefanprobst, @feugy, @timneutkens, @kdy1, @Kikobeats, @styfle, @dvoytenko, @MaxLeiter, and @devjiwonchoi for helping!
Published by ijjk about 1 year ago
Huge thanks to @ijjk, @ztanner, @huozhi, @lacymorrow, @dvoytenko, @kylemcd, @kwonoj, @tibi1220, @wbinnssmith, and @shuding for helping!
Published by huozhi about 1 year ago
changeFrequency
and priority
attributes to sitemaps: #48484getStaticPaths()
for windows: #53876@heroicons/react
to modularizeImports
: #5390218.3.0-canary-1a001dac6-20230812
: #53881next-server
: #53131next/link
and useRouter
.: #53804bun
package manager: #53590@next/third-parties
package: #53996swc_core
to v0.79.55
: #53831Huge thanks to @iamarpitpatidar, @pythagoras-yamamoto, @alexkirsz, @sokra, @jsteele-stripe, @tknickman, @gaojude, @styfle, @janicklas-ralph, @huozhi, @ijjk, @vinaykulk621, @balazsorban44, @ztanner, @timneutkens, @ericfennis, @JohnAdib, @MiLk, @kwonoj, @delbaoliveira, @leerob, @LuudJanssen, @lucasconstantino, @davecarlson, @colinhacks, @shuding, @jridgewell, @jantimon, @Banbarashik, @ForsakenHarmony, @kdy1, @dvoytenko, @arturbien, @gnoff, @hsrvms, and @DuCanhGH, @tim-hanssen, @Aryan9592, and @rishabhpoddar for helping!
Published by huozhi about 1 year ago
Next-Url
to http vary in consideration of intercept routes.: #52746yarn add sharp
to npm i sharp
: #53130Request
cloning via NextRequest
: #5315708-parallel-routes.mdx
: #53069useRef()
: #53015FormData
type on formData
defined in .js
file: #53014validate-docs-links
required: #53123Huge thanks to @vinaykulk621, @Lantianyou, @styfle, @shuding, @joulev, @AkifumiSato, @trigaten, @HurSungYun, @DevLab2425, @sokra, @alexkirsz, @ztanner, @leerob, @SukkaW, @kwonoj, @huozhi, @ijjk, @balazsorban44, @daniel-web-developer, @ky1ejs, and @arturbien for helping!
Published by ijjk about 1 year ago
swc_core
to v0.79.22
: #52945Huge thanks to @ijjk, @wyattjoh, @sokra, @kdy1, @alexkirsz, @styfle, @ShaunFerris, @syedtaqi95, @Heidar-An, @huozhi, and @ztanner for helping!
Published by ijjk about 1 year ago
<preload>
for next/image
in App Router: #52425.txt
: #52640moduleResolution
in tsconfig.json
from node
to bundler
: #51957js
version for generateMetadata
.: #52763force-dynamic
from all dynamic routes: #52916Huge thanks to @styfle, @huozhi, @balazsorban44, @kwonoj, @alexkirsz, @ijjk, @Jeffrey-Zutt, @timneutkens, @vinaykulk621, @Ryan-Dia, @sokra, @shuding, @steppefox, @hiro0218, @rjsdnql123, @feedthejim, @fgiuliani, @steven-tey, @AntoineBourin, @adamrhunter, @darshanjain-entrepreneur, @s0h311, @wyattjoh, @ztanner, @djreillo, @dijonmusters, and @cassidoo for helping!
Published by huozhi over 1 year ago
get_client_chunking_context
independent of context: #51928ensurePage
requests for the same page: #52360output: "standalone"
crashing build when there is no app/
page: #51993serverComponentsExternalPackages
: #52388next-types-plugin
for Node16
/NodeNext
: #52562[email protected]
: #52649useSearchParams
: #52348create-next-app
requires public GitHub URLs.: #52367fetch
request de-duplication: #52100next/image
: #52480formData
example for Route Handlers: #52358metadata
object: #52252_app
and _document
: #524790.19
): #52473v0.79.13
: #52371not-found.tsx
with output: export
: #52526npm pack
instead of yarn pack
: #52563body-parser
: #52580Huge thanks to @ijjk, @anonrig, @alexkirsz, @gfgabrielfranca, @styfle, @ztanner, @leerob, @sokra, @huozhi, @Bitbbot, @wyattjoh, @kdy1, @wbinnssmith, @shuding, @jridgewell, @BrennanColberg, @Nick-Mazuk, @delbaoliveira, @thomasballinger, @lucgagan, @nroland013, @SonMooSans, @jenewland1999, @thorwebdev, @jyunhanlin, @darshanjain-entrepreneur, @DuCanhGH, @Gnadhi, @yagogmaisp, @carlos-menezes, @balazsorban44, @ryo-manba, @timneutkens, @feedthejim, @vamcs, @matepapp, @SleeplessOne1917, @ecklf, @djreillo, @kwonoj, @gnoff, @feugy, @karlhorky, @starunaway, @FernandVEYRIER, @Ryan-Dia, @Terro216, @anthonyshew, and @suhaotian for helping!
Published by huozhi over 1 year ago
modularizeImports
transform of antd
: #52148unstable_getImgProps()
: #5215318.3.0-canary-1fdacbefd-20230630
: #5200518.3.0-canary-1fdacbefd-20230630
": #52192dynamicParams
check in TS plugin: #52211appDir: true
from tests: #52291modularizeImports
for antd & ant-design/icons: #52169Huge thanks to @huozhi, @shuding, @ijjk, @styfle, @sokra, @timneutkens, @ztanner, @alexkirsz, @simonswiss, @feikerwu, @lubakravche, @leerob, @masnormen, @bottxiang, @acdlite, @delbaoliveira, @feedthejim, @mhmdrioaf, @tyler-lutz, @sebmarkbage, @vincenthongzy, @yigithanyucedag, and @doinki for helping!
Published by huozhi over 1 year ago
For a more detailed summary of recent performance improvements around compilation, please see this comment.
swc_core
to v0.78.15
": #51716render
out of server: #51678createServerReference
: #51723serverActionsSizeLimit
as serverActionsBodySizeLimit
and add docs: #51755execSync
: #51785NODE_OPTIONS='--inspect'
not running expected: #51467WATCHPACK_WATCHER_LIMIT=20
: #51826next-font-manifest-plugin
: #51835edge
runtime Pages API/App Route handlers AbortSignal
aborts on client disconnect: #51727unstable_getImgProps
export from next/image
: #51205turbopack
and swc_core
to v0.78.24
: #51943resolveExternal
calls: #52053/app
based pages and layout in nested layouts: #51558docs
: fix generated app icons file extensions: #51562next/image
video.: #51790reactStrictMode: true
by default: #51931NODE_ENV
environment variable: #52003with-supabase
example: #51442supabase-js
dependency for with-supabase
example: #51703swc_core
to v0.78.15
: #51269swc_core
to v0.78.24
: #51857swc_core
to v0.78.24
": #51940Huge thanks to @huozhi, @wyattjoh, @dijonmusters, @danger-ahead, @bre30kra69cs, @leerob, @Yash-Singh1, @jridgewell, @alexkirsz, @ztanner, @sokra, @krmeda, @tyler-lutz, @ijjk, @delbaoliveira, @bigyanse, @kdy1, @2-NOW, @ForsakenHarmony, @Mingyu-Song, @morganfeeney, @timneutkens, @aralroca, @nickmccurdy, @adamjmcgrath, @shuding, @devjiwonchoi, @angel1254mc, @cxa, @ibash, @mohanraj-r, @kevinmitch14, @iaurg, @steebchen, @Cow258, @charlesbdudley, @feedthejim, @tyhopp, @Drblessing, @styfle, @kwonoj, @MaxLeiter, @milovangudelj, @SukkaW, @jacobsfletch, @JoshuaKGoldberg, @zignis, @ChristianIvicevic, @mrxbox98, @oliviertassinari, @balazsorban44, @fsansalvadore, @DuCanhGH, @tvthatsme, @gnoff, and @SonMooSans for helping!
Published by ijjk over 1 year ago
with-supabase
example to App Router: #51335next/image
docs.: #51457ERR_INVALID_THIS
on Node 20: #51406ERR_INVALID_THIS
on Node 20": #51539Huge thanks to @wyattjoh, @ijjk, @dvakatsiienko, @leerob, @kwonoj, @nickmccurdy, @brunoeduardodev, @dijonmusters, @shuding, @tyler-lutz, @huozhi, @feedthejim, @alexkirsz, @sonam-serchan, @vicsantizo, @leodr, @wiscaksono, @sokra, @delbaoliveira, @ztanner, @hustLer2k, @joshuabaker, and @ForsakenHarmony for helping!
Published by ijjk over 1 year ago
next/head
warning to link to the correct docs page: #51013output: export
and next export -o
: #51191extension
does not load .md
f…: #49785usePathname
usage as client hook.: #51146Note
to Good to know
consistency: #51080env
suggestions: #51312with-elasticsearch
to TypeScript: #44842Huge thanks to @ijjk, @huozhi, @kwonoj, @shuding, @shozibabbas, @omarhoumz, @jamespearson, @tristndev, @sokra, @leerob, @AldeonMoriak, @delbaoliveira, @manovotny, @styfle, @mirismaili, @tyler-lutz, @SuttonJack, @jeremydouglas, @MaxLeiter, @Kikobeats, @JanCizmar, @mltsy, @WilderDev, @Guilleo03, @Willem-Jaap, @escwxyz, @wiredacorn, @Ethan-Arrowood, @BaffinLee, @ztanner, @greatSumini, @ciruz, @kijikunnn, @DustinsCode, @riqwan, @joostdecock, @nikolovlazar, @Bowens20832, @JohnAlbin, @timneutkens, @feedthejim, @wyattjoh, @gidgudgod, @maxproske, @dunklesToast, @yyuemii, @mPaella, @mknichel, @niko20, @jyunhanlin, @mkcy3, and @valentinpolitov for helping!
Published by ijjk over 1 year ago
next/legacy/image
: #50343cache-control
header on 304 response: #50408next/link
and router push/replace: #49521@vercel/turbopack-node
types (and more turbopack updates): #50605Google-InspectionTool
token to known bot UA list: #50467cssFiles
field: #50610chunks
field in the client manifest for SSR: #50959[email protected]
: #50557router.refresh()
with Draft Mode in App Router: #50941verbatimModuleSyntax: true
support in tsconfig.json: #48018moduleResolution: bundler
support in tsconfig.json: #51065async
to Opengraph Image code example.: #50990useFormStatus
to be a client component: #50991revalidateTag
import: #51005instrumentation.ts
file: #51034next/image
optimization: #51066PORT
from .env
concatenation example: #51063and
in How to Use These Docs
section: #51058swc_core
to v0.76.37
: #50311share-generics
: #50673[email protected]
: #51044@webassemblyjs
: #51045Huge thanks to @huozhi, @ijjk, @timneutkens, @shuding, @styfle, @alexkirsz, @devjiwonchoi, @wyattjoh, @SuttonJack, @sokra, @smaeda-ks, @keyz, @kdy1, @Schniz, @MaxLeiter, @jridgewell, @ForsakenHarmony, @koba04, @wbinnssmith, @kwonoj, @vinaykulk621, @Kikobeats, @gnoff, @delbaoliveira, @jiwooIncludeJeong, @manovotny, @ethanmick, @tyler-lutz, @didemkkaslan, @itsmingjie, @v1k1, @thepatrick00, @taylorbryant, @kvnang, @balazsorban44, @alainkaiser, @feedthejim, @simPod, @svarunid, and @pauek for helping!
Published by ijjk over 1 year ago
x-forwarded-*
headers to turbopack renders: #50012init.defaultBranch
git con…: #49960swc_core
to v0.76.18
: #50137draftMode
type to GetServerSidePropsContext: #50184node
condition to import resolution: #50007process.env
: #50260_devMiddlewareManifest.json
from router: #50241Huge thanks to @kwonoj, @wyattjoh, @shuding, @huozhi, @jridgewell, @ijjk, @karlhorky, @lycuid, @MarkAtOmniux, @darshkpatel, @johnta0, @kdy1, @sokra, @timneutkens, @devagrawal09, @ibrahemid, @styfle, @JesseKoldewijn, @padmaia, @Cow258, @javivelasco, and @05lazy for helping!