# What changed in hosted-git-info

> 15 changes in hosted-git-info 3 to 10 from its official release notes, upgrade guides and advisories: 10 breaking. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/hosted-git-info/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## hosted-git-info 10

### Breaking changes

- hosted-git-info no longer depends on the url package, which changes its dependency requirements. (10.1.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v10.1.0)
- The supported Node.js versions are now ^22.22.2 || ^24.15.0 || >=26.0.0. (10.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v10.0.0)

## hosted-git-info 9

### Breaking changes

- The supported Node.js versions are now ^20.17.0 || >=22.9.0. (9.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v9.0.0)

### Fixes and other changes

- Tarball URLs now use the GitLab API v4 endpoint. (9.0.3) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v9.0.3)
- The .git suffix is removed from Sourcehut HTTPS URLs. (9.0.3) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v9.0.3)

## hosted-git-info 8

### Breaking changes

- The supported Node.js versions are now ^18.17.0 || >=20.5.0. (8.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v8.0.0)

## hosted-git-info 7

### Breaking changes

- Support for Node.js 14 has been removed. (7.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v7.0.0)

## hosted-git-info 6

### Breaking changes

- GitHost now has a static addHost method to use instead of manually editing the object from lib/git-host-info.js. (6.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v6.0.0)
- The default git ref is now HEAD. (6.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v6.0.0)
- hosted-git-info is now compatible with the following semver range for Node.js: ^14.17.0 || ^16.13.0 || >=18.0.0. (6.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v6.0.0)

### Fixes and other changes

- Branch names containing @ are now parsed. (6.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v6.0.0)
- Colons after a hash are ignored when correcting scp URLs. (6.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v6.0.0)

## hosted-git-info 5

### Breaking changes

- Support for Node 10 and non-LTS versions of Node 12 and Node 14 was dropped. (5.0.0) — [release notes](https://github.com/npm/hosted-git-info/releases/tag/v5.0.0)

## hosted-git-info 3

### Breaking changes

- Support for Node.js 0.x is dropped. (3.0.0) — [release notes](https://github.com/npm/hosted-git-info/blob/HEAD/CHANGELOG.md)

### Fixes and other changes

- Switches to lru-cache to prevent unlimited memory consumption. (3.0.0) — [release notes](https://github.com/npm/hosted-git-info/blob/HEAD/CHANGELOG.md)
