|
| 1 | +import { LinkTo } from '@ember/routing'; |
| 2 | + |
| 3 | +<template> |
| 4 | + <h1 class="doc-page-title">Migrate from 8.0 to 9.0</h1> |
| 5 | + |
| 6 | + <p>Before migrating to 9.x, you should first update to the latest 8.x release, |
| 7 | + as most of the breaking changes were introduced in 8.x.</p> |
| 8 | + |
| 9 | + <h2>Breaking changes</h2> |
| 10 | + |
| 11 | + <ul> |
| 12 | + <li> |
| 13 | + <p>The minimum required Ember version is now 4.12.</p> |
| 14 | + </li> |
| 15 | + <li> |
| 16 | + <p> |
| 17 | + Passing |
| 18 | + <code>components</code> |
| 19 | + as strings is no longer supported. You must now pass all components as |
| 20 | + <code>contextual components</code>.<br /> |
| 21 | + <small><i>(Ember deprecated passing components as strings in version |
| 22 | + 3.25. In line with this change, we have removed the dependency on |
| 23 | + the deprecated |
| 24 | + <code>@embroider/util</code> |
| 25 | + package.)</i></small> |
| 26 | + </p> |
| 27 | + </li> |
| 28 | + <li> |
| 29 | + <p> |
| 30 | + <code>node-sass</code> |
| 31 | + has been deprecated for many years and is no longer supported. Please |
| 32 | + migrate to |
| 33 | + <code>sass</code> |
| 34 | + or |
| 35 | + <code>sass-embedded</code>. |
| 36 | + </p> |
| 37 | + </li> |
| 38 | + <li> |
| 39 | + <p> |
| 40 | + Passing |
| 41 | + <code>@dropdownId</code> |
| 42 | + wasn't working correctly without using custom modifiers and was |
| 43 | + undocumented. Remove this parameter and use the |
| 44 | + <code>uniqueId</code> |
| 45 | + property from the public API instead. |
| 46 | + <br /> |
| 47 | + <small><i>(Deprecation added in 8.8)</i></small> |
| 48 | + </p> |
| 49 | + </li> |
| 50 | + <li> |
| 51 | + <p> |
| 52 | + Passing configurations to |
| 53 | + <code>ember-basic-dropdown</code> |
| 54 | + over |
| 55 | + <code>ember-cli-build.js</code> |
| 56 | + was removed. You should pass them over |
| 57 | + <code>setConfig</code> |
| 58 | + (see the installation guide) |
| 59 | + <br /> |
| 60 | + <small><i>(Deprecation added in 8.9)</i></small> |
| 61 | + </p> |
| 62 | + </li> |
| 63 | + <li> |
| 64 | + <p> |
| 65 | + ember-basic-dropdown previously read the value of |
| 66 | + <code>APP.rootElement</code> |
| 67 | + from |
| 68 | + <code>ember-cli-build.js</code>. According to the v2 addon |
| 69 | + specification, addons should not read configurations from |
| 70 | + <code>ember-cli-build.js</code>. You must now pass this value via |
| 71 | + <code>setConfig</code> |
| 72 | + (see the installation guide). |
| 73 | + <br /> |
| 74 | + <small><i>(Deprecation added in 8.9)</i></small> |
| 75 | + </p> |
| 76 | + </li> |
| 77 | + </ul> |
| 78 | + |
| 79 | + <div class="doc-page-nav"> |
| 80 | + <LinkTo |
| 81 | + @route="public-pages.docs.animations" |
| 82 | + class="doc-page-nav-link-prev" |
| 83 | + >< Animations</LinkTo> |
| 84 | + <LinkTo |
| 85 | + @route="public-pages.docs.migrate-7-0-to-8-0" |
| 86 | + class="doc-page-nav-link-next" |
| 87 | + >Migrate from 7.0 to 8.0 ></LinkTo> |
| 88 | + </div> |
| 89 | +</template> |
0 commit comments