This is the aggregated changelog for 3.4 that includes changes landed in all alpha and beta pre-releases. For changelog of individual pre-releases, please check here.
Note: this file is temporary - the main CHANGELOG.md
is currently not viewable due to a GitHub bug. We will update all links to the main changelog once the bug is resolved.
3.3.1 (2023-05-11)
- suspense: handle nested sync suspense for hydration (a3f5485)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<button id="reset">reset</button> | |
<button id="outer">no leak</button> | |
<div id="container"> | |
<button id="inner">leak</button> | |
<span>1</span> | |
<span>2</span> | |
<span>3</span> | |
<span>4</span> | |
<span>5</span> |
title | date | author | gravatar | hidden | |
---|---|---|---|---|---|
Vue 3 将成为新的默认版本 |
2022-01-20 |
尤雨溪 |
eca93da2c67aadafe35d477aa8f454b8 |
@youyuxi |
true |
划重点:Vue 3 将在 2022 年 2 月 7 日成为新的默认版本!
- Migration Build
- compiler-core: whitespace handling strategy (dee3d6a)
- support component-level
compilerOptions
when using runtime compiler (ce0bbe0) - config: support configuring runtime compiler via
app.config.compilerOptions
(091e6d6) - support casting plain element to component via is="vue:xxx" (af9e699)
- devtools: improved KeepAlive support (03ae300)
- devtools: performance events (f7c54ca)
- onServerPrefe
- scope Id should not be attached to the Rules in the keyframes
- fix the detection of forwarded slots
- adapt keepalive to ssr
- toggling branches with in-out mode should be transitioned correctly
- custom dom props should be cloned when cloning a hoisted DOM
- respect the mixed render function in ssr
- component with multi roots should be removed when unmounted, Its accompanying PR that needs to be dealt with first is #2870: targetAnchor should also be removed when unmounted
- keep the order of imports expression for the fallback branch of SSR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example vite.config.js | |
import { cdn } from './vite-plugin-cdn' | |
export default { | |
plugins: [ | |
// also supported: esm.run, jspm | |
// loads the dep over the CDN during dev | |
// auto downloads and includes into the bundle during build | |
cdn('skypack', { | |
vue: '^3.0.5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="jumbotron"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<h1>Vue.js 3.0.0-alpha4 (keyed)</h1> | |
</div> | |
<div class="col-md-6"> | |
<div class="row"> | |
<div class="col-sm-6 smallpad"> | |
<button type="button" class="btn btn-primary btn-block" id="run" @click="run">Create 1,000 rows</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* App.svelte generated by Svelte v3.14.1 */ | |
/* After terser compression: min:6.00kb / gzip:2.43kb / brotli:2.15kb */ | |
const { | |
SvelteComponent, | |
append, | |
attr, | |
destroy_block, | |
detach, | |
element, | |
empty, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="demo"> | |
<h1>Latest Vue.js Commits</h1> | |
<template v-for="branch in branches"> | |
<input type="radio" | |
:id="branch" | |
:value="branch" | |
name="branch" | |
v-model="currentBranch"> | |
<label :for="branch">{{ branch }}</label> |
NewerOlder