Skip to content

Commit 25b39e3

Browse files
committed
chore(release): release v2.3.0
1 parent 7120f40 commit 25b39e3

File tree

5 files changed

+51
-3
lines changed

5 files changed

+51
-3
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [2.3.0](https://github.com/aurelia/vscode-extension/compare/2.1.4...2.3.0) (2022-02-06)
2+
3+
### Note on versioning
4+
We are trying out VSCode pre-release https://code.visualstudio.com/api/working-with-extensions/publishing-extension.
5+
In the hopes, that we can more freely push updates, and to monitor code changes, before an "official" release.
6+
7+
Example:
8+
- 2.3.* for pre-release
9+
- 2.4.* for release
10+
11+
### Bug Fixes
12+
13+
* **core:** use correct file format for document finding ([98cf4ca](https://github.com/aurelia/vscode-extension/commit/98cf4ca84a2c66cd43508c97322a480057727a00))
14+
* **definitions:** add editing tracker ([56d1d1b](https://github.com/aurelia/vscode-extension/commit/56d1d1bee618be2aec13691171f2f0f5b7b83eb3))
15+
* **rename:** add editing tracker ([1c4a65d](https://github.com/aurelia/vscode-extension/commit/1c4a65d5a60169b8012415b6a232f3ab7a64954d))
16+
17+
If you noticed, that normal Typescript Renaming and Definitions behaved off. Yes that was our mistake.
18+
Explanation:
19+
- To enrich your view model files with Aurelia specific features, we return (eg. View information) in the Defintions list as well
20+
- But, when we return new information, the old Typescript Defintions are overwritten.
21+
- So we used a library (TsMorph) to readd those missing Typescript Defintions.
22+
- When doing so, the normal Typescript Defintions sometimes got outdated
23+
- Because we only accounted for *saved files* and not *files, that you are currently editing (eg. a dot instead of an x next the file name)*
24+
- --> Fix: Try to always use files, that have the correct "real time" content
25+
- Detail: Introduce a `editingFilesTracker` array, that collects files while you are editing
26+
- Clears the tracker on save.
27+
28+
129
## [2.1.4](https://github.com/aurelia/vscode-extension/compare/2.1.3...2.1.4) (2021-12-29)
230

331
### Chore

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The extension works out of the box on Linux/Mac/Windows, but still allows you to
4242
- [Features](#features)
4343
- [Behavior](#behavior)
4444
- [Troubleshooting](#troubleshooting)
45+
- [Releasing](#releasing)
4546

4647
## Setup
4748
- Works out of the box, with zero configs, for any CLI generated project.
@@ -265,6 +266,25 @@ Please note, that due to the low iteration count, all features may not be as sta
265266
If you still haven't found a solution to your problem, you are more than welcome to [open an issue](https://github.com/aurelia/vscode-extension/issues/new).
266267
The extension is in active use by the authors, so you can expect a swift response, but do note, that an actual fix cannot be guaranteed. Regardless, we are thankful, that you took the time to troubleshoot with us!
267268

269+
## Releasing
270+
```
271+
# l.
272+
bumb version in package.json
273+
npm run changelog
274+
commit: chore(release): release v2.0.6
275+
276+
# 2.
277+
git tag -a 2.0.6 -m "v2.0.6"
278+
git push --follow-tags
279+
```
280+
281+
### Prerelease
282+
Use odd minor versions
283+
284+
### "Real" Release
285+
Use even minor versions
286+
287+
268288
## Acknowledgment
269289

270290
- This extension started as a clone from [microsoft / vscode-extension-samples / lsp-embedded-language-service](https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-embedded-language-service)

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A VSCode extension for Aurelia",
44
"author": "AureliaEffect",
55
"license": "MIT",
6-
"version": "2.1.4",
6+
"version": "2.3.0",
77
"publisher": "AureliaEffect",
88
"repository": {
99
"type": "git",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A VSCode extension for Aurelia",
44
"author": "AureliaEffect",
55
"license": "MIT",
6-
"version": "2.1.4",
6+
"version": "2.3.0",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/aurelia/vscode-extension"

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A VSCode extension for Aurelia",
44
"author": "AureliaEffect",
55
"license": "MIT",
6-
"version": "2.1.4",
6+
"version": "2.3.0",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/aurelia/vscode-extension"

0 commit comments

Comments
 (0)