Skip to content

Commit d0abf57

Browse files
committed
chore: changelog
1 parent 98b24e8 commit d0abf57

File tree

4 files changed

+28
-74
lines changed

4 files changed

+28
-74
lines changed

Diff for: CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## 2.1.0-insiders.1
4+
5+
> [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates.
6+
7+
Download Pages: [GitHub Releases](https://github.com/volarjs/insiders/releases/tag/v2.1.0-insiders.1), [爱发电电圈](https://afdian.net/p/ba0901a2edce11ee8f2e52540025c377)
8+
9+
### New Features
10+
11+
#### Reactions visualization (PR: https://github.com/volarjs/insiders/pull/5)
12+
13+
![](https://github.com/vuejs/language-tools/assets/16279759/b90d3d05-f98c-42a0-b011-448af00a0c06)
14+
15+
#### Template interpolation decorators (PR: https://github.com/volarjs/insiders/pull/4)
16+
17+
> To disable this feature, uncheck `vue.editor.templateInterpolationDecorators` in VSCode settings.
18+
19+
![](https://github.com/vuejs/language-tools/assets/16279759/fc591552-834e-4fbb-ab47-1740f6f8a151)
20+
21+
### Other Changes
22+
23+
- Merged https://github.com/vuejs/language-tools/commit/1b9946c02ee3f5bb8c2de17c430985756115e51c
24+
325
## 2.0.7 (2024/3/20)
426

527
> [!NOTE]

Diff for: CHANGELOG_INSIDERS.md

-19
This file was deleted.

Diff for: extensions/vscode/src/common.ts

+6-47
Original file line numberDiff line numberDiff line change
@@ -100,55 +100,14 @@ async function doActivate(context: vscode.ExtensionContext, createLc: CreateLang
100100
};
101101
}
102102
else {
103-
const versionsUrl = 'https://cdn.jsdelivr.net/gh/vuejs/language-tools/insiders.json';
104103
item.text = '🚀 Vue - Official Insiders';
105104
item.detail = 'Installed';
106-
item.busy = true;
107-
const currentVersion = context.extension.packageJSON.version;
108-
fetch(versionsUrl)
109-
.then(res => res.json())
110-
.then(({ versions }: { versions: { version: string; date: string; }[]; }) => {
111-
item.command = {
112-
title: 'Select Version',
113-
command: 'vue-insiders.selectVersion',
114-
arguments: [{ versions }],
115-
};
116-
if (versions.length && versions[0].version !== currentVersion) {
117-
item.command.title = 'Update';
118-
item.detail = 'New version available';
119-
item.severity = vscode.LanguageStatusSeverity.Warning;
120-
}
121-
})
122-
.catch(() => {
123-
item.detail = 'Failed to fetch versions';
124-
})
125-
.finally(() => {
126-
item.busy = false;
127-
});
128-
vscode.commands.registerCommand('vue-insiders.selectVersion', async ({ versions }: { versions: { version: string; date: string; }[]; }) => {
129-
const items = versions.map<vscode.QuickPickItem>(version => ({
130-
label: version.version,
131-
description: version.date + (version.version === currentVersion ? ' (current)' : ''),
132-
}));
133-
if (!items.some(item => item.description?.endsWith('(current)'))) {
134-
items.push({
135-
label: '',
136-
kind: vscode.QuickPickItemKind.Separator,
137-
}, {
138-
label: currentVersion,
139-
description: '(current)',
140-
});
141-
}
142-
const selected = await vscode.window.showQuickPick(
143-
items,
144-
{
145-
canPickMany: false,
146-
placeHolder: 'Select a version',
147-
});
148-
if (!selected || selected.label === currentVersion) {
149-
return;
150-
}
151-
const updateUrl = `https://github.com/volarjs/insiders/releases/tag/v${selected.label}`;
105+
item.command = {
106+
title: 'Changelog',
107+
command: 'vue-insiders.checkUpdate',
108+
};
109+
vscode.commands.registerCommand('vue-insiders.checkUpdate', () => {
110+
const updateUrl = 'https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md';
152111
vscode.env.openExternal(vscode.Uri.parse(updateUrl));
153112
});
154113
}

Diff for: insiders.json

-8
This file was deleted.

0 commit comments

Comments
 (0)