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(connections): remove keytar, keytar migration, and connection model migration VSCODE-499 #625

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Dec 13, 2023

VSCODE-499

Removes the keytar migration and the connection model migration we previously had. For anyone who didn't open the extension in the last ~5 months with the migration they will lose their saved connections. Double checked with Gaurab, he gave the ok.

@@ -32,9 +32,12 @@ export type ConnectionsFromStorage = {
[connectionId: string]: StoreConnectionInfo;
};

// Keytar is deprecated and no longer used. All new
// connections use 'SecretStorage'.
Copy link
Contributor

Choose a reason for hiding this comment

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

can't we just delete this?

Copy link
Member Author

Choose a reason for hiding this comment

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

The other values here could still be on someone's stored connection if they open vscode for the first time in 5 months, I reckon we can remove these types but we should still account for when the secretStorageLocation isn't SecretStorage. Leaving these on the type I thought might give more insight into how it can be different. Do you prefer it deleted? I'm cool with either.

@Anemy Anemy merged commit 68a90ab into main Dec 18, 2023
5 checks passed
@Anemy Anemy deleted the remove-keytar branch December 18, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants