Adjust attr fallthrough behavior
refactor(runtime-core): adjust attr fallthrough behavior
Adjust attr fallthrough behaviore1660f-refactor-adjust-attr-fallthrough-behaviorrefactoradjust attr fallthrough behavior runtime core
Committed by yyx990803
commit message
refactor(runtime-core)!: adjust attr fallthrough behavior
BREAKING CHANGE: adjust attr fallthrough behavior
Updated per pending RFC https://github.com/vuejs/rfcs/pull/137
- Implicit fallthrough now by default only applies for a whitelist
of attributes (class, style, event listeners, a11y attributes, and
data attributes).
- Fallthrough is now applied regardless of whether the component has
explicitly declared props. (close #749)Editor assessment
The subject `refactor(runtime-core): adjust attr fallthrough behavior` names the area, and the message handles the breaking change correctly: a `BREAKING CHANGE:` footer explains that implicit fallthrough now applies only to a whitelist (class, style, listeners, a11y and data attributes) and applies regardless of declared props, citing the governing RFC and closing #749. Because a `BREAKING CHANGE:` footer is present, the missing `!` on the header is not a violation. Style is clean and imperative despite the generic subject. The migration-relevant detail in the footer makes this a model breaking-change example.