Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vite to v4.3.1 #8068

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 4.1.2 -> 4.3.1 age adoption passing confidence

Release Notes

vitejs/vite

v4.3.1

Compare Source

v4.3.0

Compare Source

Vite 4.3 is out! Read the announcement blog post here

Vite 4.3, It's Fast

In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding package.json, TS config files, and resolved URL in general.

You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster 🚀.

This sprint resulted in speed improvements across the board compared to Vite 4.2.

These are the performance improvements as measured by sapphi-red/performance-compare, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:

Vite (babel) Vite 4.2 Vite 4.3 Improvement
dev cold start 17249.0ms 5132.4ms -70.2%
dev warm start 6027.8ms 4536.1ms -24.7%
Root HMR 46.8ms 26.7ms -42.9%
Leaf HMR 27.0ms 12.9ms -52.2%
Vite (swc) Vite 4.2 Vite 4.3 Improvement
dev cold start 13552.5ms 3201.0ms -76.4%
dev warm start 4625.5ms 2834.4ms -38.7%
Root HMR 30.5ms 24.0ms -21.3%
Leaf HMR 16.9ms 10.0ms -40.8%

You can read more information about the benchmark here

Features
Performance
Bug Fixes
Clean up
Previous Changelogs
4.3.0-beta.8 (2023-04-19)

See 4.3.0-beta.8 changelog

4.3.0-beta.7 (2023-04-17)

See 4.3.0-beta.7 changelog

4.3.0-beta.6 (2023-04-14)

See 4.3.0-beta.6 changelog

4.3.0-beta.5 (2023-04-11)

See 4.3.0-beta.5 changelog

4.3.0-beta.4 (2023-04-09)

See 4.3.0-beta.4 changelog

4.3.0-beta.3 (2023-04-07)

See 4.3.0-beta.3 changelog

4.3.0-beta.2 (2023-04-05)

See 4.3.0-beta.2 changelog

4.3.0-beta.1 (2023-03-29)

See 4.3.0-beta.1 changelog

4.3.0-beta.0 (2023-03-23)

See 4.3.0-beta.0 changelog

v4.2.2

Compare Source

Please refer to CHANGELOG.md for details.

v4.2.1

Compare Source

v4.2.0

Compare Source

Vite 4.2 is out!

Support env variables replacement in HTML files

Vite now supports replacing env variables in HTML files. Any properties in import.meta.env can be used in HTML files with a special %ENV_NAME% syntax:

<h1>Vite is running in %MODE%</h1>
<p>Using data from %VITE_API_URL%</p>
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 and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using server.sourcemapIgnoreList and build.rollupOptions.output.sourcemapIgnoreList.

ESM subpath imports

Vite 4.2 now supports subpath imports, thanks to @​lukeed05's resolve.exports library.

TypeScript 5 support

Vite 4.2 also supports TypeScript 5's tsconfig extends array format, thanks to tsconfck.

esbuild 0.17

esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #​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 (#​12316).

import type { Rollup } from 'vite'
Português Docs Translation

The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .

Features
Bug Fixes
Previous Changelogs
4.2.0-beta.2 (2023-03-13)

See 4.2.0-beta.2 changelog

4.2.0-beta.1 (2023-03-07)

See 4.2.0-beta.1 changelog

4.2.0-beta.0 (2023-02-27)

See 4.2.0-beta.0 changelog

v4.1.4

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the release:chore This PR is a chore (means nothing for users) label Apr 20, 2023
@replay-io
Copy link

replay-io bot commented Apr 20, 2023

16 replays were recorded for 680a7f5.

image 0 Failed
image 16 Passed
    requireAuth graphql checks
          ```
          locator.waitFor: Target closed
          =========================== logs ===========================
          waiting for locator('.rw-form-error-title').locator('text=You don\'t have permission to do that') to be visible
          ============================================================
          ```
        </ol>
      </details>
      <li><a href=https://app.replay.io/recording/a943387d-785b-4b02-87af-02f700110c97>useAuth hook, auth redirects checks</a></li>
      <li><a href=https://app.replay.io/recording/cdb80785-faf9-46e9-ac96-9a0b3fa6b8bb>Check that a specific blog post is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/4a9f4363-9214-475a-b321-9b3b33223ffc>Check that about is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/47ea52e1-21aa-45b7-8a32-5da46b19ef50>Check that homepage is prerendered</a></li>
      <li><a href=https://app.replay.io/recording/c0cb9333-8647-43a9-b6e1-7a6b25ad0a35>Check that meta-tags are rendering the correct dynamic data</a></li>
      <li><a href=https://app.replay.io/recording/5b36e3e6-dacb-4464-9ba8-b3fc6598fb0e>Check that you can navigate from home page to specific blog post</a></li>
      <li><a href=https://app.replay.io/recording/c27f549d-28c0-47a8-8f7f-14309ac5b72a>Waterfall prerendering (nested cells)</a></li>
      <li><a href=https://app.replay.io/recording/76c60e33-f18f-49b8-934b-3eb8a27558d1>RBAC: Admin user should be able to delete contacts</a></li>
      <li><a href=https://app.replay.io/recording/ce3769df-29be-4e48-a735-494e466b5813>RBAC: Should not be able to delete contact as non-admin user</a></li>
      <li><a href=https://app.replay.io/recording/93b5a460-442c-46d0-8c71-72b568d0c7f6>Smoke test with dev server</a></li>
      <li><a href=https://app.replay.io/recording/190bcb38-a23c-4a0d-aebb-e742009d1c46>Smoke test with rw serve</a></li>
      <li><a href=https://app.replay.io/recording/47861ded-6e76-44ba-b931-ad5b7dd0278c>Loads Cell mocks when Cell is nested in another story</a></li>
      <li><a href=https://app.replay.io/recording/124c6f98-0ddd-44ff-918a-83160a9e1c3a>Loads Cell Stories</a></li>
      <li><a href=https://app.replay.io/recording/e855a4c7-ecfa-4e37-a2e6-a9d9ef13a456>Loads MDX Stories</a></li>
      <li><a href=https://app.replay.io/recording/2ae2641c-f9a5-4e33-907a-7fd60f3f70f0>Mocks current user, and updates UI while dev server is running</a></li>
      

View test run on Replay ↗︎

@renovate renovate bot force-pushed the renovate/vite-4.x-lockfile branch 2 times, most recently from af14fec to 28df000 Compare April 20, 2023 22:58
@renovate renovate bot changed the title chore(deps): update dependency vite to v4.3.0 chore(deps): update dependency vite to v4.3.1 Apr 20, 2023
@renovate renovate bot force-pushed the renovate/vite-4.x-lockfile branch 7 times, most recently from 80ce285 to 38c8e7a Compare April 22, 2023 06:16
@renovate renovate bot force-pushed the renovate/vite-4.x-lockfile branch from 38c8e7a to 680a7f5 Compare April 22, 2023 11:07
@renovate renovate bot merged commit 58dda2e into main Apr 22, 2023
@renovate renovate bot deleted the renovate/vite-4.x-lockfile branch April 22, 2023 15:18
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Apr 22, 2023
@jtoar jtoar modified the milestones: next-release, v5.0.0 Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant