|
| 1 | +# Vue 2 LTS, EOL & Extended Support |
| 2 | + |
| 3 | +## How long will Vue 2 be supported? |
| 4 | + |
| 5 | +Vue 2.7 is the current, and final minor release of Vue 2.x. Vue 2.7 receives 18 months of LTS (long-term support) starting from its release date on July 1st, 2022. During this period, Vue 2 will receive necessary bug and security fixes, but will no longer receive new features. |
| 6 | + |
| 7 | +**Vue 2 will reach End of Life (EOL) on December 31st, 2023**. After that date, Vue 2 will continue to be available in all existing distribution channels (CDNs and package managers), but will no longer receive updates, including security and browser compatibility fixes. |
| 8 | + |
| 9 | +## Options for dealing with EOL |
| 10 | + |
| 11 | +### Upgrade to Vue 3 |
| 12 | + |
| 13 | +Vue 3 is the current, latest major version of Vue. It provides better performance, better TypeScript support, and contains new features that are not present in Vue 2, such as Teleport, Suspense, and multiple root elements per template. |
| 14 | + |
| 15 | +Vue 3 contains breaking changes that make it incompatible with Vue 2, so migration will require a certain level of effort depending on your project. Full details are documented in the [Vue 3 Migration Guide](https://v3-migration.vuejs.org/). |
| 16 | + |
| 17 | +Despite the breaking changes, the majority of Vue APIs are shared between the two major versions, so most of your team's Vue 2 knowledge will continue to work in Vue 3. In the long run, we also intend to avoid major breaking upgrades like the one between Vue 2 and Vue 3. Compatibility and ecosystem stability will be our topmost priority for future releases, and new features will be introduced in a way that does not require major migrations. |
| 18 | + |
| 19 | +### Stay on Vue 2 |
| 20 | + |
| 21 | +Some teams may not be able to upgrade to Vue 3 by this timeline due to limited bandwidth, budget, risk tolerance, or reliance on Vue-3-incompatible dependencies. We totally understand this, and want to ensure that staying on Vue 2 beyond EOL is a viable option. |
| 22 | + |
| 23 | +#### The Technical Perspective |
| 24 | + |
| 25 | +From a technical perspective, Vue 2 is a stable and battle-tested piece of technology. If it is serving you well now, it will continue to do so for the foreseeable future. |
| 26 | + |
| 27 | +In addition, we have backported some of the most important Vue 3 features to [Vue 2.7](/v2/guide/migration-vue-2-7.html), including Composition API and `<script setup>`. This allows Vue 2 projects to improve scalability, leverage new ecosystem libraries, and better prepare for potential migration to Vue 3. |
| 28 | + |
| 29 | +Vue 2.7 will also be the maintained release before EOL hits, so if you intend to stay on Vue 2, you should at least upgrade to Vue 2.7. |
| 30 | + |
| 31 | +#### Security & Compliance |
| 32 | + |
| 33 | +For some teams, the main concern lies in security, compliance, and browser compatibility. |
| 34 | + |
| 35 | +- You won't receive security fixes from EOL software. For the record, Vue 2 hasn't really had any real vulnerabilities in the past, but you may need a supported version to fullfil regulations or company policies. |
| 36 | + |
| 37 | +- If you are shipping your application to customers with SLAs. You *will* want to avoid including EOL software in your stack. |
| 38 | + |
| 39 | +- Browsers sometimes ship changes that break legacy libraries. This is extremely rare, but could happen in theory. |
| 40 | + |
| 41 | +To address these concerns, we have partnered with industry experts to provide **Extended LTS for Vue 2**. This service will provide a version of Vue 2 that will continue to receive security and browser compatibility fixes, with SLAs (Service Level Agreements). If you expect to be using Vue 2 beyond the EOL date of December 31st, 2023, make sure to plan ahead. |
| 42 | + |
| 43 | +[Learn more about Extended LTS for Vue 2](TODO:link). |
0 commit comments