Update Feb 5, 2025 tracked by Updatify
6.1.0 (2025-02-05)
Features
- show hosts in cert in CLI (#19317) (a5e306f)
- support for env var for defining allowed hosts (#19325) (4d88f6c)
- use native runtime to import the config (#19178) (7c2a794)
-
print
portin the logged error message after failed WS connection withEADDRINUSE(#19212) (14027b0) -
add support for
.jxl(#18855) (57b397c) -
add the
builtinsenvironmentresolve(#18584) (2c2d521) - call Logger for plugin logs in build (#13757) (bf3e410)
- css: add friendly errors for IE hacks that are not supported by lightningcss (#19072) (caad985)
-
export
defaultAllowedOriginsfor user-land config and 3rd party plugins (#19259) (dc8946b) - expose createServerModuleRunnerTransport (#18730) (8c24ee4)
- optimizer: support bun text lockfile (#18403) (05b005f)
-
reporter: add
wasmto the compressible assets regex (#19085) (ce84142) - support async for proxy.bypass (#18940) (a6b9587)
- support log related functions in dev (#18922) (3766004)
- use module runner to import the config (#18637) (b7e0e42)
- worker: support dynamic worker option fields (#19010) (d0c3523)
Bug Fixes
- avoid builtStart during vite optimize (#19356) (fdb36e0)
- build: fix stale build manifest on watch rebuild (#19361) (fcd5785)
- allow expanding env vars in reverse order (#19352) (3f5f2bd)
-
avoid packageJson without name in
resolveLibCssFilename(#19324) (f183bdf) - html: fix css disorder when building multiple entry html (#19143) (e7b4ba3)
-
css: less
[@plugin](https://github.com/plugin)imports of JS files treated as CSS and rebased (fix #19268) (#19269) (602b373) - deps: update all non-major dependencies (#19296) (2bea7ce)
-
don’t call buildStart hooks for
vite optimize(#19347) (19ffad0) - don’t call next middleware if user sent response in proxy.bypass (#19318) (7e6364d)
- resolve: preserve hash/search of file url (#19300) (d1e1b24)
-
resolve: warn if node-like builtin was imported when
resolve.builtinis empty (#19312) (b7aba0b) -
respect top-level
server.preTransformRequests(#19272) (12aaa58) - ssr: fix transform error due to export all id scope (#19331) (e28bce2)
-
ssr: pretty print plugin error in
ssrLoadModule(#19290) (353c467) -
use
nodeLikeBuiltinsforssr.target: 'webworker'withoutnoExternal: true(#19313) (9fc31b6) - change ResolvedConfig type to interface to allow extending it (#19210) (bc851e3)
- correctly resolve hmr dep ids and fallback to url (#18840) (b84498b)
- deps: update all non-major dependencies (#19190) (f2c07db)
- hmr: register inlined assets as a dependency of CSS file (#18979) (eb22a74)
-
make
--forcework for all environments (#18901) (51a42c6) - resolve: support resolving TS files by JS extension specifiers in JS files (#18889) (612332b)
- ssr: combine empty source mappings (#19226) (ba03da2)
- use loc.file from rollup errors if available (#19222) (ce3fe23)
-
utils: clone
RegExpvalues withnew RegExpinstead ofstructuredClone(fix #19245, fix #18875) (#19247) (56ad2be)
Performance Improvements
Documentation
- rephrase browser range and features relation (#19286) (97569ef)
-
update
build.manifestjsdocs (#19332) (4583781)
Code Refactoring
Miscellaneous Chores
- update deprecate links domain (#19353) (2b2299c)
- deps: update dependency strip-literal to v3 (#19231) (1172d65)
-
remove outdated code comment about
scanImportsnot being used in ssr (#19285) (fbbc6da) - unneeded name in lockfileFormats (#19275) (96092cb)