Skip to content

Commit 1d98226

Browse files
docs (#188): Added more breaking changes to migration intro (#189)
* fix: added more breaking changes * fix: added two more points to breaking * docs (#188): make feature name more specific Co-authored-by: Ben Hong <[email protected]>
1 parent 8facb5c commit 1d98226

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/guide/migration/attribute-coercion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a low-level internal API change and does not affect most developers.
99
Here is a high level summary of the changes:
1010

1111
- Drop the internal concept of enumerated attributes and treat those attributes the same as normal non-boolean attributes
12-
- **BREAKING**: No longer removes attribute if value is boolean false. Instead, it's set as attr="false" instead. To remove the attribute, use null or undefined.
12+
- **BREAKING**: No longer removes attribute if value is boolean `false`. Instead, it's set as attr="false" instead. To remove the attribute, use `null` or `undefined`.
1313

1414
For more information, read on!
1515

src/guide/migration/introduction.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,26 @@ The following consists a list of breaking changes from 2.x:
2525
- [Global Vue API is changed to use an application instance](/guide/migration/global-api.html)
2626
- [Global and internal APIs have been restructured to be tree-shakable](/guide/migration/treeshaking.html)
2727
- [`model` component option and `v-bind`'s `sync` modifier are removed in favor of `v-model` arguments](/guide/migration/v-model.html)
28+
- [Render function API changed](/guide/migration/render-function-api.html)
2829
- [Functional components can only be created using a plain function](/guide/migration/functional-components.html)
30+
- [`functional` attribute on single-file component (SFC) `<template>` and `functional` component option are deprecated](/guide/migration/functional-components.html)
2931
- [Async components now require `defineAsyncComponent` method to be created](/guide/migration/async-components.html)
3032
- [Component data option should always be declared as a function](/guide/migration/data-option.html)
3133
- [Custom elements whitelisting is now performed during template compilation](/guide/migration/custom-elements-interop.html)
3234
- [Special `is` prop usage is restricted to the reserved `<component>` tag only](/guide/migration/custom-elements-interop.html)
35+
- [`$scopedSlots` property is removed and need to be replaced with `$slots`](/guide/migration/slots-unification.html)
36+
- [Attributes coercion strategy changed](/guide/migration/attribute-coercion.html)
37+
- [Custom directive API changed to align with component lifecycle](/guide/migration/custom-directives.html)
38+
- Some transition classes got a rename:
39+
- `v-enter` -> `v-enter-from`
40+
- `v-leave` -> `v-leave-from`
3341

3442
### Removed
3543

3644
- [`keyCode` support as `v-on` modifiers](/guide/migration/keycodes.html)
3745
- [$on, $off and $once instance methods](/guide/migration/events-api.html)
3846
- [Filters](/guide/migration/filters.html)
47+
- [Inline templates attributes](/guide/migration/inline-template-attribute.html)
3948

4049
## FAQ
4150

0 commit comments

Comments
 (0)