Skip to content

Releases: microsoft/vscode-extension-telemetry

Align measurements with properties

20 Mar 18:32
2ad7b6e
Compare
Choose a tag to compare
  • Allows measurements to also be undefined for easy omitting, similar to how properties work

Improved user agent

20 Mar 17:51
de8e93a
Compare
Choose a tag to compare
  • Improves on the user agent metric shown when navigator.userAgentData is unavailable. Thanks to @sezna
  • Fixes a bug with telemetry fetching using app insights on older version of node. Thanks to @devm33

Global Privacy Control compliance fixes

19 Dec 20:57
3a87442
Compare
Choose a tag to compare

This release contains a small fix to the 1DS package used by Microsoft extensions in the web to ensure compliance with the California's Global Privacy Control. If you're not a Microsoft extension, then it is safe to disregard this release as it contains no new features or improvements for the third party flow.

Fix `unhandlederror` common props.

12 Dec 17:02
4361d93
Compare
Choose a tag to compare

Thanks to a community contribution by @ilia-db the unhandlederror event handler has been properly fixed to include common properties.

Use app insights basics versus the complete app insights package to reduce bundle size

01 Nov 19:35
cd3176a
Compare
Choose a tag to compare

Application insights web basics comes with the ability to pass in a fetch pollyfill that allows it to be used for both Node and Web. This is similar to what we already do for first party extensions using the 1DS package.

While there is no breaking changes here, the replacement of a key dependency with what should be an equivalent alternative may have unknown edge cases that were not accounted for, therefore the version has been bumped to reflect this.

Bundlephobia reports a 67Kb decline in bundle size with this change.

Improve shutdown performance

20 Sep 18:52
d02e6c5
Compare
Choose a tag to compare
  • Improves shutdown performance by lessening the amount of time which is allocated to disposing the telemetry reporters. Additionally, removes a few redundant flushes. Fixes microsoft/vscode#192742

Fix data loss on connection loss

24 Aug 17:10
80cfe95
Compare
Choose a tag to compare
  • Fixes a bug where if the user's connection were to drop during a session, telemetry would no longer send for the rest of that session
  • Fixes a bug with sendRawTelemetryEvent sending key: key pairs instead of key: value pairs

Fix missing `sendRawTelemetryEvent` function + Dependency updates

27 Jul 22:40
725f2ed
Compare
Choose a tag to compare
  • Fixes the sendRawTelemetryEvent function which was missing in the implementation, but defined in the .d.ts
  • Updates word-wrap and semver to address Dependabot security violations

Better teardown + error handling

05 Jul 15:26
03d2783
Compare
Choose a tag to compare

This release only contains bug fixes

  • Fixes a bug where we would cause infinite error loops in the sendErrorData function #158
  • Fixes a bug where we would not properly wait for the telemetry buffer to flush #155

Better align telemetry reporters across desktop and web

18 May 20:31
08781f2
Compare
Choose a tag to compare

Note: This release contains a breaking change to the typings.
The ability to log a raw Error object has been removed. You will now have to use sendTelemetryErrorEvent and break the error stack down into the properties you want due to the web app insights and 1DS library both not supporting this. We want the module to abstract the details away and offer a uniform experience across all platforms.

Also fixes a bug surrounding not logging events properly on shutdown.