unstale

npm / isomorphic-git

isomorphic-git

What changed in isomorphic-git 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

33 breaking8 security14 new APIs and options5 performance2 behavior and defaults1 tooling54 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

isomorphic-git 1117 changes

Breaking changes 33

  • LGPL code was removed from the codebase, which may affect developers’ licensing decisions.

    1.44.16release notes

  • Throws when TREE is given a ref that cannot be resolved.

    1.41.8release notes

  • The author.date parameter was removed in favor of author.timestamp.

    1.0.0release notes

  • The undocumented authPassword alias was removed in favor of password.

    1.0.0release notes

  • The undocumented authUsername alias was removed in favor of username.

    1.0.0release notes

  • The autoTranslateSSH feature was removed; callers can use UnknownTransportError data.suggestion to implement their own translation.

    1.0.0release notes

  • fastCheckout was renamed checkout, and the old checkout function was removed.

    1.0.0release notes

  • The committer.date parameter was removed in favor of committer.timestamp.

    1.0.0release notes

  • The deprecated emitter parameter was removed.

    1.0.0release notes

  • The error API replaces E codes with typed error classes, shortening names and enabling instanceof checks and typed .data properties.

    1.0.0release notes

  • The deprecated fs parameter was removed.

    1.0.0release notes

  • HTTP clients are now separate files that users import and provide to request-making functions; the http parameter is required.

    1.0.0release notes

  • log no longer accepts signing, returns readCommit-shaped objects, and throws rather than placing errors in its result array.

    1.0.0release notes

  • message events now emit full, untrimmed data; the rawmessage event was removed.

    1.0.0release notes

  • The parameter was removed; its behavior is now the default and only behavior.

    1.0.0release notes

  • The noGitSuffix parameter was removed because using the provided URL unchanged is now the default.

    1.0.0release notes

  • The parameter was removed; its behavior is now the default and only behavior.

    1.0.0release notes

  • onAuth replaces username, password, token, oauth2format, and the credentialManager plugin as the single authentication mechanism; it supports raw headers, retries, and cancellation.

    1.0.0release notes

  • The plugin system was removed in favor of passing arguments and callbacks.

    1.0.0release notes

  • core was replaced by plugins.createCore and plugins.deleteCore.

    1.0.0release notes

  • plugins.set was replaced by plugins.fs, plugins.emitter, plugins.credentialManager, plugins.pgp, and plugins.http.

    1.0.0release notes

  • push now throws if any remote refs fail to update and returns a typed result organized by ref.

    1.0.0release notes

  • The rawmessage event was removed; untrimmed data is now emitted by message.

    1.0.0release notes

  • readObject uses the object schemas of readCommit, readTree, and readTag; trees are arrays and results form a discriminated union.

    1.0.0release notes

  • Official support for Safari 11 was dropped.

    1.0.0release notes

  • The deprecated sign command was removed.

    1.0.0release notes

  • The tagger.date parameter was removed in favor of tagger.timestamp.

    1.0.0release notes

  • TagObject.signature was renamed to gpgsig to match CommitObject.

    1.0.0release notes

  • Functions that returned Buffer objects now return Uint8Array objects.

    1.0.0release notes

  • Provided URLs are used as-is rather than being changed to end with .git; User-Agent handling is left to the user.

    1.0.0release notes

  • The verify function was removed; callers can verify signatures outside isomorphic-git using returned signing payloads.

    1.0.0release notes

  • walkBeta2 was renamed walk, and walkBeta1 was removed.

    1.0.0release notes

  • writeObject uses the object schemas of readCommit, readTree, and readTag; trees are arrays rather than objects with an entries property.

    1.0.0release notes

Security 8

  • Credentials are dropped when a redirect changes the origin, preventing them from being sent to a different origin.

    1.44.17release notes

  • Credentials are stripped from the remote URL in the fetch head description.

    1.44.13release notes

  • Remote refs are sanitized.

    1.42.2release notes

  • Fixes prototype pollution.

    1.42.0release notes

  • Fixes unsafe symlink handling during cherry pick.

    1.38.8release notes

  • isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)

    1.38.6security advisory

  • isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)

    1.38.6security advisory

  • isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout

    1.38.6security advisory

New APIs and options 14

  • Adds an author filter to log so developers can filter log entries by author.

    1.44.0release notes

  • remove accepts an array of filepaths, allowing multiple files to be removed in one call.

    1.43.0release notes

  • Adds abort signal support, allowing developers to cancel operations.

    1.42.0release notes

  • Built-in HTTP clients now support custom fetchOptions.

    1.41.0release notes

  • Adds the disallowEmpty option to commit.

    1.39.0release notes

  • Adds the refresh option to status.

    1.38.0release notes

  • Adds the refresh option to statusMatrix.

    1.38.0release notes

  • Adds support for cherry-picking a single commit.

    1.37.0release notes

  • Git commands can now be run in submodules.

    1.36.0release notes

  • Migrates from BrowserFS to ZenFS.

    1.35.0release notes

  • A default export was added, along with support for importing the ES module build in Node 12 and later.

    1.0.0release notes

  • fetch gained a pruneTags parameter.

    1.0.0release notes

  • A cancel property lets authentication stop gracefully, throwing UserCanceledError instead of HttpError.

    1.0.0release notes

  • A headers property lets onAuth provide arbitrary HTTP headers.

    1.0.0release notes

Performance 5

  • The Node build uses node:crypto to hash SHA-1.

    1.44.12release notes

  • Each object is inflated once in GitPackIndex.fromPack, improving performance.

    1.44.6release notes

  • The index is written once per walk instead of once per file, reducing index writes during a walk.

    1.42.7release notes

  • Avoids reading a packed parent during commit.

    1.42.3release notes

  • Pack verification uses less memory on Node.

    1.37.5release notes

Behavior and default changes 2

  • log now includes changed file object ids.

    1.40.0release notes

  • The callback can return a GitAuth object to retry authentication as many times as needed.

    1.0.0release notes

Tooling 1

  • The onAuth typings were adjusted, and an http.d.ts declaration file was added.

    1.0.0release notes

Fixes and other changes 54

  • Refspec handling now supports negative refspecs and refspecs without a destination.

    1.44.15release notes

  • Fixed symlink handling during merge and cherry-pick.

    1.44.14release notes

  • Conflict markers are separated from unterminated lines.

    1.44.12release notes

  • The UMD bundle's license file is now included in the npm package.

    1.44.12release notes

  • Uses Node's stream module in the Node HTTP client.

    1.44.11release notes

  • Commit tree and parent headers are read positionally, matching Git.

    1.44.10release notes

  • File timestamps are compared at subsecond precision.

    1.44.9release notes

  • Malformed pkt-line lengths are now rejected.

    1.44.8release notes

  • isomorphic-git can read and write version 3 index files.

    1.44.7release notes

  • Config section headers with comments, tabs, and escaped subsections are now parsed correctly.

    1.44.5release notes

  • Config values are now escaped and unescaped like canonical Git, improving compatibility with Git configuration behavior.

    1.44.4release notes

  • Read and readdir errors other than file-not-found are now rethrown.

    1.44.3release notes

  • Pako decompression errors are preserved when reading objects, making the original decompression failure available to callers.

    1.44.2release notes

  • status returns absent for case-mismatched paths on case-insensitive filesystems.

    1.44.1release notes

  • Each packfile checksum is verified once under concurrent reads.

    1.43.3release notes

  • Config variable names containing digits are now parsed correctly when tabs surround the equal sign.

    1.43.2release notes

  • Checkout, branch, merge, and commit now peel annotated tags to commits.

    1.43.1release notes

  • Refuses to cherry-pick over local changes, preventing local work from being overwritten.

    1.42.6release notes

  • Paths are sorted by UTF-8 bytes, matching Git’s ordering.

    1.42.5release notes

  • Patterns in .git/info/exclude are anchored to the working directory.

    1.42.4release notes

  • Fixes an issue involving an incorrect ref.

    1.42.2release notes

  • Restores PushRejectedError when pushing against an advanced remote.

    1.42.1release notes

  • Filepaths are matched on path component boundaries.

    1.41.9release notes

  • Returns the best merge bases for DAG histories.

    1.41.7release notes

  • Filepath-filtered logs now include file mode changes.

    1.41.5release notes

  • Checkout now restores filepaths from the index.

    1.41.4release notes

  • CRLF sequences that straddle two chunks are no longer split.

    1.41.3release notes

  • URL credentials are now read with the WHATWG parser.

    1.41.1release notes

  • Fixes recursive mkdir.

    1.40.8release notes

  • Recognizes scp-like syntax with a user other than git.

    1.40.7release notes

  • Fixed the global acquire lock.

    1.40.6release notes

  • No longer crashes when a peeled tag's tag is filtered out by the prefix.

    1.40.5release notes

  • Status now honours core.autocrlf when hashing the working copy.

    1.40.3release notes

  • .gitignore rules are applied only to files that are not tracked.

    1.40.2release notes

  • Excludes Git system files when expanding a ref.

    1.40.1release notes

  • statusMatrix no longer traverses symlinks in GitWalkerFs.

    1.38.10release notes

  • Binary files are preserved when writing a conflicted working tree.

    1.38.9release notes

  • Fixes handling of NTFS Alternate Data Streams.

    1.38.7release notes

  • Supports Windows file paths in utils/join.js.

    1.38.5release notes

  • Auth callbacks now receive the username from credential configuration.

    1.38.4release notes

  • The jsdelivr field now points to the minified browser build, so CDN consumers receive that build.

    1.37.9release notes

  • Fixes cases where the browser entrypoint was not used in some non-node build contexts.

    1.37.7release notes

  • checkout now surfaces silent rejections in batchAllSettled.

    1.37.6release notes

  • Error handling is improved when a packfile cannot be read.

    1.37.4release notes

  • Supports Git worktrees with absolute gitdir paths.

    1.37.3release notes

  • Adds packfile integrity validation.

    1.37.2release notes

  • commit now updates a detached HEAD.

    1.36.3release notes

  • Handles symlinks correctly.

    1.36.2release notes

  • Special-cases the cp command in FileSystem.js.

    1.36.1release notes

  • Fixes an error in readTree.

    1.35.1release notes

  • The fatal error message was improved.

    1.34.2release notes

  • Modified files are no longer treated as conflicted unless checkout would actually change them.

    1.0.0release notes

  • fetch and push now respect previously ignored Git config settings, including pushRemote, pushDefault, pushurl, and merge.

    1.0.0release notes

  • fetch without a ref parameter works when HEAD points to a branch that does not exist.

    1.0.0release notes