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

Prepare release of 0.5.0 #59

Merged
merged 8 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [Unreleased]
## [0.5.0]
- Remove dependency on provider runtime and query prometheus directly
- Add support for relative time ranges
- Add refresh button
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"displayName": "Autometrics",
"license": "MIT",
"description": "Show enhanced autometrics information from your code",
"version": "0.4.0",
"version": "0.5.0",
"repository": {
"type": "git",
"url": "https://github.com/autometrics-dev/vscode-autometrics"
Expand Down Expand Up @@ -157,7 +157,7 @@
"vitest": "^0.32.0"
},
"dependencies": {
"@autometrics/typescript-plugin": "^0.5.3",
"@autometrics/typescript-plugin": "^0.5.4",
"@floating-ui/core": "^1.2.6",
"@floating-ui/react": "^0.24.2",
"fiberplane-charts": "git+https://git@github.com/fiberplane/fiberplane.git#workspace=fiberplane-charts",
Expand Down
3 changes: 3 additions & 0 deletions src/languages/typescript/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export const TypescriptHover = {
}
return undefined;
} catch (err) {
// NOTE - This could happen because of an error in other TS plugins
// I.e., we could end up propagating errors from other plugins
// (This happened to me with the tailwind intellisense plugin)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking: Is there a way where we can better expose the exact error the user?

It seems like we can't show multiline notifications (see microsoft/vscode#101589) but perhaps we could do something where we add a "details" button so the user can find out more information around the exact error (which might help us resolve issues faster)

vscode.window.showErrorMessage(
"Autometrics: Error getting TypeScript hover info",
);
Expand Down
Binary file removed wasm/prometheus.wasm
Binary file not shown.
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ __metadata:
version: 6
cacheKey: 8

"@autometrics/typescript-plugin@npm:^0.5.3":
version: 0.5.3
resolution: "@autometrics/typescript-plugin@npm:0.5.3"
checksum: e0911453a383f60b3dfa98c5845ba5ba292aca7a2eb98cc3731b93b99b1982bb7dc56802498c9d7c35b4bce00ccbbd8ce772a5f54525e257e0caac0cd7c886c4
"@autometrics/typescript-plugin@npm:^0.5.4":
version: 0.5.4
resolution: "@autometrics/typescript-plugin@npm:0.5.4"
checksum: df18888dcb824ac9ac0e0b00532a4026e49deb118b5ad0a44d9f063a71ac4b9c2fdcc82a831d981ca7d805a23c071616d0f20403ead801dadb8c9dfa74af108b
languageName: node
linkType: hard

Expand Down Expand Up @@ -1176,7 +1176,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "autometrics@workspace:."
dependencies:
"@autometrics/typescript-plugin": ^0.5.3
"@autometrics/typescript-plugin": ^0.5.4
"@floating-ui/core": ^1.2.6
"@floating-ui/react": ^0.24.2
"@types/glob": ^8.1.0
Expand Down