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

update #155

Merged
merged 258 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
9a936aa
feat(reactivity): add failSilently argument for onScopeDispose
yyx990803 Mar 7, 2024
bb5c31e
chore: Merge branch 'main' into minor
yyx990803 Apr 15, 2024
5f0c6e4
chore: Merge branch 'main' into minor
yyx990803 Apr 19, 2024
a084df1
dx(compiler-dom): warn on invalid html nesting (#10734)
sxzz Apr 22, 2024
9fd1284
chore: Merge branch 'main' into minor
yyx990803 Apr 22, 2024
85f3592
refactor: should throw errors in computed getters
yyx990803 Apr 24, 2024
28841fe
fix(reactivity): fix call sequence of ontrigger in effect (#10501)
OnlyWick Apr 25, 2024
0c3a920
chore: Merge branch 'main' into minor
yyx990803 Apr 25, 2024
0e6e3c7
feat(transition): support directly nesting Teleport inside Transition…
edison1105 Apr 25, 2024
4cc9ca8
types(defineComponent): support for GlobalComponents, typed Directive…
pikax Apr 25, 2024
75c8cf6
feat(types): provide internal options for directly using user types i…
yyx990803 Apr 27, 2024
d2dac0e
feat(compiler-sfc): enable reactive props destructure by default
yyx990803 Apr 29, 2024
5590ca3
release: v3.5.0-alpha.1
yyx990803 Apr 29, 2024
801b8de
chore: Merge branch 'main' into minor
yyx990803 Apr 29, 2024
582a3a3
feat(runtime-core): add app.onUnmount() for registering cleanup funct…
LinusBorg Apr 29, 2024
124c4ca
fix(types): props in defineOptions type should be optional
yyx990803 Apr 30, 2024
c146186
fix(types): fix compat with generated types that rely on CreateCompon…
yyx990803 Apr 30, 2024
9b82005
test: defineOptions dts tests (#10849)
cexbrayat May 3, 2024
eae0ccb
chore: re-export deprecated component options types
yyx990803 May 3, 2024
908f70a
fix(types): fix app.component() typing with inline defineComponent
yyx990803 May 3, 2024
801666f
chore: add internal flag to work around ts issue
yyx990803 May 3, 2024
b295cdf
release: v3.5.0-alpha.2
yyx990803 May 4, 2024
a501a85
feat(compiler-core): support `Symbol` global in template expressions …
4xii May 27, 2024
1d8727e
chore: Merge branch 'main' into minor
yyx990803 May 30, 2024
8708a7f
chore: fix lint
yyx990803 May 30, 2024
189573d
feat(types): export more emit related types (#11017)
buqiyuan May 30, 2024
f8eba75
chore(reactivity): change literal flag properties to enum flag proper…
OnlyWick May 30, 2024
cd0ea0d
fix(compiler-core): change node hoisting to caching per instance (#11…
yyx990803 Jun 4, 2024
96e4738
fix(types): respect props with default on instance type when using __…
yyx990803 Jun 5, 2024
2635626
chore: Merge branch 'main' into minor
yyx990803 Jun 14, 2024
1224caf
chore: format
yyx990803 Jun 14, 2024
524e660
chore: Merge branch 'main' into minor
yyx990803 Jun 14, 2024
7d06ca3
chore: Merge branch 'main' into minor
yyx990803 Jun 22, 2024
9124943
chore(types): reduce as any in reactivity
yyx990803 Jun 26, 2024
f476b7f
feat(runtime-core): add app.config.throwUnhandledErrorInProduction
yyx990803 Jul 17, 2024
0fd6193
fix(compiler-sfc): should properly walk desutructured props when reac…
yyx990803 Jul 17, 2024
f15ba2c
chore: Merge branch 'main' into minor
yyx990803 Jul 17, 2024
0ae7316
chore: update comments for proxyRefs
yyx990803 Jul 17, 2024
3ba70e4
feat: useTemplateRef()
yyx990803 Jul 17, 2024
59a3e88
feat(teleport): support deferred Teleport (#11387)
yyx990803 Jul 18, 2024
4c03ab2
test(teleport): test for accessing template ref inside teleport in mo…
yyx990803 Jul 18, 2024
68bb48c
refactor: move useTemplateRef file
yyx990803 Jul 19, 2024
01032db
workflow: enable prod hydration details in dev script
yyx990803 Jul 19, 2024
b14cd9a
fix(build): enable SSR branches in esm-browser builds
yyx990803 Jul 19, 2024
3f8cbb2
chore: move useTemplateRef tests
yyx990803 Jul 19, 2024
73ef156
feat(runtime-core): useId() (#11404)
yyx990803 Jul 19, 2024
66579ea
chore: Merge branch 'main' into minor
yyx990803 Jul 19, 2024
ee11f43
release: v3.5.0-alpha.3
yyx990803 Jul 19, 2024
e255c31
refactor: remove unnecessary else
yyx990803 Jul 24, 2024
1b8e197
fix(suspense/hydration): fix hydration timing of async component insi…
yyx990803 Jul 24, 2024
2a55f22
test: add test case for useId
yyx990803 Jul 24, 2024
cd28172
fix(useId): properly mark async boundary for already resolved async c…
yyx990803 Jul 24, 2024
fa6c5d8
chore: Merge branch 'main' into minor
yyx990803 Jul 24, 2024
4ffd9db
release: v3.5.0-alpha.4
yyx990803 Jul 24, 2024
94fb2b8
feat(hydration): support suppressing hydration mismatch via data-allo…
yyx990803 Jul 25, 2024
e28c581
refactor(reactivity): simplify the wrapping logic for returned values…
jh-leong Jul 29, 2024
d14a11c
feat: lazy hydration strategies for async components (#11458)
yyx990803 Jul 31, 2024
f35080d
chore: Merge branch 'main' into minor
yyx990803 Jul 31, 2024
f6babf3
release: v3.5.0-alpha.5
yyx990803 Jul 31, 2024
1fbfa69
feat: support specifying allowed keys via generic argument in useTemp…
yyx990803 Aug 1, 2024
321d807
fix(types): allow using InjectionKey as valid property key
yyx990803 Aug 2, 2024
22f7d96
feat(watch): support passing number to `deep` option to control the w…
Alfred-Skyblue Aug 2, 2024
2a29a71
test(types): add test for generic discriminated unions in props (#9336)
davidmatter Aug 2, 2024
998dca5
feat(types): export `MultiWatchSources` type (#9563)
DamianGlowala Aug 2, 2024
6d4eb94
feat(runtime-dom): Trusted Types compatibility (#10844)
haoqunjiang Aug 2, 2024
55acabe
dx(useTemplateRef): warn when declaring with the same key (#11462)
jh-leong Aug 2, 2024
267093c
feat(reactivity/watch): add pause/resume for ReactiveEffect, EffectSc…
Alfred-Skyblue Aug 2, 2024
37d2ce5
feat(custom-element): support shadowRoot: false in defineCustomElement()
yyx990803 Aug 3, 2024
7f2c505
fix(custom-element): ignore scoped id
yyx990803 Aug 3, 2024
e181bff
feat(custom-element): support emit with options
yyx990803 Aug 3, 2024
5a1a89b
feat(custom-element): useShadowRoot() helper
yyx990803 Aug 3, 2024
af838c1
feat(custom-element): support for expose on customElement (#6256)
hcg1023 Aug 3, 2024
d6af694
chore(deps): bump TypeScript to 5.5
yyx990803 Aug 4, 2024
ba20929
refactor(types/ref): update `MaybeRef` to include all ref-like types …
jh-leong Aug 5, 2024
33cd613
chore(runtime-test): remove useless test code (#11483)
Sunny-117 Aug 5, 2024
5ffd1a8
feat(types): provide internal options for using refs type in language…
jh-leong Aug 5, 2024
a01675e
feat(types): allow computed getter and setter types to be unrelated (…
Alfred-Skyblue Aug 5, 2024
3430bff
test(runtime-core): test cases when the value of the `$stable` flag i…
btea Aug 5, 2024
4592b63
fix(types/withDefaults): ensure default values of type `any` do not i…
jh-leong Aug 5, 2024
e94b01b
fix(types/custome-element): `defineCustomElement` props inference wit…
andylizi Aug 5, 2024
2f9023d
chore(deps): update dependency marked to v13 (#11500)
renovate[bot] Aug 5, 2024
077a1ae
fix(compiler-core): fix expression transform for try...catch block pa…
yyx990803 Aug 5, 2024
47bda15
chore(deps): update dependency typescript-eslint to v8 (#11506)
renovate[bot] Aug 5, 2024
f3efff1
chore(deps): update dependency rimraf to v6 (#11505)
renovate[bot] Aug 5, 2024
67bb820
fix(compiler-core): properly handle for loop variable declarations in…
yyx990803 Aug 5, 2024
ea190f2
chore(deps): upgrade to entities 5.0
yyx990803 Aug 5, 2024
59d2284
chore(deps): update all non-major dependencies (#11494)
renovate[bot] Aug 5, 2024
1a40c37
chore(deps): update dependency puppeteer to ~22.15.0 (#11499)
renovate[bot] Aug 5, 2024
d4db35a
chore(deps): update dependency magic-string to ^0.30.11 (#11497)
renovate[bot] Aug 5, 2024
7ecf91f
chore(deps): limit minimatch range
yyx990803 Aug 5, 2024
ed1bf72
chore(deps): update build (#11495)
renovate[bot] Aug 5, 2024
e26fd7b
chore(deps): update dependency lint-staged to ^15.2.8 (#11498)
renovate[bot] Aug 5, 2024
6e541db
chore: warn style injection in shadowRoot: false mode
yyx990803 Aug 5, 2024
b74687c
refactor: isCE -> ce
yyx990803 Aug 5, 2024
56c76a8
feat(custom-element): inject child components styles to custom elemen…
yyx990803 Aug 5, 2024
63fd8b6
ci: fix canary release workflow (#11516)
davidmatter Aug 6, 2024
60a88a2
feat(custom-element): support passing custom-element-specific options…
yyx990803 Aug 6, 2024
bb4a02a
feat(custom-element): support nonce option for injected style tags
yyx990803 Aug 6, 2024
7d473b7
fix(hydration): force hydrate custom element dynamic props
yyx990803 Aug 6, 2024
79602f9
fix(ssr): respect textContent/innerHTML from getSSRProps in optimized…
yyx990803 Aug 6, 2024
917c063
chore: fix typo (#11522)
edison1105 Aug 6, 2024
275354c
fix(compiler-ssr): don't render v-if comments in TransitionGroup + st…
edison1105 Aug 6, 2024
a586901
workflow: add a "publish" workflow for automated releases (#9690)
haoqunjiang Aug 6, 2024
4e5cafe
workflow: update size report to compare against pr target branch
yyx990803 Aug 6, 2024
244545c
workflow: fix release workflow [ci skip]
yyx990803 Aug 6, 2024
ae09d24
workflow: bail release when skipping prompts + CI not passed yet
yyx990803 Aug 6, 2024
13834c8
workflow: fix release script error handling
yyx990803 Aug 6, 2024
c82afc0
workflow: add registry-url
yyx990803 Aug 6, 2024
1cbbb04
release: v3.4.36
vue-bot Aug 6, 2024
a6c4113
chore: fix 3.4.36 changelog [ci skip]
yyx990803 Aug 6, 2024
9e7aa04
workflow: auto create gh release tag in release
yyx990803 Aug 6, 2024
5b6caab
chore: changelog [ci skip]
yyx990803 Aug 6, 2024
7c75cc3
workflow: sign the release commit in workflow
yyx990803 Aug 6, 2024
03a9ea2
feat(custom-element): support css `:host` selector by applying css va…
baiwusanyu-c Aug 6, 2024
37ccb9b
fix(custom-element): delay mounting of custom elements with async parent
yyx990803 Aug 6, 2024
bcb9a70
types: custom element interface should be internal
yyx990803 Aug 6, 2024
63689ed
fix(custom-element): reflect prop default value on custom element
yyx990803 Aug 6, 2024
8a99f90
style: format html&markdown files (#11531)
sxzz Aug 7, 2024
139548e
chore: fix typo (#11535) [ci skip]
sq800 Aug 7, 2024
536f623
fix(types/ref): correct type inference for nested refs (#11536)
jh-leong Aug 7, 2024
a917c05
fix(keep-alive): avoid cache suspense comment root (#11479)
edison1105 Aug 7, 2024
e359ff0
fix(runtime-core): fix warning for missing event handler (#11489)
skirtles-code Aug 7, 2024
fdc2a31
fix(runtime-dom): apply css vars before mount (#11538)
linzhe141 Aug 7, 2024
6c90324
fix(ssr): ensure content is valid when rendering normal slot (#11491)
nieyuyao Aug 7, 2024
81351dc
fix(keep-alive): fix render error in cached is undefined (#11496)
kakkokari-gtyih Aug 7, 2024
7e75de0
fix(runtime-core): prioritize using the provides from currentApp in n…
edison1105 Aug 7, 2024
261c8b1
feat(hydration): allow fine tuning of lazy hydration strategy trigger…
GalacticHypernova Aug 7, 2024
6758c3c
feat(custom-element): support configurable app instance in defineCust…
yyx990803 Aug 7, 2024
1058ce8
fix(types): allow `DirectiveArguments` third parameter to accept unde…
Mini-ghost Aug 7, 2024
197afc2
chore: fix useShadowRoot warning method name
yyx990803 Aug 7, 2024
978ff3c
fix(custom-element): fix custom-element double render on immediate pr…
yyx990803 Aug 7, 2024
3a56315
fix: Revert "fix(types/ref): correct type inference for nested refs (…
yyx990803 Aug 7, 2024
b1abac0
fix: Revert "fix(types/ref): allow getter and setter types to be unre…
yyx990803 Aug 7, 2024
eaf5455
chore: Merge branch 'main' into minor
yyx990803 Aug 7, 2024
95b9550
style: format html files
sxzz Aug 7, 2024
5753a10
chore: fix wrong test name for useShadowRoot (#11550)
cexbrayat Aug 7, 2024
e042888
fix(defineModel): detect changes respect custom getter and setter (#1…
liuseen-l Aug 7, 2024
e044b6e
feat(reactivity): store value cache on CustomRefs impls (#11539)
alexzhang1030 Aug 7, 2024
29e4a11
workflow: force fetch all tags in release action
yyx990803 Aug 7, 2024
775103a
feat(custom-element): useHost() helper
yyx990803 Aug 8, 2024
1ef8f46
feat(custom-element): expose this.$host in Options API
yyx990803 Aug 8, 2024
7d57432
chore: use fresh containers for app mount tests
yyx990803 Aug 8, 2024
9b531d5
test: rectify accidentally passing test
yyx990803 Aug 8, 2024
a07e7bf
fix(custom-element): support early-set domProps for async custom elem…
yyx990803 Aug 8, 2024
be84f33
chore(sfc-playground): default isCustomElement for sfc playground
yyx990803 Aug 8, 2024
236fb7a
fix(compiler-core): use `isProp.arg.loc` instead of `isProp.loc` (#11…
KazariEX Aug 8, 2024
32a1433
workflow: fix size report base branch
yyx990803 Aug 8, 2024
506c4c5
fix(custom-element): delete prop on attribute removal
yyx990803 Aug 8, 2024
47cdf24
workflow: adjust release workflow
yyx990803 Aug 8, 2024
f8ce86b
chore(playground): support copying vue version (#11558)
liuseen-l Aug 8, 2024
c6841bd
test(compiler-sfc): add assertion for template functional (#11557)
Disservin Aug 8, 2024
e333312
workflow: fix release script in actions
yyx990803 Aug 8, 2024
6be63e0
workflow: new release workflow
yyx990803 Aug 8, 2024
28db2e6
release: v3.4.37
yyx990803 Aug 8, 2024
928af5f
refactor(types): enable `isolatedDeclarations` (#11178)
sxzz Aug 8, 2024
741d8a0
chore: Merge branch 'main' into minor
yyx990803 Aug 8, 2024
d14c48c
chore: bump deps
yyx990803 Aug 8, 2024
158bb62
chore: split 3.4 changelog
yyx990803 Aug 8, 2024
23e0988
release: v3.5.0-beta.1
yyx990803 Aug 8, 2024
cffe866
workflow: simplify size report action
yyx990803 Aug 9, 2024
63b7c01
chore(deps): bump vitest to 2.0
yyx990803 Aug 9, 2024
4085def
fix(reactivity): ensure extended method arguments are not lost (#11574)
edison1105 Aug 10, 2024
90caac4
test(custom-element): test custom element hydration w/ declarative sh…
yyx990803 Aug 10, 2024
0a16eae
chore: log stats in size script
yyx990803 Aug 11, 2024
8921c2d
workflow: test publish commit workflow
yyx990803 Aug 11, 2024
a1ee8b7
workflow: handle targetVersion in release script with publishOnly flag
yyx990803 Aug 11, 2024
119a0b3
workflow: use explicit registry when publishing
yyx990803 Aug 11, 2024
cac1e4e
workflow: skip provenance when publishing commits
yyx990803 Aug 11, 2024
6a5b209
workflow: move private packages to separate directory
yyx990803 Aug 12, 2024
85ee76f
chore: bump transition tests buffer in ci
yyx990803 Aug 12, 2024
2dc1c31
workflow: upload-built-packages
yyx990803 Aug 12, 2024
da2bf96
chore: rename workflow
yyx990803 Aug 12, 2024
67cdb5f
workflow: adjust upload depth
yyx990803 Aug 12, 2024
765abf8
workflow: fix size report
yyx990803 Aug 12, 2024
43ccad4
chore(deps): update all non-major dependencies (#11582)
renovate[bot] Aug 12, 2024
a26d481
chore(deps): update build (#11583)
renovate[bot] Aug 12, 2024
4c4e12a
fix(deps): update dependency postcss to ^8.4.41 (#11585)
renovate[bot] Aug 12, 2024
31deff4
chore(deps): update dependency puppeteer to v23 (#11588)
renovate[bot] Aug 12, 2024
cffa128
chore(deps): update test to ^2.0.5 (#11584)
renovate[bot] Aug 12, 2024
3f23eff
chore(deps): update lint (#11586)
renovate[bot] Aug 12, 2024
5238e5a
chore(deps): pin marked
yyx990803 Aug 12, 2024
d0f882d
chore: add explicit type annotation to `initDirectivesForSSR` (#11596)
jh-leong Aug 13, 2024
4e7d5db
feat(deprecated): remove deprecated parseExpressions option (#11597)
edison1105 Aug 13, 2024
73fa91f
refactor: remove unnecessary check as filter is always non-null (#11599)
edison1105 Aug 13, 2024
fee6697
fix(types): add fallback stub for DOM types when DOM lib is absent (#…
jh-leong Aug 13, 2024
3653bc0
fix(keep-alive): ensure include/exclude regexp work with global flag …
btea Aug 13, 2024
3bda3e8
fix(reactivity): sync watch should be executed correctly (#11589)
linzhe141 Aug 13, 2024
5cf5a16
fix(types/computed): ensure type safety for `WritableComputedRef` (#1…
jh-leong Aug 14, 2024
c96ec67
chore(types): update examples in JSDoc for augmenting global properti…
romansp Aug 14, 2024
c66a362
chore: add recommendations extensions vitest (#11610)
btea Aug 15, 2024
905c9f1
chore: update changelog regarding inject behavior change
yyx990803 Aug 15, 2024
5861229
fix(compiler-core): use ast-based check for function expressions when…
yyx990803 Aug 15, 2024
e9e0815
fix(build): revert entities to 4.5 to avoid runtime resolution errors
yyx990803 Aug 15, 2024
fe00815
fix(compiler-sfc): handle keyof operator with index object (#11581)
Disservin Aug 15, 2024
3d6f015
fix(compiler-sfc): fix prefixIdentifier default value
yyx990803 Aug 15, 2024
e19fc27
fix(custom-element): keep instance.isCE for backwards compat
yyx990803 Aug 15, 2024
7d700c2
release: v3.5.0-beta.2
yyx990803 Aug 15, 2024
d7d0371
fix(runtime-core): correct type inference for PascalCase emits (#11579)
KazariEX Aug 15, 2024
9cf8ea9
chore: add 3.4.38 changelog (#11630) [ci skip]
jh-leong Aug 16, 2024
7ba59c6
feat(workflows): auto close issues with `can't reproduce` label (#11631)
edison1105 Aug 16, 2024
c42919a
chore: update email link in SECURITY.md (#11632) [ci skip]
dlzmoe Aug 16, 2024
8bcaad4
fix(watch): handle errors in computed used as watch source (#11626)
Jak-Ch-ll Aug 16, 2024
5e0f6d5
fix(types/custom-element): `defineCustomElement` with required props …
andylizi Aug 15, 2024
9de1d10
fix(reactivity): extended methods respect reactive (#11629)
edison1105 Aug 16, 2024
ca41b92
workflow: set up continuous release with pkg.pr.new
yyx990803 Aug 16, 2024
7a6c665
workflow: pass along commit to ecosystem-ci pr workflow
yyx990803 Aug 16, 2024
b332f80
fix(runtime-core): pre jobs without an id should run first (#7746)
skirtles-code Aug 19, 2024
7fbf496
refactor(scheduler): remove redundant sorting (#11646)
skirtles-code Aug 19, 2024
4469972
chore(deps): update build (#11651)
renovate[bot] Aug 19, 2024
448c239
chore(deps): update dependency postcss-selector-parser to ^6.1.2 (#11…
renovate[bot] Aug 19, 2024
0e3d5cc
chore(deps): update all non-major dependencies (#11654)
renovate[bot] Aug 19, 2024
c183405
chore(deps): update lint (#11653)
renovate[bot] Aug 19, 2024
4b608a9
refactor(scheduler): remove invalidateJob (#11650)
skirtles-code Aug 19, 2024
ac2a410
fix(runtime-core): ensure suspense content inherit scopeId (#10652)
edison1105 Aug 19, 2024
98b83e8
fix(ssr): apply ssr props to the the fallback vnode-based branch in s…
edison1105 Aug 19, 2024
bb6babc
perf( runtime-core): use `apply` to avoid spreading. (#5985)
zhangenming Aug 19, 2024
44973bb
fix(types): strip non-prop default values from return type of withDef…
yangxiuxiu1115 Aug 19, 2024
205e5b5
feat(reactivity): base `watch`, `getCurrentWatcher`, and `onWatcherCl…
LittleSound Aug 20, 2024
fdcb06b
chore: log more precise digits for size script [ci skip]
yyx990803 Aug 20, 2024
8c3fdd1
release: v3.5.0-beta.3
yyx990803 Aug 20, 2024
7dbab27
chore: fix typo (#11663)[ci skip]
jh-leong Aug 20, 2024
f2ea25d
refactor(watch): reuse watch types
yyx990803 Aug 20, 2024
fbc0c42
fix(reactivity): ensure watcher with once: true are properly removed …
yangxiuxiu1115 Aug 20, 2024
342657b
chore: correct the issue number (#11715) [ci skip]
edison1105 Aug 26, 2024
42e8df6
fix(types): GlobalDirective / GlobalComponents should not be records
yyx990803 Aug 28, 2024
d875de5
fix(runtime-dom): setting innerHTML when patching props should go thr…
yyx990803 Aug 28, 2024
d6ccce9
test(types): component type check when props is an empty object (#7419)
rudyxu1102 Aug 28, 2024
334d47d
dx(compiler-sfc): improve error message for missing template and scri…
paulwer Aug 28, 2024
38fe300
workflow: update paths for private packages in `dev` script (#11668)
jh-leong Aug 28, 2024
4118040
chore(deps): update all non-major dependencies (#11708)
renovate[bot] Aug 28, 2024
434f8a9
fix(deps): update dependency monaco-editor to ^0.51.0 (#11713)
renovate[bot] Aug 28, 2024
5c3d89a
chore(deps): update build (#11709)
renovate[bot] Aug 28, 2024
873ccd3
chore(deps): update lint (#11710)
renovate[bot] Aug 28, 2024
080b604
chore(deps): update dependency jsdom to v25 (#11714)
renovate[bot] Aug 28, 2024
47d8158
chore: update coverage config to use explicit include
yyx990803 Aug 28, 2024
64e1ca2
chore(reactivity): effectScope.ts variable declarations optimized and…
heggria Aug 28, 2024
29c321b
fix(keep-alive): reset keep alive flag when the component is removed…
linzhe141 Aug 29, 2024
ac9e7e8
test: adjust coverage config, use v8 coverage
yyx990803 Aug 29, 2024
9c4c2e5
fix(compiler-sfc): skip circular tsconfig project reference (#11680)
cyrilluce Aug 29, 2024
313e4bf
fix(reactivity): avoid infinite recursion when mutating ref wrapped i…
yyx990803 Aug 29, 2024
1d988b5
test(reactivity): test case for #6358 (#6376)
lidlanca Aug 29, 2024
f1d1831
fix(custom-element): handle keys set on custom elements (#11655)
edison1105 Aug 29, 2024
d298c43
release: v3.5.0-rc.1
yyx990803 Aug 29, 2024
a3c104d
chore(scripts): fix clean script on windows (#11748)
sunil-sharma-999 Sep 2, 2024
d427bcd
chore: document parameters of onWatcherCleanup (#11768)
cexbrayat Sep 2, 2024
0387e1b
ci: prevents action from running on forks (#11766)
tolking Sep 2, 2024
3de5556
test(reactive): use vitest fn instead of counting manually (#11746)
coderwei99 Sep 2, 2024
c756da2
fix(hydration): handle text nodes with 0 during hydration (#11772)
edison1105 Sep 2, 2024
d86fe0e
feat(types): add loading prop to iframe (#11767)
chirokas Sep 2, 2024
0f7c0e5
fix(compiler-sfc): fix import usage check for kebab-case same name sh…
yyx990803 Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/commit-convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This reverts commit 667ecc1654a317a13331b17617d973392f415f02.

### Full Message Format

A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:

```
<type>(<scope>): <subject>
Expand Down Expand Up @@ -74,9 +74,9 @@ The scope could be anything specifying the place of the commit change. For examp

The subject contains a succinct description of the change:

* use the imperative, present tense: "change" not "changed" nor "changes"
* don't capitalize the first letter
* no dot (.) at the end
- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize the first letter
- no dot (.) at the end

### Body

Expand Down
5 changes: 2 additions & 3 deletions .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Hi! I'm really excited that you are interested in contributing to Vue.js. Before

Another aspect of it is that large scale stylistic changes result in massive diffs that touch multiple files, adding noise to the git history and makes tracing behavior changes across commits more cumbersome.


### Pull Request Checklist

- Vue core has two primary work branches: `main` and `minor`.
Expand Down Expand Up @@ -237,7 +236,7 @@ Tests that test against source code are grouped under `nr test-unit`, while test

### `nr test-dts`

Runs `nr build-dts` first, then verify the type tests in `packages/dts-test` are working correctly against the actual built type declarations.
Runs `nr build-dts` first, then verify the type tests in `packages-private/dts-test` are working correctly against the actual built type declarations.

## Project Structure

Expand Down Expand Up @@ -336,7 +335,7 @@ Test coverage is continuously deployed at https://coverage.vuejs.org. PRs that i

### Testing Type Definition Correctness

Type tests are located in the `packages/dts-test` directory. To run the dts tests, run `nr test-dts`. Note that the type test requires all relevant `*.d.ts` files to be built first (and the script does it for you). Once the `d.ts` files are built and up-to-date, the tests can be re-run by running `nr test-dts-only`.
Type tests are located in the `packages-private/dts-test` directory. To run the dts tests, run `nr test-dts`. Note that the type test requires all relevant `*.d.ts` files to be built first (and the script does it for you). Once the `d.ts` files are built and up-to-date, the tests can be re-run by running `nr test-dts-only`.

## Financial Contribution

Expand Down
1 change: 1 addition & 0 deletions .github/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Depending on the type of the PR, different considerations need to be taken into
- Make sure it doesn't accidentally cause dev-only or compiler-only code branches to be included in the runtime build. Notable case is that some functions in @vue/shared are compiler-only and should not be used in runtime code, e.g. `isHTMLTag` and `isSVGTag`.

- Performance

- Be careful about code changes in "hot paths", in particular the Virtual DOM renderer (`runtime-core/src/renderer.ts`) and component instantiation code.

- Potential Breakage
Expand Down
12 changes: 10 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{
groupName: 'playground',
matchFileNames: [
'packages/sfc-playground/package.json',
'packages/template-explorer/package.json',
'packages-private/sfc-playground/package.json',
'packages-private/template-explorer/package.json',
],
},
{
Expand Down Expand Up @@ -54,5 +54,13 @@
// pinned
// https://github.com/vuejs/core/commit/a012e39b373f1b6918e5c89856e8f902e1bfa14d
'@rollup/plugin-replace',

// pinned
// only used in example for e2e tests
'marked',

// pinned, 5.0+ has exports issues
// https://github.com/vuejs/core/issues/11603
'entities',
],
}
2 changes: 1 addition & 1 deletion .github/workflows/canary-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:

- run: pnpm install

- run: pnpm release --canary --tag minor
- run: pnpm release --canary --publish --tag minor
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:

- run: pnpm install

- run: pnpm release --canary
- run: pnpm release --canary --publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
135 changes: 17 additions & 118 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,141 +3,40 @@ on:
push:
branches:
- '**'
tags:
- '!**'
pull_request:
branches:
- main
- minor

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
unit-test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/[email protected]

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'

- run: pnpm install

- name: Run unit tests
run: pnpm run test-unit

unit-test-windows:
runs-on: windows-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/[email protected]

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'

- run: pnpm install
test:
if: ${{ ! startsWith(github.event.head_commit.message, 'release:') && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) }}
uses: ./.github/workflows/test.yml

- name: Run compiler unit tests
run: pnpm run test-unit compiler

- name: Run ssr unit tests
run: pnpm run test-unit server-renderer

e2e-test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@v4

- name: Setup cache for Chromium binary
uses: actions/cache@v4
with:
path: ~/.cache/puppeteer
key: chromium-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install pnpm
uses: pnpm/[email protected]

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'

- run: pnpm install
- run: node node_modules/puppeteer/install.mjs

- name: Run e2e tests
run: pnpm run test-e2e

- name: verify treeshaking
run: node scripts/verify-treeshaking.js

lint-and-test-dts:
continuous-release:
if: github.repository == 'vuejs/core'
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4.0.0
uses: pnpm/action-setup@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- run: pnpm install

- name: Run eslint
run: pnpm run lint

- name: Run prettier
run: pnpm run format-check

- name: Run type declaration tests
run: pnpm run test-dts

# benchmarks:
# runs-on: ubuntu-latest
# if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
# env:
# PUPPETEER_SKIP_DOWNLOAD: 'true'
# steps:
# - uses: actions/checkout@v4

# - name: Install pnpm
# uses: pnpm/[email protected]

# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: '.node-version'
# cache: 'pnpm'
- name: Install deps
run: pnpm install

# - run: pnpm install
- name: Build
run: pnpm build --withTypes

# - name: Run benchmarks
# uses: CodSpeedHQ/action@v2
# with:
# run: pnpm vitest bench --run
# token: ${{ secrets.CODSPEED_TOKEN }}
- name: Release
run: pnpx pkg-pr-new publish --compact --pnpm './packages/*'
21 changes: 21 additions & 0 deletions .github/workflows/close-cant-reproduce-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Auto close issues with "can't reproduce" label

on:
schedule:
- cron: '0 0 * * *'

permissions:
issues: write

jobs:
close-issues:
if: github.repository == 'vuejs/core'
runs-on: ubuntu-latest
steps:
- name: can't reproduce
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
labels: "can't reproduce"
inactive-day: 3
15 changes: 10 additions & 5 deletions .github/workflows/ecosystem-ci-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'vuejs/core' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ecosystem-ci run')
steps:
- uses: actions/github-script@v7
- name: Check user permission
uses: actions/github-script@v7
with:
script: |
const user = context.payload.sender.login
Expand Down Expand Up @@ -43,7 +44,8 @@ jobs:
})
throw new Error('not allowed')
}
- uses: actions/github-script@v7
- name: Get PR info
uses: actions/github-script@v7
id: get-pr-data
with:
script: |
Expand All @@ -56,9 +58,11 @@ jobs:
return {
num: context.issue.number,
branchName: pr.head.ref,
repo: pr.head.repo.full_name
repo: pr.head.repo.full_name,
commit: pr.head.sha
}
- uses: actions/github-script@v7
- name: Trigger run
uses: actions/github-script@v7
id: trigger
env:
COMMENT: ${{ github.event.comment.body }}
Expand All @@ -80,6 +84,7 @@ jobs:
prNumber: '' + prData.num,
branchName: prData.branchName,
repo: prData.repo,
suite: suite === '' ? '-' : suite
suite: suite === '' ? '-' : suite,
commit: prData.commit
}
})
28 changes: 0 additions & 28 deletions .github/workflows/release-tag.yml

This file was deleted.

Loading