Releases: microsoft/vscode-extension-telemetry
v0.9.8
v0.9.7
Align measurements with properties
- Allows measurements to also be undefined for easy omitting, similar to how properties work
Improved user agent
Global Privacy Control compliance fixes
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.
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
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
- 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
- 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
sendingkey: key
pairs instead ofkey: value
pairs
Fix missing `sendRawTelemetryEvent` function + Dependency updates
- 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