Skip to content

chore(deps): update dependency vite to v2.9.12 - autoclosed #42

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite 2.8.6 -> 2.9.12 age adoption passing confidence

Release Notes

vitejs/vite

v2.9.12

Compare Source

v2.9.11

Compare Source

v2.9.10

Compare Source

v2.9.9

Compare Source

v2.9.8

Compare Source

v2.9.7

Compare Source

v2.9.6

Compare Source

v2.9.5

Compare Source

v2.9.4

Compare Source

v2.9.3

Compare Source

v2.9.2

Compare Source

v2.9.1

Compare Source

v2.9.0

Compare Source

Faster Cold Start

Before 2.9, the first time dev was run on a project Vite needed to perform a scan phase to discover dependencies and then pre-bundle them before starting the server. In 2.9 both scanning #​7379 and pre-bundling #​6758 of dependencies are now non-blocking, so the server starts right away during cold start. We also now allow requests to flow through the pipeline improving initial cold start load speed and increasing the chances of discovering new missing dependencies when re-processing and letting Vite populate the module graph and the browser to process files. In many cases, there is also no need to full-reload the page when new dependencies are discovered.

CSS Sourcemap support during dev (experimental)

Vite now supports CSS sourcemaps #​7173. This feature is still experimental, and it is disabled by default to avoid incurring a performance penalty for users that don't need it. To enable it, set css.devSourcemap to true.

Avoid splitting vendor chunks by default

Vite's default chunking strategy was a good fit for most SPAs, but it wasn't ideal in some other use cases. Vite doesn't have enough context to make the best decision here, so in Vite 2.9 the previous chunking strategy is now opt-in #​6534 and Vite will no longer split vendor libs in a separate chunk.

Web Workers enhancements

Web Workers now supports source map generation (see #​5417). The implementation is also now more robust, fixing several issues encountered in previous versions (#​6599).

Raw Glob Imports

Glob imports support for the raw modifier syntax has changed to using { as: 'raw' }, which works in the same way as the ?raw suffix in regular imports:

const examples = import.meta.globEager('./examples/*.html', { as: 'raw' })

The { assert: { type: 'raw' }} syntax introduced in v2.8 has been deprecated. See #​7017 for more information.

envDir changes

The envDir now correctly loads .env files in the specified directory only (defaults to root). Previously, it would load files above the directory, which imposed security issues. If you had relied on the previous behaviour, make sure you move your .env files to the correct directory, or configure the envDir option.

New tools for Plugin and Framework Authors
Client Server Communication API

Vite now provides utilities for plugins to help handle the communication with clients connected to Vite's server #​7437. Reusing the open WebSocket connection between the server and clients several use cases can be simplified (vite-plugin-inspect, SliDev, and many others). Check out the Client Server Communication docs for more information.

// Send a message from the client to the server
if (import.meta.hot) {
  import.meta.hot.send('my:from-client', { msg: 'Hey!' })
}
// And listen to client messages in a plugin
  configureServer(server) {
    server.ws.on('my:from-client', (data, client) => {
      console.log('Message from client:', data.msg) // Hey!
      // ...
    })
  }
importedCss and importedAssets to RenderedChunk type

Replace the internal chunkToEmittedCssFileMap and chunkToEmittedAssetsMap variables with public properties added by Vite to RenderedChunk objects in the renderChunk phase. These is useful for Vite-based frameworks that generate their own HTML. See #​6629.

Optimize Custom Extensions (experimental)

A new optimizeDeps.extensions: string[] option is available to enable pre-bundling of custom extensions. A respective esbuild plugin is required to handle that extension. e.g. ['.svelte', '.svelte.md']. See #​6801 for more information.

Bug Fixes
Features
Beta Changelogs
2.9.0-beta.11 (2022-03-29)

See 2.9.0-beta.11 changelog

2.9.0-beta.10 (2022-03-28)

See 2.9.0-beta.10 changelog

2.9.0-beta.9 (2022-03-26)

See 2.9.0-beta.9 changelog

2.9.0-beta.8 (2022-03-24)

See 2.9.0-beta.8 changelog

2.9.0-beta.7 (2022-03-23)

See 2.9.0-beta.7 changelog

2.9.0-beta.6 (2022-03-22)

See 2.9.0-beta.6 changelog

2.9.0-beta.5 (2022-03-22)

See 2.9.0-beta.5 changelog

2.9.0-beta.4 (2022-03-19)

See 2.9.0-beta.4 changelog

2.9.0-beta.3 (2022-03-16)

See 2.9.0-beta.3 changelog

2.9.0-beta.2 (2022-03-14)

See 2.9.0-beta.2 changelog

2.9.0-beta.1 (2022-03-14)

See 2.9.0-beta.1 changelog

2.9.0-beta.0 (2022-03-09)

See 2.9.0-beta.0 changelog

2.8.6 (2022-03-01)

Bug Fixes

2.8.5 (2022-02-28)

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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, click this checkbox.

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

@vercel
Copy link

vercel bot commented Apr 26, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ntwaricliberi/luckyscore/8VbKHjEquwEXgEmRDLhNx3fdCPYZ
✅ Preview: Failed

@renovate renovate bot force-pushed the renovate/vite-2.x branch from 4b2d1ff to 925f9d7 Compare May 2, 2022 14:15
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.6 chore(deps): update dependency vite to v2.9.7 May 2, 2022
@vercel
Copy link

vercel bot commented May 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
luckyscore ❌ Failed (Inspect) Jun 10, 2022 at 3:01PM (UTC)

@renovate renovate bot force-pushed the renovate/vite-2.x branch from 925f9d7 to 40c2103 Compare May 4, 2022 21:16
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.7 chore(deps): update dependency vite to v2.9.8 May 4, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 40c2103 to e6da430 Compare May 11, 2022 10:32
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.8 chore(deps): update dependency vite to v2.9.9 May 11, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from e6da430 to 921ffe6 Compare June 6, 2022 17:39
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.9 chore(deps): update dependency vite to v2.9.10 Jun 6, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 921ffe6 to 7c91ce3 Compare June 10, 2022 12:10
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.10 chore(deps): update dependency vite to v2.9.11 Jun 10, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 7c91ce3 to 0deefe0 Compare June 10, 2022 15:00
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.11 chore(deps): update dependency vite to v2.9.12 Jun 10, 2022
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.12 chore(deps): update dependency vite to v2.9.12 - autoclosed Sep 25, 2022
@renovate renovate bot closed this Sep 25, 2022
@renovate renovate bot deleted the renovate/vite-2.x branch September 25, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant