$ the-wire · showcase
CSS var parsing fixed in compiler-sfc, namespace prefixes kept in test-utils attributes()
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
Vue core's SFC compiler stopped mangling comment-like text inside quoted strings and url() values, and @vue/test-utils stopped dropping namespace prefixes from attributes(), two fixes that quietly change what your tooling reports.
fix(compiler-sfc): ignore comment delimiters inside strings and url() when parsing css vars vuejs/core
The CSS variable parser in compiler-sfc now ignores comment delimiters that appear inside quoted strings and url() values, handles CR-only line endings and escaped CRLF continuations, and no longer mistakes an identifier merely ending in url for a url() function. The generated comment summary says it "Improved CSS variable processing to preserve comment-like text inside quoted strings and `url(...
fix: keep the namespace prefix in attributes() (#2941) vuejs/test-utils
attributes() used to index its result by Attr.localName, so an xlink:* attribute on an SVG element was reported under the prefix-stripped key, and an element with both xlink:href and href silently lost one of them. The wrapper now keeps the namespace prefix in the map. Snapshot and assertion tests over namespaced SVG attributes will see keys change.
fix(suspense): skip rendering async components unmounted while pending vuejs/core
Suspense now skips rendering async components that were unmounted while still pending, closing a window where a resolved promise could render into a component that no longer exists.
ci(issues): remove automatic issue closing workflow (#15557) vuejs/core
Vue core removed its automatic issue-closing workflow, so issues will no longer be closed by the CI job; maintainers handle that by hand from here.
chore(deps): update dependency oxfmt to v0.68.0 vuejs/test-utils
The rest of the day is housekeeping: test-utils bumped oxfmt from 0.67.0 to 0.68.0, core removed its generated git hooks from the tree and added them to the ignore list, and create-vue's prompt wrapper now handles clack's cancel symbol.