Skip to content

Conversation

@tkmcmaster
Copy link
Contributor

@tkmcmaster tkmcmaster commented Mar 3, 2023

Closes #1962

While Git.Credential.sshKeyMemoryNew works, the deprecated Git.Cred is missing sshKeyMemoryNew breaking backwards compatibility.

import Git from "nodegit";

Object.keys(Git.Cred): ["defaultNew","sshKeyFromAgent","sshKeyNew","usernameNew","userpassPlaintextNew","TYPE"]

Object.keys(Git.Credential): ["defaultNew","sshKeyFromAgent","sshKeyMemoryNew","sshKeyNew","usernameNew","userpassPlaintextNew","getSelfFreeingInstanceCount","getNonSelfFreeingConstructedCount","TYPE"]

@zawata zawata force-pushed the sshKeyMemoryNewDeprecated branch from f08a6f1 to 40f7fa9 Compare November 27, 2025 04:40
@zawata zawata self-assigned this Nov 27, 2025
@zawata zawata merged commit b556fd8 into nodegit:master Dec 2, 2025
17 checks passed
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.

"sshKeyMemoryNew" is not found in Typescript

2 participants