Skip to content

2.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@hiaux0 hiaux0 released this 17 Feb 10:21
· 88 commits to master since this release

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)
  • definitions: add editing tracker (56d1d1b)
  • rename: add editing tracker (1c4a65d)

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.