Releases: vuejs/vue-jsx-vapor
Releases · vuejs/vue-jsx-vapor
v3.2.10
🚀 Features
- runtime: Infer Exposed type for defineComponent - by @zhiyuanzmj (9b9dc)
View changes on GitHub
v3.2.9
🚀 Features
- compiler/vdom: Add optimize option and replace optimizeSlots - by @zhiyuanzmj (e5985)
- runtime: Support
v-slotstypes indefineComponentand `defineVaporComponent - by @zhiyuanzmj (1e7f2)
🐞 Bug Fixes
- compiler/vdom:
- Should optimize in optional defineComponent - by @zhiyuanzmj (27e3b)
- Cleanup scope identifiers and improve slot tracking - by @zhiyuanzmj (1ae12)
- macros:
- Direct TSNonNullExpression checks - by @zhiyuanzmj (c6b22)
- runtime/vapor:
- Make NodeChild generic - by @zhiyuanzmj (f74e3)
- runtime/vdom:
- Remove _c flag for normalizeSlot - by @zhiyuanzmj (61d5b)
View changes on GitHub
v3.2.8
🐞 Bug Fixes
- compiler/vdom: Remove withCtx for normalizeSlot - by @zhiyuanzmj (b1568)
View changes on GitHub
v3.2.7
🚀 Features
- compiler/vdom: Optimize object-expression slots - by @zhiyuanzmj (98dcb)
- vapor: Preserve static keys - by @zhiyuanzmj (d1dca)
🐞 Bug Fixes
- compiler/vdom:
- Mark element as block if prop has jsx - by @zhiyuanzmj (406ec)
- Prevent optimize in for statement - by @zhiyuanzmj (7d456)
- runtime/vdom:
- Invalidate detached v-for memo vnodes after unmount - by @zhiyuanzmj (3bc38)
View changes on GitHub
v3.2.6
🐞 Bug Fixes
- compiler/vapor:
- Normalize default dynamic slot names in transform - by @zhiyuanzmj (dc47b)
- Avoid delegating same-event handlers when sibling uses stop modifiers - by @zhiyuanzmj (b9dce)
- compiler/vdom:
- Handle Fragment block usage for conditional expression - by @zhiyuanzmj (dcf78)
- Collect scope identifiers for slot optimization - by @zhiyuanzmj (d82ef)
View changes on GitHub
v3.2.5
🐞 Bug Fixes
- compiler/vapor:
- Add block_shape for v-if IR - by @zhiyuanzmj (8a18c)
- compiler/vdom:
- Mark Fragment stable only when used as a block - by @zhiyuanzmj (4d66c)
- Collect scope identifiers for slots flag detection - by @zhiyuanzmj (7ae5c)
View changes on GitHub
v3.2.4
🚀 Features
- compiler/vdom: Compile slots.xx component as a slot - by @zhiyuanzmj (6cde1)
🐞 Bug Fixes
- compiler/vdom: Mark Provider components as dynamic slots - by @zhiyuanzmj (72ac0)
- runtime/vdom: Set PatchFlags.BAIL for normalizeVNode - by @zhiyuanzmj (c72d5)
View changes on GitHub
v3.2.3
🐞 Bug Fixes
- compiler: Treat valueless attributes as boolean true - by @zhiyuanzmj (fc3d2)
- compiler/vdom: Use hash_string for VDOM cache keys - by @zhiyuanzmj (ba2dc)
- macros: Close inheritAttrs if only a rest prop - by @zhiyuanzmj (16617)
- runtime: Use a computed Proxy to merge props and attrs - by @zhiyuanzmj (b63c3)
- types: Allow JSX elements to be arrays - by @zhiyuanzmj (0564d)
View changes on GitHub
v3.2.2
🐞 Bug Fixes
- compiler/vdom:
- Prevent hoisted this-expression - by @zhiyuanzmj (470e6)
- Transform JSX in expression with assignment targets - by @zhiyuanzmj (7c245)
- Prevent cache this-expression - by @zhiyuanzmj (932a6)
- macros:
- Remove import shim - by @zhiyuanzmj (14d4c)
View changes on GitHub
v3.2.1
🐞 Bug Fixes
- compiler:
- Resolve prop names starting with underscores - by @zhiyuanzmj (df16c)
- Preserve when trimming text - by @zhiyuanzmj (fedff)
- Ignore codegen text as plain child - by @zhiyuanzmj (9341f)
- Resolve dynamic prop names starting with underscores - by @zhiyuanzmj (2149e)
- compiler/vdom:
- Don't convert plain text to
normalizeNodewhen an element has an event handler - by @zhiyuanzmj (2b6b7) - Only optimize JSX in functional scope - by @zhiyuanzmj (6f0ac)
- Slot element and condition expression co-usage - by @zhiyuanzmj (2b45f)
- Use createElementBlock instead of createBlock for Fragment - by @zhiyuanzmj (aebec)
- Don't convert plain text to
- macros/volar:
- Collect scopes to detect slot element's scope - by @zhiyuanzmj (6c733)
- runtime/vdom:
- Wrap array items in normalizeVNode - by @zhiyuanzmj (966ff)