unstale

npm / @vue/reactivity

@vue/reactivity

What changed in @vue/reactivity 3, from its official release notes, upgrade guides and advisories. Also covers @vue/compiler-sfc, @vue/server-renderer. Sources checked 2026-10-24.

1 security1 performance22 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.4 on npm

@vue/reactivity 324 changes

Security 1

  • @vue/server-renderer: XSS via missing CR in attribute-name blacklist

    3.5.42security advisory

Performance 1

  • Type checks are skipped for cached proxies, improving reactivity performance.

    3.5.35release notes

Fixes and other changes 22

  • Reactivity no longer mutates native array iterators.

    3.5.44release notes

  • A once watcher now stops when its callback throws.

    3.5.44release notes

  • Shallow collection behavior is preserved.

    3.5.44release notes

  • Dependencies are no longer tracked in watcher callbacks run inside another effect.

    3.5.44release notes

  • Array copy methods now preserve readonly wrappers.

    3.5.43release notes

  • Map and Set values are now compared correctly in reactivity.

    3.5.42release notes

  • Fixes handling of effects removed while an effect scope is stopping.

    3.5.40release notes

  • Effects are no longer triggered when setting a reactive value fails.

    3.5.39release notes

  • Triggers the immediate callback for empty watch sources.

    3.5.36release notes

  • Preserves the watch callback’s return value when the callback is wrapped for once: true.

    3.5.36release notes

  • Prevents an orphan effect when an effect is created in a stopped scope.

    3.5.34release notes

  • Effect scopes are unlinked correctly when off is called out of order.

    3.5.33release notes

  • Types now allow customRef to have different getter and setter types.

    3.5.32release notes

  • shallowReactive now uses private branding in its types.

    3.5.32release notes

  • Normalizes property keys before dependency lookup and improves types.

    3.5.31release notes

  • Preserves reactivity when calling reduce on reactive arrays.

    3.5.30release notes

  • Handles the edge case of a Set initialized with reactive values.

    3.5.30release notes

  • Avoids duplicate raw and proxy entries when adding values to a Set.

    3.5.30release notes

  • EffectScope now has the __v_skip flag to prevent reactive conversion.

    3.5.28release notes

  • Collection iteration now inherits iterator instance methods, fixing behavior for developers iterating reactive collections.

    3.5.27release notes

  • Iterated array items are now wrapped correctly to preserve their readonly status.

    3.5.25release notes

  • Fixes edge cases involving ref unwrapping.

    3.5.25release notes