Skip to content

Commit

Permalink
chore(release): release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hiaux0 committed Feb 6, 2022
1 parent 7120f40 commit 25b39e3
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 3 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# [2.3.0](https://github.com/aurelia/vscode-extension/compare/2.1.4...2.3.0) (2022-02-06)

### Note on versioning
We are trying out VSCode pre-release https://code.visualstudio.com/api/working-with-extensions/publishing-extension.
In the hopes, that we can more freely push updates, and to monitor code changes, before an "official" release.

Example:
- 2.3.* for pre-release
- 2.4.* for release

### Bug Fixes

* **core:** use correct file format for document finding ([98cf4ca](https://github.com/aurelia/vscode-extension/commit/98cf4ca84a2c66cd43508c97322a480057727a00))
* **definitions:** add editing tracker ([56d1d1b](https://github.com/aurelia/vscode-extension/commit/56d1d1bee618be2aec13691171f2f0f5b7b83eb3))
* **rename:** add editing tracker ([1c4a65d](https://github.com/aurelia/vscode-extension/commit/1c4a65d5a60169b8012415b6a232f3ab7a64954d))

If you noticed, that normal Typescript Renaming and Definitions behaved off. Yes that was our mistake.
Explanation:
- To enrich your view model files with Aurelia specific features, we return (eg. View information) in the Defintions list as well
- But, when we return new information, the old Typescript Defintions are overwritten.
- So we used a library (TsMorph) to readd those missing Typescript Defintions.
- When doing so, the normal Typescript Defintions sometimes got outdated
- 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)*
- --> Fix: Try to always use files, that have the correct "real time" content
- Detail: Introduce a `editingFilesTracker` array, that collects files while you are editing
- Clears the tracker on save.


## [2.1.4](https://github.com/aurelia/vscode-extension/compare/2.1.3...2.1.4) (2021-12-29)

### Chore
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The extension works out of the box on Linux/Mac/Windows, but still allows you to
- [Features](#features)
- [Behavior](#behavior)
- [Troubleshooting](#troubleshooting)
- [Releasing](#releasing)

## Setup
- Works out of the box, with zero configs, for any CLI generated project.
Expand Down Expand Up @@ -265,6 +266,25 @@ Please note, that due to the low iteration count, all features may not be as sta
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).
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!

## Releasing
```
# l.
bumb version in package.json
npm run changelog
commit: chore(release): release v2.0.6
# 2.
git tag -a 2.0.6 -m "v2.0.6"
git push --follow-tags
```

### Prerelease
Use odd minor versions

### "Real" Release
Use even minor versions


## Acknowledgment

- 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)
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A VSCode extension for Aurelia",
"author": "AureliaEffect",
"license": "MIT",
"version": "2.1.4",
"version": "2.3.0",
"publisher": "AureliaEffect",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A VSCode extension for Aurelia",
"author": "AureliaEffect",
"license": "MIT",
"version": "2.1.4",
"version": "2.3.0",
"repository": {
"type": "git",
"url": "https://github.com/aurelia/vscode-extension"
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A VSCode extension for Aurelia",
"author": "AureliaEffect",
"license": "MIT",
"version": "2.1.4",
"version": "2.3.0",
"repository": {
"type": "git",
"url": "https://github.com/aurelia/vscode-extension"
Expand Down

0 comments on commit 25b39e3

Please sign in to comment.