|
1 | 1 | import * as vscode from 'vscode';
|
2 | 2 |
|
3 |
| -const welcomeVersion = '3.0.7'; |
| 3 | +const popVersion = '3.1.0'; |
4 | 4 |
|
5 | 5 | let panel: vscode.WebviewPanel | undefined;
|
6 | 6 |
|
7 | 7 | export function activate(context: vscode.ExtensionContext) {
|
8 | 8 | if (
|
9 | 9 | context.globalState.get<boolean>('vue.showUpdates', true)
|
10 |
| - && context.globalState.get('vue.welcome') !== welcomeVersion |
| 10 | + && context.globalState.get('vue.welcome') !== popVersion |
11 | 11 | ) {
|
12 |
| - context.globalState.update('vue.welcome', welcomeVersion); |
| 12 | + context.globalState.update('vue.welcome', popVersion); |
13 | 13 | execute(context);
|
14 | 14 | }
|
15 | 15 | }
|
@@ -332,6 +332,32 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
|
332 | 332 | </div>
|
333 | 333 |
|
334 | 334 | <div class="card whats-new-card">
|
| 335 | + <h3>3.1.0</h3> |
| 336 | + <ul style="margin: 0; padding-left: 1.25rem;"> |
| 337 | + <li>🚀 Significantly improve the TypeScript performance of virtual code (<a href="https://github.com/vuejs/language-tools/pull/5532" target="_blank">Learn More</a>)</li> |
| 338 | + </ul> |
| 339 | + <div |
| 340 | + style="margin-top: 1rem; padding: 0.75rem; background-color: var(--vscode-inputValidation-warningBackground); border-radius: 4px;"> |
| 341 | + <strong>⚠️ Vue 2 and vue-class-component support has been removed, please refer to <a href="https://github.com/vuejs/language-tools/discussions/5455" target="_blank">Discussion #5455</a> for detail.</strong> |
| 342 | + </div> |
| 343 | + <div |
| 344 | + style="margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;"> |
| 345 | + <a href="https://github.com/vuejs/language-tools/releases/tag/v3.1.0" target="_blank" |
| 346 | + style="display: inline-flex; align-items: center; gap: 0.5rem; color: var(--vscode-textLink-foreground);"> |
| 347 | + <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"> |
| 348 | + <path |
| 349 | + d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" /> |
| 350 | + </svg> |
| 351 | + Full Release Notes |
| 352 | + </a> |
| 353 | + <div style="display: flex; gap: 0.5rem; font-size: 0.9em; color: var(--vscode-descriptionForeground);"> |
| 354 | + <span>Released: October 2025</span> |
| 355 | + <span>•</span> |
| 356 | + <span>v3.1.0</span> |
| 357 | + </div> |
| 358 | + </div> |
| 359 | + <br> |
| 360 | +
|
335 | 361 | <h3>3.0.7</h3>
|
336 | 362 | <ul style="margin: 0; padding-left: 1.25rem;">
|
337 | 363 | <li>✨ The following features are now available for free:</li>
|
@@ -414,12 +440,6 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
|
414 | 440 | <li>🎨 UI tweaks: removed all Vue-related status bar items</li>
|
415 | 441 | <li>🐛 Squashed numerous bugs throughout the extension</li>
|
416 | 442 | </ul>
|
417 |
| - <div |
418 |
| - style="margin-top: 1rem; padding: 0.75rem; background-color: var(--vscode-inputValidation-warningBackground); border-radius: 4px;"> |
419 |
| - <strong>⚠️ Deprecation Notice:</strong> Dropping Vue 2 Support in v3.1 |
420 |
| - (<a href="https://github.com/vuejs/language-tools/discussions/5455" target="_blank">Discussion #5395</a>) |
421 |
| - </div> |
422 |
| -
|
423 | 443 | <div
|
424 | 444 | style="margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;">
|
425 | 445 | <a href="https://github.com/vuejs/language-tools/releases/tag/v3.0.0" target="_blank"
|
|
0 commit comments