@vue/compat 3.6.0-alpha.7 → 3.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -38
- package/dist/vue.cjs.js +536 -462
- package/dist/vue.cjs.prod.js +407 -345
- package/dist/vue.esm-browser.js +528 -453
- package/dist/vue.esm-browser.prod.js +8 -8
- package/dist/vue.esm-bundler.js +519 -453
- package/dist/vue.global.js +433 -358
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +528 -453
- package/dist/vue.runtime.esm-browser.prod.js +8 -8
- package/dist/vue.runtime.esm-bundler.js +519 -453
- package/dist/vue.runtime.global.js +433 -358
- package/dist/vue.runtime.global.prod.js +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -285,41 +285,41 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
|
|
|
285
285
|
|
|
286
286
|
| ID | Type | Description | Docs |
|
|
287
287
|
| ---------------------------- | ---- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
288
|
-
| GLOBAL_MOUNT | ✔
|
|
289
|
-
| GLOBAL_EXTEND | ✔
|
|
290
|
-
| GLOBAL_PROTOTYPE | ✔
|
|
291
|
-
| GLOBAL_SET | ✔
|
|
292
|
-
| GLOBAL_DELETE | ✔
|
|
293
|
-
| GLOBAL_OBSERVABLE | ✔
|
|
294
|
-
| CONFIG_KEY_CODES | ✔
|
|
295
|
-
| CONFIG_WHITESPACE | ✔
|
|
296
|
-
| INSTANCE_SET | ✔
|
|
297
|
-
| INSTANCE_DELETE | ✔
|
|
298
|
-
| INSTANCE_EVENT_EMITTER | ✔
|
|
299
|
-
| INSTANCE_EVENT_HOOKS | ✔
|
|
300
|
-
| INSTANCE_CHILDREN | ✔
|
|
301
|
-
| INSTANCE_LISTENERS | ✔
|
|
302
|
-
| INSTANCE_SCOPED_SLOTS | ✔
|
|
303
|
-
| INSTANCE_ATTRS_CLASS_STYLE | ✔
|
|
304
|
-
| OPTIONS_DATA_FN | ✔
|
|
305
|
-
| OPTIONS_DATA_MERGE | ✔
|
|
306
|
-
| OPTIONS_BEFORE_DESTROY | ✔
|
|
307
|
-
| OPTIONS_DESTROYED | ✔
|
|
308
|
-
| WATCH_ARRAY | ✔
|
|
309
|
-
| V_ON_KEYCODE_MODIFIER | ✔
|
|
310
|
-
| CUSTOM_DIR | ✔
|
|
311
|
-
| ATTR_FALSE_VALUE | ✔
|
|
312
|
-
| ATTR_ENUMERATED_COERCION | ✔
|
|
313
|
-
| TRANSITION_GROUP_ROOT | ✔
|
|
314
|
-
| COMPONENT_ASYNC | ✔
|
|
315
|
-
| COMPONENT_FUNCTIONAL | ✔
|
|
316
|
-
| COMPONENT_V_MODEL | ✔
|
|
317
|
-
| RENDER_FUNCTION | ✔
|
|
318
|
-
| FILTERS | ✔
|
|
319
|
-
| COMPILER_IS_ON_ELEMENT | ✔
|
|
320
|
-
| COMPILER_V_BIND_SYNC | ✔
|
|
321
|
-
| COMPILER_V_BIND_OBJECT_ORDER | ✔
|
|
322
|
-
| COMPILER_V_ON_NATIVE | ✔
|
|
323
|
-
| COMPILER_V_FOR_REF | ✔
|
|
324
|
-
| COMPILER_NATIVE_TEMPLATE | ✔
|
|
325
|
-
| COMPILER_FILTERS | ✔
|
|
288
|
+
| GLOBAL_MOUNT | ✔ | new Vue() -> createApp | [link](https://v3-migration.vuejs.org/breaking-changes/global-api.html#mounting-app-instance) |
|
|
289
|
+
| GLOBAL_EXTEND | ✔ | Vue.extend removed (use `defineComponent` or `extends` option) | [link](https://v3-migration.vuejs.org/breaking-changes/global-api.html#vue-extend-replaced-by-definecomponent) |
|
|
290
|
+
| GLOBAL_PROTOTYPE | ✔ | `Vue.prototype` -> `app.config.globalProperties` | [link](https://v3-migration.vuejs.org/breaking-changes/global-api.html#vue-prototype-replaced-by-config-globalproperties) |
|
|
291
|
+
| GLOBAL_SET | ✔ | `Vue.set` removed (no longer needed) | |
|
|
292
|
+
| GLOBAL_DELETE | ✔ | `Vue.delete` removed (no longer needed) | |
|
|
293
|
+
| GLOBAL_OBSERVABLE | ✔ | `Vue.observable` removed (use `reactive`) | [link](https://vuejs.org/api/reactivity-core.html#reactive) |
|
|
294
|
+
| CONFIG_KEY_CODES | ✔ | config.keyCodes removed | [link](https://v3-migration.vuejs.org/breaking-changes/keycode-modifiers.html) |
|
|
295
|
+
| CONFIG_WHITESPACE | ✔ | In Vue 3 whitespace defaults to `"condense"` | |
|
|
296
|
+
| INSTANCE_SET | ✔ | `vm.$set` removed (no longer needed) | |
|
|
297
|
+
| INSTANCE_DELETE | ✔ | `vm.$delete` removed (no longer needed) | |
|
|
298
|
+
| INSTANCE_EVENT_EMITTER | ✔ | `vm.$on`, `vm.$off`, `vm.$once` removed | [link](https://v3-migration.vuejs.org/breaking-changes/events-api.html) |
|
|
299
|
+
| INSTANCE_EVENT_HOOKS | ✔ | Instance no longer emits `hook:x` events | [link](https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html) |
|
|
300
|
+
| INSTANCE_CHILDREN | ✔ | `vm.$children` removed | [link](https://v3-migration.vuejs.org/breaking-changes/children.html) |
|
|
301
|
+
| INSTANCE_LISTENERS | ✔ | `vm.$listeners` removed | [link](https://v3-migration.vuejs.org/breaking-changes/listeners-removed.html) |
|
|
302
|
+
| INSTANCE_SCOPED_SLOTS | ✔ | `vm.$scopedSlots` removed; `vm.$slots` now exposes functions | [link](https://v3-migration.vuejs.org/breaking-changes/slots-unification.html) |
|
|
303
|
+
| INSTANCE_ATTRS_CLASS_STYLE | ✔ | `$attrs` now includes `class` and `style` | [link](https://v3-migration.vuejs.org/breaking-changes/attrs-includes-class-style.html) |
|
|
304
|
+
| OPTIONS_DATA_FN | ✔ | `data` must be a function in all cases | [link](https://v3-migration.vuejs.org/breaking-changes/data-option.html) |
|
|
305
|
+
| OPTIONS_DATA_MERGE | ✔ | `data` from mixin or extension is now shallow merged | [link](https://v3-migration.vuejs.org/breaking-changes/data-option.html) |
|
|
306
|
+
| OPTIONS_BEFORE_DESTROY | ✔ | `beforeDestroy` -> `beforeUnmount` | |
|
|
307
|
+
| OPTIONS_DESTROYED | ✔ | `destroyed` -> `unmounted` | |
|
|
308
|
+
| WATCH_ARRAY | ✔ | watching an array no longer triggers on mutation unless deep | [link](https://v3-migration.vuejs.org/breaking-changes/watch.html) |
|
|
309
|
+
| V_ON_KEYCODE_MODIFIER | ✔ | `v-on` no longer supports keyCode modifiers | [link](https://v3-migration.vuejs.org/breaking-changes/keycode-modifiers.html) |
|
|
310
|
+
| CUSTOM_DIR | ✔ | Custom directive hook names changed | [link](https://v3-migration.vuejs.org/breaking-changes/custom-directives.html) |
|
|
311
|
+
| ATTR_FALSE_VALUE | ✔ | No longer removes attribute if binding value is boolean `false` | [link](https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html) |
|
|
312
|
+
| ATTR_ENUMERATED_COERCION | ✔ | No longer special case enumerated attributes | [link](https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html) |
|
|
313
|
+
| TRANSITION_GROUP_ROOT | ✔ | `<transition-group>` no longer renders a root element by default | [link](https://v3-migration.vuejs.org/breaking-changes/transition-group.html) |
|
|
314
|
+
| COMPONENT_ASYNC | ✔ | Async component API changed (now requires `defineAsyncComponent`) | [link](https://v3-migration.vuejs.org/breaking-changes/async-components.html) |
|
|
315
|
+
| COMPONENT_FUNCTIONAL | ✔ | Functional component API changed (now must be plain functions) | [link](https://v3-migration.vuejs.org/breaking-changes/functional-components.html) |
|
|
316
|
+
| COMPONENT_V_MODEL | ✔ | Component v-model reworked | [link](https://v3-migration.vuejs.org/breaking-changes/v-model.html) |
|
|
317
|
+
| RENDER_FUNCTION | ✔ | Render function API changed | [link](https://v3-migration.vuejs.org/breaking-changes/render-function-api.html) |
|
|
318
|
+
| FILTERS | ✔ | Filters removed (this option affects only runtime filter APIs) | [link](https://v3-migration.vuejs.org/breaking-changes/filters.html) |
|
|
319
|
+
| COMPILER_IS_ON_ELEMENT | ✔ | `is` usage is now restricted to `<component>` only | [link](https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html) |
|
|
320
|
+
| COMPILER_V_BIND_SYNC | ✔ | `v-bind.sync` replaced by `v-model` with arguments | [link](https://v3-migration.vuejs.org/breaking-changes/v-model.html) |
|
|
321
|
+
| COMPILER_V_BIND_OBJECT_ORDER | ✔ | `v-bind="object"` is now order sensitive | [link](https://v3-migration.vuejs.org/breaking-changes/v-bind.html) |
|
|
322
|
+
| COMPILER_V_ON_NATIVE | ✔ | `v-on.native` modifier removed | [link](https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html) |
|
|
323
|
+
| COMPILER_V_FOR_REF | ✔ | `ref` in `v-for` (compiler support) | |
|
|
324
|
+
| COMPILER_NATIVE_TEMPLATE | ✔ | `<template>` with no special directives now renders as native element | |
|
|
325
|
+
| COMPILER_FILTERS | ✔ | filters (compiler support) | |
|