vite-react-ts-tailwind-firebase-starter icon indicating copy to clipboard operation
vite-react-ts-tailwind-firebase-starter copied to clipboard

chore(deps): update dependency vite to v3

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) ^2.9.15 -> ^3.1.4 age adoption passing confidence

Release Notes

vitejs/vite

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

v3.0.9

Compare Source

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6

Compare Source

v3.0.5

Compare Source

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

Main Changes

Vite 3 is out! Read the Vite 3 Announcement blog post

  • New docs theme using VitePress v1 alpha: https://vitejs.dev
  • Vite CLI
    • The default dev server port is now 5173, with the preview server starting at 4173.
    • The default dev server host is now localhost instead of 127.0.0.1.
  • Compatibility
    • Vite no longer supports Node v12, which reached its EOL. Node 14.18+ is now required.
    • Vite is now published as ESM, with a CJS proxy to the ESM entry for compatibility.
    • The Modern Browser Baseline now targets browsers which support the native ES Modules and native ESM dynamic import and import.meta.
    • JS file extensions in SSR and lib mode now use a valid extension (js, mjs, or cjs) for output JS entries and chunks based on their format and the package type.
  • Architecture changes
    • Vite now avoids full reload during cold start when imports are injected by plugins in while crawling the initial statically imported modules (#​8869).
    • Vite uses ESM for the SSR build by default, and previous SSR externalization heuristics are no longer needed.
  • import.meta.glob has been improved, read about the new features in the Glob Import Guide
  • The WebAssembly import API has been revised to avoid collisions with future standards. Read more in the WebAssembly guide
  • Improved support for relative base.
  • Experimental Features
  • Bundle size reduction
    • Terser is now an optional dependency. If you use build.minify: 'terser', you'll need to install it (npm add -D terser)
    • node-forge moved out of the monorepo to @​vitejs/plugin-basic-ssl
  • Options that were already deprecated in v2 have been removed.

Note Before updating, check out the migration guide from v2

Features

Configuration

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

🚦 Automerge: Disabled due to failing status checks.

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[bot] avatar Jul 13 '22 12:07 renovate[bot]

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

Name Status Preview Updated
vite-react-ts-tailwind-starter ✅ Ready (Inspect) Visit Preview Dec 5, 2022 at 8:54AM (UTC)

vercel[bot] avatar Jul 13 '22 12:07 vercel[bot]