Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @vscode/extension-telemetry from 0.6.2 to 0.9.2 #1248

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 20, 2023

Bumps @vscode/extension-telemetry from 0.6.2 to 0.9.2.

Release notes

Sourced from @​vscode/extension-telemetry's releases.

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 sending key: key pairs instead of key: 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

Better teardown + error handling

This release only contains bug fixes

Better align telemetry reporters across desktop and web

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.

Utilize the new telemetry API

Note: This breaks the .d.ts file in that it removes some extension specific information from the constructor in favor of just supplying the key.

This module will now directly consume the VS Code telemetry API announced with the release of 1.75.0. This API should vastly improve the telemetry experience.

New Features

  • Automatic error handling logged to your sendTelemetryException function.
  • A shared Extension Telemetry output channel that allows you to see and debug the flow of telemetry in product when log level is set to trace
  • PII cleaning which is automatically updated with the version of VS Code
  • Support for the new Error telemetry level rather than a simple on off switch.
Commits
Maintainer changes

This version was pushed to npm by vscode-bot, a new releaser for @​vscode/extension-telemetry since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner December 20, 2023 13:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 20, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vscode/extension-telemetry-0.9.2 branch 7 times, most recently from 7083467 to 8662f84 Compare January 8, 2024 23:02
Bumps [@vscode/extension-telemetry](https://github.com/Microsoft/vscode-extension-telemetry) from 0.6.2 to 0.9.2.
- [Release notes](https://github.com/Microsoft/vscode-extension-telemetry/releases)
- [Commits](microsoft/vscode-extension-telemetry@v0.6.2...v0.9.2)

---
updated-dependencies:
- dependency-name: "@vscode/extension-telemetry"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vscode/extension-telemetry-0.9.2 branch from 8662f84 to 6d31928 Compare January 9, 2024 02:33
Copy link
Author

dependabot bot commented on behalf of github Mar 1, 2024

Superseded by #1279.

@dependabot dependabot bot closed this Mar 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vscode/extension-telemetry-0.9.2 branch March 1, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants