Skip to content

Releases: angular/vscode-ng-language-service

v12.0.2

20 May 17:12
Compare
Choose a tag to compare
  • fix: only give html provider completions for inline templates (#1369) (98d5c97)
  • fix: avoid showing MISSING: command for code lens in templates (#1370) (fa5212f)
  • perf: Avoid making Angular-related decisions for files not in an Angular project (#1360) (f83b02e)
  • fix: remove angular.ngdk configuration (#1361) (797140c)
  • fix: remove message about disabled LS if ngcc fails (#1359) (0fdc5fb)

v12.0.1

17 May 21:44
Compare
Choose a tag to compare

This release fixes a bug where View Engine is not launched for older projects
even though the Angular version is resolved correctly.
This is because the configuration value is typed as boolean, and defaults to
false even when the value is not set. (d6cb5cb)

v12.0.0

12 May 23:16
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v12.0.0.
For a complete change log see here.

Ivy-native language service is now the default in v12! If your project uses Angular v9 and above, the extension will automatically switch to Ivy. Older projects will keep using View Engine language service.

We highly recommend enabling Angular's strictTemplates mode for the best type information within templates.

New features:

  1. add support for signature help (#1277) (ec14807)
  2. forward completion and hover requests to html providers for inline templates (72ee5c7)
  3. Allow users to hide strictTemplates prompt (bd61210)
  4. Add codelens with a link to go to the component from a template (76e2342)
  5. add command to go to component(s) from external template (d1ca20a)
  6. update typescript to v4.2.3 (730ce54)

Bug fixes:

  1. fix: files incorrectly determined as not being in an Angular project (#1331) (43bcbb7)
  2. remove TSC_NONPOLLING_WATCHER env variable and provide default watchOptions (#1323) (6eb2984)
  3. Use View Engine LS for projects < v9 (7ff10b8)
  4. Use View Engine LS for projects < v9 (2585e03)
  5. set minimum TS version to 4.2 (ea3a739)
  6. pass watch options to watchFile and watchDirectory (bae335d)
  7. make Ivy LS the default (c23612f)
  8. do not resolve CodeLens command until LS is enabled (#1260) (93b4748)
  9. dispose reporters and notification handlers when client is stopped (aa8ac6e)
  10. only restart language server on angular configuration change (fb5f895)
  11. do not minify the client code (1068ef4)
  12. logger should print one timestamp for an entire group (f3930c1)
  13. do not load plugins except @angular/language-service (0901add)
  14. turn off logging by default (f5925ff)
  15. do not watch directories in google3 (6a8a2d9)
  16. force enable Ivy and strictTemplates in google3 (9182c4c)
  17. use single entry point for @angular/language-service (93c541f)
  18. detect @angular/core in google3 and don't run ngcc (ea1a7de)
  19. retain typecheck files after project reload (bc9d9fc)
  20. do not pass execArgv to ngcc process (460ef30)
  21. show Go to component in HTML files only (d4e70c6)
  22. attempt to resolve tsdk using fs path (7a8cb60)
  23. Revert back to boolean type for experimental-ivy flag (c1daa2c)
  24. remove TSC_NONPOLLING_WATCHER env variable (17708d4)
  25. ensure project language service is the Angular LS (dfedf3c)
  26. unable to load ivy native plugin (b08b295)

Performance improvements:

  1. check diagnostics in most recently used order (dcd3229)
  2. Compute diagnostics for a single file if it is external template (237d3f6)
  3. prevent requests from being sent to the sesrver when outside Angular context (5c3eda1)
  4. yield after checking diagnostics for an open file (d4ab1a2)
  5. Support request cancellation (af0b5a4)

v11.2.14

05 May 20:28
Compare
Choose a tag to compare

Bug fixes:

  1. files incorrectly determined as not being in an Angular project (#1331) (d26daaa)
  2. remove TSC_NONPOLLING_WATCHER env variable and provide default watchOptions (#1323) (#1326) (bbd0c60)

v11.2.13

03 May 16:16
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v11.2.12.

Bug fixes:

  • High CPU usage when idle due to file watching (#1317) (06f1add)

v11.2.12

21 Apr 21:25
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v11.2.11.
For a complete change log see here.

Bug fixes:

  1. compiler-cli: autocomplete literal types in templates (296f887)
  2. pass watch options to watchFile and watchDirectory (698d7af)

v11.2.11

15 Apr 14:51
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v11.2.10.
For a complete change log see here.

Bug fixes:

  1. language-service: bound attributes should not break directive matching (#41597) (3dbcc7f)
  2. language-service: resolve to the pre-compiled style when compiled css url is provided (#41538) (3d54980)
  3. language-service: use 'any' instead of failing for inline TCBs (#41513) (f76873e)

Performance improvements:

  1. Avoid making Angular-related decisions for files not in an Angular project
    (#1259) (154cf5e)

v11.2.10

08 Apr 21:02
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v11.2.9.
For a complete change log see here.

Bug fixes:

  1. Allow analysis to continue with invalid style url (#41403) (#41489) (07131fa)
  2. Dispose reporters and notification handlers when client is stopped (ef5297d)
  3. Only restart language server on angular configuration change (ba99ed8)

Performance improvements:

  1. Add perf tracing to LanguageService (#41401) (7b0a800)

v11.2.9

24 Mar 21:56
Compare
Choose a tag to compare

This release upgrades @angular/language-service to v11.2.7.
For a complete change log see here.

bug fixes in @angular/language-service:

v11.2.8

15 Mar 22:11
Compare
Choose a tag to compare
  • perf: prevent requests from being sent to the server when outside Angular context (fcbdf93)
  • build: Switch to esbuild instead of rollup for the client and banner (27ccba8)
  • perf: check diagnostics in most recently used order (7f2873f)
  • perf: Compute diagnostics for a single file if it is external template (a2b77fa)
  • fix: logger should print one timestamp for an entire group (4d94f40)