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 v2.9.13 - autoclosed #32

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 19, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite 2.3.7 -> 2.9.13 age adoption passing confidence

Release Notes

vitejs/vite

v2.9.13

Compare Source

Please refer to CHANGELOG.md for details.

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.

@renovate renovate bot force-pushed the renovate/vite-2.x branch from fa34e5b to 18bbd27 Compare July 5, 2021 12:40
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.3.8 chore(deps): update dependency vite to v2.4.0 Jul 5, 2021
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.4.0 chore(deps): update dependency vite to v2.4.1 Jul 6, 2021
@renovate renovate bot force-pushed the renovate/vite-2.x branch 2 times, most recently from 1a65efb to 3ed08ac Compare July 12, 2021 13:20
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.4.1 chore(deps): update dependency vite to v2.4.2 Jul 12, 2021
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 3ed08ac to caecb68 Compare July 20, 2021 12:30
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.4.2 chore(deps): update dependency vite to v2.4.3 Jul 20, 2021
@renovate renovate bot force-pushed the renovate/vite-2.x branch from caecb68 to 3360fc0 Compare July 27, 2021 10:06
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.4.3 chore(deps): update dependency vite to v2.4.4 Jul 27, 2021
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 3360fc0 to d6c6f7b Compare October 18, 2021 19:40
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.4.4 chore(deps): update dependency vite to v2.6.10 Oct 18, 2021
@renovate renovate bot force-pushed the renovate/vite-2.x branch from d6c6f7b to 4c7ad29 Compare February 13, 2022 08:27
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.6.10 chore(deps): update dependency vite to v2.8.1 Feb 13, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 4c7ad29 to a217561 Compare March 7, 2022 10:58
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.8.1 chore(deps): update dependency vite to v2.8.6 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from a217561 to b68ea5e Compare April 24, 2022 18:06
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.8.6 chore(deps): update dependency vite to v2.9.5 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from b68ea5e to 583034b Compare May 15, 2022 22:55
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.5 chore(deps): update dependency vite to v2.9.9 May 15, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 583034b to 848e5df Compare June 18, 2022 19:59
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.9 chore(deps): update dependency vite to v2.9.12 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/vite-2.x branch from 848e5df to ffcf22c Compare July 6, 2022 14:49
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.12 chore(deps): update dependency vite to v2.9.13 Jul 6, 2022
@renovate renovate bot changed the title chore(deps): update dependency vite to v2.9.13 chore(deps): update dependency vite to v2.9.13 - autoclosed Jul 6, 2022
@renovate renovate bot closed this Jul 6, 2022
@renovate renovate bot deleted the renovate/vite-2.x branch July 6, 2022 14:52
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.

0 participants