Bump vite from 4.5.0 to 5.0.0 in /frontend
Bumps vite from 4.5.0 to 5.0.0.
Release notes
Sourced from vite's releases.
create-vite@5.0.0
Please refer to CHANGELOG.md for details.
create-vite@5.0.0-beta.1
Please refer to CHANGELOG.md for details.
create-vite@5.0.0-beta.0
Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
5.0.0 (2023-11-16)
Vite 5 is out! Read the announcement blog post here
Today, we mark another big milestone in Vite's path. The Vite team, contributors, and ecosystem partners, are excited to announce the release of Vite 5. Vite is now using Rollup 4, which already represents a big boost in build performance. And there are also new options to improve your dev server performance profile.
Vite 5 focuses on cleaning up the API (removing deprecated features) and streamlines several features closing long-standing issues, for example switching
define
to use proper AST replacements instead of regexes. We also continue to take steps to future-proof Vite (Node.js 18+ is now required, and the CJS Node API has been deprecated).Quick links:
Docs in other languages:
Learn more at the Vite 5 announcement blog post.
Breaking changes
- feat!: add isPreview to ConfigEnv and resolveConfig (#14855) (d195860), closes #14855
- fix(types)!: expose httpServer with Http2SecureServer union (#14834) (ab5bb40), closes #14834
- refactor(preview)!: use base middleware (#14818) (69737f4), closes #14818
- fix(html)!: align html serving between dev and preview (#14756) (4f71ae8), closes #14756
- refactor!: remove non boolean middleware mode (#14792) (deb5515), closes #14792
- refactor(esbuild)!: remove esbuild 0.17 -> 0.18 compat (#14804) (7234021), closes #14804
- feat(resolve)!: remove
resolve.browserField
(#14733) (43cc3b9), closes #14733- refactor!: move side effect of restart server to the caller (#8746) (521ca58), closes #8746
- refactor(shortcuts)!: tweak shortcuts api (#14749) (0ae2e1d), closes #14749
- fix(resolve)!: remove special .mjs handling (#14723) (2141d31), closes #14723
- feat!: remove ssr proxy for externalized modules (#14521) (5786837), closes #14521
- feat(build)!: inline SVGs (#14643) (5acda5e), closes #14643
- fix!: worker.plugins is a function (#14685) (9d09dfe), closes #14685
- refactor!: remove https flag (#14681) (5b65bfd), closes #14681
- feat!: rollup v4 (#14508) (dee6067), closes #14508
- refactor!: remove
resolvePackageEntry
andresolvePackageData
APIs (#14584) (339f300), closes #14584- refactor!: remove exporting internal APIs (#14583) (7861a33), closes #14583
- fix!: return 404 for resources requests outside the base path (#5657) (40fd2d9), closes #5657
- refactor!: remove
server.force
(#14530) (33ecfd9), closes #14530- refactor!: remove jest condition (#14544) (8d18a91), closes #14544
- feat!: deprecate cjs node api (#14278) (404f30f), closes #14278
... (truncated)
Commits
-
531d3cb
chore: cleanup v5 beta changelog (#14694) -
0c31258
release: v5.0.0 -
9258ce0
release: v5.0.0-beta.20 -
e0c86d4
feat: allow providing parent httpServer on middleware mode (#14632) -
58ff849
fix: server.preTransformRequests https error (#14991) (#14993) -
2a519a1
fix: don't append/@fs/
for bare imports (#14995) -
d3af879
docs: point links in messages at https: (#14992) -
82a5b11
fix(ssr): skip esm proxy guard for namespace imports (#14988) -
bedfcfa
fix: code frame was not generated for postcss errors (#14986) -
2b4e793
fix: caret position was incorrect (#14984) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts