Closed renovate[bot] closed 1 year ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
This PR contains the following updates:
3.2.4
->4.2.1
Release Notes
vitejs/vite
### [`v4.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small421-2023-03-20-small) [Compare Source](https://togithub.com/vitejs/vite/compare/9dbb7f7765fd7d255daf82ad44fe867d49f0befd...v4.2.1) - fix: add `virtual:` to virtual module source map ignore ([#12444](https://togithub.com/vitejs/vite/issues/12444)) ([c4aa28f](https://togithub.com/vitejs/vite/commit/c4aa28f)), closes [#12444](https://togithub.com/vitejs/vite/issues/12444) - fix(css): inject source content conditionally ([#12449](https://togithub.com/vitejs/vite/issues/12449)) ([3e665f6](https://togithub.com/vitejs/vite/commit/3e665f6)), closes [#12449](https://togithub.com/vitejs/vite/issues/12449) - fix(worker): using data URLs for inline shared worker ([#12014](https://togithub.com/vitejs/vite/issues/12014)) ([79a5007](https://togithub.com/vitejs/vite/commit/79a5007)), closes [#12014](https://togithub.com/vitejs/vite/issues/12014) - chore: changelog edits for 4.2 ([#12438](https://togithub.com/vitejs/vite/issues/12438)) ([ce047e3](https://togithub.com/vitejs/vite/commit/ce047e3)), closes [#12438](https://togithub.com/vitejs/vite/issues/12438) ### [`v4.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#420-2023-03-16) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.1.4...9dbb7f7765fd7d255daf82ad44fe867d49f0befd) Vite 4.2 is out! ##### Support env variables replacement in HTML files Vite now supports [replacing env variables in HTML files](https://vitejs.dev/guide/env-and-mode.html#html-env-replacement). Any properties in `import.meta.env` can be used in HTML files with a special `%ENV_NAME%` syntax: ```htmlVite is running in %MODE%
Using data from %VITE_API_URL%
``` ##### Sourcemaps improvements The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an [improved experience](https://twitter.com/bmeurer/status/1631286267823439881) and tools for framework authors to [hide 3rd party code and build artifacts from the user](https://twitter.com/bmeurer/status/1631531492462526467) from console log traces using [`server.sourcemapIgnoreList`](https://vitejs.dev/config/server-options.html#server-sourcemapignorelist) and [`build.rollupOptions.output.sourcemapIgnoreList`](https://rollupjs.org/configuration-options/#output-sourcemapignorelist). ##### ESM subpath imports Vite 4.2 now supports [subpath imports](https://nodejs.org/api/packages.html#subpath-imports), thanks to [@lukeed05](https://twitter.com/lukeed05)'s [resolve.exports](https://togithub.com/lukeed/resolve.exports) library. ##### TypeScript 5 support Vite 4.2 also supports TypeScript 5's `tsconfig` `extends` [array format](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends), thanks to [tsconfck](https://togithub.com/dominikg/tsconfck). ##### esbuild 0.17 esbuild [v0.17.0](https://togithub.com/evanw/esbuild/releases/tag/v0.17.0) improved the design of its incremental, watch, and serve APIs. Check out [#11908](https://togithub.com/vitejs/vite/pull/11908) for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts. ##### Use Rollup types from the vite package Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like [vite-ecosystem-ci](https://togithub.com/vitejs/vite-ecosystem-ci) ([#12316](https://togithub.com/vitejs/vite/issues/12316)). ```ts import type { Rollup } from 'vite' ``` ##### Português Docs Translation The Vite documentation is now translated to Português at [pt.vitejs.dev](https://pt.vitejs.dev) thanks to [Nazaré Da Piedade](https://twitter.com/nazarepiedady) . ##### Features - feat: add status message for 504 caused by optimizer ([#12435](https://togithub.com/vitejs/vite/issues/12435)) ([5cdd3fa](https://togithub.com/vitejs/vite/commit/5cdd3fa)), closes [#12435](https://togithub.com/vitejs/vite/issues/12435) - feat: update tsconfck to 2.1.0 to add support for typescript 5 config syntax ([#12401](https://togithub.com/vitejs/vite/issues/12401)) ([3f1c379](https://togithub.com/vitejs/vite/commit/3f1c379)), closes [#12401](https://togithub.com/vitejs/vite/issues/12401) - feat: default esbuild jsxDev based on config.isProduction ([#12386](https://togithub.com/vitejs/vite/issues/12386)) ([f24c2b0](https://togithub.com/vitejs/vite/commit/f24c2b0)), closes [#12386](https://togithub.com/vitejs/vite/issues/12386) - feat(css): add `build.cssMinify` ([#12207](https://togithub.com/vitejs/vite/issues/12207)) ([90431f2](https://togithub.com/vitejs/vite/commit/90431f2)), closes [#12207](https://togithub.com/vitejs/vite/issues/12207) - feat(types): export Rollup namespace ([#12316](https://togithub.com/vitejs/vite/issues/12316)) ([6e49e52](https://togithub.com/vitejs/vite/commit/6e49e52)), closes [#12316](https://togithub.com/vitejs/vite/issues/12316) - feat: add `sourcemapIgnoreList` configuration option ([#12174](https://togithub.com/vitejs/vite/issues/12174)) ([f875580](https://togithub.com/vitejs/vite/commit/f875580)), closes [#12174](https://togithub.com/vitejs/vite/issues/12174) - feat: cancellable scan during optimization ([#12225](https://togithub.com/vitejs/vite/issues/12225)) ([1e1cd3b](https://togithub.com/vitejs/vite/commit/1e1cd3b)), closes [#12225](https://togithub.com/vitejs/vite/issues/12225) - feat: don't override `build.target` if terser is 5.16.0+ ([#12197](https://togithub.com/vitejs/vite/issues/12197)) ([9885f6f](https://togithub.com/vitejs/vite/commit/9885f6f)), closes [#12197](https://togithub.com/vitejs/vite/issues/12197) - feat: support ESM subpath imports ([#7770](https://togithub.com/vitejs/vite/issues/7770)) ([cc92da9](https://togithub.com/vitejs/vite/commit/cc92da9)), closes [#7770](https://togithub.com/vitejs/vite/issues/7770) - feat(css): add preprocessor option to define stylus vars & funcs ([#7227](https://togithub.com/vitejs/vite/issues/7227)) ([5968bec](https://togithub.com/vitejs/vite/commit/5968bec)), closes [#7227](https://togithub.com/vitejs/vite/issues/7227) - feat(css): support resolving stylesheets from exports map ([#7817](https://togithub.com/vitejs/vite/issues/7817)) ([108aadf](https://togithub.com/vitejs/vite/commit/108aadf)), closes [#7817](https://togithub.com/vitejs/vite/issues/7817) - feat(html): support env replacement ([#12202](https://togithub.com/vitejs/vite/issues/12202)) ([4f2c49f](https://togithub.com/vitejs/vite/commit/4f2c49f)), closes [#12202](https://togithub.com/vitejs/vite/issues/12202) - refactor: customize ErrorOverlay (part 2) ([#11830](https://togithub.com/vitejs/vite/issues/11830)) ([4159e6f](https://togithub.com/vitejs/vite/commit/4159e6f)), closes [#11830](https://togithub.com/vitejs/vite/issues/11830) - refactor: remove constructed sheet type style injection ([#11818](https://togithub.com/vitejs/vite/issues/11818)) ([1a6a0c2](https://togithub.com/vitejs/vite/commit/1a6a0c2)), closes [#11818](https://togithub.com/vitejs/vite/issues/11818) - refactor(importAnalysis): cache injected env string ([#12154](https://togithub.com/vitejs/vite/issues/12154)) ([2aad552](https://togithub.com/vitejs/vite/commit/2aad552)), closes [#12154](https://togithub.com/vitejs/vite/issues/12154) - feat: esbuild 0.17 ([#11908](https://togithub.com/vitejs/vite/issues/11908)) ([9d42f06](https://togithub.com/vitejs/vite/commit/9d42f06)), closes [#11908](https://togithub.com/vitejs/vite/issues/11908) - feat: ignore list client injected sources ([#12170](https://togithub.com/vitejs/vite/issues/12170)) ([8a98aef](https://togithub.com/vitejs/vite/commit/8a98aef)), closes [#12170](https://togithub.com/vitejs/vite/issues/12170) - feat: support rollup plugin `this.load` in plugin container context ([#11469](https://togithub.com/vitejs/vite/issues/11469)) ([abfa804](https://togithub.com/vitejs/vite/commit/abfa804)), closes [#11469](https://togithub.com/vitejs/vite/issues/11469) - feat(cli): allow to specify sourcemap mode via --sourcemap build's option ([#11505](https://togithub.com/vitejs/vite/issues/11505)) ([ee3b90a](https://togithub.com/vitejs/vite/commit/ee3b90a)), closes [#11505](https://togithub.com/vitejs/vite/issues/11505) - feat(reporter): report built time ([#12100](https://togithub.com/vitejs/vite/issues/12100)) ([f2ad222](https://togithub.com/vitejs/vite/commit/f2ad222)), closes [#12100](https://togithub.com/vitejs/vite/issues/12100) ##### Bug Fixes - fix: html env replacement plugin position ([#12404](https://togithub.com/vitejs/vite/issues/12404)) ([96f36a9](https://togithub.com/vitejs/vite/commit/96f36a9)), closes [#12404](https://togithub.com/vitejs/vite/issues/12404) - fix(optimizer): # symbol in deps id stripped by browser ([#12415](https://togithub.com/vitejs/vite/issues/12415)) ([e23f690](https://togithub.com/vitejs/vite/commit/e23f690)), closes [#12415](https://togithub.com/vitejs/vite/issues/12415) - fix(resolve): rebase sub imports relative path ([#12373](https://togithub.com/vitejs/vite/issues/12373)) ([fe1d61a](https://togithub.com/vitejs/vite/commit/fe1d61a)), closes [#12373](https://togithub.com/vitejs/vite/issues/12373) - fix(server): should close server after create new server ([#12379](https://togithub.com/vitejs/vite/issues/12379)) ([d23605d](https://togithub.com/vitejs/vite/commit/d23605d)), closes [#12379](https://togithub.com/vitejs/vite/issues/12379) - fix(resolve): remove deep import syntax handling ([#12381](https://togithub.com/vitejs/vite/issues/12381)) ([42e0d6a](https://togithub.com/vitejs/vite/commit/42e0d6a)), closes [#12381](https://togithub.com/vitejs/vite/issues/12381) - fix: print urls when dns order change ([#12261](https://togithub.com/vitejs/vite/issues/12261)) ([e57cacf](https://togithub.com/vitejs/vite/commit/e57cacf)), closes [#12261](https://togithub.com/vitejs/vite/issues/12261) - fix: throw ssr import error directly (fix [#12322](https://togithub.com/vitejs/vite/issues/12322)) ([#12324](https://togithub.com/vitejs/vite/issues/12324)) ([21ffc6a](https://togithub.com/vitejs/vite/commit/21ffc6a)), closes [#12322](https://togithub.com/vitejs/vite/issues/12322) [#12324](https://togithub.com/vitejs/vite/issues/12324) - fix(config): watch config even outside of root ([#12321](https://togithub.com/vitejs/vite/issues/12321)) ([7e2fff7](https://togithub.com/vitejs/vite/commit/7e2fff7)), closes [#12321](https://togithub.com/vitejs/vite/issues/12321) - fix(config): watch envDir even outside of root ([#12349](https://togithub.com/vitejs/vite/issues/12349)) ([131f3ee](https://togithub.com/vitejs/vite/commit/131f3ee)), closes [#12349](https://togithub.com/vitejs/vite/issues/12349) - fix(define): correctly replace SSR in dev ([#12204](https://togithub.com/vitejs/vite/issues/12204)) ([0f6de4d](https://togithub.com/vitejs/vite/commit/0f6de4d)), closes [#12204](https://togithub.com/vitejs/vite/issues/12204) - fix(optimizer): suppress esbuild cancel error ([#12358](https://togithub.com/vitejs/vite/issues/12358)) ([86a24e4](https://togithub.com/vitejs/vite/commit/86a24e4)), closes [#12358](https://togithub.com/vitejs/vite/issues/12358) - fix(optimizer): transform css require to import directly ([#12343](https://togithub.com/vitejs/vite/issues/12343)) ([716286e](https://togithub.com/vitejs/vite/commit/716286e)), closes [#12343](https://togithub.com/vitejs/vite/issues/12343) - fix(reporter): build.assetsDir should not impact output when in lib mode ([#12108](https://togithub.com/vitejs/vite/issues/12108)) ([b12f457](https://togithub.com/vitejs/vite/commit/b12f457)), closes [#12108](https://togithub.com/vitejs/vite/issues/12108) - fix(types): avoid resolve.exports types for bundling ([#12346](https://togithub.com/vitejs/vite/issues/12346)) ([6b40f03](https://togithub.com/vitejs/vite/commit/6b40f03)), closes [#12346](https://togithub.com/vitejs/vite/issues/12346) - fix(worker): force rollup to build worker module under watch mode ([#11919](https://togithub.com/vitejs/vite/issues/11919)) ([d464679](https://togithub.com/vitejs/vite/commit/d464679)), closes [#11919](https://togithub.com/vitejs/vite/issues/11919) - fix: resolve browser mapping using bare imports (fix [#11208](https://togithub.com/vitejs/vite/issues/11208)) ([#11219](https://togithub.com/vitejs/vite/issues/11219)) ([22de84f](https://togithub.com/vitejs/vite/commit/22de84f)), closes [#11208](https://togithub.com/vitejs/vite/issues/11208) [#11219](https://togithub.com/vitejs/vite/issues/11219) - fix: avoid null sourcePath in `server.sourcemapIgnoreList` ([#12251](https://togithub.com/vitejs/vite/issues/12251)) ([209c3bd](https://togithub.com/vitejs/vite/commit/209c3bd)), closes [#12251](https://togithub.com/vitejs/vite/issues/12251) - fix: configure proxy before subscribing to error events ([#12263](https://togithub.com/vitejs/vite/issues/12263)) ([c35e100](https://togithub.com/vitejs/vite/commit/c35e100)), closes [#12263](https://togithub.com/vitejs/vite/issues/12263) - fix: enforce absolute path for server.sourcemapIgnoreList ([#12309](https://togithub.com/vitejs/vite/issues/12309)) ([ab6ae07](https://togithub.com/vitejs/vite/commit/ab6ae07)), closes [#12309](https://togithub.com/vitejs/vite/issues/12309) - fix: handle error without line and column in loc ([#12312](https://togithub.com/vitejs/vite/issues/12312)) ([ce18eba](https://togithub.com/vitejs/vite/commit/ce18eba)), closes [#12312](https://togithub.com/vitejs/vite/issues/12312) - fix: properly clean up optimization temp folder ([#12237](https://togithub.com/vitejs/vite/issues/12237)) ([fbbf8fe](https://togithub.com/vitejs/vite/commit/fbbf8fe)), closes [#12237](https://togithub.com/vitejs/vite/issues/12237) - fix: unique dep optimizer temp folders ([#12252](https://togithub.com/vitejs/vite/issues/12252)) ([38ce81c](https://togithub.com/vitejs/vite/commit/38ce81c)), closes [#12252](https://togithub.com/vitejs/vite/issues/12252) - fix(build-import-analysis): should not append ?used when css request has ?url or ?raw ([#11910](https://togithub.com/vitejs/vite/issues/11910)) ([e3f725f](https://togithub.com/vitejs/vite/commit/e3f725f)), closes [#11910](https://togithub.com/vitejs/vite/issues/11910) - fix(optimizer): don not call context.rebuild after cancel ([#12264](https://togithub.com/vitejs/vite/issues/12264)) ([520d84e](https://togithub.com/vitejs/vite/commit/520d84e)), closes [#12264](https://togithub.com/vitejs/vite/issues/12264) - fix(resolve): update `resolve.exports` to `2.0.1` to fix `*` resolution issue ([#12314](https://togithub.com/vitejs/vite/issues/12314)) ([523d6f7](https://togithub.com/vitejs/vite/commit/523d6f7)), closes [#12314](https://togithub.com/vitejs/vite/issues/12314) - fix: use relative paths in `sources` for transformed source maps ([#12079](https://togithub.com/vitejs/vite/issues/12079)) ([bcbc582](https://togithub.com/vitejs/vite/commit/bcbc582)), closes [#12079](https://togithub.com/vitejs/vite/issues/12079) - fix(cli): after setting server.open, the default open is inconsistent… ([#11974](https://togithub.com/vitejs/vite/issues/11974)) ([33a38db](https://togithub.com/vitejs/vite/commit/33a38db)), closes [#11974](https://togithub.com/vitejs/vite/issues/11974) - fix(client-inject): replace globalThis.process.env.NODE_ENV (fix [#12185](https://togithub.com/vitejs/vite/issues/12185)) ([#12194](https://togithub.com/vitejs/vite/issues/12194)) ([2063648](https://togithub.com/vitejs/vite/commit/2063648)), closes [#12185](https://togithub.com/vitejs/vite/issues/12185) [#12194](https://togithub.com/vitejs/vite/issues/12194) - fix(css): should not rebase http url for less (fix: [#12155](https://togithub.com/vitejs/vite/issues/12155)) ([#12195](https://togithub.com/vitejs/vite/issues/12195)) ([9cca30d](https://togithub.com/vitejs/vite/commit/9cca30d)), closes [#12155](https://togithub.com/vitejs/vite/issues/12155) [#12195](https://togithub.com/vitejs/vite/issues/12195) - fix(deps): update all non-major dependencies ([#12036](https://togithub.com/vitejs/vite/issues/12036)) ([48150f2](https://togithub.com/vitejs/vite/commit/48150f2)), closes [#12036](https://togithub.com/vitejs/vite/issues/12036) - fix(import-analysis): improve error for jsx to not be preserve in tsconfig ([#12018](https://togithub.com/vitejs/vite/issues/12018)) ([91fac1c](https://togithub.com/vitejs/vite/commit/91fac1c)), closes [#12018](https://togithub.com/vitejs/vite/issues/12018) - fix(optimizer): log esbuild error when scanning deps ([#11977](https://togithub.com/vitejs/vite/issues/11977)) ([20e6060](https://togithub.com/vitejs/vite/commit/20e6060)), closes [#11977](https://togithub.com/vitejs/vite/issues/11977) - fix(optimizer): log unoptimizable entries ([#12138](https://togithub.com/vitejs/vite/issues/12138)) ([2c93e0b](https://togithub.com/vitejs/vite/commit/2c93e0b)), closes [#12138](https://togithub.com/vitejs/vite/issues/12138) - fix(server): watch env files creating and deleting (fix [#12127](https://togithub.com/vitejs/vite/issues/12127)) ([#12129](https://togithub.com/vitejs/vite/issues/12129)) ([cc3724f](https://togithub.com/vitejs/vite/commit/cc3724f)), closes [#12127](https://togithub.com/vitejs/vite/issues/12127) [#12129](https://togithub.com/vitejs/vite/issues/12129) - build: correct d.ts output dir in development ([#12212](https://togithub.com/vitejs/vite/issues/12212)) ([b90bc1f](https://togithub.com/vitejs/vite/commit/b90bc1f)), closes [#12212](https://togithub.com/vitejs/vite/issues/12212) ##### Previous Changelogs ##### [4.2.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.2.0-beta.1....v4.2.0-beta.2) (2023-03-13) See [4.2.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.2.0-beta.0....v4.2.0-beta.1) (2023-03-07) See [4.2.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.1.4....v4.2.0-beta.0) (2023-02-27) See [4.2.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.0/packages/vite/CHANGELOG.md) ### [`v4.1.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small414-2023-02-21-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.1.3...v4.1.4) - fix(define): should not stringify vite internal env ([#12120](https://togithub.com/vitejs/vite/issues/12120)) ([73c3999](https://togithub.com/vitejs/vite/commit/73c3999)), closes [#12120](https://togithub.com/vitejs/vite/issues/12120) - docs: update rollup docs links ([#12130](https://togithub.com/vitejs/vite/issues/12130)) ([439a73f](https://togithub.com/vitejs/vite/commit/439a73f)), closes [#12130](https://togithub.com/vitejs/vite/issues/12130) ### [`v4.1.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small413-2023-02-20-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.1.2...v4.1.3) - fix: catch and handle websocket error ([#11991](https://togithub.com/vitejs/vite/issues/11991)) ([#12007](https://togithub.com/vitejs/vite/issues/12007)) ([4b5cc9f](https://togithub.com/vitejs/vite/commit/4b5cc9f)), closes [#11991](https://togithub.com/vitejs/vite/issues/11991) [#12007](https://togithub.com/vitejs/vite/issues/12007) - fix: do not append version query param when scanning for dependencies ([#11961](https://togithub.com/vitejs/vite/issues/11961)) ([575bcf6](https://togithub.com/vitejs/vite/commit/575bcf6)), closes [#11961](https://togithub.com/vitejs/vite/issues/11961) - fix(css): handle pure css chunk heuristic with special queries ([#12091](https://togithub.com/vitejs/vite/issues/12091)) ([a873af5](https://togithub.com/vitejs/vite/commit/a873af5)), closes [#12091](https://togithub.com/vitejs/vite/issues/12091) - fix(esbuild): umd helper insert into wrong position in lib mode ([#11988](https://togithub.com/vitejs/vite/issues/11988)) ([86bc243](https://togithub.com/vitejs/vite/commit/86bc243)), closes [#11988](https://togithub.com/vitejs/vite/issues/11988) - fix(html): respect disable modulepreload ([#12111](https://togithub.com/vitejs/vite/issues/12111)) ([6c50119](https://togithub.com/vitejs/vite/commit/6c50119)), closes [#12111](https://togithub.com/vitejs/vite/issues/12111) - fix(html): rewrite assets url in `Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.