Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Update dependency vite to v3.2.5#586

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/vite-3.x
Open

Update dependency vite to v3.2.5#586
renovate[bot] wants to merge 1 commit intomainfrom
renovate/vite-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 6, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

vitejs/vite

v3.2.5

Compare Source

v3.2.4

Compare Source

v3.2.3

Compare Source

v3.2.2

Compare Source

v3.2.1

Compare Source

v3.2.0

Compare Source

Main Changes
Multiple Entries for Library Mode

Library mode now supports multiple entries:

  lib: {
    entry: {
        primary: 'src/index.ts',
        secondary: 'src/secondary.ts'
    },
    formats: ['es', 'cjs']
  }
  // => primary.es.js, primary.cjs.js, secondary.es.js, secondary.cjs.js

Check out the PR #​7047, and the build.lib config docs

build.modulePreload options

Vite now allows filtering and modifying module preload dependencies for each entry and async chunk. experimental.renderBuiltUrl will also get called for preload asset paths. And build.modulePreload.resolveDependencies will be called both for JS dynamic imports preload lists and also for HTML preload lists for chunks imported from entry HTML files. Refer to the PR for more context #​9938 and check out the modulePreload config docs. Note: build.modulePreloadPolyfill is now deprecated, please migrate to build.modulePreload.polyfill.

Include Duplicate Assets in the Manifest

Laravel and other backends integrations will now get entries for every asset file, even if they have been de-duplicated. See #​9928 for more information.

Customizable ErrorOverlay

You can now customize the ErrorOverlay by using css parts. Check out the PR for more details: #​10234.

Features
Bug Fixes
Previous Changelogs
3.2.0-beta.4 (2022-10-24)

See 3.2.0-beta.4 changelog

3.2.0-beta.3 (2022-10-20)

See 3.2.0-beta.3 changelog

3.2.0-beta.2 (2022-10-14)

See 3.2.0-beta.2 changelog

3.2.0-beta.1 (2022-10-10)

See 3.2.0-beta.1 changelog

3.2.0-beta.0 (2022-10-05)

See 3.2.0-beta.0 changelog

v3.1.8

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.7

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.6

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.5

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.4

Compare Source

Please refer to CHANGELOG.md for details.

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

Main Changes
  • Vite now uses parse5, which parses HTML in the same way as the latest browser versions. This migration gives us a more robust HTML story moving forward (#​9678).
  • Vite now supports using objects as hooks to change execution order (#​9634). Check out the RFC and the implementation upstream at rollup/rollup#​4600 for details and rationale.
      import { resolve } from 'node:path';
      import { readdir } from 'node:fs/promises';
    
      export default function getFilesOnDisk() {
        return {
          name: 'getFilesOnDisk',
          writeBundle: {
            // run this hook sequentially even if the hook is parallel
            sequential: true,
            // push this hook to the 'post' stage, after all normal hooks
            order: 'post',
            // hook implementation
            async handler({ dir }) {
              const topLevelFiles = await readdir(resolve(dir))
              console.log(topLevelFiles)
            }
          }
        }
      }
    Read the updated Rollup Plugin docs for more information.

Note
After Vite 3.1, you are no longer going to see [vite] hot updated log messages in the browser console. These messages have been moved to the debug channel (#​8855). Check your browser docs to show debug logs.

Features
Bug Fixes
Previous Changelogs
3.1.0-beta.2 (2022-09-02)

See 3.1.0-beta.2 changelog

3.1.0-beta.1 (2022-08-29)

See 3.1.0-beta.1 changelog

3.1.0-beta.0 (2022-08-25)

See 3.1.0-beta.0 changelog


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 renovate label Sep 6, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch 12 times, most recently from e13821e to 83d103b Compare September 12, 2022 12:37
@renovate renovate bot force-pushed the renovate/vite-3.x branch 5 times, most recently from 2286f76 to b899c1d Compare September 15, 2022 11:48
@renovate renovate bot changed the title Update dependency vite to v3.1.0 Update dependency vite to v3.1.1 Sep 15, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch from b899c1d to ccb9aa9 Compare September 17, 2022 10:44
@renovate renovate bot changed the title Update dependency vite to v3.1.1 Update dependency vite to v3.1.2 Sep 17, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch 3 times, most recently from 63b5558 to b220aa8 Compare September 19, 2022 14:33
@renovate renovate bot changed the title Update dependency vite to v3.1.2 Update dependency vite to v3.1.3 Sep 19, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch 5 times, most recently from 7cf840c to 4725083 Compare September 23, 2022 00:04
@renovate renovate bot force-pushed the renovate/vite-3.x branch 8 times, most recently from 5a76918 to f43dd94 Compare October 6, 2022 12:08
@renovate renovate bot changed the title Update dependency vite to v3.1.4 Update dependency vite to v3.1.5 Oct 6, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch from f43dd94 to abda8b5 Compare October 6, 2022 14:18
@renovate renovate bot changed the title Update dependency vite to v3.1.5 Update dependency vite to v3.1.6 Oct 6, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch 8 times, most recently from a19b9a3 to 0b27225 Compare October 10, 2022 10:07
@renovate renovate bot changed the title Update dependency vite to v3.1.6 Update dependency vite to v3.1.7 Oct 10, 2022
@renovate renovate bot force-pushed the renovate/vite-3.x branch 9 times, most recently from eae8a97 to 4ca0bb2 Compare October 13, 2022 10:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants