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

chore(deps): bump vscode-extension-telemetry from 0.0.17 to 0.4.5 #3971

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 2022

Bumps vscode-extension-telemetry from 0.0.17 to 0.4.5.

Release notes

Sourced from vscode-extension-telemetry's releases.

Fix monkey patching + support older version of node

  • Fixes #12 which was causing weird issues when using console in certain contexts.
  • Lowers the browser target component as esnext is too high for many codebases. We now target es6.

Small perf improvements + new common property

  • Removed an inefficient cleaning regex. Definitely recommend updating as this can cause unnecessarily high CPU usage.
  • Added new common property common.nodeArch thanks to @​radeksimko. This will collect the system architecture to provide more insights into arm vs x86 system usage
  • Updated build machine to Node LTS from Node 14.

Add telemetry caching

With the recent addition of lazy-loading it was possible to get into a state where logged telemetry wouldn't be sent due to the client not being ready. This releases adds caching which stores logged events created before the client is ready and then sends them once it is. Additionally, a larger refactor was done internally to reduce duplicated appender code.

Fix compatibility with old versions of VS Code

  • Fix old version of VS Code not respecting telemetry setting
  • Fix old version of VS Code throw with isNewAppInstall

Lazy loading

Adds dynamic imports to the app insights modules so that when telemetry is off they don't load at all. Minor performance improvements might be seen when telemetry is off due to not loading these additional modules.

Note: This version bumped our target from ES6 to ES2020 due to these dynamic imports

0.4

remove peer dependency on vscode to allow using this module for extensions bundled inside vscode.

Support new telemetry settings

  • VS Code has introduced telemetry.telemetryLevel for more granularity between turning off all telemetry and still allowing error telemetry. This update now supports and respects that setting.
  • Add new common property common.product which says where VS Code is running, i.e. desktop, codespaces, github.dev

Better typings + More cleaning!

  • Add JS Doc comments to .d.ts file for intellisense
  • Better cleaning of possibly leaked user data by looking for keywords such as key & token
  • Lower target to Node 12 to support older extensions

Fix Bad CI

Bad CI caused package to get published without any source files. This fixes that and publishes a fixed package

0.3

Critical fix for #1

Disable endpoint ping when telemetry is disabled

This release introduces some minor improvements to the package

  • Redact passwd as well rather than just password.
  • Don't ping the endpoint in web to test for adblock if telemetry is disabled as this may look like we're sending telemetry when we're not
  • Added GitHub action + cleaned up build script to allow for automated release when a GitHub release is created

Fix bad .d.ts

Fixes issue surrounding typings where errorProps was removed Fixes errors preventing module use caused by isNewAppInstall being a boolean. Thanks to @​ryanluker for #69

Remove context from web telemetry

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 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 March 25, 2022 22:51
@dependabot dependabot bot requested a review from klewis-sfdc March 25, 2022 22:51
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 25, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vscode-extension-telemetry-0.4.5 branch from 89e1828 to ea25d2f Compare March 30, 2022 13:21
@trinasfdx trinasfdx added the status:in review pr/issue is being reviewed label Apr 1, 2022
Bumps [vscode-extension-telemetry](https://github.com/Microsoft/vscode-extension-telemetry) from 0.0.17 to 0.4.5.
- [Release notes](https://github.com/Microsoft/vscode-extension-telemetry/releases)
- [Commits](https://github.com/Microsoft/vscode-extension-telemetry/commits/v0.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vscode-extension-telemetry-0.4.5 branch from ea25d2f to c9f8d42 Compare April 6, 2022 13:13
@mohanraj-r mohanraj-r closed this May 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 12, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

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 javascript Pull requests that update Javascript code status:in review pr/issue is being reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants